1 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5 * debug/memcpy_chk.c: Don't include pagecopy.h.
6 * debug/mempcpy_chk.c: Likewise.
7 * string/memcpy.c: Likewise.
8 * string/memmove.c: Likewise.
9 * sysdeps/powerpc/memmove.c: Likewise.
10 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11 definition of PAGE_COPY_FWD_MAYBE here...
12 * sysdeps/generic/pagecopy.h: ... from here.
13 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
19 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22 (__libc_ifunc_impl_list): Likewise.
23 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24 multiarch strcat for PPC64.
25 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28 2014-07-02 Roland McGrath <roland@hack.frob.com>
30 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34 * intl/loadmsgcat.c: Remove declaration of
35 get_sysdep_segment_value.
36 (get_sysdep_segment_value): Use ISO C style.
37 (_nl_load_domain): Use ISO C style. Get rid of redundant
38 semicolon. Fix typo and formatting in comment.
39 (_nl_unload_domain): Use ISO C style.
41 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43 2014-07-02 Will Newton <will.newton@linaro.org>
45 * malloc/obstack.c: Merge from gnulib master.
46 [HAVE_CONFIG_H]: Remove conditional code.
47 [!_LIBC]: Include config.h.
48 [!ELIDE_CODE]: Don't include inttypes.h, include
49 stdint.h unconditionally.
50 (print_and_abort): Mark as _Noreturn.
51 (_obstack_allocated_p): Mark as __attribute_pure__.
52 (obstack_free): Rename to __obstack_free.
53 [!__attribute__]: Remove conditional code.
54 * malloc/obstack.h: Merge from gnulib master.
55 [__cplusplus]: Move conditional down.
56 [!__attribute_pure__]: Define __attribute_pure__ here
57 if it is not already defined.
58 (_obstack_memory_used): Mark as __attribute_pure__.
59 [!__obstack_free]: Define as obstack_free.
60 [__GNUC__]: Remove check for ancient NeXT gcc.
62 2014-07-02 Will Newton <will.newton@linaro.org>
63 Paul Eggert <eggert@cs.ucla.edu>
65 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
67 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
69 * resolv/gethnamaddr.c: Add comment warning that the file is
72 2014-07-01 Carlos O'Donell <carlos@redhat.com>
74 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
77 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
78 entry for aio_cancel and aio_cancel64.
79 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
80 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
81 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
82 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
83 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
84 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
85 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
86 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
87 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
88 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
89 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
90 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
91 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
93 2014-07-01 Roland McGrath <roland@hack.frob.com>
95 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
96 * nptl/pthread_mutex_lock.c: Likewise.
97 * nptl/pthread_mutex_timedlock.c: Likewise.
98 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
100 2014-07-01 Richard henderson <rth@redhat.com>
102 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
103 (__isnan, __isnanl): Remove.
104 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
106 * sysdeps/alpha/fpu/libm-test-ulps: Update.
108 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
110 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
112 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
114 * resolv/nss_dns/dns-host.c (getanswer_r)
115 [MULTI_PTRS_ARE_ALIASES]: Remove code.
117 2014-07-01 Joseph Myers <joseph@codesourcery.com>
119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
120 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
122 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
123 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
125 2014-07-01 Roland McGrath <roland@hack.frob.com>
127 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
128 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
130 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
131 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
133 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
134 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
136 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
137 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
139 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
140 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
141 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
142 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
144 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
145 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
146 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
148 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
150 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
152 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
154 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
156 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
158 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
159 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
160 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
161 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
162 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
164 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
166 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
168 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
170 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
173 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
175 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
176 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
177 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
178 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
179 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
180 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
182 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
184 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
185 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
186 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
189 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
193 2014-06-30 Joseph Myers <joseph@codesourcery.com>
195 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
196 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
198 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
200 * sysdeps/arm/libm-test-ulps: Regenerated.
202 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
203 Roland McGrath <roland@hack.frob.com>
205 * test-skeleton.c (signal_handler): Kill the whole process group
206 before killing the child individually.
207 (main): Report any failure on `setpgid'.
209 2014-06-30 Roland McGrath <roland@hack.frob.com>
211 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
212 from _TLS_H to _ARM_NPTL_TLS_H.
213 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
214 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
216 2014-06-30 Joseph Myers <joseph@codesourcery.com>
219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
220 (__expm1l): Return argument unchanged when small but not
223 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
225 (_FP_UNPACK_RAW_1_P): Likewise.
226 (_FP_PACK_RAW_1): Likewise.
227 (_FP_PACK_RAW_1_P): Likewise.
228 (_FP_MUL_MEAT_1_wide): Likewise.
229 (_FP_MUL_MEAT_DW_1_hard): Likewise.
230 (_FP_MUL_MEAT_1_hard): Likewise.
231 (_FP_DIV_MEAT_1_imm): Likewise.
232 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
233 (_FP_DIV_MEAT_1_udiv): Likewise.
234 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
235 (_FP_UNPACK_RAW_2): Likewise.
236 (_FP_UNPACK_RAW_2_P): Likewise.
237 (_FP_PACK_RAW_2): Likewise.
238 (_FP_PACK_RAW_2_P): Likewise.
239 (_FP_MUL_MEAT_DW_2_wide): Likewise.
240 (_FP_MUL_MEAT_2_wide): Likewise.
241 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
242 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
243 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
244 (_FP_MUL_MEAT_2_gmp): Likewise.
245 (_FP_DIV_MEAT_2_udiv): Likewise.
246 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
247 (_FP_FRAC_SRL_4): Likewise.
248 (_FP_FRAC_SRST_4): Likewise.
249 (_FP_FRAC_SRS_4): Likewise.
250 (_FP_UNPACK_RAW_4): Likewise.
251 (_FP_UNPACK_RAW_4_P): Likewise.
252 (_FP_PACK_RAW_4): Likewise.
253 (_FP_PACK_RAW_4_P): Likewise.
254 (_FP_MUL_MEAT_DW_4_wide): Likewise.
255 (_FP_MUL_MEAT_4_wide): Likewise.
256 (_FP_MUL_MEAT_4_gmp): Likewise.
257 (umul_ppppmnnn): Likewise.
258 (_FP_DIV_MEAT_4_udiv): Likewise.
259 (__FP_FRAC_ADD_4): Likewise.
260 (__FP_FRAC_SUB_3): Likewise.
261 (__FP_FRAC_SUB_4): Likewise.
262 (__FP_FRAC_DEC_3): Likewise.
263 (__FP_FRAC_DEC_4): Likewise.
264 (__FP_FRAC_ADDI_4): Likewise.
265 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
266 (_FP_FRAC_SRL_8): Likewise.
267 (_FP_FRAC_SRS_8): Likewise.
269 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
271 (FP_UNPACK_RAW_EP): Likewise.
272 (FP_PACK_RAW_E): Likewise.
273 (FP_PACK_RAW_EP): Likewise.
274 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
275 (_FP_ISSIGNAN): Likewise.
276 (_FP_ADD_INTERNAL): Likewise.
279 (_FP_SQRT): Likewise.
280 (_FP_TO_INT): Likewise.
281 (_FP_FROM_INT): Likewise.
282 (FP_EXTEND): Likewise.
283 (_FP_DIV_MEAT_N_loop): Likewise.
285 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
287 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
290 2014-06-29 Joseph Myers <joseph@codesourcery.com>
293 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
294 result with correct sign in case of exponents that produce
295 overflow except for X very close to 1.
297 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
299 mktime: merge #if/#ifdef usage from glibc
300 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
301 as that works with both Glibc's and Gnulib's style.
302 See thread starting at Siddhesh Poyarekar's bug report at:
303 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
305 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
307 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
308 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
309 * sysdeps/tile/tilegx/memmove.c: Remove file.
311 2014-06-27 Joseph Myers <joseph@codesourcery.com>
313 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
315 * scripts/soversions.awk: Do not handle or generate ABI lines.
316 * shlib-versions: Remove ABI entries.
317 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
318 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
320 2014-06-27 Roland McGrath <roland@hack.frob.com>
322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
323 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
324 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
325 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
330 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
333 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
341 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
346 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
348 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
353 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
356 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
358 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
361 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
363 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
365 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
370 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
372 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
375 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
378 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
379 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
383 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
385 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
386 Identical file removed.
387 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
389 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
390 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
391 Identical file removed.
392 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
393 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
394 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
396 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
397 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
398 Identical file removed.
399 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
400 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
401 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
402 Identical file removed.
403 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
404 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
406 Identical file removed.
407 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
410 Identical file removed.
411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
413 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
414 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
415 Identical file removed.
416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
418 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
419 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
420 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
421 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
422 Identical file removed.
423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
425 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
427 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
428 Identical file removed.
429 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
431 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
433 Identical file removed.
434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
436 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
437 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
441 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
443 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
444 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
445 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
447 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
448 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
449 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
450 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
451 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
453 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
456 * nscd/nscd.c (monitor_child): Return exit status of child
457 instead of return value from wait syscall.
459 2014-06-27 Joseph Myers <joseph@codesourcery.com>
461 * configure.ac (libc_commonpagesize): Remove variable.
462 (libc_relro_required): Likewise.
463 (libc_cv_z_relro): Remove configure test.
464 * configure: Regenerated.
465 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
467 (libc_relro_required): Likewise.
468 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
469 (libc_relro_required): Likewise.
470 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
471 (libc_relro_required): Likewise.
472 * sysdeps/arm/preconfigure: Regenerated.
473 * sysdeps/ia64/preconfigure: Remove file.
474 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
476 (libc_relro_required): Likewise.
480 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
481 (__ieee754_yn): Set FE_TONEAREST mode internally and then
482 recompute overflowing results in original rounding mode.
483 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
484 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
485 recompute overflowing results in original rounding mode.
486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
487 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
488 recompute overflowing results in original rounding mode.
489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
490 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
491 recompute overflowing results in original rounding mode.
492 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
493 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
494 recompute overflowing results in original rounding mode.
495 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
496 (libc_feholdsetround_ctx): New macro.
497 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
498 * sysdeps/i386/fpu/libm-test-ulps: Update.
499 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
501 2014-06-26 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
504 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
505 corresponding .cpsetup call.
507 2014-06-26 Roland McGrath <roland@hack.frob.com>
509 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
510 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
511 * sysdeps/arm/Makefile [$(subdir) = csu]
512 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
513 (static-only-routines): Add aeabi_read_tp here.
514 (shared-only-routines): Add libc-aeabi_read_tp here.
515 (CFLAGS-libc-start.c): Add -fexceptions here.
516 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
517 (sysdep_routines, static-only-routines, shared-only-routines):
518 Don't add to these here.
519 (CFLAGS-libc-start.c): Likewise.
521 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
522 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
523 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
524 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
525 * sysdeps/arm/Makefile [$(subdir) = rt]
526 (librt-sysdep_routines, librt-shared-only-routines):
527 Append rt-aeabi_unwind_cpp_pr1 here.
528 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
529 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
530 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
531 (libpthread-sysdep_routines, libpthread-shared-only-routines):
532 Append nptl-aeabi_unwind_cpp_pr1 here.
533 (tests): Filter out tst-cleanupx4 here.
534 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
535 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
538 2014-06-26 Joseph Myers <joseph@codesourcery.com>
540 * scripts/list-sources.sh: Do not handle ports specially.
542 2014-06-26 Roland McGrath <roland@hack.frob.com>
544 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
545 * sysdeps/arm/feupdateenv.c: Likewise.
547 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
549 2014-06-26 Joseph Myers <joseph@codesourcery.com>
551 * manual/texinfo.tex: Update to version 2014-05-05.10 with
552 trailing whitespace removed.
553 * scripts/config.guess: Update to version 2014-03-23.
554 * scripts/config.sub: Update to version 2014-05-01
555 * scripts/install-sh: Update to version 2013-12-25.23.
556 * scripts/move-if-change: Update from gnulib.
558 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
560 * debug/memmove_chk.c: Remove pagecopy.h include.
562 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
564 * time/mktime.c (leapyear): Remove inline keyword. The code is now
565 identical to gnulib mktime.
567 2014-06-26 Joseph Myers <joseph@codesourcery.com>
569 * configure.ac: Do not test for machine being rs6000. Do not test
571 * configure: Regenerated.
573 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
575 * configure: Regenerated.
576 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
577 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
578 Remove configure test.
579 * sysdeps/arm/configure: Regenerated.
580 * sysdeps/nptl/configure.ac: Do not check
581 libc_cv_asm_cfi_directives.
582 * sysdeps/nptl/configure: Regenerated.
583 * sysdeps/x86_64/nptl/configure.ac: Remove file.
584 * sysdeps/x86_64/nptl/configure: Remove generated file.
585 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
587 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
589 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
592 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
593 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
596 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
597 instead of whether it is defined.
598 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
599 * sysdeps/hppa/dl-machine.h: Likewise.
600 * sysdeps/ia64/dl-machine.h: Likewise.
601 * sysdeps/m68k/dl-machine.h: Likewise.
602 * sysdeps/microblaze/dl-machine.h: Likewise.
603 * sysdeps/mips/dl-machine.: Likewise.
604 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
605 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
606 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
607 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
608 * sysdeps/sh/dl-machine.h: Likewise.
609 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
610 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
611 * sysdeps/tile/dl-machine.h: Likewise.
612 * sysdeps/x86_64/dl-machine.h: Likewise.
614 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
616 (verify_persistent_db): Likewise.
618 2014-06-26 Roland McGrath <roland@hack.frob.com>
620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
621 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
623 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
626 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
629 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
631 Identical file removed.
632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
633 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
635 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
637 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
639 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
641 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
644 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
646 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
648 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
651 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
653 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
655 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
657 Identical file removed.
658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
659 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
661 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
664 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
671 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
675 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
678 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
681 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
686 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
690 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
692 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
693 * sysdeps/unix/sysv/linux/s390/Versions
694 (libpthread: GLIBC_2.19): New version set.
695 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
696 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
697 (librt: GLIBC_2.3.3): New version set.
698 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
699 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
700 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
701 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
702 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
703 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
704 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
705 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
706 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
707 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
708 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
709 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
710 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
711 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
712 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
713 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
714 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
715 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
716 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
717 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
718 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
719 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
720 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
721 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
722 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
723 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
724 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
725 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
726 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
727 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
728 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
729 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
734 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
736 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
738 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
740 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
742 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
744 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
745 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
746 (__libc_vfork): Define the function under this name.
747 [!NOT_IN_libc] (__vfork): Make this an alias.
748 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
750 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
751 (__libc_vfork): Define the function under this name.
752 [!NOT_IN_libc] (__vfork): Make this an alias.
753 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
754 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
755 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
757 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
758 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
761 code that was previously under [RESET_PID].
762 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
763 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
766 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
767 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
768 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
769 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
770 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
771 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
772 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
773 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
774 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
776 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
778 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
779 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
781 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
783 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
785 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
786 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
787 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
788 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
789 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
791 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
793 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
795 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
797 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
799 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
801 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
802 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
803 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
804 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
805 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
806 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
808 2014-06-25 Roland McGrath <roland@hack.frob.com>
810 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
811 that was previously under [RESET_PID].
812 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
814 2014-06-25 Joseph Myers <joseph@codesourcery.com>
816 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
817 not undefine and redefine.
818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
819 [O_CLOEXEC]: Make code unconditional.
820 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
821 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
823 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
824 conditional variable definition.
825 (shm_open) [O_CLOEXEC]: Make code unconditional.
826 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
829 * configure.ac (USE_REGPARMS): Don't define here.
830 * configure: Regenerated.
831 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
832 * sysdeps/i386/configure: Regenerated.
834 * nptl/createthread.c: Don't include kernel-features.h.
835 * nptl/pthread_cancel.c: Likewise.
836 * nptl/pthread_condattr_setclock.c: Likewise.
837 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
838 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
839 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
840 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
841 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
842 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
843 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
846 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
847 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
848 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
849 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
850 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
851 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
852 * nscd/gai.c: Likewise.
853 * nss/nss_db/db-open.c: Likewise.
854 * sysdeps/generic/ldsodefs.h: Likewise.
855 * sysdeps/sh/nptl/tls.h: Likewise.
856 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
857 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
858 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
859 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
860 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
861 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
862 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
863 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
864 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
865 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
866 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
867 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
868 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
869 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
870 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
871 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
872 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
873 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
874 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
875 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
876 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
877 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
878 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
879 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
880 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
881 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
882 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
883 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
884 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
885 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
886 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
887 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
888 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
889 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
890 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
891 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
892 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
893 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
894 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
895 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
896 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
897 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
898 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
899 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
900 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
901 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
902 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
903 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
904 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
905 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
906 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
907 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
908 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
909 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
910 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
911 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
912 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
936 * sysdeps/unix/sysv/linux/pread.c: Likewise.
937 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
938 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
939 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
940 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
941 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
942 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
943 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
944 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
945 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
946 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
947 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
948 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
949 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
950 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
951 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
952 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
953 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
954 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
955 * sysdeps/unix/sysv/linux/system.c: Likewise.
956 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
957 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
958 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
959 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
960 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
961 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
962 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
964 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
965 * configure: Regenerated.
966 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
968 * configure.ac (base_machine): Do not set specially for particular
970 * configure: Regenerated.
971 * sysdeps/powerpc/preconfigure: Move machine and base_machine
972 settings from configure.ac.
973 * sysdeps/i386/preconfigure: New file.
974 * sysdeps/s390/preconfigure: Likewise.
975 * sysdeps/sh/preconfigure: Likewise.
976 * sysdeps/sparc/preconfigure: Likewise.
978 2014-06-25 Roland McGrath <roland@hack.frob.com>
980 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
981 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
982 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
983 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
984 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
985 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
986 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
987 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
988 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
989 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
990 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
991 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
992 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
993 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
994 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
995 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
996 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
997 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
998 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1000 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1001 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1002 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1003 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1004 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1005 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1006 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1007 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1008 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1009 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1010 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1011 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1012 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1013 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1014 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1015 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1016 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1017 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1018 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1019 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1021 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1022 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1023 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1024 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1025 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1027 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1029 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1030 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1031 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1033 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1035 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1037 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1042 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1048 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1053 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1057 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1059 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1062 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1065 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1067 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1076 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1086 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1089 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1098 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1101 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1112 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1114 * timezone/checktab.awk: Update from tzcode 2014e.
1115 * timezone/private.h: Likewise.
1116 * timezone/tzfile.h: Likewise.
1117 * timezone/zdump.c: Likewise.
1118 * timezone/zic.c: Likewise.
1120 * sysdeps/unix/sysv/linux/kernel-features.h
1121 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1122 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1123 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1124 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1125 Remove conditional code.
1127 2014-06-25 Will Newton <will.newton@linaro.org>
1129 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1130 (_dl_arm_cap_flags): Add HWCAP2 values.
1131 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1132 (_DL_HWCAP_COUNT): Increase to 37.
1133 (_DL_HWCAP_LAST): New define.
1134 (_DL_HWCAP2_LAST): New define.
1135 (_dl_procinfo): Add support for printing
1137 (_dl_string_hwcap): Use _dl_hwcap_string.
1139 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1143 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1145 * README: Do not mention ports directory.
1147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1149 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1150 <kernel-features.h>.
1151 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1152 conditional variable definition.
1153 (__futimes): Update comment.
1154 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1155 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1158 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1159 arguments close to 0.
1160 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1162 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1164 * math/auto-libm-test-in: Add more tests of exp10.
1165 * math/auto-libm-test-out: Regenerated.
1166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1168 * sysdeps/unix/sysv/linux/kernel-features.h
1169 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1170 * sysdeps/unix/sysv/linux/readv.c: Do not include
1171 <kernel-features.h>.
1172 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1173 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1174 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1176 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1178 * sysdeps/unix/sysv/linux/writev.c: Do not include
1179 <kernel-features.h>.
1180 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1181 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1182 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1184 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1187 2014-06-25 Will Newton <will.newton@linaro.org>
1189 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1190 comment changes throughout the file. Remove checks
1191 for HAVE_*_H definitions that are not required.
1192 (__gen_tempname): Call abort if an unknown kind value is
1195 2014-06-25 Andreas Schwab <schwab@suse.de>
1198 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1199 scalbln, scalblnf, scalblnl in libc.
1201 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1204 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1205 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1206 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1208 2014-06-24 Roland McGrath <roland@hack.frob.com>
1210 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1211 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1212 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1213 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1215 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1216 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1218 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1219 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1220 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1221 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1222 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1223 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1224 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1225 * sysdeps/x86/bits/semaphore.h: ... here.
1226 * sysdeps/x86/nptl/elide.h: Moved ...
1227 * sysdeps/x86/elide.h: ... here.
1228 * sysdeps/x86_64/nptl/Implies: File removed.
1229 * sysdeps/i386/nptl/Implies: File removed.
1231 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1235 return the argument for normal arguments with exponent below -64.
1236 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1238 * math/auto-libm-test-in: Add another test of expm1.
1239 * math/auto-libm-test-out: Regenerated.
1242 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1243 calling __erfcl for arguments at least 16.
1244 * math/auto-libm-test-in: Add more tests of erf.
1245 * math/auto-libm-test-out: Regenerated.
1247 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1248 individual architectures.
1249 * sysdeps/unix/sysv/linux/configure: Regenerated.
1250 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1251 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1252 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1253 (ldd_rewrite_script): Define variable.
1254 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1259 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1260 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1261 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1262 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1263 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1264 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1265 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1266 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1268 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1272 Rename member __data.d to __data.__elision_data.
1274 2014-06-24 Wilco <wdijkstr@arm.com>
1276 * NEWS: Add 16918 to fixed bug list.
1278 2014-06-24 Wilco <wdijkstr@arm.com>
1280 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1282 2014-06-24 Wilco <wdijkstr@arm.com>
1284 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1285 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1286 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1287 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1288 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1289 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1290 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1293 2014-06-24 Wilco <wdijkstr@arm.com>
1295 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1297 2014-06-24 Wilco <wdijkstr@arm.com>
1299 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1300 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1301 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1302 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1304 2014-06-24 Wilco <wdijkstr@arm.com>
1307 * sysdeps/arm/feupdateenv.c (feupdateenv):
1308 Rewrite to reduce FPSCR accesses and fix return value.
1310 2014-06-24 Wilco <wdijkstr@arm.com>
1312 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1313 Optimize to avoid unnecessary FPSCR writes.
1314 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1315 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1316 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1317 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1319 2014-06-24 Wilco <wdijkstr@arm.com>
1321 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1322 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1323 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1324 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1325 Call libc_fetestexcept_vfp.
1326 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1327 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1328 __SOFTFP__ ifdef so that they can be built for softfp.
1330 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1332 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1333 argument type signed char.
1335 * Makerules (check-abi): Dump diff of symlist if the test
1338 2014-06-23 Roland McGrath <roland@hack.frob.com>
1340 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1343 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1344 Remove unused variable ST.
1346 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1351 small arguments before calling __expm1.
1352 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1353 small arguments before calling __expm1f.
1354 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1355 small arguments before calling __expm1l.
1356 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1358 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1359 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1360 spurious underflow for some cosh tests.
1361 * math/auto-libm-test-out: Regenerated.
1362 * sysdeps/i386/fpu/libm-test-ulps: Update.
1365 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1366 (__ieee754_y1): Set errno if return value overflows.
1367 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1368 (__ieee754_y1f): Set errno if return value overflows.
1369 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1370 (__ieee754_y1l): Set errno if return value overflows.
1371 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1372 (__ieee754_y1l): Set errno if return value overflows.
1373 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1374 * math/auto-libm-test-out: Regenerated.
1376 * math/gen-auto-libm-tests.c: Document use of
1377 ignore-zero-inf-sign.
1378 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1379 (input_flags): Add ignore-zero-inf-sign.
1380 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1381 * math/gen-libm-test.pl (generate_testfile): Handle
1382 ignore-zero-inf-sign.
1383 * math/auto-libm-test-in: Mark some cpow tests with
1384 ignore-zero-inf-sign and some with xfail-rounding.
1385 * math/auto-libm-test-out: Regenerated.
1386 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1392 overflowing or underflowing operations take place with sign of
1394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1396 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1397 (__ieee754_pow): Recompute overflowing and underflowing results in
1398 original rounding mode.
1399 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1400 (__powl_helper): Allow negative argument X and scale negated value
1401 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1402 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1403 overflowing or underflowing operations take place with sign of
1405 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1407 * math/auto-libm-test-in: Add more tests of pow.
1408 * math/auto-libm-test-out: Regenerated.
1409 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1410 (pow_tonearest_test_data): Remove.
1411 (pow_test_tonearest): Likewise.
1412 (pow_towardzero_test_data): Likewise.
1413 (pow_test_towardzero): Likewise.
1414 (pow_downward_test_data): Likewise.
1415 (pow_test_downward): Likewise.
1416 (pow_upward_test_data): Likewise.
1417 (pow_test_upward): Likewise.
1418 (main): Don't call removed functions.
1419 * sysdeps/i386/fpu/libm-test-ulps: Update.
1420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1422 2014-06-23 Roland McGrath <roland@hack.frob.com>
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1598 2014-06-23 Will Newton <will.newton@linaro.org>
1599 Wilco <wdijkstr@arm.com>
1601 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1602 implementation. Include get-rounding-mode.h.
1603 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1604 [!libc_feholdsetround_noex_ctx]: Define
1605 libc_feholdsetround_noex_ctx.
1606 [!libc_feholdsetround_noexf_ctx]: Define
1607 libc_feholdsetround_noexf_ctx.
1608 [!libc_feholdsetround_noexl_ctx]: Define
1609 libc_feholdsetround_noexl_ctx.
1610 (libc_feholdsetround_ctx): New function.
1611 (libc_feresetround_ctx): New function.
1612 (libc_feholdsetround_noex_ctx): New function.
1613 (libc_feresetround_noex_ctx): New function.
1615 2014-06-23 Roland McGrath <roland@hack.frob.com>
1617 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1618 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1619 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1620 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1621 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1622 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1624 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1625 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1626 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1627 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1628 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1629 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1630 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1631 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1633 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1636 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1638 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1644 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1653 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1656 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1661 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1665 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1666 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1667 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1672 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1674 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1681 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1688 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1695 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1699 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1701 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1702 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1703 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1704 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1705 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1706 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1708 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1710 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1711 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1712 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1714 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1715 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1716 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1720 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1721 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1722 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1723 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1724 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1725 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1726 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1727 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1728 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1730 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1733 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1734 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1735 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1736 (IPV6_PMTUDISC_INTERFACE): Likewise.
1737 (IPV6_PMTUDISC_OMIT): Likewise.
1739 2014-06-23 Andreas Schwab <schwab@suse.de>
1741 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1742 Remove unused errout label.
1744 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1747 macro: hardware supports Vector Crypto instructions.
1749 2014-06-23 Will Newton <will.newton@linaro.org>
1751 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1752 rather than __builtin_expect.
1754 * elf/dl-lookup.c (undefined_msg): Remove variable.
1755 (_dl_lookup_symbol_x): Replace undefined_msg with string
1758 * elf/dl-lookup.c (do_lookup_unique): New function.
1759 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1760 to a separate function.
1762 2014-06-23 Andreas Schwab <schwab@suse.de>
1765 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1766 before reading the next line.
1768 2014-06-23 Will Newton <will.newton@linaro.org>
1770 * test-skeleton.c (signal_handler): Use printf and %m
1771 rather than perror. Use printf rather than fprintf to
1772 stderr. Use puts rather than fputs to stderr.
1775 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1777 * nscd/nscd.c (thread_info_t): Remove typedef.
1778 (thread_info): Remove variable.
1780 2014-06-21 Allan McRae <allan@archlinux.org>
1782 * NEWS: Mention CVE-2014-4043.
1784 2014-06-20 Roland McGrath <roland@hack.frob.com>
1786 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1787 * nptl/smp.h: ... here.
1789 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1791 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1792 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1793 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1794 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1796 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1797 * nptl/stack-aliasing.h: New file.
1798 * sysdeps/i386/i686/stack-aliasing.h: New file.
1799 * sysdeps/i386/i686/nptl/Makefile: File removed.
1800 * sysdeps/x86_64/stack-aliasing.h: New file.
1801 * sysdeps/x86_64/nptl/Makefile
1802 (CFLAGS-pthread_create.c): Variable removed.
1804 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1805 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1807 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1808 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1811 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1814 (__ASSUME_SIGFRAME_V2): Remove macro.
1815 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1816 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1817 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1818 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1819 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1820 Declare as function. Remove conditional macro definitions.
1821 (__default_rt_sa_restorer): Likewise.
1822 (__default_sa_restorer_v1): Remove declaration.
1823 (__default_sa_restorer_v2): Likewise.
1824 (__default_rt_sa_restorer_v1): Likewise.
1825 (__default_rt_sa_restorer_v2): Likewise.
1826 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1827 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1828 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1830 2014-06-20 Roland McGrath <roland@hack.frob.com>
1832 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1833 (libpthread-routines): Add sysdep.
1834 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1835 * sysdeps/unix/sysv/linux/sparc/Versions
1836 (libpthread: GLIBC_2.3.3): New version set.
1837 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1838 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1839 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1840 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1841 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1842 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1844 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1846 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1847 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1848 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1849 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1850 * sysdeps/sparc/nptl/sem_init.c: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1852 * sysdeps/sparc/nptl/sem_post.c: ... here.
1853 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1854 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1855 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1856 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1858 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1859 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1860 (libpthread-routines): Add cpu_relax.
1861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1863 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1864 (librt: GLIBC_2.3.3): New version set.
1865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1866 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1868 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1871 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1874 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1876 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1878 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1880 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1882 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1885 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1889 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1893 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1897 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1901 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1905 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1908 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1919 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1921 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1925 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1927 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1928 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1929 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1930 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1931 * nscd/nscd.c: Likewise.
1932 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1933 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1934 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1935 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1937 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1938 <kernel-features.h>.
1939 (init_mq_netlink): Remove conditional have_sock_cloexec
1940 definitions. Remove code conditional on have_sock_cloexec < 0.
1941 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1942 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1943 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1944 <kernel-features.h>.
1945 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1946 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1948 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1951 Add tests for memset_chk and memset.
1953 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1956 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1959 * elf/tst-dl-iter-static.c: New file.
1960 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1962 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1965 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1967 * sysdeps/unix/sysv/linux/kernel-features.h
1968 (__ASSUME_F_GETOWN_EX): Remove macro.
1969 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1970 <kernel-features.h>.
1971 (miss_F_GETOWN_EX): Remove variable or macro.
1972 (do_fcntl): Do not check miss_F_GETOWN_EX.
1973 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1975 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1978 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1979 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1981 * sysdeps/unix/sysv/linux/kernel-features.h
1982 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1983 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1984 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1985 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1987 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1990 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1991 Fix calculation of the symbol's value.
1992 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1993 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1994 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1995 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1996 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1997 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1998 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1999 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2000 (modules-names): Add `tst-armtlsdescmod',
2001 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2002 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2003 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2004 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2005 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2006 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2007 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2008 ($(objpfx)tst-armtlsdescloc): New dependency.
2009 ($(objpfx)tst-armtlsdescextnow): Likewise.
2010 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2011 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2013 * sysdeps/arm/configure: Regenerate.
2015 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2017 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2018 (__atfct_seterrno_2): Likewise.
2019 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2020 <kernel-features.h>.
2021 (__ASSUME_ATFCTS): Do not undefine and redefine.
2022 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2023 (__have_atfcts): Remove conditional definition.
2024 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2025 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2026 unreachable if [__ASSUME_ATFCTS].
2027 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2028 not undefine and redefine.
2029 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2030 <kernel-features.h>.
2031 (faccessat) [__NR_faccessat]: Make code unconditional.
2032 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2033 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2034 <kernel-features.h>.
2035 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2036 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2037 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2038 <kernel-features.h>.
2039 (fchownat) [__NR_fchownat]: Make code unconditional.
2040 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2041 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2042 <kernel-features.h>.
2043 (futimesat) [__NR_futimesat]: Make code unconditional.
2044 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2045 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2046 <kernel-features.h>.
2047 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2048 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2049 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2050 <kernel-features.h>.
2051 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2052 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2053 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2054 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2055 <kernel-features.h>.
2056 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2057 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2058 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2059 <kernel-features.h>.
2060 (linkat) [__NR_linkat]: Make code unconditional.
2061 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2062 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2063 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2064 <kernel-features.h>.
2065 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2066 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2067 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2068 <kernel-features.h>.
2069 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2070 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/openat.c: Do not include
2072 <kernel-features.h>.
2073 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2074 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2075 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2076 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2077 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2078 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2079 <kernel-features.h>.
2080 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2081 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2082 result of INLINE_SYSCALL directly, not via int variable.
2083 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2084 <kernel-features.h>.
2085 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2086 (renameat) [__NR_renameat]: Make code unconditional.
2087 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2088 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2089 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2092 (__ASSUME_ATFCTS): Do not undefine and redefine.
2093 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2094 <kernel-features.h>.
2095 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2096 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2097 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2098 <kernel-features.h>.
2099 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2100 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2101 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2102 (__ASSUME_ATFCTS): Do not undefine and redefine.
2103 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2104 <kernel-features.h>.
2105 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2106 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2107 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2108 <kernel-features.h>.
2109 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2110 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2112 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2116 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2119 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2120 constructed tree before returning error.
2121 * posix/bug-regexp36.c: Expand test case.
2123 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2126 * math/libm-test.inc (scalbln_test_date):
2127 Add errno expectations.
2128 * math/w_scalblnf.c: New File.
2129 Add wrapper which checks for setting errno to ERANGE.
2130 Add weak_alias for corresponding scalbln function.
2131 * math/w_scalbln.c: Likewise.
2132 * math/w_scalblnl.c: Likewise.
2133 * math/Makefile (libm-calls): Add w_scalbln.
2134 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2135 Remove weak_alias for corresponding scalbln function.
2136 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2138 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2140 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2141 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2142 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2143 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2144 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2145 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2146 Remove long_double_symbol for scalblnl function in libm, libc.
2147 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2148 Add wrapper which checks for setting errno to ERANGE.
2149 Add long_double_symbol for scalblnl function in libm, libc.
2150 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2151 Remove long_double_symbol for scalblnl in libm.
2152 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2153 Add wrapper which checks for setting errno to ERANGE.
2154 Add long_double_symbol for scalblnl function in libm.
2155 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2156 Do not use wrapper because of own implementation.
2158 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2160 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2161 3 bytes for __pad1 for x32.
2162 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2164 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2165 H.J. Lu <hongjiu.lu@intel.com>
2167 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2168 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2169 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2170 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2171 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2173 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2176 * posix/regcomp.c (parse_expression): Deallocate partially
2177 constructed tree before returning error.
2178 * posix/Makefile.c (tests): Add bug-regex36.
2179 (generated): Add bug-regex36.mtrace.
2180 (tests-special): Add $(objpfx)bug-regex36-mem.out
2181 (bug-regex36-ENV): New variable.
2182 ($(objpfx)bug-regex36-mem.out): New rule.
2183 * posix/bug-regex36.c: New file.
2185 2014-06-19 Will Newton <will.newton@linaro.org>
2187 * malloc/malloc.c (systrim): If extra is zero then return
2190 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2192 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2194 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2196 * sysdeps/aarch64/strchr.S: New file.
2198 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2201 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2202 from arguments -2 or below.
2203 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2204 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2206 2014-06-18 Andreas Schwab <schwab@suse.de>
2209 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2210 of a bracket expr not to run off the end of the string.
2211 * posix/Makefile (tests): Add tst-fnmatch3.
2212 * posix/tst-fnmatch3.c: New file.
2214 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2216 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2217 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2218 [$(cross-compiling) = no]: Likewise.
2219 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2220 [$(cross-compiling) = no]: Likewise.
2222 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2225 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2226 double, adjusted for any remainder from the high double.
2227 * math/libm-test.inc (nearbyint): Add tests.
2230 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2232 * nptl/sysdeps/powerpc/Makefile: Moved ...
2233 * sysdeps/powerpc/nptl/Makefile: ... here.
2234 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2235 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2236 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2237 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2238 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2239 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2240 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2241 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2242 * nptl/sysdeps/powerpc/tls.h: Moved ...
2243 * sysdeps/powerpc/nptl/tls.h: ... here.
2245 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2248 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2249 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2250 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2251 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2252 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2253 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2254 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2255 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2256 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2258 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2260 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2262 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2264 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2267 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2270 2014-06-16 Florian Weimer <fweimer@redhat.com>
2273 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2274 non-executed part of the test.
2276 2014-06-16 Andreas Schwab <schwab@suse.de>
2278 * string/bits/string2.h (strdup, strndup): Update feature guard.
2280 2014-06-14 David S. Miller <davem@davemloft.net>
2282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2284 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2286 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2287 that was previously under [RESET_PID].
2288 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2290 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2291 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2292 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2293 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2294 (__libc_vfork): New strong alias.
2295 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2297 2014-06-14 Andi Kleen <ak@linux.intel.com>
2299 * sysdeps/generic/elide.h: New file.
2301 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2303 * Makefile (installed-headers): Adjust path of pthread.h header.
2305 2014-06-13 Roland McGrath <roland@hack.frob.com>
2307 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2308 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2309 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2310 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2312 * nptl/sysdeps/s390/Makefile: Moved ...
2313 * sysdeps/s390/nptl/Makefile: ... here.
2314 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2315 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2316 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2317 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2318 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2319 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2320 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2321 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2322 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2323 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2324 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2325 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2326 * nptl/sysdeps/s390/tls.h: Moved ...
2327 * sysdeps/s390/nptl/tls.h: ... here.
2329 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2330 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2332 2014-06-13 David S. Miller <davem@davemloft.net>
2334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2337 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2342 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2343 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2344 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2345 Remove RESET_PID cpp guards.
2346 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2347 Remove RESET_PID cpp guards.
2348 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2350 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2352 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2355 2014-06-13 Andi Kleen <ak@linux.intel.com>
2357 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2358 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2359 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2360 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2364 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2365 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2366 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2369 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2371 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2372 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2374 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2375 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2376 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2378 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2379 (pthread_rwlock_rdlock): Add elision.
2380 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2381 (pthread_rwlock_wrlock): Add elision.
2382 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2383 (pthread_rwlock_trywrlock): Add elision.
2384 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2385 (pthread_rwlock_tryrdlock): Add elision.
2386 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2387 (pthread_rwlock_tryrdlock): Add elision unlock.
2388 * nptl/sysdeps/pthread/pthread.h:
2389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2390 (PTHREAD_RWLOCK_INITIALIZER,
2391 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2392 Handle new elision field.
2393 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2394 * sysdeps/arm/nptl/bits/pthreadtypes.h
2395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2396 * sysdeps/sh/nptl/bits/pthreadtypes.h
2397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2398 * sysdeps/tile/nptl/bits/pthreadtypes.h
2399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2400 * sysdeps/a/nptl/bits/pthreadtypes.h
2401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2402 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2404 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2406 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2408 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2410 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2412 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2414 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2416 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2418 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2419 (elision_init): Set try_xbegin to zero when no RTM.
2420 * sysdeps/x86/nptl/bits/pthreadtypes.h
2421 (pthread_rwlock_t): Change __pad1 to __rwelision.
2422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2424 2014-06-13 Andi Kleen <ak@linux.intel.com>
2426 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2427 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2428 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2429 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2431 2014-06-13 Meador Inge <meadori@codesourcery.com>
2434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2435 that the cached result has been set before returning it.
2437 2014-06-12 Roland McGrath <roland@hack.frob.com>
2439 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2440 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2442 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2444 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2446 * nptl/sysdeps/sparc/Makefile: Moved ...
2447 * sysdeps/sparc/nptl/Makefile: ... here.
2448 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2449 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2450 * nptl/sysdeps/sparc/tls.h: Moved ...
2451 * sysdeps/sparc/nptl/tls.h: ... here.
2452 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2453 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2454 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2455 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2456 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2457 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2458 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2459 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2460 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2461 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2462 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2463 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2464 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2465 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2466 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2467 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2468 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2469 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2471 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2472 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2474 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2477 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2478 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2481 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2483 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2484 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2486 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2487 (struct list_links): Type removed.
2488 (struct thread_node, struct timer_node): Replace struct list_links
2489 with struct list_head.
2490 (list_unlink_ip): Likewise.
2491 * sysdeps/pthread/timer_routines.c
2492 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2493 (list_append, list_insbefore): Likewise.
2494 (list_init): Function removed.
2495 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2496 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2497 * sysdeps/pthread/Makefile: ... here, new file.
2499 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2500 * sysdeps/nptl/Implies: ... here.
2501 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2502 * nptl/sysdeps/pthread/list.h: Moved ...
2503 * include/list.h: ... here.
2504 * nptl/sysdeps/pthread/createthread.c: Moved ...
2505 * nptl/createthread.c: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2507 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2508 * nptl/pt-longjmp.c: ... here.
2509 * nptl/sysdeps/pthread/Makefile: Moved ...
2510 * sysdeps/nptl/Makefile: ... here.
2511 * nptl/sysdeps/pthread/Subdirs: Moved ...
2512 * sysdeps/nptl/Subdirs: ... here.
2513 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2514 * sysdeps/nptl/aio_misc.h: ... here.
2515 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2516 * sysdeps/nptl/bits/libc-lock.h: ... here.
2517 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2518 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2519 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2520 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2521 * nptl/sysdeps/pthread/configure: Moved ...
2522 * sysdeps/nptl/configure: ... here.
2523 * nptl/sysdeps/pthread/configure.ac: Moved ...
2524 * sysdeps/nptl/configure.ac: ... here.
2525 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2526 * sysdeps/nptl/gai_misc.h: ... here.
2527 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2528 * sysdeps/nptl/librt-cancellation.c: ... here.
2529 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2530 * sysdeps/nptl/malloc-machine.h: ... here.
2531 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2532 * sysdeps/nptl/pthread-functions.h: ... here.
2533 * nptl/sysdeps/pthread/pthread.h: Moved ...
2534 * sysdeps/nptl/pthread.h: ... here.
2535 * nptl/sysdeps/pthread/setxid.h: Moved ...
2536 * sysdeps/nptl/setxid.h: ... here.
2537 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2538 * sysdeps/nptl/sigfillset.c: ... here.
2539 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2540 * sysdeps/nptl/tcb-offsets.h: ... here.
2541 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2542 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2543 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2544 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2545 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2546 * sysdeps/pthread/allocalim.h: ... here.
2547 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2548 * sysdeps/pthread/bits/sigthread.h: ... here.
2549 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2550 * sysdeps/pthread/flockfile.c: ... here.
2551 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2552 * sysdeps/pthread/ftrylockfile.c: ... here.
2553 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2554 * sysdeps/pthread/funlockfile.c: ... here.
2555 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2556 * sysdeps/pthread/posix-timer.h: ... here.
2557 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2558 * sysdeps/pthread/timer_create.c: ... here.
2559 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2560 * sysdeps/pthread/timer_delete.c: ... here.
2561 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2562 * sysdeps/pthread/timer_getoverr.c: ... here.
2563 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2564 * sysdeps/pthread/timer_gettime.c: ... here.
2565 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2566 * sysdeps/pthread/timer_routines.c: ... here.
2567 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2568 * sysdeps/pthread/timer_settime.c: ... here.
2569 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2570 * sysdeps/pthread/tst-timer.c: ... here.
2571 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2572 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2574 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2575 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2577 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2578 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2579 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2580 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2581 Update #include target.
2582 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2583 * sysdeps/i386/i686/nptl/Makefile: ... here.
2584 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2585 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2586 Update #include target.
2587 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2588 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2589 * nptl/sysdeps/i386/Makefile: Moved ...
2590 * sysdeps/i386/nptl/Makefile: ... here.
2591 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2592 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2593 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2594 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2595 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2596 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2597 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2598 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2599 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2600 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2601 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2602 * nptl/sysdeps/i386/tls.h: Moved ...
2603 * sysdeps/i386/nptl/tls.h: ... here.
2605 * sysdeps/sh/Makefile [$(subdir) = csu]
2606 (gen-as-const-headers): Add tcb-offsets.sym.
2607 * nptl/sysdeps/sh/Makefile: File removed.
2608 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2609 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2610 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2611 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2612 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2613 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2614 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2615 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2616 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2617 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2618 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2619 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2620 * nptl/sysdeps/sh/tls.h: Moved ...
2621 * sysdeps/sh/nptl/tls.h: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2623 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2625 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2627 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2629 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2631 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2633 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2635 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2637 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2639 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2641 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2643 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2645 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2648 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2651 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2652 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2653 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2654 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2655 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2656 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2657 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2658 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2659 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2660 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2661 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2662 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2663 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2664 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2665 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2666 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2667 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2669 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2671 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2673 * posix/spawn_faction_addopen.c: Include string.h.
2675 2014-06-11 Roland McGrath <roland@hack.frob.com>
2677 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2678 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2679 * nptl/sysdeps/x86_64/Makefile: Moved ...
2680 * sysdeps/x86_64/nptl/Makefile: ... here.
2681 * nptl/sysdeps/x86_64/configure: Moved ...
2682 * sysdeps/x86_64/nptl/configure: ... here.
2683 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2684 * sysdeps/x86_64/nptl/configure.ac: ... here.
2685 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2686 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2687 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2688 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2689 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2690 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2691 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2692 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2693 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2694 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2695 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2696 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2697 * nptl/sysdeps/x86_64/tls.h: Moved ...
2698 * sysdeps/x86_64/nptl/tls.h: ... here.
2699 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2700 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2701 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2702 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2704 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2706 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2710 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2712 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2714 [POSIX] (off_t): Likewise.
2715 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2716 [POSIX] (S_ISBLK): Require macro.
2717 [POSIX] (S_ISCHR): Likewise.
2718 [POSIX] (S_ISDIR): Likewise.
2719 [POSIX] (S_ISFIFO): Likewise.
2720 [POSIX] (S_ISREG): Likewise.
2721 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2723 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2725 [POSIX] (time_t): Likewise.
2726 [POSIX] (timer_t): Likewise.
2728 2014-06-11 Florian Weimer <fweimer@redhat.com>
2731 * posix/spawn_int.h (struct __spawn_action): Make the path string
2732 non-const to support deallocation.
2733 * posix/spawn_faction_addopen.c
2734 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2735 * posix/spawn_faction_destroy.c
2736 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2737 path in all spawn_do_open actions.
2738 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2739 posix_spawn_file_actions_addopen.
2741 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2743 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2744 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2745 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2746 conditional code always true.
2747 (__libc_vfork): New alias.
2749 2014-06-11 Roland McGrath <roland@hack.frob.com>
2751 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2752 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2754 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2756 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2757 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2759 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2760 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2762 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2763 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2765 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2767 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2768 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2769 multiarch strcmp for PPC64.
2770 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2771 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2773 multiarch optimizations.
2774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2775 (__libc_ifunc_impl_list): Likewise.
2777 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2779 * benchtests/scripts/validate_benchout.py: New script.
2780 * benchtests/Makefile (bench-func): Call it.
2781 * benchtests/scripts/benchout.schema.json: New file.
2783 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2785 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2786 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2787 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2788 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2789 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2790 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2791 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2792 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2793 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2794 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2795 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2796 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2797 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2798 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2799 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2800 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2905 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2907 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2910 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2915 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2926 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2929 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2934 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2938 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2939 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2940 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2942 2014-06-10 Wilco <wdijkstr@arm.com>
2944 * math/test-fenv-return.c: New file.
2945 * math/Makefile: Add new test test-fenv-return.
2947 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2950 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2952 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2953 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2954 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2955 0.0L for an argument of 1.0L.
2956 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2958 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2959 value when x - 1 is zero.
2960 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2961 * sysdeps/i386/fpu/libm-test-ulps: Update.
2962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2964 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2967 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2969 2014-06-09 Roland McGrath <roland@hack.frob.com>
2971 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2972 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2974 2014-06-09 Roland McGrath <roland@hack.frob.com>
2976 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2977 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2979 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2980 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2982 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2983 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2985 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2986 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2988 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2989 if not already defined.
2990 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2991 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2992 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2993 (TLS_INIT_TP): Use it.
2994 (TLS_DEFINE_INIT_TP): New macro.
2995 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2997 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2999 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3001 [POSIX] (IXANY): Likewise.
3002 [POSIX] (OLCUC): Likewise.
3003 [POSIX || POSIX2008] (CBAUD): Do not allow.
3004 [POSIX || POSIX2008] (DEFECHO): Likewise.
3005 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3006 [POSIX || POSIX2008] (ECHOKE): Likewise.
3007 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3008 [POSIX || POSIX2008] (EXTA): Likewise.
3009 [POSIX || POSIX2008] (EXTB): Likewise.
3010 [POSIX || POSIX2008] (FLUSHO): Likewise.
3011 [POSIX || POSIX2008] (LOBLK): Likewise.
3012 [POSIX || POSIX2008] (PENDIN): Likewise.
3013 [POSIX || POSIX2008] (SWTCH): Likewise.
3014 [POSIX || POSIX2008] (VDISCARD): Likewise.
3015 [POSIX || POSIX2008] (VDSUSP): Likewise.
3016 [POSIX || POSIX2008] (VLNEXT): Likewise.
3017 [POSIX || POSIX2008] (VREPRINT): Likewise.
3018 [POSIX || POSIX2008] (VSTATUS): Likewise.
3019 [POSIX || POSIX2008] (VWERASE): Likewise.
3020 (B*): Change to B[0123456789]*.
3021 * conform/data/time.h-data [POSIX || UNIX98]
3022 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3023 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3024 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3025 [POSIX] (tm_*): Do not allow.
3027 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3029 * Makefile (install): Don't set LANGUAGE.
3030 * Makefile.in (install): Likewise.
3031 * assert/Makefile (test-assert-ENV): Remove variable.
3032 (test-assert-perr-ENV): Likewise.
3033 * elf/Makefile (neededtest4-ENV): Likewise.
3034 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3035 [$(cross-compiling) = no]: Don't set LANGUAGE.
3036 * io/ftwtest-sh (LANG): Remove variable.
3037 * libio/Makefile (tst-widetext-ENV): Likewise.
3038 * manual/install.texi (Running make install): Don't refer to
3039 environment settings for make install.
3040 * INSTALL: Regenerated.
3041 * nptl/tst-tls6.sh: Don't set LANG.
3042 * posix/globtest.sh (LANG): Remove variable.
3043 * string/Makefile (tester-ENV): Likewise.
3044 (inl-tester-ENV): Likewise.
3045 (noinl-tester-ENV): Likewise.
3046 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3047 [$(cross-compiling) = no]: Don't set LANGUAGE.
3048 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3049 without explicit environment settings.
3051 2014-06-06 Roland McGrath <roland@hack.frob.com>
3053 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3054 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3056 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3058 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3060 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3061 other files in the crypt directory.
3062 * crypt/crypt.c: Remove duplicate includes.
3063 * crypt/crypt-entry.c: Likewise.
3064 * crypt/crypt_util.c: Likewise.
3066 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3068 * Makeconfig (run-program-env): New variable.
3069 (run-program-prefix-before-env): Likewise.
3070 (run-program-prefix-after-env): Likewise.
3071 (run-program-prefix): Define in terms of new variables.
3072 (built-program-cmd-before-env): New variable.
3073 (built-program-cmd-after-env): Likewise.
3074 (built-program-cmd): Define in terms of new variables.
3075 (test-program-prefix-before-env): New variable.
3076 (test-program-prefix-after-env): Likewise.
3077 (test-program-prefix): Define in terms of new variables.
3078 (test-program-cmd-before-env): New variable.
3079 (test-program-cmd-after-env): Likewise.
3080 (test-program-cmd): Define in terms of new variables.
3081 * Rules (make-test-out): Use $(run-program-env).
3082 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3083 (help): Do not mention environment variables. Mention
3084 --timeoutfactor option.
3085 (timeoutfactor): New variable.
3086 (blacklist_exports): Remove function.
3087 (exports): Remove variable.
3088 (command): Do not include ${exports}.
3089 * manual/install.texi (Configuring and compiling): Do not mention
3090 test wrappers preserving environment variables. Mention that last
3091 assignment to a variable must take precedence.
3092 * INSTALL: Regenerated.
3093 * benchtests/Makefile (run-bench): Use $(run-program-env).
3094 * catgets/Makefile ($(objpfx)test1.cat): Use
3095 $(built-program-cmd-before-env), $(run-program-env) and
3096 $(built-program-cmd-after-env).
3097 ($(objpfx)test2.cat): Do not specify environment variables
3099 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3100 $(run-program-env) and $(built-program-cmd-after-env).
3101 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3102 $(run-program-env) and $(test-program-cmd-after-env).
3103 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3105 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3106 run_program_env and test_program_cmd_after_env arguments.
3107 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3108 * elf/tst-pathopt.sh: Use run_program_env argument.
3109 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3110 $(test-wrapper-env) and $(run-program-env).
3111 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3112 run_program_env arguments.
3113 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3114 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3115 $(test-program-prefix-before-env), $(run-program-env) and
3116 $(test-program-prefix-after-env).
3117 ($(objpfx)tst-gettext2.out): Likewise.
3118 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3119 run_program_env and test_program_prefix_after_env arguments.
3120 * intl/tst-gettext2.sh: Likewise.
3121 * intl/tst-gettext4.sh: Do not set environment variables
3123 * intl/tst-gettext6.sh: Likewise.
3124 * intl/tst-translit.sh: Likewise.
3125 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3126 $(test-program-prefix-before-env), $(run-program-env) and
3127 $(test-program-prefix-after-env).
3128 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3129 run_program_env and test_program_prefix_after_env arguments.
3130 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3131 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3132 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3133 explicitly with each use of ${test_wrapper_env}.
3134 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3135 $(test-program-prefix-before-env), $(run-program-env) and
3136 $(test-program-prefix-after-env).
3137 * posix/tst-getconf.sh: Do not set environment variables
3139 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3140 run_program_env and test_program_prefix_after_env arguments.
3141 * stdio-common/tst-printf.sh: Do not set environment variables
3143 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3144 $(test-program-prefix-before-env), $(run-program-env) and
3145 $(test-program-prefix-after-env).
3146 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3147 run_program_env and test_program_prefix_after_env arguments.
3148 Split $test calls into $test_pre and $test.
3149 * timezone/Makefile (build-testdata): Use
3150 $(built-program-cmd-before-env), $(run-program-env) and
3151 $(built-program-cmd-after-env).
3153 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3156 strlen for non SHARED builds.
3158 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3160 * nptl/allocatestack.c (check_list): Inlined function...
3161 (__reclaim_stacks): ... here.
3163 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3166 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3169 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3171 * Rules (make-test-out): Include
3172 LOCPATH=$(common-objpfx)localedata in default environment.
3173 * debug/Makefile (tst-chk1-ENV): Remove variable.
3174 (tst-chk2-ENV): Likewise.
3175 (tst-chk3-ENV): Likewise.
3176 (tst-chk4-ENV): Likewise.
3177 (tst-chk5-ENV): Likewise.
3178 (tst-chk6-ENV): Likewise.
3179 (tst-lfschk1-ENV): Likewise.
3180 (tst-lfschk2-ENV): Likewise.
3181 (tst-lfschk3-ENV): Likewise.
3182 (tst-lfschk4-ENV): Likewise.
3183 (tst-lfschk5-ENV): Likewise.
3184 (tst-lfschk6-ENV): Likewise.
3185 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3186 (tst-iconv7-ENV): Likewise.
3187 * intl/Makefile (LOCPATH-ENV): Likewise.
3188 (tst-codeset-ENV): Likewise.
3189 (tst-gettext3-ENV): Likewise.
3190 (tst-gettext5-ENV): Likewise.
3191 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3192 (tst-fopenloc-ENV): Likewise.
3193 (tst-fgetws-ENV): Remove variable.
3194 (tst-ungetwc1-ENV): Likewise.
3195 (tst-ungetwc2-ENV): Likewise.
3196 (bug-ungetwc2-ENV): Likewise.
3197 (tst-swscanf-ENV): Likewise.
3198 (bug-ftell-ENV): Likewise.
3199 (tst-fgetwc-ENV): Likewise.
3200 (tst-fseek-ENV): Likewise.
3201 (tst-ftell-partial-wide-ENV): Likewise.
3202 (tst-ftell-active-handler-ENV): Likewise.
3203 (tst-ftell-append-ENV): Likewise.
3204 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3205 (tst-regexloc-ENV): Likewise.
3206 (bug-regex1-ENV): Likewise.
3207 (tst-regex-ENV): Likewise.
3208 (tst-regex2-ENV): Likewise.
3209 (bug-regex5-ENV): Likewise.
3210 (bug-regex6-ENV): Likewise.
3211 (bug-regex17-ENV): Likewise.
3212 (bug-regex18-ENV): Likewise.
3213 (bug-regex19-ENV): Likewise.
3214 (bug-regex20-ENV): Likewise.
3215 (bug-regex22-ENV): Likewise.
3216 (bug-regex23-ENV): Likewise.
3217 (bug-regex25-ENV): Likewise.
3218 (bug-regex26-ENV): Likewise.
3219 (bug-regex30-ENV): Likewise.
3220 (bug-regex32-ENV): Likewise.
3221 (bug-regex33-ENV): Likewise.
3222 (bug-regex34-ENV): Likewise.
3223 (bug-regex35-ENV): Likewise.
3224 (tst-rxspencer-ENV): Likewise.
3225 (tst-rxspencer-no-utf8-ENV): Likewise.
3226 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3227 (tst-sscanf-ENV): Likewise.
3228 (tst-swprintf-ENV): Likewise.
3229 (tst-swscanf-ENV): Likewise.
3230 (test-vfprintf-ENV): Likewise.
3231 (scanf13-ENV): Likewise.
3232 (bug14-ENV): Likewise.
3233 (tst-grouping-ENV): Likewise.
3234 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3235 (tst-strtod3-ENV): Likewise.
3236 (tst-strtod4-ENV): Likewise.
3237 (tst-strtod5-ENV): Likewise.
3238 (testmb2-ENV): Likewise./
3239 * string/Makefile (tst-strxfrm-ENV): Likewise.
3240 (tst-strxfrm2-ENV): Likewise.
3241 (bug-strcoll1-ENV): Likewise.
3242 (test-strcasecmp-ENV): Likewise.
3243 (test-strncasecmp-ENV): Likewise.
3244 * time/Makefile (tst-strptime-ENV): Likewise.
3245 (tst-ftime_l-ENV): Likewise.
3246 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3247 (tst-mbrtowc-ENV): Likewise.
3248 (tst-wcrtomb-ENV): Likewise.
3249 (tst-mbrtowc2-ENV): Likewise.
3250 (tst-c16c32-1-ENV): Likewise.
3251 (tst-mbsnrtowcs-ENV): Likewise.
3253 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3255 * manual/resource.texi (How to get information about the memory
3256 subsystem?): Fix typo.
3257 Reported by Peon de la Parra Ivan <peon@keba.com>
3259 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3262 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3263 (pthread_spin_lock): Branch out of spin loop to proper location.
3264 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3265 (pthread_spin_lock): Likewise.
3267 * nptl/tst-spin4.c: New test.
3268 * nptl/Makefile (tests): Add tst-spin4.
3270 2014-06-03 Andreas Schwab <schwab@suse.de>
3273 * resolv/res_send.c (send_dg): Reload file descriptor after
3276 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3278 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3280 2014-06-03 Richard Henderson <rth@redhat.com>
3282 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3283 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3284 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3285 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3286 in the SAVE_PID block.
3287 (__libc_vfork): New alias.
3288 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3290 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3291 child in registers, not on the stack. Remove RESET_PID conditionals.
3292 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3294 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3296 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3298 2014-06-03 Wilco <wdijkstr@arm.com>
3300 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3301 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3302 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3303 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3304 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3307 2014-06-03 Wilco <wdijkstr@arm.com>
3309 * sysdeps/aarch64/fpu/math_private.h
3310 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3311 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3312 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3313 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3316 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3318 * crypt/crypt-private.h: Include ufc-crypt.h.
3319 (__b64_from_24bit): Declare extern.
3320 * crypt/crypt_util.c(__b64_from_24bit): New function.
3321 (b64t): New static const variable.
3322 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3323 (b64t): Remove variable.
3324 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3325 * crypt/sha256-crypt.c: Include crypt-private.h.
3326 (b64t): Remove variable.
3327 (__sha256_crypt_r): Remove b64_from_24bit and replace
3328 with __b64_from_24bit.
3329 * crypt/sha512-crypt.c: Likewise.
3331 2014-06-02 Roland McGrath <roland@hack.frob.com>
3333 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3334 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3335 Label the code __libc_vfork rather than __vfork.
3336 [!NOT_IN_libc] (vfork): Define as weak alias.
3337 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3338 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3339 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3341 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3343 * malloc/malloc.c (malloc_info): Fix format specifier for
3346 2014-06-02 Wilco <wdijkstr@arm.com>
3348 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3351 2014-06-02 Wilco <wdijkstr@arm.com>
3354 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3355 Rewrite to reduce FPCR/FPSR accesses.
3357 2014-06-01 David S. Miller <davem@davemloft.net>
3359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3361 2014-05-31 David S. Miller <davem@davemloft.net>
3363 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3364 to occur in round to nearest mode when |x| >= 2.0
3366 2014-05-30 Richard Henderson <rth@twiddle.net>
3368 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3369 (PSEUDO_RET_NOERRNO): Remove.
3370 (ret): Don't redefine.
3371 (ret_NOERRNO): Define in terms of ret.
3372 (ret_ERRVAL): Likewise.
3374 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3375 use of PSEUDO_RET; perform the error check directly.
3377 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3379 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3382 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3384 * malloc/malloc (malloc_info): Fix formatting.
3386 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3387 Roland McGrath <roland@hack.frob.com>
3389 * malloc/malloc (malloc_info): Also print mmapped statistics.
3391 2014-05-30 Roland McGrath <roland@hack.frob.com>
3393 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3394 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3396 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3398 * malloc/malloc.c (malloc_info): Inline mi_arena.
3400 2014-05-29 Richard Henderson <rth@twiddle.net>
3402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3403 Remove comma before expanding ASM_ARGS_##nr.
3404 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3405 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3407 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3408 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3409 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3410 (ASM_ARGS_1): Add leading comma.
3412 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3413 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3414 to __errno_location.
3415 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3416 Remove the expected plt for __errno_location.
3418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3419 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3423 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3424 it and break it down.
3425 (DOCARGS_0, DOCARGS_1): Do nothing.
3426 (DOCARGS_2): Update to store into the new stack frame.
3427 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3428 (UNDOCARGS_1): Update to restore from the new stack frame.
3429 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3430 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3432 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3433 (SINGLE_THREAD_P): New parameter for result regno.
3434 (PSEUDO): Update to match; use cbz instead of beq.
3436 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3437 Use ENTRY to define the _nocancel entry point. Share the syscall
3438 and syscall error check paths with the cancel path.
3441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3442 whitespace; tabs before and after asm mnemonics.
3444 2014-05-29 Eric Wong <normalperson@yhbt.net>
3447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3448 Call fstat64 or stat64 internally, depending on arguments passed.
3449 Replace stat buffer argument with file descriptor argument.
3450 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3451 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3452 Pass fd to __internal_statvfs instead of calling fstat64.
3453 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3454 Pass fd to __internal_statvfs64 instead of calling fstat64.
3455 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3456 Pass -1 to __internal_statvfs instead of calling stat64.
3457 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3458 Pass -1 to __internal_statvfs64 instead of calling stat64.
3460 2014-05-28 Roland McGrath <roland@hack.frob.com>
3462 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3463 that was previously under [RESET_PID].
3464 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3466 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3467 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3469 2014-05-27 Roland McGrath <roland@hack.frob.com>
3471 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3473 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3474 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3476 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3478 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3480 2014-05-27 Andreas Schwab <schwab@suse.de>
3482 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3484 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3485 * elf/rtld.c (init_tls, dl_main): Likewise.
3486 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3487 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3488 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3489 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3490 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3491 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3492 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3493 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3494 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3495 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3496 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3497 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3498 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3499 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3500 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3501 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3502 * sysdeps/generic/tls.h: Update description.
3504 2014-05-27 Will Newton <will.newton@linaro.org>
3507 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3508 and restore r2 rather than just restoring.
3510 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3513 * libio/tst-ftell-append.c: New test case.
3514 * libio/Makefile (tests): Add test case.
3515 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3517 * libio/wfileops.c (do_ftell_wide): Likewise.
3519 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3523 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3527 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3528 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3529 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3530 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3531 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3532 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3536 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3540 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3542 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3545 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3546 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3548 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3550 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3552 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3554 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3557 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3558 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3559 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3582 conditional [RESET_PID].
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3591 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3592 (__libc_vfork): New strong alias.
3593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3600 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3601 (__libc_vfork): New strong alias.
3602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3607 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3609 * malloc/malloc.c (mi_arena): New function.
3610 (malloc_info): Remove nested function mi_arena. Call non-nosted
3613 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3615 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3617 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3618 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3619 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3620 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3621 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3622 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3623 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3625 2014-05-26 Andreas Schwab <schwab@suse.de>
3628 * locale/programs/repertoire.c (repertoire_read): Add slash
3629 between I18NPATH element and file name.
3630 * locale/programs/locfile.c (locfile_read): Likewise.
3632 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3634 * nptl/pthread_mutexattr_settype.c
3635 (__pthread_mutexattr_settype):
3636 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3638 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3640 * nptl/tst-mutex5 (do_test):
3641 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3643 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3645 * benchtests/README: Document 'init' directive.
3646 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3648 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3649 (parse_file): Recognize 'init' directive.
3651 2014-05-26 Kyle McMartin <kyle@redhat.com>
3654 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3655 alignment of struct pthread.
3657 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3660 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3661 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3662 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3663 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3665 2014-05-25 Richard Henderson <rth@twiddle.net>
3667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3668 (SINGLE_THREAD_P_PIC): Remove.
3669 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3670 (SINGLE_THREAD_P_PIC): Remove.
3672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3673 branch to syscall error ...
3675 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3676 from __local_syscall_error to .Lsyscall_error.
3677 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3678 (SYSCALL_ERROR): Update label name.
3680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3681 Do not use DOARGS/UNDOARGS.
3682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3683 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3684 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3685 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3686 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3688 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3691 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3692 define if !NOT_IN_libc.
3693 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3694 define with non-default symbol versions.
3696 2014-05-23 Richard Henderson <rth@twiddle.net>
3698 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3699 (vfork, __vfork): Define via compat_symbol.
3701 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3702 [!HAVE_IFUNC] (vfork_compat): Remove.
3703 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3705 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3708 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3709 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3712 2014-05-23 Richard Henderson <rth@twiddle.net>
3714 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3715 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3716 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3717 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3719 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3720 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3721 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3722 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3723 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3724 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3725 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3726 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3727 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3728 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3729 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3730 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3731 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3736 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3737 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3740 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3744 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3745 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3750 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3751 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3758 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3759 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3760 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3761 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3762 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3763 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3764 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3765 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3766 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3767 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3768 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3769 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3770 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3771 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3772 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3774 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3776 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3777 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3778 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3779 before exiting on error.
3780 (__libc_vfork): New strong alias.
3781 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3782 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3784 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3785 that was previously under [RESET_PID].
3786 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3788 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3790 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3793 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3794 value when x - 1 is zero.
3795 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3796 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3797 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3798 0.0L for an argument of 1.0L.
3799 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3801 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3802 value when x - 1 is zero.
3803 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3804 * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3807 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3809 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3810 alphasort and versionsort.
3812 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3814 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3816 [copysignf]: Likewise.
3818 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3820 * crypt/md5-crypt.c: Fix formatting.
3822 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3824 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3825 (b64_from_24bit): New function.
3827 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3830 libc_hidden_builtin_def to ifunc.
3831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3832 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3834 2014-05-21 Roland McGrath <roland@hack.frob.com>
3836 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3837 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3839 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3841 * nscd/Depend (linuxthreads): Remove.
3843 * resolv/Depend (linuxthreads): Remove.
3844 * rt/Depend (linuxthreads): Remove.
3846 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3847 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3848 $(common-objpfx)elf/.
3849 (link-libc-before-gnulib): Likewise.
3850 (elfobjdir): Remove variable.
3851 * Makefile (install): Use $(elf-objpfx) instead of
3852 $(common-objpfx)elf/.
3853 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3855 (link-libc-deps): Likewise.
3856 ($(common-objpfx)libc.so): Likewise.
3857 ($(common-objpfx)linkobj/libc.so): Likewise.
3858 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3859 instead of $(common-objpfx)elf/.
3860 (symbolic-link-list): Likewise.
3861 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3862 [$(cross-compiling) = no]: Likewise.
3863 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3865 (static-gnulib-arch): Likewise.
3866 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3867 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3868 $(common-objpfx)elf/.
3870 2014-05-21 Richard Henderson <rth@redhat.com>
3872 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3873 (SINGLE_THREAD_P): Use the correct width load. Fold
3874 into the ldr offset.
3876 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3877 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3879 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3881 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3882 (libgcc_s_resume): Use __attribute_used__.
3883 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3886 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3888 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3889 optimization when used with float constants.
3891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3893 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3896 * locale/nl_langinfo_l.c: Make direct reference to every
3897 _nl_current_CATEGORY symbol.
3898 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3899 (tests-static): Add tst-langinfo-static.
3900 (tests-special): Add tst-langinfo-static.out.
3901 ($(objpfx)tst-langinfo.out): Redirect output.
3902 ($(objpfx)tst-langinfo-static.out): New.
3903 * localedata/tst-langinfo.sh: Send output to stdout.
3904 * localedata/tst-langinfo-static.c: New file.
3907 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3908 when the shift amount is modulo the limb size.
3910 2014-05-20 Richard Henderson <rth@redhat.com>
3913 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3914 Change type of sa_flags from unsigned int to int.
3917 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3919 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3921 2014-05-20 Will Newton <will.newton@linaro.org>
3923 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3924 Test the return value of the system call in the nocancel case.
3926 2014-05-20 Will Newton <will.newton@linaro.org>
3927 Yvan Roux <yvan.roux@linaro.org>
3929 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3930 #include of asm/ptrace.h.
3931 (PTRACE_GET_THREAD_AREA): Remove #undef.
3932 (PTRACE_GETHBPREGS): Likewise.
3933 (PTRACE_SETHBPREGS): Likewise.
3934 (struct user_regs_struct): New structure.
3935 (struct user_fpsimd_struct): New structure.
3936 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3937 #include of asm/ptrace.h and second #include of sys/user.h.
3938 (PTRACE_GET_THREAD_AREA): Remove #undef.
3939 (PTRACE_GETHBPREGS): Likewise.
3940 (PTRACE_SETHBPREGS): Likewise.
3941 (ELF_NGREG): Use new struct user_regs_struct.
3942 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3944 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3946 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3947 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3949 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3952 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3953 membar to avoid block loads/stores to overlap previous stores.
3955 2014-05-17 Richard Henderson <rth@redhat.com>
3957 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3958 Create the __##syscall_name##_nocancel entry point.
3959 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3960 Remove; let the sysdep-cancel.h code create it.
3962 2014-05-17 David S. Miller <davem@davemloft.net>
3964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3965 Protect with __USE_GNU.
3966 (TIOCSET_TEMPT): Likewise.
3967 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3968 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3969 these are already provided in bits/ioctl-types.h
3971 2014-05-16 Roland McGrath <roland@hack.frob.com>
3973 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3974 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3976 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3977 Use wait4 regardless of [__NR_waitpid].
3979 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3982 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3983 (_FP_NANSIGN_Q): Set the quiet bit.
3985 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3987 * benchtests/Makefile
3988 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3989 not $(common-objpfx)math/libm.so.
3990 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3991 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3992 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3993 $(common-objpfx)dlfcn/libdl.so.
3994 ($(objpfx)tst-audit8): Depend on $(libm), not
3995 $(common-objpfx)math/libm.so.
3996 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3997 not $(common-objpfx)dlfcn/libdl.so.
3999 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4000 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4001 [$(build-shared) = yes].
4002 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4003 $(common-objpfx)nptl/libpthread.so.
4004 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4005 $(common-objpfx)math/libm.so$(libm.so-version) or
4006 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4007 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4008 $(common-objpfx)dlfcn/libdl.so.
4009 * setjmp/Makefile (link-libm): Remove variable.
4010 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4011 * stdio-common/Makefile (link-libm): Remove variable.
4012 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4013 * stdlib/Makefile (link-libm): Remove variable.
4014 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4015 ($(objpfx)tst-strtod-round): Likewise.
4016 ($(objpfx)tst-tininess): Likewise.
4017 ($(objpfx)tst-strtod-underflow): Likewise.
4018 ($(objpfx)tst-strtod6): Likewise.
4019 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4020 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4021 $(common-objpfx)dlfcn/libdl.so.
4023 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4026 BSD terminal modes definitions.
4028 2014-05-16 Roland McGrath <roland@hack.frob.com>
4030 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4031 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4033 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4034 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4035 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4036 Don't do #include_next.
4037 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4038 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4039 Don't do #include_next.
4040 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4041 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4042 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4043 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4045 2014-05-16 Allan McRae <allan@archlinux.org>
4047 * po/sv.po: Update Swedish translation from translation project.
4049 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4052 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4055 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4056 errno if the TIOCGPTN ioctl fails with an error different than
4058 * login/tst-ptsname.c: New file.
4059 * login/Makefile (tests): Add tst-ptsname.
4062 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4065 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4069 herrno to return EAI_AGAIN.
4071 2014-05-14 Roland McGrath <roland@hack.frob.com>
4073 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4074 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4075 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4084 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4085 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4096 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4102 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4104 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4109 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4125 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4131 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4133 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4138 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4144 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4146 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4148 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4150 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4152 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4154 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4159 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4163 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4164 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4165 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4166 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4167 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4169 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4170 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4171 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4172 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4173 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4175 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4177 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4179 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4180 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4181 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4182 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4183 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4184 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4185 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4187 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4188 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4189 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4191 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4193 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4195 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4196 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4198 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4199 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4200 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4202 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4205 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4208 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4211 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4212 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4214 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4216 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4219 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4220 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4222 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4225 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4228 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4229 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4231 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4233 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4234 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4235 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4236 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4239 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4243 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4244 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4245 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4246 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4247 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4250 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4253 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4256 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4257 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4259 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4260 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4261 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4262 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4264 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4265 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4266 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4267 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4268 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4269 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4270 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4273 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4274 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4276 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4278 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4279 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4280 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4281 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4284 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4288 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4289 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4290 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4292 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4294 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4296 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4299 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4302 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4305 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4310 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4312 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4315 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4317 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4319 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4320 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4321 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4324 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4329 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4330 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4331 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4332 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4335 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4339 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4340 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4341 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4342 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4343 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4344 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4345 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4347 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4349 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4351 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4352 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4354 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4355 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4357 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4358 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4359 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4361 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4362 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4363 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4365 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4367 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4369 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4371 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4373 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4376 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4378 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4381 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4383 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4385 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4399 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4401 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4402 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4403 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4404 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4405 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4406 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4407 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4409 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4412 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4413 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4414 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4415 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4417 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4418 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4419 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4420 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4421 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4422 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4423 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4424 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4425 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4426 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4431 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4432 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4433 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4434 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4435 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4436 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4437 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4438 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4439 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4440 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4441 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4442 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4443 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4444 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4466 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4468 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4473 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4475 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4476 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4477 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4478 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4479 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4481 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4482 that was previously under [RESET_PID].
4483 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4484 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4485 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4487 * sysdeps/i386/nptl/Implies: New file.
4488 * sysdeps/x86_64/nptl/Implies: New file.
4489 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4490 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4491 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4492 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4494 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4495 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4496 (__libc_vfork): New strong alias.
4497 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4498 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4500 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4501 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4502 (__libc_vfork): New strong alias.
4503 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4504 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4506 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4507 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4508 (__libc_vfork): New strong alias.
4509 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4510 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4511 * nptl/pt-vfork.c: New file.
4512 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4513 (libpthread: GLIBC_2.20): New version set (empty).
4515 2014-05-14 Will Newton <will.newton@linaro.org>
4517 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4520 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4523 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4524 arguments with exponent 65 or above.
4525 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4526 arguments 0x1p113L or above.
4527 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4528 to arguments 0x1p107L or above.
4529 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4530 positive arguments with exponent 65 or above.
4531 * math/auto-libm-test-in: Add more tests of log1p.
4532 * math/auto-libm-test-out: Regenerated.
4535 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4536 non-finite arguments is +0.
4537 * math/s_cacosf.c (__cacosf): Likewise.
4538 * math/s_cacosl.c (__cacosl): Likewise.
4539 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4540 * sysdeps/i386/fpu/libm-test-ulps: Update.
4541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4544 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4546 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4547 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4548 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4549 for explicit high bit of mantissa when testing for argument equal
4551 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4552 * sysdeps/i386/fpu/libm-test-ulps: Update.
4553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4556 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4557 (__erf): Scale by 16 instead of 8 in potentially underflowing
4558 case. Ensure exception if result actually underflows.
4559 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4560 (__erff): Scale by 16 instead of 8 in potentially underflowing
4561 case. Ensure exception if result actually underflows.
4562 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4563 (efx8): Remove variable.
4564 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4565 case. Ensure exception if result actually underflows.
4566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4567 (efx8): Remove variable.
4568 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4569 case. Ensure exception if result actually underflows.
4570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4571 (efx8): Remove variable.
4572 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4573 case. Ensure exception if result actually underflows.
4574 * math/auto-libm-test-in: Add more tests of erf.
4575 * math/auto-libm-test-out: Regenerated.
4577 2014-05-14 Andreas Schwab <schwab@suse.de>
4579 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4580 Remove code conditionalized on USE___THREAD.
4582 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4583 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4586 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4589 Define unconditionally.
4590 (__ASSUME_O_CLOEXEC): Likewise.
4591 (__ASSUME_SOCK_CLOEXEC): Likewise.
4592 (__ASSUME_IN_NONBLOCK): Likewise.
4593 (__ASSUME_PIPE2): Likewise.
4594 (__ASSUME_EVENTFD2): Likewise.
4595 (__ASSUME_SIGNALFD4): Likewise.
4596 (__ASSUME_DUP3): Likewise.
4597 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4598 (__ASSUME_DUP3): Do not define.
4599 (__ASSUME_EVENTFD2): Likewise.
4600 (__ASSUME_IN_NONBLOCK): Likewise.
4601 (__ASSUME_O_CLOEXEC): Likewise.
4602 (__ASSUME_PIPE2): Likewise.
4603 (__ASSUME_SIGNALFD4): Likewise.
4604 (__ASSUME_SOCK_CLOEXEC): Likewise.
4605 (__ASSUME_UTIMES): Undefine.
4606 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4607 (__ASSUME_UTIMES): Do not define.
4608 (__ASSUME_O_CLOEXEC): Likewise.
4609 (__ASSUME_SOCK_CLOEXEC): Likewise.
4610 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4611 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4613 (__ASSUME_PIPE2): Likewise.
4614 (__ASSUME_EVENTFD2): Likewise.
4615 (__ASSUME_SIGNALFD4): Likewise.
4616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4617 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4619 (__ASSUME_EVENTFD2): Likewise.
4620 (__ASSUME_SIGNALFD4): Likewise.
4621 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4622 (__ASSUME_32BITUIDS): Likewise.
4623 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4624 (__ASSUME_IPC64): Likewise.
4625 (__ASSUME_ST_INO_64_BIT): Likewise.
4626 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4627 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4628 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4629 (__ASSUME_UTIMES): Do not define.
4630 (__ASSUME_PSELECT): Likewise.
4631 (__ASSUME_PPOLL): Likewise.
4632 (__ASSUME_O_CLOEXEC): Likewise.
4633 (__ASSUME_SOCK_CLOEXEC): Likewise.
4634 (__ASSUME_IN_NONBLOCK): Likewise.
4635 (__ASSUME_PIPE2): Likewise.
4636 (__ASSUME_EVENTFD2): Likewise.
4637 (__ASSUME_SIGNALFD4): Likewise.
4638 (__ASSUME_DUP3): Likewise.
4639 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4640 (__ASSUME_UTIMES): Likewise.
4641 (__ASSUME_O_CLOEXEC): Likewise.
4642 (__ASSUME_SOCK_CLOEXEC): Likewise.
4643 (__ASSUME_IN_NONBLOCK): Likewise.
4644 (__ASSUME_PIPE2): Likewise.
4645 (__ASSUME_EVENTFD2): Likewise.
4646 (__ASSUME_SIGNALFD4): Likewise.
4647 (__ASSUME_DUP3): Likewise.
4648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4649 (__ASSUME_UTIMES): Likewise.
4650 (__ASSUME_O_CLOEXEC): Likewise.
4651 (__ASSUME_SOCK_CLOEXEC): Likewise.
4652 (__ASSUME_IN_NONBLOCK): Likewise.
4653 (__ASSUME_PIPE2): Likewise.
4654 (__ASSUME_EVENTFD2): Likewise.
4655 (__ASSUME_SIGNALFD4): Likewise.
4656 (__ASSUME_DUP3): Likewise.
4657 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4659 (__ASSUME_UTIMES): Likewise.
4660 (__ASSUME_EVENTFD2): Likewise.
4661 (__ASSUME_SIGNALFD4): Likewise.
4662 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4663 (__ASSUME_O_CLOEXEC): Likewise.
4664 (__ASSUME_SOCK_CLOEXEC): Likewise.
4665 (__ASSUME_IN_NONBLOCK): Likewise.
4666 (__ASSUME_PIPE2): Likewise.
4667 (__ASSUME_EVENTFD2): Likewise.
4668 (__ASSUME_SIGNALFD4): Likewise.
4669 (__ASSUME_DUP3): Likewise.
4670 (__ASSUME_UTIMES): Undefine.
4672 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4673 feclearexcept. Remove symbol versioning code.
4674 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4675 symbol versioning code.
4676 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4677 symbol versioning code.
4678 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4679 feupdateenv. Remove symbol versioning code.
4680 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4681 fegetexceptflag. Remove symbol versioning code.
4682 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4683 fesetexceptflag. Remove symbol versioning code.
4684 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4685 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4686 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4687 (__posix_fadvise64_l32): Remove prototype.
4688 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4691 2014-05-13 Roland McGrath <roland@hack.frob.com>
4693 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4694 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4695 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4696 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4698 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4700 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4701 current working directory
4703 2014-05-13 Roland McGrath <roland@hack.frob.com>
4705 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4706 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4707 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4708 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4709 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4710 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4711 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4726 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4727 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4728 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4730 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4731 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4732 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4733 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4734 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4736 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4737 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4738 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4739 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4740 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4741 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4742 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4743 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4744 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4745 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4746 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4748 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4749 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4751 * sysdeps/unix/sysv/linux/arm/Makefile
4752 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4753 Add rt-aeabi_unwind_cpp_pr1.
4754 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4755 Add nptl-aeabi_unwind_cpp_pr1.
4756 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4757 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4758 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4759 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4760 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4761 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4763 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4764 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4765 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4766 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4768 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4769 Deconditionalize the code that was previously under [RESET_PID].
4770 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4772 * sysdeps/generic/exit-thread.h: New file.
4773 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4774 * include/unistd.h (__exit_thread): Remove declaration.
4775 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4776 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4777 * csu/libc-start.c: Include <exit-thread.h>.
4778 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4779 * nptl/pthread_create.c: Include <exit-thread.h>.
4780 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4781 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4782 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4783 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4784 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4785 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4786 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4787 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4788 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4789 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4790 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4791 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4792 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4793 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4794 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4795 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4796 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4798 2014-05-13 Andreas Schwab <schwab@suse.de>
4800 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4802 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4804 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4805 (__ASSUME_UTIMES): Do not condition on kernel version.
4806 (__ASSUME_PSELECT): Define unconditionally.
4807 (__ASSUME_PPOLL): Likewise.
4808 (__ASSUME_ATFCTS): Likewise.
4809 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4810 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4811 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4812 (__ASSUME_UTIMENSAT): Define unconditionally.
4813 (__ASSUME_PRIVATE_FUTEX): Likewise.
4814 (__ASSUME_FALLOCATE): Likewise.
4815 (__ASSUME_O_CLOEXEC): Likewise.
4816 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4817 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4818 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4819 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4820 (__ASSUME_IN_NONBLOCK): Likewise.
4821 (__ASSUME_PIPE2): Likewise.
4822 (__ASSUME_EVENTFD2): Likewise.
4823 (__ASSUME_SIGNALFD4): Likewise.
4824 (__ASSUME_DUP3): Likewise.
4825 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4826 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4827 (__ASSUME_AT_RANDOM): Likewise.
4828 (__ASSUME_PREADV): Likewise.
4829 (__ASSUME_PWRITEV): Likewise.
4830 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4831 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4832 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4834 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4836 (__ASSUME_O_CLOEXEC): Define unconditionally.
4837 (__ASSUME_PSELECT): Do not undefine conditionally.
4838 (__ASSUME_PPOLL): Likewise.
4839 (__ASSUME_ATFCTS): Likewise.
4840 (__ASSUME_SET_ROBUST_LIST): Likewise.
4841 (__ASSUME_UTIMENSAT): Likewise.
4842 (__ASSUME_FDATASYNC): Define unconditionally.
4843 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4844 (__ASSUME_SIGFRAME_V2): Likewise.
4845 )__ASSUME_EVENTFD2): Likewise.
4846 (__ASSUME_SIGNALFD4): Likewise.
4847 (__ASSUME_PSELECT): Do not undefine conditionally.
4848 (__ASSUME_PPOLL): Likewise.
4849 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4850 (__ASSUME_PSELECT): Define unconditionally.
4851 (__ASSUME_PPOLL): Likewise.
4852 (__ASSUME_O_CLOEXEC): Likewise.
4853 (__ASSUME_SOCK_CLOEXEC): Likewise.
4854 (__ASSUME_IN_NONBLOCK): Likewise.
4855 (__ASSUME_PIPE2): Likewise.
4856 (__ASSUME_EVENTFD2): Likewise.
4857 (__ASSUME_SIGNALFD4): Likewise.
4858 (__ASSUME_DUP3): Likewise.
4859 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4860 (__ASSUME_O_CLOEXEC): Likewise.
4861 (__ASSUME_SOCK_CLOEXEC): Likewise.
4862 (__ASSUME_IN_NONBLOCK): Likewise.
4863 (__ASSUME_PIPE2): Likewise.
4864 (__ASSUME_EVENTFD2): Likewise.
4865 (__ASSUME_SIGNALFD4): Likewise.
4866 (__ASSUME_DUP3): Likewise.
4867 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4868 (__ASSUME_EVENTFD2): Likewise.
4869 (__ASSUME_SIGNALFD4): Likewise.
4870 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4872 2014-05-12 Andreas Schwab <schwab@suse.de>
4875 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4876 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4877 than maximum RPC packet size.
4878 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4879 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4880 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4881 (_nss_nis_getservbyport_r): Likewise.
4883 2014-05-12 Will Newton <will.newton@linaro.org>
4885 * malloc/Makefile (tests): Add tst-mallopt.
4886 * malloc/tst-mallopt.c: New file.
4888 2014-05-09 Roland McGrath <roland@hack.frob.com>
4890 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4891 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4893 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4895 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4896 (tst-tlsmod6.so): Likewise.
4898 2014-05-09 Roland McGrath <roland@hack.frob.com>
4900 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4902 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4905 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4906 and <dl-procinfo.h>.
4907 (__fegetenv): Save SSE state in envp->__eip if supported.
4908 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4909 envp->__eip if supported.
4910 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4911 and <dl-procinfo.h>.
4912 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4913 __data_offset and __data_selector in environment to 0. Set SSE
4915 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4917 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4919 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4921 2014-05-09 Will Newton <will.newton@linaro.org>
4923 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4924 and libc_relro_required for ARM.
4925 * sysdeps/arm/preconfigure: Regenerate.
4927 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4928 Stefan Liebler <stli@linux.vnet.ibm.com>
4930 * config.make.in (enable-lock-elision): New Makefile variable.
4931 * configure.ac: Likewise.
4932 * configure: Regenerate.
4933 * sysdeps/s390/configure.ac:
4934 Add check for gcc transactions support.
4935 * sysdeps/s390/configure: Regenerate.
4936 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4937 Build elision files if enabled.
4938 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4939 Add lock elision support for s390.
4940 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4941 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4942 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4943 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4944 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4945 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4946 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4948 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4950 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4952 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4954 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4955 (__lll_timedlock_elision, __lll_lock_elision)
4956 (__lll_unlock_elision, __lll_trylock_elision)
4957 (lll_timedlock_elision, lll_lock_elision)
4958 (lll_unlock_elision, lll_trylock_elision): Add.
4959 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4960 (pthread_mutex_t): Add lock elision support for s390.
4962 2014-05-14 Wilco <wdijkstr@arm.com>
4964 * sysdeps/arm/fclrexcpt.c: Cleanup.
4965 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4966 * sysdeps/arm/feenablxcpt.c: Cleanup.
4967 * sysdeps/arm/fegetenv.c: Cleanup.
4968 * sysdeps/arm/fegetexcept.c: Cleanup.
4969 * sysdeps/arm/fegetround.c: Cleanup.
4970 * sysdeps/arm/feholdexcpt.c: Cleanup.
4971 * sysdeps/arm/fesetenv.c: Cleanup.
4972 * sysdeps/arm/fesetround.c: Cleanup.
4973 * sysdeps/arm/feupdateenv.c: Cleanup.
4974 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4975 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4976 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4977 * sysdeps/arm/ftestexcept.c: Cleanup.
4978 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4979 * sysdeps/arm/setfpucw.c: Cleanup.
4981 2014-05-09 Will Newton <will.newton@linaro.org>
4983 * sysdeps/arm/armv7/strcmp.S: New file.
4984 * NEWS: Mention addition of ARMv7 optimized strcmp.
4986 2014-05-08 Roland McGrath <roland@hack.frob.com>
4988 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4989 look for %.ac rather than %.in.
4991 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4992 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4993 * sysdeps/mach/hurd/configure: Regenerated.
4994 * sysdeps/unix/sysv/linux/configure: Regenerated.
4996 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4998 2014-05-07 Steve Ellcey <sellcey@mips.com>
5001 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5005 2014-05-07 Andreas Schwab <schwab@suse.de>
5007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5008 when skipping over non-matching result from nscd.
5010 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5013 * nptl/sockperf.c (client): Check socket return value.
5016 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5017 nscd security class.
5019 2014-05-06 Roland McGrath <roland@hack.frob.com>
5021 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5022 * sysdeps/arm/unwind.h: ... here.
5024 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5027 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5030 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5032 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5033 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5034 multiarch strncpy for PPC64.
5035 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5036 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5038 multiarch optimizations.
5039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5040 (__libc_ifunc_impl_list): Likewise.
5041 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5042 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5043 multiarch stpncpy for PPC64.
5044 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5045 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5047 2014-05-06 Andreas Schwab <schwab@suse.de>
5050 * gmon/mcount.c (_MCOUNT_DECL): Use
5051 atomic_compare_and_exchange_bool_acq instead of
5052 catomic_compare_and_exchange_bool_acq.
5054 2014-05-05 Roland McGrath <roland@hack.frob.com>
5056 * elf/Makefile (others, install-bin): Remove pldd.
5057 (pldd-modules): Variable removed.
5058 ($(objpfx)pldd): Target removed.
5059 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5060 (others, install-bin): Append pldd here.
5061 ($(objpfx)pldd): New target.
5063 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5064 to 0, so the first #if test emitted later doesn't see it undefined.
5065 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5066 * sysdeps/gnu/errlist.c: Regenerated.
5068 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5070 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5071 [libc_hidden_builtin_def]: Define to empty value.
5072 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5073 [libc_hidden_builtin_def]: Likewise.
5074 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5075 [libc_hidden_builtin_def]: Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5077 [libc_hidden_builtin_def]: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5079 __redirect_memcpy and define ifunc as default hidden symbol.
5080 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5081 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5083 2014-05-04 Adam Conrad <adconrad@0c3.net>
5085 * locale/iso-4217.def: Reintroduce XDR currency.
5087 2014-05-04 Allan McRae <allan@archlinux.org>
5089 * po/eo.po: Update Esperanto translation from translation project.
5091 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5093 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5094 and FEATURE_INDEX_MAX to 1.
5095 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5097 2014-05-01 Steve Ellcey <sellcey@mips.com>
5099 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5100 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5101 * iconvdata/big5.c (ONE_DIRECTION): Define.
5102 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5103 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5104 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5105 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5106 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5107 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5108 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5109 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5110 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5111 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5112 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5113 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5114 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5115 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5116 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5117 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5118 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5119 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5120 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5121 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5122 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5123 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5124 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5125 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5126 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5127 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5128 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5129 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5130 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5131 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5132 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5133 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5134 * iconvdata/johab.c (ONE_DIRECTION): Define.
5135 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5136 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5137 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5138 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5139 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5140 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5141 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5142 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5143 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5144 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5146 2014-05-01 Roland McGrath <roland@hack.frob.com>
5148 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5149 (_IO_JUMPS_OFFSET): Define to 0.
5151 * nptl/sysdeps/pthread/bits/libc-lock.h
5152 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5153 (__libc_lock_define_initialized_recursive): Always define using
5154 initializer. Modern compilers treat uninitialized (implicit zero) and
5155 explicit zero initializers the same (i.e. put the datum in bss).
5157 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5159 * nscd/nscd-client.h: Include <string.h>.
5161 2014-05-01 David S. Miller <davem@davemloft.net>
5164 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5165 multiple zero bytes exist at the end of a string.
5166 Reported by Aurelien Jarno <aurelien@aurel32.net>
5168 * string/test-strcmp.c (check): Add explicit test for situations where
5169 there are multiple zero bytes after the first.
5171 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5174 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5175 when compiling wprintf.
5176 * stdio-common/tstdiomisc.c (t3): New function.
5179 2014-05-01 Steve Ellcey <sellcey@mips.com>
5181 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5182 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5183 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5184 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5186 2014-05-01 Steve Ellcey <sellcey@mips.com>
5188 * stdlib/longlong.h: Updated from GCC.
5190 2014-05-01 Will Newton <will.newton@linaro.org>
5191 Bernard Ogden <bernie.ogden@linaro.org>
5193 * NEWS: Update fixed bug list.
5196 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5198 2014-04-30 David S. Miller <davem@davemloft.net>
5200 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5201 (libc_feholdexcept_setround_sparc_ctx): New function.
5202 (libc_fesetenv_sparc_ctx): Likewise.
5203 (libc_feupdateenv_sparc_ctx): Likewise.
5204 (libc_feholdsetround_sparc_ctx): Likewise.
5205 (libc_feholdexcept_setround_ctx): Define.
5206 (libc_feholdexcept_setroundf_ctx): Likewise.
5207 (libc_feholdexcept_setroundl_ctx): Likewise.
5208 (libc_fesetenv_ctx): Likewise.
5209 (libc_fesetenvf_ctx): Likewise.
5210 (libc_fesetenvl_ctx): Likewise.
5211 (libc_feupdateenv_ctx): Likewise.
5212 (libc_feupdateenvf_ctx): Likewise.
5213 (libc_feupdateenvl_ctx): Likewise.
5214 (libc_feresetround_ctx): Likewise.
5215 (libc_feresetroundf_ctx): Likewise.
5216 (libc_feresetroundl_ctx): Likewise.
5217 (libc_feholdsetround_ctx): Likewise.
5218 (libc_feholdsetroundf_ctx): Likewise.
5219 (libc_feholdsetroundl_ctx): Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5222 with __USE_GNU instead of XOPEN cpp guards.
5224 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5227 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5228 with XOPEN cpp guards.
5230 2014-04-30 Julian Brown <julian@codesourcery.com>
5233 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5236 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5239 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5241 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5242 * sysdeps/unix/sysv/linux/configure: Regenerated.
5243 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5244 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5245 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5246 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5247 * README: Update reference to required Linux kernel version.
5248 * manual/install.texi (Linux): Update reference to required Linux
5249 kernel headers version.
5250 * INSTALL: Regenerated.
5252 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5254 [POSIX] (limits.h): Likewise.
5255 [POSIX] (math.h): Likewise.
5256 [POSIX] (sys/wait.h): Likewise.
5257 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5259 [POSIX] (stddef.h): Do not allow header inclusion.
5261 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5265 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5267 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5268 Return immediately after lll_futex_wake.
5270 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5273 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5275 (datahead_init_pos): Call datahead_init_common early.
5276 (datahead_init_neg): Likewise.
5278 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5279 datahead_init_neg): New functions.
5280 * nscd/aicache.c (addhstaiX): Use them.
5281 * nscd/grpcache.c (cache_addgr): Likewise.
5282 * nscd/hstcache.c (cache_addhst): Likewise.
5283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5284 * nscd/netgroupcache.c (do_notfound): Likewise.
5285 (addgetnetgrentX): Likewise.
5286 (addinnetgrX): Likewise.
5287 * nscd/pwdcache.c (cache_addpw): Likewise.
5288 * nscd/servicescache.c (cache_addserv): Likewise.
5290 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5291 Atsushi Onoe <atsushi@onoe.org>
5296 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5297 one response is valid.
5298 * resolv/res_send.c (send_dg): Check for validity of other
5299 response if the current response is a referral.
5301 2014-04-29 Steve Ellcey <sellcey@mips.com>
5303 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5305 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5308 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5309 Always divide by positive zero when computing -Inf result.
5310 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5311 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5313 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5316 FPSCR if value do not change.
5317 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5318 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5319 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5320 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5321 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5322 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5325 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5327 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5328 * sysdeps/unix/sysv/linux/hppa: Move directory from
5329 ports/systeps/unix/sysv/linux/hppa.
5330 * README: Update listing for hppa-*-linux-gnu.
5332 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5335 * manual/stdio.texi (Hook functions): Fix types of stream hook
5338 * socket/sys/socket.h: Fix typo in comment.
5340 2014-04-28 Wilco <wdijkstr@arm.com>
5342 * sysdeps/arm/fenv_private.h: New file.
5343 * sysdeps/arm/math_private.h: New file.
5344 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5346 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5348 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5350 (La_x86_64_retval): Likewise.
5352 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5354 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5355 fpsr if value didn't change.
5356 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5357 to fpcr if value didn't change.
5358 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5359 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5360 fpsr or fpcr if value didn't change.
5361 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5362 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5363 fpcr if value didn't change.
5364 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5365 to fpsr if value didn't change.
5367 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5369 * nptl/tst-sem3.c: Use test-skeleton.c
5370 (main): Rename to do_test. Use return instead of
5372 * nptl/tst-sem4.c: Use test-skeleton.c
5373 (main): Rename to do_test.
5375 2014-04-22 David S. Miller <davem@davemloft.net>
5377 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5378 (struct sigaction): New struct member __glibc_reserved0, change
5379 type of sa_flags to int.
5381 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5383 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5384 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5386 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5388 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5389 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5391 2014-04-22 Will Newton <will.newton@linaro.org>
5392 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5394 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5395 (__longjmp): Add longjmp and longjmp_target SystemTap
5397 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5398 (__sigsetjmp): Add setjmp SystemTap probe.
5400 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5402 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5405 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5407 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5409 * sysdeps/powerpc/fpu/fenv_private.h
5410 (libc_feholdexcept_setroundl_ctx): Define to
5411 libc_feholdexcept_setround_ppc_ctx.
5412 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5413 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5414 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5415 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5417 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5419 * sysdeps/aarch64/math-tests.h: New file.
5421 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5423 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5426 Check and set bit_AVX2_Usable.
5427 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5429 (bit_AVX2): Likewise.
5430 (index_AVX2_Usable): Likewise.
5431 (CPUID_AVX2): Likewise.
5432 (HAS_AVX2): Likewise.
5434 2014-04-17 Will Newton <will.newton@linaro.org>
5436 * manual/setjmp.texi (System V contexts): Add note that
5437 calling setcontext on a context created by a call to a
5438 signal handler is undefined. Update text to note that
5439 setcontext from a signal handler is possible but not
5443 * stdlib/tst-setcontext.c: Include signal.h.
5444 (main): Check that the signal stack before and
5445 after swapcontext is the same.
5447 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5448 Re-implement to restore registers in user code and avoid
5449 rt_sigreturn system call.
5451 2014-04-17 Wilco <wdijkstr@arm.com>
5453 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5454 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5455 * math/test-fenv.c: Skip exception trap tests on targets which only
5456 support non-stop mode.
5458 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5459 Wilco Dijkstra <wilco.dijkstra@arm.com>
5461 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5462 (libc_feholdsetround_aarch64_ctx)
5463 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5464 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5465 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5466 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5467 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5468 (libc_feresetround_noexl_ctx): Define.
5470 2014-04-16 Richard Henderson <rth@redhat.com>
5472 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5474 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5477 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5478 const from the non-libc, non-ldso copy.
5480 * sysdeps/alpha/libm-test-ulps: Regenerate.
5482 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5483 Wilco Dijkstra <wilco.dijkstra@arm.com>
5485 * sysdeps/aarch64/fpu/math_private.h: New file.
5487 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5489 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5491 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5493 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5494 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5496 Intel MPX bound registers before _dl_profile_fixup.
5497 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5498 registers after _dl_profile_fixup. Save and restore bound
5499 registers bnd0/bnd1 when calling _dl_call_pltexit.
5500 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5501 (LR_BND_OFFSET): Likewise.
5502 (LRV_BND0_OFFSET): Likewise.
5503 (LRV_BND1_OFFSET): Likewise.
5505 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5507 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5509 * sysdeps/mach/hurd/i386/tls.h: ... here.
5510 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5511 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5514 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5516 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5518 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5520 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5522 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5525 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5526 * sysdeps/s390/configure: Regenerate.
5529 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5530 Set round-to-nearest internally to reduce error accumulation.
5532 2014-04-16 Alan Modra <amodra@gmail.com>
5536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5537 * math/libm-test.inc (frexp_test_data): Add tests.
5538 * NEWS: Update fixed bug list.
5540 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5542 * benchtests/Makefile: Depend on libraries in build directory.
5543 (bench-math): Separate out math tests.
5544 (bench-pthread): Separate out pthread tests.
5545 (bench): Include math and pthread tests.
5547 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5550 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5551 _dl_debug_initialize.
5553 * configure.ac: Remove SELinux header check.
5554 * configure: Regenerate.
5555 * nscd/selinux.c (perms): Array of const char* to permission names.
5556 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5557 default policy. Call string_to_security_class and string_to_av_perm to
5558 translate strings. Enforce default policy and call avs_has_perm with
5559 results of translated strings.
5561 2014-04-13 David S. Miller <davem@davemloft.net>
5563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5565 2014-04-12 Allan McRae <allan@archlinux.org>
5568 * manual/string.texi (Collation Functions): Fix qsort argument
5570 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5572 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5574 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5575 Make the test a no-op if there are no exceptions defined.
5577 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5579 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5580 enable-hardcoded-path-in-tests
5582 2014-04-11 Will Newton <will.newton@linaro.org>
5584 * benchtests/Makefile (extra-objs): Add json-lib.o.
5585 (bench-func): Tidy up JSON output.
5586 * benchtests/bench-skeleton.c: Include json-lib.h.
5587 (main): Use JSON library functions to do output of
5589 * benchtests/bench-timing-type.c (main): Output the
5590 timing type simply, leaving formatting to the user.
5591 * benchtests/json-lib.c: New file.
5592 * benchtests/json-lib.h: Likewise.
5594 2014-04-11 Torvald Riegel <triegel@redhat.com>
5597 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5598 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5599 memory barriers. Add comments.
5600 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5601 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5602 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5603 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5604 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5605 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5607 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5609 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5610 * sysdeps/s390/s390-64/configure.ac: ... this ...
5611 * sysdeps/s390/configure.ac: ... to here.
5612 * sysdeps/s390/s390-32/configure: Delete file.
5613 * sysdeps/s390/s390-64/configure: Delete file.
5614 * sysdeps/s390/configure: Regenerate.
5616 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5618 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5620 2014-04-11 Will Newton <will.newton@linaro.org>
5622 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5623 to zero if it is not defined elsewhere. (mtrim): Test
5624 the value of MALLOC_DEBUG with #if rather than #ifdef.
5626 2014-04-10 Torvald Riegel <triegel@redhat.com>
5628 * benchtests/pthread_once-inputs: New file.
5629 * benchtests/pthread_once-source.c: New file.
5630 * benchtests/README: Update documentation.
5632 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5633 H.J. Lu <hongjiu.lu@intel.com>
5635 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5636 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5637 * sysdeps/x86_64/configure: Regenerated.
5638 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5640 (REGISTER_SAVE_RAX): Likewise.
5641 (REGISTER_SAVE_RCX): Likewise.
5642 (REGISTER_SAVE_RDX): Likewise.
5643 (REGISTER_SAVE_RSI): Likewise.
5644 (REGISTER_SAVE_RDI): Likewise.
5645 (REGISTER_SAVE_R8): Likewise.
5646 (REGISTER_SAVE_R9): Likewise.
5647 (REGISTER_SAVE_BND0): Likewise.
5648 (REGISTER_SAVE_BND1): Likewise.
5649 (REGISTER_SAVE_BND2): Likewise.
5650 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5651 bound registers when calling _dl_fixup.
5653 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5656 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5658 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5659 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5660 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5661 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5662 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5663 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5664 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5666 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5669 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5670 pathconf(_PC_NAME_MAX).
5672 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5674 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5676 (__PTHREAD_SPINS): Move definition to ...
5677 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5678 (__PTHREAD_SPINS): ... here.
5679 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5680 (__PTHREAD_SPIN): Likewise.
5681 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5682 (__PTHREAD_SPIN): Likewise.
5683 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5684 (__PTHREAD_SPIN): Likewise.
5685 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5686 (__PTHREAD_SPIN): Likewise.
5687 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5688 (__PTHREAD_SPIN): Likewise.
5689 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5690 (__PTHREAD_SPIN): Likewise.
5691 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5692 (__PTHREAD_SPIN): Likewise.
5693 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5694 (__PTHREAD_SPIN): Likewise.
5695 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5696 (__PTHREAD_SPIN): Likewise.
5697 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5698 (__PTHREAD_SPIN): Likewise.
5699 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5700 (__PTHREAD_SPIN): Likewise.
5701 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5702 (__PTHREAD_SPIN): Likewise.
5704 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5705 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5706 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5707 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5709 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5710 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5711 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5712 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5714 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5715 strlen symbol for non multi-arch builds.
5716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5717 missing hidden_def and weak_alias.
5719 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5721 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5723 2014-04-07 Will Newton <will.newton@linaro.org>
5725 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5726 and contents. [!_LIBC] Remove #ifndef and contents.
5727 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5728 * string/memccpy.c (__memccpy): Use ANSI prototype.
5729 * string/memfrob.c (memfrob): Likewise.
5730 * string/strcoll.c (STRCOLL): Likewise.
5731 * string/strlen.c (strlen): Likewise.
5732 * string/strtok.c (STRTOK): Likewise.
5733 * string/strcat.c: Remove unused #include of memcopy.h.
5734 (strcat): Use ANSI prototype.
5735 * string/strchr.c: Remove unused #include of memcopy.h.
5736 (strchr): Use ANSI prototype.
5737 * string/strcmp.c: Remove unused #include of memcopy.h.
5738 (strcmp): Use ANSI prototype.
5739 * string/strcpy.c: Remove unused #include of memcopy.h.
5740 (strcpy): Use ANSI prototype.
5742 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5745 * config.make.in (config-extra-cppflags): Set it from
5746 libc_extra_cppflags.
5747 * configure.ac (libc_extra_cflags): Make it accumulate over
5748 configure fragments.
5749 (libc_extra_cppflags): New flag.
5750 * configure. Regenerate.
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5752 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5753 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5757 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5758 result for FE_DOWNWARD rounding mode.
5759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5763 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5765 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5766 in function argument name.
5768 2014-04-03 David Svoboda <svoboda@cert.org>
5771 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5774 2014-04-03 Roland McGrath <roland@hack.frob.com>
5776 * elf/dl-unmap-segments.h: New file.
5777 * sysdeps/generic/ldsodefs.h
5778 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5779 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5780 * elf/dl-fptr.c: Likewise.
5781 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5782 * sysdeps/aarch64/tlsdesc.c: Likewise.
5783 * sysdeps/arm/tlsdesc.c: Likewise.
5784 * sysdeps/i386/tlsdesc.c: Likewise.
5785 * sysdeps/tile/dl-runtime.c: Likewise.
5786 * sysdeps/x86_64/tlsdesc.c: Likewise.
5787 * elf/dl-load.h: New file.
5788 * elf/dl-load.c: Include it.
5789 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5790 Macros moved to dl-load.h.
5791 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5792 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5793 Use _dl_unmap_segments in place of __munmap.
5794 Break out segment-mapping loop into ...
5795 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5797 2014-04-03 Will Newton <will.newton@linaro.org>
5799 * elf/dl-lookup.c (do_lookup_x): Remove comment
5800 referring to nested function and move variable
5801 declarations down to before first use.
5803 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5807 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5809 * math/s_catanf.c (__catanf): Likewise.
5810 * math/s_catanh.c (__catanh): Likewise.
5811 * math/s_catanhf.c (__catanhf): Likewise.
5812 * math/s_catanhl.c (__catanhl): Likewise.
5813 * math/s_catanl.c (__catanl): Likewise.
5814 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5815 by positive zero when computing -Inf result.
5816 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5817 (catanh_test): Likewise.
5818 * sysdeps/i386/fpu/libm-test-ulps: Update.
5819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5823 instead of using underflowing value in computing result.
5824 * math/s_clog10.c (__clog10): Likewise.
5825 * math/s_clog10f.c (__clog10f): Likewise.
5826 * math/s_clog10l.c (__clog10l): Likewise.
5827 * math/s_clogf.c (__clogf): Likewise.
5828 * math/s_clogl.c (__clogl): Likewise.
5829 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5830 (clog10_test): Likewise.
5831 * sysdeps/i386/fpu/libm-test-ulps: Update.
5832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834 2014-04-02 Alan Modra <amodra@gmail.com>
5837 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5838 output when value is near a power of two. Use int64_t for lx and
5839 remove casts. Use decimal rather than hex exponent constants.
5840 Don't use long double multiplication when double will suffice.
5841 * math/libm-test.inc (nextafter_test_data): Add tests.
5842 * NEWS: Add 16739 and 16786 to bug list.
5844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5846 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5848 2014-04-01 Will Newton <will.newton@linaro.org>
5850 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5851 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5853 2014-04-01 Florian Weimer <fweimer@redhat.com>
5856 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5857 * nptl/tst-setuid2.c: New file.
5858 * nptl/Makefile (xtests): Add tst-setuid2.
5860 2014-04-01 Alan Modra <amodra@gmail.com>
5863 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5865 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5869 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5870 set errno as appropriate.
5871 * math/w_scalbf.c (__scalbf): Likewise.
5872 * math/w_scalbl.c (__scalbl): Likewise.
5873 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5874 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5875 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5879 * math/w_atan2.c: Include <errno.h>.
5880 (__atan2): Set errno for result underflowing to zero.
5881 * math/w_atan2f.c: Include <errno.h>.
5882 (__atan2f): Set errno for result underflowing to zero.
5883 * math/w_atan2l.c: Include <errno.h>.
5884 (__atan2l): Set errno for result underflowing to zero.
5885 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5887 * math/auto-libm-test-out: Regenerated.
5889 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5892 Encode instruction correctly in little endian.
5893 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5897 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5899 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5902 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5905 * sysdeps/unix/sysv/linux/kernel-features.h
5906 [__sparc__ && !__arch64__ && !__sparc_v9__]
5907 (__ASSUME_SET_ROBUST_LIST): Do not define.
5908 [__sparc__ && !__arch64__ && !__sparc_v9__]
5909 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5910 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5912 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5913 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5914 (__ASSUME_REQUEUE_PI): Likewise.
5915 (__ASSUME_SET_ROBUST_LIST): Likewise.
5916 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5917 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5919 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5920 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5922 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5924 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5926 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5927 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5929 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5930 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5935 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5936 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5938 2014-03-31 Will Newton <will.newton@linaro.org>
5940 * benchtests/Makefile (bench): Add ffs and ffsll to list
5942 * benchtests/ffs-inputs: New file.
5943 * benchtests/ffsll-inputs: Likewise.
5945 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5948 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5949 too large before casting to int.
5950 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5951 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5952 * math/libm-test.inc (scalb_test_data): Add more tests.
5954 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5956 * benchtests/Makefile (DETAILED_OPT): New make option.
5957 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5959 * benchtests/bench-skeleton.c: Include stdbool.h.
5960 (main): Store and print timings per input.
5961 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5962 member to each argument value.
5963 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5964 (_print_arg_data): Initialize per-input timing to 0.
5966 * benchtests/Makefile (timing-type): New binary.
5967 (bench-clean): Also remove bench-timing-type.
5968 (bench): New target for timing-type.
5969 (bench-func): Print output in JSON format.
5970 * benchtests/bench-skeleton.c (main): Print output in JSON
5972 * benchtests/bench-timing-type.c: New file.
5973 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5974 (TIMING_PRINT_STATS): Remove.
5975 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5978 * benchtests/bench-modf.c: Remove.
5979 * benchtests/modf-inputs: New inputs file.
5981 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5984 * math/s_clog10.c (M_PI_LOG10E): New macro.
5985 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5986 imaginary parts are 0.
5987 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5988 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5989 imaginary parts are 0.
5990 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5991 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5992 imaginary parts are 0.
5993 * math/libm-test.inc (clog10_test_data): Update expected results
5994 for when real and imaginary parts are 0.
5996 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5998 * elf/dl-load.c: Finish conversion of __builtin_expect into
6001 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6005 1+x for argument with exponent below -67.
6006 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6008 * math/auto-libm-test-in: Add more tests of exp.
6009 * math/auto-libm-test-out: Regenerated.
6011 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6014 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6015 (nscd_getnetgrent): Use it.
6018 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6021 2014-03-27 Andi Kleen <ak@linux.intel.com>
6023 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6024 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6025 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6026 (lll_robust_unlock): Remove out of line section. Use cfi
6028 (LLL_STUB_UNWIND_INFO*): Remove.
6029 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6030 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6031 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6032 (lll_robust_unlock): Remove out of line section. Use cfi
6034 (LLL_STUB_UNWIND_INFO*): Remove.
6036 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6039 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6042 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6044 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6046 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6049 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6051 * math/test-fenv-preserve.c: New file.
6052 * math/Makefile (tests): Add test-fenv-preserve.
6054 2014-03-26 Will Newton <will.newton@linaro.org>
6056 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6058 2014-03-25 Roland McGrath <roland@hack.frob.com>
6060 * scripts/versionlist.awk: Partition the version sets and emit all
6061 GLIBC_* (sorted) before all others (sorted).
6063 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6065 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6066 GLIBC_2.2.5 version.
6068 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6073 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6078 2014-03-25 Andreas Schwab <schwab@suse.de>
6080 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6081 label to be used after in6ailist is initialized.
6083 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6085 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6086 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6088 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6092 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6094 (fp_formats): Update initializers.
6095 (init_fp_formats): Initialize new field.
6096 (output_for_one_input_case): Allow underflow for results up to
6098 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6099 * math/auto-libm-test-in: Don't mark some underflows from asin and
6101 * math/auto-libm-test-out: Regenerated.
6102 * sysdeps/i386/fpu/libm-test-ulps: Update.
6103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6105 2014-03-25 Andreas Schwab <schwab@suse.de>
6107 * libio/Makefile (tst-ftell-partial-wide-ENV)
6108 (tst-ftell-active-handler-ENV): Define.
6110 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6112 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6114 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6116 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6118 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6120 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6121 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6122 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6124 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6127 * elf/dl-load.c (open_verify): Add mode parameter.
6128 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6129 (open_path): Change from boolean 'secure' to complete flag 'mode'
6130 (_dl_map_object): Adjust.
6131 * elf/Makefile (tests): Add tst-dlopen-aout.
6132 * elf/tst-dlopen-aout.c: New test.
6134 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6137 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6138 (struct stat): Rename member pad0 to __glibc_reserved0.
6141 * sysdeps/s390/s390-32/bits/wordsize.h
6142 (__WORDSIZE32_SIZE_ULONG): New define.
6143 * sysdeps/s390/s390-64/bits/wordsize.h
6144 (__WORDSIZE32_SIZE_ULONG): Likewise.
6145 * sysdeps/generic/stdint.h (SIZE_MAX):
6146 Define as UL if __WORDSIZE32_SIZE_ULONG.
6149 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6150 (__glibc_reserved0): New variable.
6151 (sa_flags): Change type to int.
6153 * posix/Makefile (before-compile): Use += before-compile instead
6156 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6157 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6159 2014-03-20 Andreas Schwab <schwab@suse.de>
6162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6163 non-matching result from nscd.
6165 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6167 * scripts/bench.py: Moved to ...
6168 * benchtests/scripts/bench.py: ... here.
6169 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6171 2014-03-24 Andreas Schwab <schwab@suse.de>
6174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6175 alloca_account and account alloca use for struct in6ailist.
6177 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6180 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6181 rounding mode to recompute results that overflow to infinity or
6183 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6185 * math/auto-libm-test-out: Regenerated.
6186 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6187 (ccosh_test): Likewise.
6188 (csin_test_data): Use plus_oflow.
6189 (csin_test): Use ALL_RM_TEST.
6190 (csinh_test_data): Use plus_oflow.
6191 (csinh_test): Use ALL_RM_TEST.
6192 * sysdeps/i386/fpu/libm-test-ulps: Update.
6193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6197 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6198 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6199 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6202 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6204 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6205 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6206 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6207 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6209 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6210 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6212 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6213 * sysdeps/i386/fpu/libm-test-ulps: Update.
6214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6216 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6218 * scripts/bench.pl: Remove file.
6219 * scripts/bench.py: New benchmark script.
6220 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6221 * benchtests/README: Mention python dependency.
6222 * scripts/pylintrc: New file.
6223 * scripts/pylint: New file.
6225 * bits/mathdef.h: Use #ifdef instead of #if.
6226 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6227 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6228 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6229 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6230 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6231 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6233 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6236 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6238 and strpbrk-ppc64 objects.
6239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6240 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6241 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6242 multiarch strpbrk for POWER7.
6243 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6244 multiarch strpbrk for PPC64.
6245 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6247 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6250 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6252 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6253 (atan_test): Likewise.
6254 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6255 (atanh_test): Use ALL_RM_TEST.
6256 (atan2_test_data): Likewise.
6257 (cabs_test): Likewise.
6258 (cacosh_test): Likewise.
6259 (carg_test): Likewise.
6260 (casin_test): Likewise.
6261 (casinh_test): Likewise.
6262 (cbrt_test): Likewise.
6263 (csqrt_test): Likewise.
6264 (erf_test): Likewise.
6265 (erfc_test): Likewise.
6266 (pow10_test): Likewise.
6267 (exp2_test): Likewise.
6268 (hypot_test): Likewise.
6269 (j0_test): Likewise.
6270 (j1_test): Likewise.
6271 (lgamma_test): Likewise.
6272 (gamma_test): Likewise.
6273 (sincos_test): Likewise.
6274 (tanh_test): Likewise.
6275 (y0_test): Likewise.
6276 (y1_test): Likewise.
6277 * sysdeps/i386/fpu/libm-test-ulps: Update.
6278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6280 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6284 and strcspn-ppc64 objects.
6285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6286 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6287 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6288 multiarch strcspn for POWER7.
6289 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6290 multiarch strcspn for PPC64.
6291 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6293 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6296 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6298 * math/gen-libm-test.pl (generate_testfile): Expect only function
6299 name as argument to AUTO_TESTS_* and pass results for all rounding
6300 modes to parse_args.
6301 (parse_auto_input): Separate inputs of automatic tests from
6302 outputs before storing in %auto_tests.
6303 * math/libm-test.inc (acos_test_data): Update call to
6305 (acos_test): Use ALL_RM_TEST.
6306 (acos_tonearest_test_data): Remove.
6307 (acos_test_tonearest): Likewise.
6308 (acos_towardzero_test_data): Likewise.
6309 (acos_test_towardzero): Likewise.
6310 (acos_downward_test_data): Likewise.
6311 (acos_test_downward): Likewise.
6312 (acos_upward_test_data): Likewise.
6313 (acos_test_upward): Likewise.
6314 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6315 (asin_test_data): Likewise.
6316 (asin_test): Use ALL_RM_TEST.
6317 (asin_tonearest_test_data): Remove.
6318 (asin_test_tonearest): Likewise.
6319 (asin_towardzero_test_data): Likewise.
6320 (asin_test_towardzero): Likewise.
6321 (asin_downward_test_data): Likewise.
6322 (asin_test_downward): Likewise.
6323 (asin_upward_test_data): Likewise.
6324 (asin_test_upward): Likewise.
6325 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6326 (atan_test_data): Likewise.
6327 (atanh_test_data): Likewise.
6328 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6329 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6330 (carg_test_data): Likewise.
6331 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6332 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6333 (ccosh_test_data): Likewise.
6334 (cexp_test_data): Likewise.
6335 (clog_test_data): Likewise.
6336 (clog10_test_data): Likewise.
6337 (cos_test_data): Update call to AUTO_TESTS_f_f.
6338 (cos_test): Use ALL_RM_TEST.
6339 (cos_tonearest_test_data): Remove.
6340 (cos_test_tonearest): Likewise.
6341 (cos_towardzero_test_data): Likewise.
6342 (cos_test_towardzero): Likewise.
6343 (cos_downward_test_data): Likewise.
6344 (cos_test_downward): Likewise.
6345 (cos_upward_test_data): Likewise.
6346 (cos_test_upward): Likewise.
6347 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6348 (cosh_test): Use ALL_RM_TEST.
6349 (cosh_tonearest_test_data): Remove.
6350 (cosh_test_tonearest): Likewise.
6351 (cosh_towardzero_test_data): Likewise.
6352 (cosh_test_towardzero): Likewise.
6353 (cosh_downward_test_data): Likewise.
6354 (cosh_test_downward): Likewise.
6355 (cosh_upward_test_data): Likewise.
6356 (cosh_test_upward): Likewise.
6357 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6358 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6359 (ctan_test_data): Likewise.
6360 (ctan_test): Use ALL_RM_TEST.
6361 (ctan_tonearest_test_data): Remove.
6362 (ctan_test_tonearest): Likewise.
6363 (ctan_towardzero_test_data): Likewise.
6364 (ctan_test_towardzero): Likewise.
6365 (ctan_downward_test_data): Likewise.
6366 (ctan_test_downward): Likewise.
6367 (ctan_upward_test_data): Likewise.
6368 (ctan_test_upward): Likewise.
6369 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6370 (ctanh_test): Use ALL_RM_TEST.
6371 (ctanh_tonearest_test_data): Remove.
6372 (ctanh_test_tonearest): Likewise.
6373 (ctanh_towardzero_test_data): Likewise.
6374 (ctanh_test_towardzero): Likewise.
6375 (ctanh_downward_test_data): Likewise.
6376 (ctanh_test_downward): Likewise.
6377 (ctanh_upward_test_data): Likewise.
6378 (ctanh_test_upward): Likewise.
6379 (erf_test_data): Update call to AUTO_TESTS_f_f.
6380 (erfc_test_data): Likewise.
6381 (exp_test_data): Likewise.
6382 (exp_test): Use ALL_RM_TEST.
6383 (exp_tonearest_test_data): Remove.
6384 (exp_test_tonearest): Likewise.
6385 (exp_towardzero_test_data): Likewise.
6386 (exp_test_towardzero): Likewise.
6387 (exp_downward_test_data): Likewise.
6388 (exp_test_downward): Likewise.
6389 (exp_upward_test_data): Likewise.
6390 (exp_test_upward): Likewise.
6391 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6392 (exp10_test): Use ALL_RM_TEST.
6393 (exp10_tonearest_test_data): Remove.
6394 (exp10_test_tonearest): Likewise.
6395 (exp10_towardzero_test_data): Likewise.
6396 (exp10_test_towardzero): Likewise.
6397 (exp10_downward_test_data): Likewise.
6398 (exp10_test_downward): Likewise.
6399 (exp10_upward_test_data): Likewise.
6400 (exp10_test_upward): Likewise.
6401 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6402 (expm1_test_data): Likewise.
6403 (expm1_test): Use ALL_RM_TEST.
6404 (expm1_tonearest_test_data): Remove.
6405 (expm1_test_tonearest): Likewise.
6406 (expm1_towardzero_test_data): Likewise.
6407 (expm1_test_towardzero): Likewise.
6408 (expm1_downward_test_data): Likewise.
6409 (expm1_test_downward): Likewise.
6410 (expm1_upward_test_data): Likewise.
6411 (expm1_test_upward): Likewise.
6412 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6413 (fma_test): Use ALL_RM_TEST.
6414 (fma_towardzero_test_data): Remove.
6415 (fma_test_towardzero): Likewise.
6416 (fma_downward_test_data): Likewise.
6417 (fma_test_downward): Likewise.
6418 (fma_upward_test_data): Likewise.
6419 (fma_test_upward): Likewise.
6420 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6421 (j0_test_data): Update call to AUTO_TESTS_f_f.
6422 (j1_test_data): Likewise.
6423 (jn_test_data): Update call to AUTO_TESTS_if_f.
6424 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6425 (log_test_data): Update call to AUTO_TESTS_f_f.
6426 (log10_test_data): Likewise.
6427 (log1p_test_data): Likewise.
6428 (log2_test_data): Likewise.
6429 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6430 (pow_tonearest_test_data): Likewise.
6431 (sin_test_data): Update call to AUTO_TESTS_f_f.
6432 (sin_test): Use ALL_RM_TEST.
6433 (sin_tonearest_test_data): Remove.
6434 (sin_test_tonearest): Likewise.
6435 (sin_towardzero_test_data): Likewise.
6436 (sin_test_towardzero): Likewise.
6437 (sin_downward_test_data): Likewise.
6438 (sin_test_downward): Likewise.
6439 (sin_upward_test_data): Likewise.
6440 (sin_test_upward): Likewise.
6441 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6442 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6443 (sinh_test): Use ALL_RM_TEST.
6444 (sinh_tonearest_test_data): Remove.
6445 (sinh_test_tonearest): Likewise.
6446 (sinh_towardzero_test_data): Likewise.
6447 (sinh_test_towardzero): Likewise.
6448 (sinh_downward_test_data): Likewise.
6449 (sinh_test_downward): Likewise.
6450 (sinh_upward_test_data): Likewise.
6451 (sinh_test_upward): Likewise.
6452 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6453 (sqrt_test): Use ALL_RM_TEST.
6454 (sqrt_tonearest_test_data): Remove.
6455 (sqrt_test_tonearest): Likewise.
6456 (sqrt_towardzero_test_data): Likewise.
6457 (sqrt_test_towardzero): Likewise.
6458 (sqrt_downward_test_data): Likewise.
6459 (sqrt_test_downward): Likewise.
6460 (sqrt_upward_test_data): Likewise.
6461 (sqrt_test_upward): Likewise.
6462 (tan_test_data): Update call to AUTO_TESTS_f_f.
6463 (tan_test): Use ALL_RM_TEST.
6464 (tan_tonearest_test_data): Remove.
6465 (tan_test_tonearest): Likewise.
6466 (tan_towardzero_test_data): Likewise.
6467 (tan_test_towardzero): Likewise.
6468 (tan_downward_test_data): Likewise.
6469 (tan_test_downward): Likewise.
6470 (tan_upward_test_data): Likewise.
6471 (tan_test_upward): Likewise.
6472 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6473 (tgamma_test_data): Likewise.
6474 (y0_test_data): Likewise.
6475 (y1_test_data): Likewise.
6476 (yn_test_data): Update call to AUTO_TESTS_if_f.
6477 (main): Do not call removed functions.
6479 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6481 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6482 (ldexp_test_data): Remove.
6483 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6485 (scalb_test): Use ALL_RM_TEST.
6487 2014-03-19 Andreas Schwab <schwab@suse.de>
6489 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6491 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6494 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6495 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6496 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6498 (__ASSUME_PREADV): Undefine.
6499 (__ASSUME_PWRITEV): Likewise.
6501 2014-03-18 Roland McGrath <roland@hack.frob.com>
6503 * bits/mman-linux.h: Add comment about non-Linux use.
6504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6505 bits/mman-linux.h resting place.
6507 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6508 * bits/mman-linux.h: ... here.
6510 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512 * conform/conformtest.pl: Add standard definition when calling C
6513 preprocessor on data files.
6514 (checknamespace): Remove unused variable.
6516 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6518 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6519 minus_oflow, plus_uflow and minus_uflow in expected results.
6520 * math/libm-test.inc (scalbn_test_data): Add more tests of
6521 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6523 (scalbn_test): Use ALL_RM_TEST.
6524 (scalbln_test_data): Add more tests of negative arguments. Use
6525 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6526 (scalbln_test): Use ALL_RM_TEST.
6528 2014-03-18 Roland McGrath <roland@hack.frob.com>
6530 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6532 2014-03-18 Will Newton <will.newton@linaro.org>
6534 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6537 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6539 * Makerules [!subdir] (check-abi): Exit with error status if a
6542 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6544 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6545 for rint. Include results for all rounding modes.
6546 (nearbyint_test): Use ALL_RM_TEST.
6547 (rint_test_data): Include all tests used for nearbyint.
6549 2014-03-17 Will Newton <will.newton@linaro.org>
6551 * nptl/sysdeps/pthread/pthread.h: Revert previous
6554 * sysdeps/generic/ldsodefs.h: Revert previous
6557 * libio/genops.c: Revert previous change.
6558 * libio/libioP.h: Likewise.
6559 * stdio-common/vfprintf.c: Likewise.
6561 * sysdeps/generic/math_private.h: Revert previous
6564 * sysdeps/generic/math_private.h: Check whether
6565 HAVE_RM_CTX is defined with #ifdef rather
6568 * argp/argp-fmtstream.h: Check whether
6569 __STRICT_ANSI__ is defined with #ifdef rather
6571 * argp/argp.h: Likewise.
6573 * libio/genops.c: Check whether
6574 _IO_JUMPS_OFFSET is defined with #ifdef rather
6576 * libio/libioP.h: Likewise.
6577 * stdio-common/vfprintf.c: Likewise.
6579 * sysdeps/generic/ldsodefs.h: Check whether
6580 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6583 * nptl/sysdeps/pthread/pthread.h: Check
6584 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6587 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6589 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6591 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6595 * libio/fileops.c (_IO_file_open): Seek to end of file but
6596 don't cache the offset.
6597 (get_file_offset): Remove function.
6598 (do_ftell): Use cached offset when available.
6599 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6600 don't cache the offset.
6601 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6603 (do_one_test): Call it.
6604 (do_ftell_test): Fix up expected old offset for a+ mode.
6605 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6608 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6609 up test status with function return status.
6610 (do_write_test): Likewise.
6611 (do_append_test): Likewise.
6613 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6614 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6617 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6619 * math/gen-libm-test.pl (parse_args): Handle results specified for
6620 each rounding mode separately.
6621 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6622 tests and results from lrint_tonearest_test_data,
6623 lrint_towardzero_test_data, lrint_downward_test_data and
6624 lrint_upward_test_data.
6625 (lrint_test): Use ALL_RM_TEST.
6626 (lrint_tonearest_test_data): Remove.
6627 (lrint_test_tonearest): Likewise.
6628 (lrint_towardzero_test_data): Likewise.
6629 (lrint_test_towardzero): Likewise.
6630 (lrint_downward_test_data): Likewise.
6631 (lrint_test_downward): Likewise.
6632 (lrint_upward_test_data): Likewise.
6633 (lrint_test_upward): Likewise.
6634 (llrint_test_data): Merge in per-rounding-mode tests and results
6635 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6636 llrint_downward_test_data and llrint_upward_test_data.
6637 (llrint_test): Use ALL_RM_TEST.
6638 (llrint_tonearest_test_data): Remove.
6639 (llrint_test_tonearest): Likewise.
6640 (llrint_towardzero_test_data): Likewise.
6641 (llrint_test_towardzero): Likewise.
6642 (llrint_downward_test_data): Likewise.
6643 (llrint_test_downward): Likewise.
6644 (llrint_upward_test_data): Likewise.
6645 (llrint_test_upward): Likewise.
6646 (rint_test_data): Merge in per-rounding-mode tests and results
6647 from rint_tonearest_test_data, rint_towardzero_test_data,
6648 rint_downward_test_data and rint_upward_test_data. Add
6649 per-rounding-mode results for tests not in those arrays.
6650 (rint_test): Use ALL_RM_TEST.
6651 (rint_tonearest_test_data): Remove.
6652 (rint_test_tonearest): Likewise.
6653 (rint_towardzero_test_data): Likewise.
6654 (rint_test_towardzero): Likewise.
6655 (rint_downward_test_data): Likewise.
6656 (rint_test_downward): Likewise.
6657 (rint_upward_test_data): Likewise.
6658 (rint_test_upward): Likewise.
6659 (main): Don't call removed functions.
6661 2014-03-14 Roland McGrath <roland@hack.frob.com>
6663 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6664 "Compiled on ..." crapola. It is anti-useful.
6666 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6668 * scripts/evaluate-test.sh: Handle fourth argument to determine
6669 whether test run should stop on failure.
6670 * Makeconfig (stop-on-test-failure): New variable.
6671 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6672 $(stop-on-test-failure).
6673 * Makefile (tests): Give a summary of results from testing and
6674 exit with failure status if they include an ERROR or FAIL.
6676 * manual/install.texi (Configuring and compiling): Mention
6677 stop-on-test-failure=y.
6678 * INSTALL: Regenerated.
6680 2014-03-14 Roland McGrath <roland@hack.frob.com>
6682 * scripts/versionlist.awk: New file.
6683 * Makerules [$(build-shared) = yes]
6684 (postclean-generated): Add Versions.def, not Versions.def.v and
6686 ($(common-objpfx)Versions.def.v.i): Target removed.
6687 ($(common-objpfx)Versions.def): New target.
6688 ($(common-objpfx)Versions.all): Depend on that rather that
6689 $(common-objpfx)Versions.def.v.
6690 * Versions.def: File removed.
6692 * Makeconfig (+gccwarn): Add -Wundef.
6693 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6694 a dl-sysdep.h breaking its contract.
6695 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6696 * include/stackinfo.h: New file.
6697 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6698 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6699 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6700 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6701 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6702 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6703 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6704 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6705 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6706 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6707 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6708 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6709 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6710 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6711 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6713 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6716 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6718 * math/libm-test.inc (round_test_data): Add more tests.
6721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6723 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6726 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6728 * math/libm-test.inc (ceil_test_data): Add more tests.
6730 * math/libm-test.inc (trunc_test_data): Add more tests related to
6733 2014-03-14 Roland McGrath <roland@hack.frob.com>
6735 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6736 with #if rather than #ifdef.
6737 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6739 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6741 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6742 first. Disable AVX-512 GCC support if assembler doesn't support
6744 * sysdeps/x86_64/configure: Regenerated.
6746 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6748 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6749 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6750 (__old_pthread_attr_setstack): Likewise.
6751 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6752 [!_STACK_GROWS_DOWN]: Likewise.
6754 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6756 * config.make.in (have-bash2): Delete.
6757 * configure.ac (libc_cv_have_bash2): Delete.
6758 * configure: Regenerate.
6759 * elf/Makefile (common-ldd-rewrite): Rename to ...
6760 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6761 (sh-ldd-rewrite): Delete.
6762 (bash-ldd-rewrite): Delete.
6763 (have-bash2): Delete checks.
6764 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6767 * config.make.in (have-ksh): Delete.
6769 * configure.ac (libc_cv_have_ksh): Delete.
6770 * configure: Regenerate.
6772 * elf/Makefile: Delete $(have-ksh) check.
6773 ($(objpfx)sotruss): Change KSH to BASH.
6774 * elf/sotruss.ksh: Rename to ...
6775 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6776 function style to match POSIX. Drop ksh vim mode setting.
6778 * manual/time.texi (Specifying the Time Zone with TZ): Change
6779 Tuesday to Thursday.
6781 * debug/tst-longjmp_chk2.c: Update header comment.
6782 (stackoverflow_handler): Add comment. Call assert on pass value.
6784 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6786 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6787 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6788 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6789 (La_x86_64_vector): Add zmm.
6790 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6791 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6792 ($(objpfx)tst-audit10): New target.
6793 ($(objpfx)tst-audit10.out): Likewise.
6794 (tst-audit10-ENV): New.
6795 (AVX512-CFLAGS): Likewise.
6796 (CFLAGS-tst-audit10.c): Likewise.
6797 (CFLAGS-tst-auditmod10a.c): Likewise.
6798 (CFLAGS-tst-auditmod10b.c): Likewise.
6799 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6800 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6801 * sysdeps/x86_64/configure: Regenerated.
6802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6803 AVX-512 zmm register support.
6804 (_dl_x86_64_save_sse): Likewise.
6805 (_dl_x86_64_restore_sse): Likewise.
6806 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6807 size vector registers.
6808 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6809 (ZMM_SIZE): Likewise.
6810 * sysdeps/x86_64/tst-audit10.c: New file.
6811 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6812 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6814 2014-03-13 Roland McGrath <roland@hack.frob.com>
6816 * configure.ac (HAVE_EHDR_START): New check.
6817 * configure: Regenerated.
6818 * config.h.in (HAVE_EHDR_START): New #undef.
6819 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6820 assuming the lowest-addressed segment maps the start of the file.
6822 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6824 * INSTALL: Regenerated.
6826 2014-03-13 Will Newton <will.newton@linaro.org>
6828 * manual/setjmp.texi (System V contexts): Improve
6829 clarity and grammar of documentation.
6831 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6834 * elf/Makefile (tests): Add tst-pie2.
6835 (tests-pie): Add tst-pie2.
6836 * elf/tst-pie2.c: New file.
6837 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6839 * elf/rtld.c (map_doit): Load executable as lt_executable.
6840 (dl_main): Likewise.
6842 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6846 (__ASSUME_PSELECT): Undefine.
6848 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6852 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6855 selector for static builds.
6857 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6860 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6863 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6866 IFUNC selector for static builds.
6868 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6870 * sysdeps/mips/math_private.h [__mips_hard_float]
6871 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6872 libc_feresetround_mips_ctx.
6873 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6874 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6875 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6878 * math/s_nextafter.c (__nextafter): Do not return value from
6879 overflowing computation.
6880 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6881 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6882 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6884 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6886 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6887 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6889 2014-03-11 Roland McGrath <roland@hack.frob.com>
6891 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6892 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6893 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6894 the new mov targetting sp.
6896 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6900 Define it for static builds as well.
6901 (NO_BZERO_IMPL): Likewise.
6903 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6905 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6906 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6907 multiarch strspn for PPC64.
6908 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6909 * sysdeps/powerpc/powerpc64/multiarch/strspn-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 strspn
6913 multiarch optimizations
6914 * string/strspn.c (strspn): Using macro to redefine symbol name.
6916 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6917 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6919 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6920 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6921 multiarch strncat for PPC64.
6922 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6923 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6925 (__libc_ifunc_impl_list): Likewise.
6926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6927 multiarch optimizations
6929 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6932 * nscd/nscd.service: Make service type forking.
6934 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6937 sign in non default rounding modes.
6938 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6940 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6942 * math/libm-test.inc (ALL_RM_TEST): New macro.
6943 (ceil_test): Use ALL_RM_TEST.
6944 (cimag_test): Likewise.
6945 (conj_test): Likewise.
6946 (copysign_test): Likewise.
6947 (cproj_test): Likewise.
6948 (creal_test): Likewise.
6949 (fabs_test): Likewise.
6950 (floor_test): Likewise.
6951 (fmax_test): Likewise.
6952 (fmin_test): Likewise.
6953 (fmod_test): Likewise.
6954 (fpclassify_test): Likewise.
6955 (frexp_test): Likewise.
6956 (ilogb_test): Likewise.
6957 (isfinite_test): Likewise.
6958 (finite_test): Likewise.
6959 (isgreater_test): Likewise.
6960 (isgreaterequal_test): Likewise.
6961 (isinf_test): Likewise.
6962 (isless_test): Likewise.
6963 (islessequal_test): Likewise.
6964 (islessgreater_test): Likewise.
6965 (isnan_test): Likewise.
6966 (isnormal_test): Likewise.
6967 (issignaling_test): Likewise.
6968 (isunordered_test): Likewise.
6969 (logb_test): Likewise.
6970 (logb_downward_test_data): Remove.
6971 (logb_test_downward): Likewise.
6972 (lround_test): Use ALL_RM_TEST.
6973 (llround_test): Likewise.
6974 (modf_test): Likewise.
6975 (nexttoward_test): Likewise.
6976 (remainder_test): Likewise.
6977 (drem_test): Likewise.
6978 (remainder_tonearest_test_data): Likewise.
6979 (remainder_test_tonearest): Likewise.
6980 (drem_test_tonearest): Likewise.
6981 (remainder_towardzero_test_data): Likewise.
6982 (remainder_test_towardzero): Likewise.
6983 (drem_test_towardzero): Likewise.
6984 (remainder_downward_test_data): Likewise.
6985 (remainder_test_downward): Likewise.
6986 (drem_test_downward): Likewise.
6987 (remainder_upward_test_data): Likewise.
6988 (remainder_test_upward): Likewise.
6989 (drem_test_upward): Likewise.
6990 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6991 (round_test): Use ALL_RM_TEST.
6992 (signbit_test): Likewise.
6993 (trunc_test): Likewise.
6994 (significand_test): Likewise.
6995 (main): Don't call removed functions.
6997 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7000 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7002 (ILL_ILLOPN): Likewise.
7003 (ILL_ILLADR): Likewise.
7004 (ILL_ILLTRP): Likewise.
7005 (ILL_PRVOPC): Likewise.
7006 (ILL_PRVREG): Likewise.
7007 (ILL_COPROC): Likewise.
7008 (ILL_BADSTK): Likewise.
7009 (FPE_INTDIV): Likewise.
7010 (FPE_INTOVF): Likewise.
7011 (FPE_FLTDIV): Likewise.
7012 (FPE_FLTOVF): Likewise.
7013 (FPE_FLTUND): Likewise.
7014 (FPE_FLTRES): Likewise.
7015 (FPE_FLTINV): Likewise.
7016 (FPE_FLTSUB): Likewise.
7017 (SEGV_MAPERR): Likewise.
7018 (SEGV_ACCERR): Likewise.
7019 (BUS_ADRALN): Likewise.
7020 (BUS_ADRERR): Likewise.
7021 (BUS_OBJERR): Likewise.
7022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7023 (TRAP_TRACE): Likewise.
7024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7026 (CLD_KILLED): Likewise.
7027 (CLD_DUMPED): Likewise.
7028 (CLD_TRAPPED): Likewise.
7029 (CLD_STOPPED): Likewise.
7030 (CLD_CONTINUED): Likewise.
7031 (POLL_IN): Likewise.
7032 (POLL_OUT): Likewise.
7033 (POLL_MSG): Likewise.
7034 (POLL_ERR): Likewise.
7035 (POLL_PRI): Likewise.
7036 (POLL_HUP): Likewise.
7037 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7039 (ILL_ILLOPN): Likewise.
7040 (ILL_ILLADR): Likewise.
7041 (ILL_ILLTRP): Likewise.
7042 (ILL_PRVOPC): Likewise.
7043 (ILL_PRVREG): Likewise.
7044 (ILL_COPROC): Likewise.
7045 (ILL_BADSTK): Likewise.
7046 (FPE_INTDIV): Likewise.
7047 (FPE_INTOVF): Likewise.
7048 (FPE_FLTDIV): Likewise.
7049 (FPE_FLTOVF): Likewise.
7050 (FPE_FLTUND): Likewise.
7051 (FPE_FLTRES): Likewise.
7052 (FPE_FLTINV): Likewise.
7053 (FPE_FLTSUB): Likewise.
7054 (SEGV_MAPERR): Likewise.
7055 (SEGV_ACCERR): Likewise.
7056 (BUS_ADRALN): Likewise.
7057 (BUS_ADRERR): Likewise.
7058 (BUS_OBJERR): Likewise.
7059 (BUS_MCEERR_AR): Likewise.
7060 (BUS_MCEERR_AO): Likewise.
7061 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7062 (TRAP_TRACE): Likewise.
7063 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7065 (CLD_KILLED): Likewise.
7066 (CLD_DUMPED): Likewise.
7067 (CLD_TRAPPED): Likewise.
7068 (CLD_STOPPED): Likewise.
7069 (CLD_CONTINUED): Likewise.
7070 (POLL_IN): Likewise.
7071 (POLL_OUT): Likewise.
7072 (POLL_MSG): Likewise.
7073 (POLL_ERR): Likewise.
7074 (POLL_PRI): Likewise.
7075 (POLL_HUP): Likewise.
7076 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7077 (ILL_ILLOPN): Likewise.
7078 (ILL_ILLADR): Likewise.
7079 (ILL_ILLTRP): Likewise.
7080 (ILL_PRVOPC): Likewise.
7081 (ILL_PRVREG): Likewise.
7082 (ILL_COPROC): Likewise.
7083 (ILL_BADSTK): Likewise.
7084 (FPE_INTDIV): Likewise.
7085 (FPE_INTOVF): Likewise.
7086 (FPE_FLTDIV): Likewise.
7087 (FPE_FLTOVF): Likewise.
7088 (FPE_FLTUND): Likewise.
7089 (FPE_FLTRES): Likewise.
7090 (FPE_FLTINV): Likewise.
7091 (FPE_FLTSUB): Likewise.
7092 (SEGV_MAPERR): Likewise.
7093 (SEGV_ACCERR): Likewise.
7094 (BUS_ADRALN): Likewise.
7095 (BUS_ADRERR): Likewise.
7096 (BUS_OBJERR): Likewise.
7097 (BUS_MCEERR_AR): Likewise.
7098 (BUS_MCEERR_AO): Likewise.
7099 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7100 (TRAP_TRACE): Likewise.
7101 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7103 (CLD_KILLED): Likewise.
7104 (CLD_DUMPED): Likewise.
7105 (CLD_TRAPPED): Likewise.
7106 (CLD_STOPPED): Likewise.
7107 (CLD_CONTINUED): Likewise.
7108 (POLL_IN): Likewise.
7109 (POLL_OUT): Likewise.
7110 (POLL_MSG): Likewise.
7111 (POLL_ERR): Likewise.
7112 (POLL_PRI): Likewise.
7113 (POLL_HUP): Likewise.
7114 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7116 (ILL_ILLOPN): Likewise.
7117 (ILL_ILLADR): Likewise.
7118 (ILL_ILLTRP): Likewise.
7119 (ILL_PRVOPC): Likewise.
7120 (ILL_PRVREG): Likewise.
7121 (ILL_COPROC): Likewise.
7122 (ILL_BADSTK): Likewise.
7123 (ILL_BADIADDR): Likewise.
7124 (ILL_BREAK): Likewise.
7125 (FPE_INTDIV): Likewise.
7126 (FPE_INTOVF): Likewise.
7127 (FPE_FLTDIV): Likewise.
7128 (FPE_FLTOVF): Likewise.
7129 (FPE_FLTUND): Likewise.
7130 (FPE_FLTRES): Likewise.
7131 (FPE_FLTINV): Likewise.
7132 (FPE_FLTSUB): Likewise.
7133 (FPE_DECOVF): Likewise.
7134 (FPE_DECDIV): Likewise.
7135 (FPE_DECERR): Likewise.
7136 (FPE_INVASC): Likewise.
7137 (FPE_INVDEC): Likewise.
7138 (SEGV_MAPERR): Likewise.
7139 (SEGV_ACCERR): Likewise.
7140 (SEGV_PSTKOVF): Likewise.
7141 (BUS_ADRALN): Likewise.
7142 (BUS_ADRERR): Likewise.
7143 (BUS_OBJERR): Likewise.
7144 (BUS_MCEERR_AR): Likewise.
7145 (BUS_MCEERR_AO): Likewise.
7146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7147 (TRAP_TRACE): Likewise.
7148 (TRAP_BRANCH): Likewise.
7149 (TRAP_HWBKPT): Likewise.
7150 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7152 (CLD_KILLED): Likewise.
7153 (CLD_DUMPED): Likewise.
7154 (CLD_TRAPPED): Likewise.
7155 (CLD_STOPPED): Likewise.
7156 (CLD_CONTINUED): Likewise.
7157 (POLL_IN): Likewise.
7158 (POLL_OUT): Likewise.
7159 (POLL_MSG): Likewise.
7160 (POLL_ERR): Likewise.
7161 (POLL_PRI): Likewise.
7162 (POLL_HUP): Likewise.
7163 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7164 (ILL_ILLOPN): Likewise.
7165 (ILL_ILLADR): Likewise.
7166 (ILL_ILLTRP): Likewise.
7167 (ILL_PRVOPC): Likewise.
7168 (ILL_PRVREG): Likewise.
7169 (ILL_COPROC): Likewise.
7170 (ILL_BADSTK): Likewise.
7171 (FPE_INTDIV): Likewise.
7172 (FPE_INTOVF): Likewise.
7173 (FPE_FLTDIV): Likewise.
7174 (FPE_FLTOVF): Likewise.
7175 (FPE_FLTUND): Likewise.
7176 (FPE_FLTRES): Likewise.
7177 (FPE_FLTINV): Likewise.
7178 (FPE_FLTSUB): Likewise.
7179 (SEGV_MAPERR): Likewise.
7180 (SEGV_ACCERR): Likewise.
7181 (BUS_ADRALN): Likewise.
7182 (BUS_ADRERR): Likewise.
7183 (BUS_OBJERR): Likewise.
7184 (BUS_MCEERR_AR): Likewise.
7185 (BUS_MCEERR_AO): Likewise.
7186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7187 (TRAP_TRACE): Likewise.
7188 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7190 (CLD_KILLED): Likewise.
7191 (CLD_DUMPED): Likewise.
7192 (CLD_TRAPPED): Likewise.
7193 (CLD_STOPPED): Likewise.
7194 (CLD_CONTINUED): Likewise.
7195 (POLL_IN): Likewise.
7196 (POLL_OUT): Likewise.
7197 (POLL_MSG): Likewise.
7198 (POLL_ERR): Likewise.
7199 (POLL_PRI): Likewise.
7200 (POLL_HUP): Likewise.
7201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7202 (ILL_ILLOPN): Likewise.
7203 (ILL_ILLADR): Likewise.
7204 (ILL_ILLTRP): Likewise.
7205 (ILL_PRVOPC): Likewise.
7206 (ILL_PRVREG): Likewise.
7207 (ILL_COPROC): Likewise.
7208 (ILL_BADSTK): Likewise.
7209 (FPE_INTDIV): Likewise.
7210 (FPE_INTOVF): Likewise.
7211 (FPE_FLTDIV): Likewise.
7212 (FPE_FLTOVF): Likewise.
7213 (FPE_FLTUND): Likewise.
7214 (FPE_FLTRES): Likewise.
7215 (FPE_FLTINV): Likewise.
7216 (FPE_FLTSUB): Likewise.
7217 (SEGV_MAPERR): Likewise.
7218 (SEGV_ACCERR): Likewise.
7219 (BUS_ADRALN): Likewise.
7220 (BUS_ADRERR): Likewise.
7221 (BUS_OBJERR): Likewise.
7222 (BUS_MCEERR_AR): Likewise.
7223 (BUS_MCEERR_AO): Likewise.
7224 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7225 (TRAP_TRACE): Likewise.
7226 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7228 (CLD_KILLED): Likewise.
7229 (CLD_DUMPED): Likewise.
7230 (CLD_TRAPPED): Likewise.
7231 (CLD_STOPPED): Likewise.
7232 (CLD_CONTINUED): Likewise.
7233 (POLL_IN): Likewise.
7234 (POLL_OUT): Likewise.
7235 (POLL_MSG): Likewise.
7236 (POLL_ERR): Likewise.
7237 (POLL_PRI): Likewise.
7238 (POLL_HUP): Likewise.
7239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7240 (ILL_ILLOPN): Likewise.
7241 (ILL_ILLADR): Likewise.
7242 (ILL_ILLTRP): Likewise.
7243 (ILL_PRVOPC): Likewise.
7244 (ILL_PRVREG): Likewise.
7245 (ILL_COPROC): Likewise.
7246 (ILL_BADSTK): Likewise.
7247 (FPE_INTDIV): Likewise.
7248 (FPE_INTOVF): Likewise.
7249 (FPE_FLTDIV): Likewise.
7250 (FPE_FLTOVF): Likewise.
7251 (FPE_FLTUND): Likewise.
7252 (FPE_FLTRES): Likewise.
7253 (FPE_FLTINV): Likewise.
7254 (FPE_FLTSUB): Likewise.
7255 (SEGV_MAPERR): Likewise.
7256 (SEGV_ACCERR): Likewise.
7257 (BUS_ADRALN): Likewise.
7258 (BUS_ADRERR): Likewise.
7259 (BUS_OBJERR): Likewise.
7260 (BUS_MCEERR_AR): Likewise.
7261 (BUS_MCEERR_AO): Likewise.
7262 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7263 (TRAP_TRACE): Likewise.
7264 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7266 (CLD_KILLED): Likewise.
7267 (CLD_DUMPED): Likewise.
7268 (CLD_TRAPPED): Likewise.
7269 (CLD_STOPPED): Likewise.
7270 (CLD_CONTINUED): Likewise.
7271 (POLL_IN): Likewise.
7272 (POLL_OUT): Likewise.
7273 (POLL_MSG): Likewise.
7274 (POLL_ERR): Likewise.
7275 (POLL_PRI): Likewise.
7276 (POLL_HUP): Likewise.
7277 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7278 (ILL_ILLOPN): Likewise.
7279 (ILL_ILLADR): Likewise.
7280 (ILL_ILLTRP): Likewise.
7281 (ILL_PRVOPC): Likewise.
7282 (ILL_PRVREG): Likewise.
7283 (ILL_COPROC): Likewise.
7284 (ILL_BADSTK): Likewise.
7285 (ILL_DBLFLT): Likewise.
7286 (ILL_HARDWALL): Likewise.
7287 (FPE_INTDIV): Likewise.
7288 (FPE_INTOVF): Likewise.
7289 (FPE_FLTDIV): Likewise.
7290 (FPE_FLTOVF): Likewise.
7291 (FPE_FLTUND): Likewise.
7292 (FPE_FLTRES): Likewise.
7293 (FPE_FLTINV): Likewise.
7294 (FPE_FLTSUB): Likewise.
7295 (SEGV_MAPERR): Likewise.
7296 (SEGV_ACCERR): Likewise.
7297 (BUS_ADRALN): Likewise.
7298 (BUS_ADRERR): Likewise.
7299 (BUS_OBJERR): Likewise.
7300 (BUS_MCEERR_AR): Likewise.
7301 (BUS_MCEERR_AO): Likewise.
7302 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7303 (TRAP_TRACE): Likewise.
7304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7306 (CLD_KILLED): Likewise.
7307 (CLD_DUMPED): Likewise.
7308 (CLD_TRAPPED): Likewise.
7309 (CLD_STOPPED): Likewise.
7310 (CLD_CONTINUED): Likewise.
7311 (POLL_IN): Likewise.
7312 (POLL_OUT): Likewise.
7313 (POLL_MSG): Likewise.
7314 (POLL_ERR): Likewise.
7315 (POLL_PRI): Likewise.
7316 (POLL_HUP): Likewise.
7317 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7318 (ILL_ILLOPN): Likewise.
7319 (ILL_ILLADR): Likewise.
7320 (ILL_ILLTRP): Likewise.
7321 (ILL_PRVOPC): Likewise.
7322 (ILL_PRVREG): Likewise.
7323 (ILL_COPROC): Likewise.
7324 (ILL_BADSTK): Likewise.
7325 (FPE_INTDIV): Likewise.
7326 (FPE_INTOVF): Likewise.
7327 (FPE_FLTDIV): Likewise.
7328 (FPE_FLTOVF): Likewise.
7329 (FPE_FLTUND): Likewise.
7330 (FPE_FLTRES): Likewise.
7331 (FPE_FLTINV): Likewise.
7332 (FPE_FLTSUB): Likewise.
7333 (SEGV_MAPERR): Likewise.
7334 (SEGV_ACCERR): Likewise.
7335 (BUS_ADRALN): Likewise.
7336 (BUS_ADRERR): Likewise.
7337 (BUS_OBJERR): Likewise.
7338 (BUS_MCEERR_AR): Likewise.
7339 (BUS_MCEERR_AO): Likewise.
7340 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7341 (TRAP_TRACE): Likewise.
7342 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7344 (CLD_KILLED): Likewise.
7345 (CLD_DUMPED): Likewise.
7346 (CLD_TRAPPED): Likewise.
7347 (CLD_STOPPED): Likewise.
7348 (CLD_CONTINUED): Likewise.
7349 (POLL_IN): Likewise.
7350 (POLL_OUT): Likewise.
7351 (POLL_MSG): Likewise.
7352 (POLL_ERR): Likewise.
7353 (POLL_PRI): Likewise.
7354 (POLL_HUP): Likewise.
7355 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7356 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7359 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7360 before #include of <time.h>.
7361 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7362 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7363 (test-xfail-UNIX98/sched.h/conform): Likewise.
7365 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7367 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7368 error absence of trapping exception support.
7369 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7371 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7373 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7374 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7375 * timezone/Makefile (testdata): Move definition above include of
7377 (test-zones): New variable.
7378 (tests-special): Add zone files.
7379 (build-testdata): Use $(evaluate-test).
7381 * elf/Makefile (tests-special): Rename tests to end with .out.
7382 ($(objpfx)noload-mem): Likewise.
7383 ($(objpfx)tst-leaks1-mem): Likewise.
7384 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7385 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7386 $(objpfx)test-iconvconfig.out.
7387 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7388 set -e inside subshell and redirect output to file.
7389 * iconvdata/Makefile (generated): Rename tests to end with .out.
7391 (tests-special): Rename tests to end with .out.
7392 ($(objpfx)mtrace-tst-loading): Likewise.
7393 * intl/Makefile (generated): Likewise.
7394 (tests-special): Likewise.
7395 ($(objpfx)mtrace-tst-gettext): Likewise.
7396 * misc/Makefile (generated): Likewise.
7397 (tests-special): Likewise.
7398 ($(objpfx)tst-error1-mem): Likewise.
7399 * nptl/Makefile (tests-special): Likewise.
7400 ($(objpfx)tst-stack3-mem): Likewise.
7401 (generated): Likewise.
7402 * posix/Makefile (generated): Likewise.
7403 (tests-special): Likewise.
7404 (xtests-special): Likewise.
7405 ($(objpfx)tst-fnmatch-mem): Likewise.
7406 ($(objpfx)bug-regex2-mem): Likewise.
7407 ($(objpfx)bug-regex14-mem): Likewise.
7408 ($(objpfx)bug-regex21-mem): Likewise.
7409 ($(objpfx)bug-regex31-mem): Likewise.
7410 ($(objpfx)tst-vfork3-mem): Likewise.
7411 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7412 ($(objpfx)tst-pcre-mem): Likewise.
7413 ($(objpfx)tst-boost-mem): Likewise.
7414 ($(objpfx)bug-ga2-mem): Likewise.
7415 ($(objpfx)bug-glob2-mem): Likewise.
7416 * resolv/Makefile (generate): Likewise.
7417 (tests-special): Likewise.
7418 (xtests-special): Likewise.
7419 (generated): Likewise.
7420 ($(objpfx)mtrace-tst-leaks): Likewise.
7421 ($(objpfx)mtrace-tst-leaks2): Likewise.
7423 * scripts/merge-test-results.sh: New file.
7424 * Makefile (tests-special-notdir): New variable.
7425 (tests): Run merge-test-results.sh.
7427 * Rules (tests-special-notdir): New variable.
7428 (xtests-special-notdir): Likewise.
7429 (tests): Run merge-test-results.sh
7432 * Makeconfig (test-xfail-name): New variable.
7433 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7434 compute variable name for expected failures.
7435 * conform/Makefile (conformtest-headers-data): New variable.
7436 (conformtest-standards): Likewise.
7437 (conformtest-headers-ISO): Likewise.
7438 (conformtest-headers-ISO99): Likewise.
7439 (conformtest-headers-ISO11): Likewise.
7440 (conformtest-headers-POSIX): Likewise.
7441 (conformtest-headers-XPG3): Likewise.
7442 (conformtest-headers-XPG4): Likewise.
7443 (conformtest-headers-UNIX98): Likewise.
7444 (conformtest-headers-XOPEN2K): Likewise.
7445 (conformtest-headers-POSIX2008): Likewise.
7446 (conformtest-headers-XOPEN2K8): Likewise.
7447 (conformtest-header-list-base): Likewise.
7448 (conformtest-header-list-tests): Likewise.
7449 (conformtest-header-base): Likewise.
7450 (conformtest-header-tests): Likewise.
7451 (tests-special): Add $(conformtest-header-list-tests). If
7452 [$(fast-check) && !$(cross-compiling)], add
7453 $(conformtest-header-tests) instead of
7454 $(objpfx)run-conformtest.out.
7455 (generated): Add $(conformtest-header-list-base). If
7456 [$(fast-check) && !$(cross-compiling)], add
7457 $(conformtest-header-base). Remove previous setting.
7458 ($(conformtest-header-list-tests)): New target.
7459 (test-xfail-run-conformtest): Remove variable.
7460 ($(objpfx)run-conformtest.out): Remove target.
7461 (test-xfail-ISO11/complex.h/conform): New variable.
7462 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7463 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7464 (test-xfail-XPG3/varargs.h/conform): Likewise.
7465 (test-xfail-XPG4/varargs.h/conform): Likewise.
7466 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7467 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7468 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7469 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7470 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7471 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7472 (test-xfail-XPG3/ftw.h/conform): Likewise.
7473 (test-xfail-XPG3/grp.h/conform): Likewise.
7474 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7475 (test-xfail-XPG3/limits.h/conform): Likewise.
7476 (test-xfail-XPG3/pwd.h/conform): Likewise.
7477 (test-xfail-XPG3/search.h/conform): Likewise.
7478 (test-xfail-XPG3/signal.h/conform): Likewise.
7479 (test-xfail-XPG3/stdio.h/conform): Likewise.
7480 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7481 (test-xfail-XPG3/string.h/conform): Likewise.
7482 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7483 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7484 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7485 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7486 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7487 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7488 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7489 (test-xfail-XPG3/termios.h/conform): Likewise.
7490 (test-xfail-XPG3/time.h/conform): Likewise.
7491 (test-xfail-XPG3/unistd.h/conform): Likewise.
7492 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7493 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7494 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7495 (test-xfail-XPG4/netdb.h/conform): Likewise.
7496 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7497 (test-xfail-XPG4/signal.h/conform): Likewise.
7498 (test-xfail-XPG4/stdio.h/conform): Likewise.
7499 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7500 (test-xfail-XPG4/stropts.h/conform): Likewise.
7501 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7502 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7503 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7504 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7505 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7506 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7507 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7508 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7509 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7510 (test-xfail-XPG4/termios.h/conform): Likewise.
7511 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7512 (test-xfail-XPG4/unistd.h/conform): Likewise.
7513 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7514 (test-xfail-POSIX/sched.h/conform): Likewise.
7515 (test-xfail-POSIX/signal.h/conform): Likewise.
7516 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7517 (test-xfail-POSIX/tar.h/conform): Likewise.
7518 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7519 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7520 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7521 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7522 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7523 (test-xfail-UNIX98/sched.h/conform): Likewise.
7524 (test-xfail-UNIX98/signal.h/conform): Likewise.
7525 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7526 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7527 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7528 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7529 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7530 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7531 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7532 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7533 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7534 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7535 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7536 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7537 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7538 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7539 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7540 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7541 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7542 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7543 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7544 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7545 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7546 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7547 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7548 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7549 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7550 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7551 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7552 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7553 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7554 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7555 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7556 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7557 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7558 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7559 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7560 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7561 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7562 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7563 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7564 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7565 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7566 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7567 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7568 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7569 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7570 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7571 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7572 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7573 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7574 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7575 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7576 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7577 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7578 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7579 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7580 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7581 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7582 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7583 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7584 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7585 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7586 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7587 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7588 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7589 (conformtest-cc-flags): Likewise.
7590 ($(conformtest-header-tests): New target.
7591 * conform/check-header-lists.sh: New file.
7592 * conform/run-conformtest.sh: Remove.
7594 * conform/conformtest.pl: Allow ' and \ in values given for
7596 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7598 [POSIX] (sys/types.h): Likewise.
7599 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7601 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7603 * conform/data/signal.h-data (SIGIO): Remove expectation.
7604 [XPG3] (SIGBUS): Do not expect.
7605 [POSIX || XPG3] (SIGPOLL): Likewise.
7606 [POSIX || XPG3] (SIGPROF): Likewise.
7607 [POSIX || XPG3] (SIGSYS): Likewise.
7608 [XPG3] (SIGTRAP): Likewise.
7609 [POSIX || XPG3] (SIGURG): Likewise.
7610 [POSIX || XPG3] (SIGVTALRM): Likewise.
7611 [POSIX || XPG3] (SIGXCPU): Likewise.
7612 [POSIX || XPG3] (SIGXFSZ): Likewise.
7613 [POSIX] (SA_SIGINFO): Expect.
7614 [XPG3] (siginfo_t): Do not expect type or contents.
7615 [POSIX] (si_pid): Do not expect element.
7616 [POSIX] (si_uid): Likewise.
7617 [POSIX] (si_addr): Likewise.
7618 [POSIX] (si_status): Likewise.
7619 [POSIX] (si_band): Likewise.
7620 [XPG4] (si_value): Likewise.
7621 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7622 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7623 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7624 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7625 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7626 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7627 [POSIX || XPG3] (ILL_COPROC): Likewise.
7628 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7629 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7630 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7631 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7632 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7633 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7634 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7635 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7636 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7637 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7638 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7639 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7640 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7641 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7642 [POSIX || XPG3] (CLD_EXITED): Likewise.
7643 [POSIX || XPG3] (CLD_KILLED): Likewise.
7644 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7645 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7646 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7647 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7648 [POSIX || XPG3] (POLL_IN): Likewise.
7649 [POSIX || XPG3] (POLL_OUT): Likewise.
7650 [POSIX || XPG3] (POLL_MSG): Likewise.
7651 [POSIX || XPG3] (POLL_ERR): Likewise.
7652 [POSIX || XPG3] (POLL_PRI): Likewise.
7653 [POSIX || XPG3] (POLL_HUP): Likewise.
7654 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7655 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7656 (SIG*): Do not allow.
7657 [XPG3] (si_*): Likewise.
7658 [XPG3] (SI_*): Likewise.
7659 [XPG3 || XPG4] (sigev_*): Likewise.
7660 [XPG3 || XPG4] (SIGEV_*): Likewise.
7661 [XPG3 || XPG4] (sival_*): Likewise.
7662 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7663 [POSIX || XPG3] (BUS_*): Likewise.
7664 [POSIX || XPG3] (CLD_*): Likewise.
7665 [POSIX || XPG3] (FPE_*): Likewise.
7666 [POSIX || XPG3] (ILL_*): Likewise.
7667 [POSIX || XPG3] (POLL_*): Likewise.
7668 [POSIX || XPG3] (SEGV_*): Likewise.
7669 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7670 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7671 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7672 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7673 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7674 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7675 Specify type and value.
7676 (TVERSLEN): Likewise.
7677 (REGTYPE): Likewise.
7678 (AREGTYPE): Likewise.
7679 (LNKTYPE): Likewise.
7680 (SYMTYPE): Likewise.
7681 (CHRTYPE): Likewise.
7682 (BLKTYPE): Likewise.
7683 (DIRTYPE): Likewise.
7684 (FIFOTYPE): Likewise.
7685 (CONTTYPE): Likewise.
7690 (TUWRITE): Likewise.
7693 (TGWRITE): Likewise.
7696 (TOWRITE): Likewise.
7698 [POSIX] (TSVTX): Expect constant.
7700 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7702 * Makefile (tests): Change dependencies to ....
7703 (tests-special): ... additions to this variable.
7704 (tests): Depend on $(tests-special).
7705 * Makerules (check-abi-list): New variable.
7706 (check-abi): Depend on $(check-abi-list).
7707 [$(subdir) = elf] (tests-special): Add
7708 $(objpfx)check-abi-libc.out.
7709 [$(build-shared) = yes && subdir] (tests-special): Add
7711 [$(build-shared) = yes && subdir] (tests): Do not depend on
7713 * Rules (tests): Depend on $(tests-special).
7714 (xtests): Depend on $(xtests-special).
7715 * catgets/Makefile (tests): Change dependencies to ....
7716 (tests-special): ... additions to this variable.
7717 * conform/Makefile (tests): Change dependencies to ....
7718 (tests-special): ... additions to this variable.
7719 * elf/Makefile (tests): Change dependencies to ....
7720 (tests-special): ... additions to this variable.
7721 * grp/Makefile (tests): Change dependencies to ....
7722 (tests-special): ... additions to this variable.
7723 * iconv/Makefile (xtests): Change dependencies to ....
7724 (xtests-special): ... additions to this variable.
7725 * iconvdata/Makefile (tests): Change dependencies to ....
7726 (tests-special): ... additions to this variable.
7727 * intl/Makefile (tests): Change dependencies to ....
7728 (tests-special): ... additions to this variable. Also add
7729 $(objpfx)tst-gettext.out.
7730 * io/Makefile (tests): Change dependencies to ....
7731 (tests-special): ... additions to this variable.
7732 * libio/Makefile (tests): Change dependencies to ....
7733 (tests-special): ... additions to this variable.
7734 * malloc/Makefile (tests): Change dependencies to ....
7735 (tests-special): ... additions to this variable.
7736 * misc/Makefile (tests): Change dependencies to ....
7737 (tests-special): ... additions to this variable.
7738 * nptl/Makefile (tests): Change dependencies to ....
7739 (tests-special): ... additions to this variable.
7740 * nptl_db/Makefile (tests): Change dependencies to ....
7741 (tests-special): ... additions to this variable.
7742 * posix/Makefile (tests): Change dependencies to ....
7743 (tests-special): ... additions to this variable.
7744 (xtests): Change dependencies to ....
7745 (xtests-special): ... additions to this variable.
7746 * resolv/Makefile (tests): Change dependencies to ....
7747 (tests-special): ... additions to this variable.
7748 (xtests): Change dependencies to ....
7749 (xtests-special): ... additions to this variable.
7750 * stdio-common/Makefile (tests): Change dependencies to ....
7751 (tests-special): ... additions to this variable.
7752 (do-tst-unbputc): Remove target.
7753 (do-tst-printf): Likewise.
7754 * stdlib/Makefile (tests): Change dependencies to ....
7755 (tests-special): ... additions to this variable.
7756 * string/Makefile (tests): Change dependencies to ....
7757 (tests-special): ... additions to this variable.
7758 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7759 (tests-special): ... additions to this variable.
7761 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7763 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7765 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7766 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7768 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7769 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7770 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7771 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7772 * conform/data/libgen.h-data [XPG3]: Likewise.
7773 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7774 * conform/data/ndbm.h-data [XPG3]: Likewise.
7775 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7776 * conform/data/netdb.h-data [XPG3]: Likewise.
7777 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7778 * conform/data/poll.h-data [XPG3]: Likewise.
7779 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7780 * conform/data/strings.h-data [XPG3]: Likewise.
7781 * conform/data/stropts.h-data [XPG3]: Likewise.
7782 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7783 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7784 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7786 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7787 * conform/data/sys/time.h-data [XPG3]: Likewise.
7788 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7789 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7790 * conform/data/sys/un.h-data [XPG3]: Likewise.
7791 * conform/data/syslog.h-data [XPG3]: Likewise.
7792 * conform/data/ucontext.h-data [XPG3]: Likewise.
7793 * conform/data/utmpx.h-data [XPG3]: Likewise.
7794 * conform/data/varargs.h-data [UNIX98]: Enable file.
7796 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7798 * math/libm-test.inc (struct test_f_f_data): Move expected results
7799 into structure for each rounding mode.
7800 (struct test_ff_f_data): Likewise.
7801 (struct test_ff_f_data_nexttoward): Likewise.
7802 (struct test_fi_f_data): Likewise.
7803 (struct test_fl_f_data): Likewise.
7804 (struct test_if_f_data): Likewise.
7805 (struct test_fff_f_data): Likewise.
7806 (struct test_c_f_data): Likewise.
7807 (struct test_f_f1_data): Likewise.
7808 (struct test_fF_f1_data): Likewise.
7809 (struct test_ffI_f1_data): Likewise.
7810 (struct test_c_c_data): Likewise.
7811 (struct test_cc_c_data): Likewise.
7812 (struct test_f_i_data): Likewise.
7813 (struct test_ff_i_data): Likewise.
7814 (struct test_f_l_data): Likewise.
7815 (struct test_f_L_data): Likewise.
7816 (struct test_fFF_11_data): Likewise.
7818 (RM_FE_DOWNWARD): Likewise.
7819 (RM_FE_TONEAREST): Likewise.
7820 (RM_FE_TOWARDZERO): Likewise.
7821 (RM_FE_UPWARD): Likewise.
7822 (RUN_TEST_LOOP_f_f): Update references to expected results.
7823 (RUN_TEST_LOOP_2_f): Likewise.
7824 (RUN_TEST_LOOP_fff_f): Likewise.
7825 (RUN_TEST_LOOP_c_f): Likewise.
7826 (RUN_TEST_LOOP_f_f1): Likewise.
7827 (RUN_TEST_LOOP_fF_f1): Likewise.
7828 (RUN_TEST_LOOP_fI_f1): Likewise.
7829 (RUN_TEST_LOOP_ffI_f1): Likewise.
7830 (RUN_TEST_LOOP_c_c): Likewise.
7831 (RUN_TEST_LOOP_cc_c): Likewise.
7832 (RUN_TEST_LOOP_f_i): Likewise.
7833 (RUN_TEST_LOOP_f_i_tg): Likewise.
7834 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7835 (RUN_TEST_LOOP_f_b): Likewise.
7836 (RUN_TEST_LOOP_f_b_tg): Likewise.
7837 (RUN_TEST_LOOP_f_l): Likewise.
7838 (RUN_TEST_LOOP_f_L): Likewise.
7839 (RUN_TEST_LOOP_fFF_11): Likewise.
7840 * math/gen-libm-test.pl (parse_args): Output four copies of
7841 expected results for each test.
7843 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7844 (__ASSUME_UTIMES): Remove.
7845 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7846 (__ASSUME_UTIMES): Likewise.
7848 * math/gen-auto-libm-tests.c: Update comment on output format.
7849 (output_for_one_input_case): Generate before-rounding and
7850 after-rounding information as conditions on output flags not
7851 floating-point format.
7852 * math/auto-libm-test-out: Regenerated.
7853 * math/gen-libm-test.pl (cond_value): New function.
7854 (or_cond_value): Use cond_value.
7855 (generate_testfile): Handle conditional exceptions.
7857 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7859 * math/libm-test.inc (max_valid_error): New variable.
7860 (init_max_error): Take new argument specifying whether function
7861 results are exactly determined. Set max_valid_error and bound
7862 other variables for errors based on this argument.
7863 (set_max_error): Do not record results above max_valid_error.
7864 (check_float_internal): Only accept errors of up to 0.5ulps if
7865 also at most max_valid_error.
7866 (START): Take new argument EXACT and pass it to init_max_error.
7867 (acos_test): Update call to START.
7868 (acos_test_tonearest): Likewise.
7869 (acos_test_towardzero): Likewise.
7870 (acos_test_downward): Likewise.
7871 (acos_test_upward): Likewise.
7872 (acosh_test): Likewise.
7873 (asin_test): Likewise.
7874 (asin_test_tonearest): Likewise.
7875 (asin_test_towardzero): Likewise.
7876 (asin_test_downward): Likewise.
7877 (asin_test_upward): Likewise.
7878 (asinh_test): Likewise.
7879 (atan_test): Likewise.
7880 (atanh_test): Likewise.
7881 (atan2_test): Likewise.
7882 (cabs_test): Likewise.
7883 (cacos_test): Likewise.
7884 (cacosh_test): Likewise.
7885 (carg_test): Likewise.
7886 (casin_test): Likewise.
7887 (casinh_test): Likewise.
7888 (catan_test): Likewise.
7889 (catanh_test): Likewise.
7890 (cbrt_test): Likewise.
7891 (ccos_test): Likewise.
7892 (ccosh_test): Likewise.
7893 (ceil_test): Likewise.
7894 (cexp_test): Likewise.
7895 (cimag_test): Likewise.
7896 (clog_test): Likewise.
7897 (clog10_test): Likewise.
7898 (conj_test): Likewise.
7899 (copysign_test): Likewise.
7900 (cos_test): Likewise.
7901 (cos_test_tonearest): Likewise.
7902 (cos_test_towardzero): Likewise.
7903 (cos_test_downward): Likewise.
7904 (cos_test_upward): Likewise.
7905 (cosh_test): Likewise.
7906 (cosh_test_tonearest): Likewise.
7907 (cosh_test_towardzero): Likewise.
7908 (cosh_test_downward): Likewise.
7909 (cosh_test_upward): Likewise.
7910 (cpow_test): Likewise.
7911 (cproj_test): Likewise.
7912 (creal_test): Likewise.
7913 (csin_test): Likewise.
7914 (csinh_test): Likewise.
7915 (csqrt_test): Likewise.
7916 (ctan_test): Likewise.
7917 (ctan_test_tonearest): Likewise.
7918 (ctan_test_towardzero): Likewise.
7919 (ctan_test_downward): Likewise.
7920 (ctan_test_upward): Likewise.
7921 (ctanh_test): Likewise.
7922 (ctanh_test_tonearest): Likewise.
7923 (ctanh_test_towardzero): Likewise.
7924 (ctanh_test_downward): Likewise.
7925 (ctanh_test_upward): Likewise.
7926 (erf_test): Likewise.
7927 (erfc_test): Likewise.
7928 (exp_test): Likewise.
7929 (exp_test_tonearest): Likewise.
7930 (exp_test_towardzero): Likewise.
7931 (exp_test_downward): Likewise.
7932 (exp_test_upward): Likewise.
7933 (exp10_test): Likewise.
7934 (exp10_test_tonearest): Likewise.
7935 (exp10_test_towardzero): Likewise.
7936 (exp10_test_downward): Likewise.
7937 (exp10_test_upward): Likewise.
7938 (pow10_test): Likewise.
7939 (exp2_test): Likewise.
7940 (expm1_test): Likewise.
7941 (expm1_test_tonearest): Likewise.
7942 (expm1_test_towardzero): Likewise.
7943 (expm1_test_downward): Likewise.
7944 (expm1_test_upward): Likewise.
7945 (fabs_test): Likewise.
7946 (fdim_test): Likewise.
7947 (floor_test): Likewise.
7948 (fma_test): Likewise.
7949 (fma_test_towardzero): Likewise.
7950 (fma_test_downward): Likewise.
7951 (fma_test_upward): Likewise.
7952 (fmax_test): Likewise.
7953 (fmin_test): Likewise.
7954 (fmod_test): Likewise.
7955 (fpclassify_test): Likewise.
7956 (frexp_test): Likewise.
7957 (hypot_test): Likewise.
7958 (ilogb_test): Likewise.
7959 (isfinite_test): Likewise.
7960 (finite_test): Likewise.
7961 (isgreater_test): Likewise.
7962 (isgreaterequal_test): Likewise.
7963 (isinf_test): Likewise.
7964 (isless_test): Likewise.
7965 (islessequal_test): Likewise.
7966 (islessgreater_test): Likewise.
7967 (isnan_test): Likewise.
7968 (isnormal_test): Likewise.
7969 (issignaling_test): Likewise.
7970 (isunordered_test): Likewise.
7971 (j0_test): Likewise.
7972 (j1_test): Likewise.
7973 (jn_test): Likewise.
7974 (ldexp_test): Likewise.
7975 (lgamma_test): Likewise.
7976 (gamma_test): Likewise.
7977 (lrint_test): Likewise.
7978 (lrint_test_tonearest): Likewise.
7979 (lrint_test_towardzero): Likewise.
7980 (lrint_test_downward): Likewise.
7981 (lrint_test_upward): Likewise.
7982 (llrint_test): Likewise.
7983 (llrint_test_tonearest): Likewise.
7984 (llrint_test_towardzero): Likewise.
7985 (llrint_test_downward): Likewise.
7986 (llrint_test_upward): Likewise.
7987 (log_test): Likewise.
7988 (log10_test): Likewise.
7989 (log1p_test): Likewise.
7990 (log2_test): Likewise.
7991 (logb_test): Likewise.
7992 (logb_test_downward): Likewise.
7993 (lround_test): Likewise.
7994 (llround_test): Likewise.
7995 (modf_test): Likewise.
7996 (nearbyint_test): Likewise.
7997 (nextafter_test): Likewise.
7998 (nexttoward_test): Likewise.
7999 (pow_test): Likewise.
8000 (pow_test_tonearest): Likewise.
8001 (pow_test_towardzero): Likewise.
8002 (pow_test_downward): Likewise.
8003 (pow_test_upward): Likewise.
8004 (remainder_test): Likewise.
8005 (drem_test): Likewise.
8006 (remainder_test_tonearest): Likewise.
8007 (drem_test_tonearest): Likewise.
8008 (remainder_test_towardzero): Likewise.
8009 (drem_test_towardzero): Likewise.
8010 (remainder_test_downward): Likewise.
8011 (drem_test_downward): Likewise.
8012 (remainder_test_upward): Likewise.
8013 (drem_test_upward): Likewise.
8014 (remquo_test): Likewise.
8015 (rint_test): Likewise.
8016 (rint_test_tonearest): Likewise.
8017 (rint_test_towardzero): Likewise.
8018 (rint_test_downward): Likewise.
8019 (rint_test_upward): Likewise.
8020 (round_test): Likewise.
8021 (scalb_test): Likewise.
8022 (scalbn_test): Likewise.
8023 (scalbln_test): Likewise.
8024 (signbit_test): Likewise.
8025 (sin_test): Likewise.
8026 (sin_test_tonearest): Likewise.
8027 (sin_test_towardzero): Likewise.
8028 (sin_test_downward): Likewise.
8029 (sin_test_upward): Likewise.
8030 (sincos_test): Likewise.
8031 (sinh_test): Likewise.
8032 (sinh_test_tonearest): Likewise.
8033 (sinh_test_towardzero): Likewise.
8034 (sinh_test_downward): Likewise.
8035 (sinh_test_upward): Likewise.
8036 (sqrt_test): Likewise.
8037 (sqrt_test_tonearest): Likewise.
8038 (sqrt_test_towardzero): Likewise.
8039 (sqrt_test_downward): Likewise.
8040 (sqrt_test_upward): Likewise.
8041 (tan_test): Likewise.
8042 (tan_test_tonearest): Likewise.
8043 (tan_test_towardzero): Likewise.
8044 (tan_test_downward): Likewise.
8045 (tan_test_upward): Likewise.
8046 (tanh_test): Likewise.
8047 (tgamma_test): Likewise.
8048 (trunc_test): Likewise.
8049 (y0_test): Likewise.
8050 (y1_test): Likewise.
8051 (yn_test): Likewise.
8052 (significand_test): Likewise.
8054 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8055 individual tests in comment.
8056 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8057 (prev_max_error): New variable.
8058 (prev_real_max_error): Likewise.
8059 (prev_imag_max_error): Likewise.
8060 (compare_ulp_data): Don't refer to test names in comment.
8061 (find_test_ulps): Remove function.
8062 (find_function_ulps): Likewise.
8063 (find_complex_function_ulps): Likewise.
8064 (init_max_error): Take function name as argument. Look up ulps
8066 (print_ulps): Remove function.
8067 (print_max_error): Use prev_max_error instead of calling
8069 (print_complex_max_error): Use prev_real_max_error and
8070 prev_imag_max_error instead of calling find_complex_function_ulps.
8071 (check_float_internal): Take max_ulp parameter instead of calling
8072 find_test_ulps. Don't call print_ulps.
8073 (check_float): Update call to check_float_internal.
8074 (check_complex): Update calls to check_float_internal.
8075 (START): Pass argument to init_max_error.
8076 * math/gen-libm-test.pl (%results): Don't include "kind"
8078 (parse_ulps): Don't handle ulps of individual tests.
8079 (print_ulps_file): Likewise.
8080 (output_ulps): Likewise.
8081 * math/README.libm-test: Update.
8082 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8084 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8085 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8086 * sysdeps/arm/libm-test-ulps: Likewise.
8087 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8088 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8089 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8090 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8091 * sysdeps/microblaze/libm-test-ulps: Likewise.
8092 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8093 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8095 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8096 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8097 * sysdeps/sh/libm-test-ulps: Likewise.
8098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8099 * sysdeps/tile/libm-test-ulps: Likewise.
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8102 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8104 * math/libm-test.inc (print_complex_max_error): Check separately
8105 whether real and imaginary errors are within allowed range and
8106 pass 0 to print_complex_function_ulps instead of value within
8109 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8111 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8113 (get_handles_fopen): Likewise.
8114 (do_write_test): Likewise.
8116 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8118 * libio/fileops.c (do_ftell): Use cached offset when
8120 * libio/iofwide.c (do_ftell_wide): Likewise.
8121 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8123 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8126 * libio/libioP.h (get_file_offset): New function.
8127 * libio/fileops.c (get_file_offset): Likewise.
8128 (do_ftell): Likewise.
8129 (_IO_new_file_seekoff): Split out ftell logic.
8130 * libio/wfileops.c (do_ftell_wide): Likewise.
8131 (_IO_wfile_seekoff): Split out ftell logic.
8132 * libio/tst-ftell-active-handler.c: New test case.
8133 * libio/Makefile (tests): Add it.
8135 2014-03-03 Roland McGrath <roland@hack.frob.com>
8137 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8138 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8140 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8143 * nscd/connections.c (nscd_init): Call do_exit.
8144 (start_threads): Call do_exit and notify_parent.
8145 (begin_drop_privileges): Call do_exit.
8146 (finish_drop_privileges): Likewise.
8147 * nscd/selinux.c (preserve_capabilities): Likewise.
8148 (install_real_capabilities): Likewise.
8149 (nscd_selinux_enabled): Likewise.
8150 (avc_create_thread): Likewise.
8151 (avc_alloc_lock): Likewise.
8152 (nscd_avc_init): Likewise.
8153 * nscd/nscd.c (parent_fd): New static variable.
8154 (main): Create a pipe between parent and child processes.
8155 Skip closing parent_fd.
8156 (monitor_child): New function.
8157 (do_exit): Likewise.
8158 (notify_parent): Likewise.
8159 * nscd/nscd.h (notify_parent): Likewise.
8160 (do_exit): Likewise.
8162 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8164 * malloc/malloc.c (__libc_calloc): Revert last change.
8166 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8170 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8172 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8176 (__libc_ifunc_impl_list): Likewise.
8177 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8178 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8179 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8180 * string/strrchr.c: Define STRRCHR.
8182 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8184 * benchtest/bench-strtok.c (simple_strtok): Delete.
8185 (strtok_string): Use as benchmark.
8186 * string/strtok (STRTOK): New macro.
8188 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8190 * manual/threads.texi: Add header and standard comments to all
8193 * elf/dl-lookup.c (check_match): New function.
8194 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8195 (do_lookup_x): Remove nested function check_match. Use non-nested
8196 function check_match.
8198 2014-02-28 Roland McGrath <roland@hack.frob.com>
8200 * csu/Makefile (generated, before-compile): Use += rather than =.
8201 * catgets/Makefile (generated, generated-dirs): Likewise.
8202 * debug/Makefile (generated): Likewise.
8203 * dlfcn/Makefile (generated): Likewise.
8204 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8205 * iconvdata/Makefile (before-compile, generated): Likewise.
8206 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8207 * libio/Makefile (generated): Likewise.
8208 * malloc/Makefile (generated): Likewise.
8209 * manual/Makefile (generated, generated-dirs): Likewise.
8210 * misc/Makefile (generated): Likewise.
8211 * posix/Makefile (generated): Likewise.
8212 * resolv/Makefile (generated): Likewise.
8213 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8214 * timezone/Makefile (generated, generated-dirs): Likewise.
8216 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8218 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8221 power8 implementation.
8222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8223 file: POWER8 llround ifunc implementation.
8224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8225 (__lllround): Add POWER8 implementation.
8226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8227 POWER8 llround implementation.
8229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8230 power8 implementation.
8231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8232 file: POWER8 llrint ifunc implementation.
8233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8234 Add POWER8 implementation.
8235 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8236 POWER8 llrint implementation.
8238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8239 power8 implementation.
8240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8241 file: POWER8 finite ifunc implementation.
8242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8243 Add POWER8 implementation.
8244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8246 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8247 POWER8 finite implementation.
8248 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8251 power8 implementation.
8252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8253 file: POWER8 isinf ifunc implementation.
8254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8255 POWER8 implementation.
8256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8259 isinf implementation.
8260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8263 (INIT_ARCH): Add hwcap2 initialization.
8264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8265 power8 implementation.
8266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8267 file: POWER8 isnan ifunc implementation.
8268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8269 POWER8 implementation.
8270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8273 isnan implementation.
8274 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8276 2014-02-27 Joey Ye <joey.ye@arm.com>
8278 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8279 (_FP_NANFRAC_Q): Set to zero.
8281 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8284 * math/auto-libm-test-in: New test inputs.
8285 * math/auto-libm-test-out: Regenerate.
8286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8291 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8293 * scripts/evaluate-test.sh: Take new argument indicating whether
8294 failure is expected.
8295 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8296 indicating whether failure is expected.
8297 * conform/Makefile (test-xfail-run-conformtest): New variable.
8298 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8300 * posix/Makefile (test-xfail-annexc): New variable.
8301 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8303 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8305 * argp/Makefile: Include Makeconfig immediately after defining
8307 * assert/Makefile: Likewise.
8308 * benchtests/Makefile: Likewise.
8309 * catgets/Makefile: Likewise.
8310 * conform/Makefile: Likewise.
8311 * crypt/Makefile: Likewise.
8312 * csu/Makefile: Likewise.
8313 (all): Remove target.
8314 * ctype/Makefile: Include Makeconfig immediately after defining
8316 * debug/Makefile: Likewise.
8317 * dirent/Makefile: Likewise.
8318 * dlfcn/Makefile: Likewise.
8319 * gmon/Makefile: Likewise.
8320 * gnulib/Makefile: Likewise.
8321 * grp/Makefile: Likewise.
8322 * gshadow/Makefile: Likewise.
8323 * hesiod/Makefile: Likewise.
8324 * hurd/Makefile: Likewise.
8325 (all): Remove target.
8326 * iconvdata/Makefile: Include Makeconfig immediately after
8328 * inet/Makefile: Likewise.
8329 * intl/Makefile: Likewise.
8330 * io/Makefile: Likewise.
8331 * libio/Makefile: Likewise.
8332 (all): Remove target.
8333 * locale/Makefile: Include Makeconfig immediately after defining
8335 * login/Makefile: Likewise.
8336 * mach/Makefile: Likewise.
8337 (all): Remove target.
8338 * malloc/Makefile: Include Makeconfig immediately after defining
8340 (all): Remove target.
8341 * manual/Makefile: Include Makeconfig immediately after defining
8343 * math/Makefile: Likewise.
8344 * misc/Makefile: Likewise.
8345 * nis/Makefile: Likewise.
8346 * nss/Makefile: Likewise.
8347 * po/Makefile: Likewise.
8348 (all): Remove target.
8349 * posix/Makefile: Include Makeconfig immediately after defining
8351 * pwd/Makefile: Likewise.
8352 * resolv/Makefile: Likewise.
8353 * resource/Makefile: Likewise.
8354 * rt/Makefile: Likewise.
8355 * setjmp/Makefile: Likewise.
8356 * shadow/Makefile: Likewise.
8357 * signal/Makefile: Likewise.
8358 * socket/Makefile: Likewise.
8359 * soft-fp/Makefile: Likewise.
8360 * stdio-common/Makefile: Likewise.
8361 * stdlib/Makefile: Likewise.
8362 * streams/Makefile: Likewise.
8363 * string/Makefile: Likewise.
8364 * sunrpc/Makefile: Likewise.
8365 (all): Remove target.
8366 * sysvipc/Makefile: Include Makeconfig immediately after defining
8368 * termios/Makefile: Likewise.
8369 * time/Makefile: Likewise.
8370 * timezone/Makefile: Likewise.
8371 (all): Remove target.
8372 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8374 * wctype/Makefile: Likewise.
8376 2014-02-26 Steve Ellcey <sellcey@mips.com>
8378 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8379 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8380 (libc_feholdexcept_setround_mips): Ditto.
8381 (libc_feholdsetround): New.
8382 (libc_feholdsetroundf): New.
8383 (libc_feholdsetroundl): New.
8384 (libc_feupdateenv_test_mips): New.
8385 (libc_feupdateenv_test): New.
8386 (libc_feupdateenv_testf): New.
8387 (libc_feupdateenv_testl): New.
8388 (libc_feresetround): New.
8389 (libc_feresetroundf): New.
8390 (libc_feresetroundl): New.
8391 (libc_fetestexcept_mips): New.
8392 (libc_fetestexcept): New.
8393 (libc_fetestexceptf): New.
8394 (libc_fetestexceptl): New.
8396 (libc_feholdexcept_setround_mips_ctx): New.
8397 (libc_feholdexcept_setround_ctx): New.
8398 (libc_feholdexcept_setroundf_ctx): New.
8399 (libc_feholdexcept_setroundl_ctx): New.
8400 (libc_fesetenv_mips_ctx): New.
8401 (libc_fesetenv_ctx): New.
8402 (libc_fesetenv_ctxf): New.
8403 (libc_fesetenv_ctxl): New.
8404 (libc_feupdateenv_mips_ctx): New.
8405 (libc_feupdateenv_ctx): New.
8406 (libc_feupdateenvf_ctx): New.
8407 (libc_feupdateenvl_ctx): New.
8408 (libc_feholdsetround_mips_ctx): New.
8409 (libc_feholdsetround_ctx): New.
8410 (libc_feholdsetroundf_ctx): New.
8411 (libc_feholdsetroundl_ctx): New.
8412 (libc_feresetround_mips_ctx): New.
8413 (libc_feresetround_ctx): New.
8414 (libc_feresetroundf_ctx): New.
8415 (libc_feresetroundl_ctx): New.
8417 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8419 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8421 * manual/ipc.texi: New file.
8422 * manual/Makefile (chapters): Add ipc.
8423 * manual/job.texi: Add "Inter-Process Communication" to next.
8424 * manual/process.texi: Add "Inter-Process Communication" to prev.
8426 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8430 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8432 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8434 * manual/arith.texi: Fix spaces after sentences.
8435 * manual/charset.texi: Likewise.
8436 * manual/errno.texi: Likewise.
8437 * manual/install.texi: Likewise.
8438 * manual/llio.texi: Likewise.
8439 * manual/locale.texi: Likewise.
8440 * manual/maint.texi: Likewise.
8441 * manual/math.texi: Likewise.
8442 * manual/memory.texi: Likewise.
8443 * manual/message.texi: Likewise.
8444 * manual/probes.texi: Likewise.
8445 * manual/resource.texi: Likewise.
8446 * manual/signal.texi: Likewise.
8447 * manual/socket.texi: Likewise.
8448 * manual/stdio.texi: Likewise.
8449 * manual/string.texi: Likewise.
8450 * manual/time.texi: Likewise.
8451 * manual/users.texi: Likewise.
8453 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8456 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8457 _DEFAULT_SOURCE is defined.
8459 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8460 Carlos O'Donell <carlos@redhat.com>
8463 * elf/dl-tls.c (_dl_count_modids): New function.
8464 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8465 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8466 audit library and increment generation counter.
8467 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8468 * elf/tst-audit9.c: New file.
8469 * elf/tst-auditmod9a.c: New file.
8470 * elf/tst-auditmod9b.c: New file.
8471 * elf/Makefile: Add rules to build and run tst-audit9.
8473 2014-02-25 Florian Weimer <fweimer@redhat.com>
8476 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8478 2014-02-25 Will Newton <will.newton@linaro.org>
8480 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8481 (__longjmp): Restore sp and lr before restoring callee
8482 saved registers. Add longjmp and longjmp_target
8483 SystemTap probe point.
8484 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8485 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8486 Define to zero to match jmpbuf layout.
8487 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8488 (__sigsetjmp): Save sp and lr before saving callee
8489 saved registers. Add setjmp SystemTap probe point.
8491 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8493 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8495 2014-02-24 Andreas Schwab <schwab@suse.de>
8498 * elf/pldd.c (wait_for_ptrace_stop): New function.
8499 (main): Call it after attaching.
8501 2014-02-22 Roland McGrath <roland@hack.frob.com>
8503 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8504 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8505 Versions files is now verboten.
8506 * hurd/Versions (libc: GLIBC_2.0):
8507 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8508 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8509 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8510 * mach/Versions: Likewise.
8512 * csu/Versions: Remove unused %include.
8513 * resolv/Versions: Likewise.
8515 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8517 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8518 ($(objpfx)check-local-headers.out): Likewise.
8519 ($(objpfx)begin-end-check.out): Likewise.
8520 * Makerules (check-abi-%.out): Likewise.
8521 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8522 ($(objpfx)test2.cat): Likewise.
8523 ($(objpfx)de/libc.cat): Likewise.
8524 ($(objpfx)test-gencat.out): Likewise.
8525 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8526 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8527 ($(objpfx)noload-mem): Likewise.
8528 ($(objpfx)tst-pathopt.out): Likewise.
8529 ($(objpfx)tst-rtld-load-self.out): Likewise.
8530 ($(objpfx)tst-array1-cmp.out): Likewise.
8531 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8532 ($(objpfx)tst-array2-cmp.out): Likewise.
8533 ($(objpfx)tst-array3-cmp.out): Likewise.
8534 ($(objpfx)tst-array4-cmp.out): Likewise.
8535 ($(objpfx)tst-array5-cmp.out): Likewise.
8536 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8537 ($(objpfx)check-textrel.out): Likewise.
8538 ($(objpfx)check-execstack.out): Likewise.
8539 ($(objpfx)check-localplt.out): Likewise.
8540 ($(objpfx)order2-cmp.out): Likewise.
8541 ($(objpfx)tst-leaks1-mem): Likewise.
8542 ($(objpfx)tst-leaks1-static-mem): Likewise.
8543 ($(objpfx)tst-initorder-cmp.out): Likewise.
8544 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8545 ($(objpfx)tst-unused-dep.out): Likewise.
8546 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8547 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8548 * iconv/Makefile (test-iconvconfig): Likewise.
8549 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8550 ($(objpfx)iconv-test.out): Likewise.
8551 ($(objpfx)tst-tables.out): Likewise.
8552 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8553 ($(objpfx)tst-gettext.out): Likewise.
8554 ($(objpfx)tst-translit.out): Likewise.
8555 ($(objpfx)tst-gettext2.out): Likewise.
8556 ($(objpfx)tst-gettext4.out): Likewise.
8557 ($(objpfx)tst-gettext6.out): Likewise.
8558 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8559 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8560 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8561 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8563 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8564 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8565 ($(objpfx)wordexp-tst.out): Likewise.
8566 ($(objpfx)annexc.out): Likewise.
8567 ($(objpfx)tst-fnmatch-mem): Likewise.
8568 ($(objpfx)bug-regex2-mem): Likewise.
8569 ($(objpfx)bug-regex14-mem): Likewise.
8570 ($(objpfx)bug-regex21-mem): Likewise.
8571 ($(objpfx)bug-regex31-mem): Likewise.
8572 ($(objpfx)tst-vfork3-mem): Likewise.
8573 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8574 ($(objpfx)tst-pcre-mem): Likewise.
8575 ($(objpfx)tst-boost-mem): Likewise.
8576 ($(objpfx)tst-getconf.out): Likewise.
8577 ($(objpfx)bug-ga2-mem): Likewise.
8578 ($(objpfx)bug-glob2-mem): Likewise.
8579 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8580 ($(objpfx)mtrace-tst-leaks2): Likewise.
8581 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8582 ($(objpfx)tst-printf.out): Likewise.
8583 ($(objpfx)tst-setvbuf1.out): Likewise.
8584 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8585 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8586 ($(objpfx)tst-fmtmsg.out): Likewise.
8587 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8588 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8590 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8591 * bits/sigaction.h [__USE_MISC]: Likewise.
8592 * bits/waitstatus.h: Update #endif comments.
8593 * ctype/ctype.h: Likewise.
8594 * dirent/dirent.h: Likewise.
8595 [__USE_MISC]: Remove redundant conditionals.
8596 * grp/grp.h: Update #endif comments.
8597 [__USE_GNU]: Remove redundant conditionals.
8598 [__USE_MISC]: Likewise.
8599 * inet/netinet/in.h [__USE_GNU]: Likewise.
8600 * io/sys/stat.h [__USE_MISC]: Likewise.
8601 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8602 * libio/bits/stdio.h: Update #endif comments.
8603 [__USE_MISC]: Remove redundant conditionals.
8604 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8605 * libio/stdio.h: Update #endif comments.
8606 [__USE_MISC]: Remove redundant conditionals.
8607 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8608 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8609 * math/math.h: Update #else and #endif comments.
8610 [__USE_MISC]: Remove redundant conditionals.
8611 * misc/sys/uio.h: Update #endif comments.
8612 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8613 * posix/glob.h [__USE_MISC]: Likewise.
8614 * posix/sys/types.h: Update #endif comments.
8615 [__USE_MISC]: Remove redundant conditionals.
8616 * posix/sys/wait.h: Update #endif comments.
8617 [__USE_MISC]: Remove redundant conditionals.
8618 * posix/unistd.h: Update #endif comments.
8619 [__USE_MISC]: Remove redundant conditionals.
8620 * pwd/pwd.h [__USE_GNU]: Likewise.
8621 [__USE_MISC]: Likewise.
8622 * resolv/netdb.h [__USE_GNU]: Likewise.
8623 * signal/signal.h: Update #endif comments.
8624 [__USE_MISC]: Remove redundant conditionals.
8625 * stdlib/stdlib.h: Update #else and #endif comments.
8626 [__USE_MISC]: Remove redundant conditionals.
8627 [__USE_GNU]: Likewise.
8628 * string/bits/string2.h [__USE_MISC]: Likewise.
8629 * string/string.h: Update #endif comments.
8630 [__USE_MISC]: Remove redundant conditionals.
8631 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8633 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8634 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8635 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8637 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8641 [__USE_MISC]: Remove redundant conditionals.
8642 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8643 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8644 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8645 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8646 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8648 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8649 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8651 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8652 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8654 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8656 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8659 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8661 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8662 * sysdeps/x86/bits/string.h: Update #endif comments.
8663 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8665 * time/sys/time.h: Update #endif comments.
8666 * time/time.h: Likewise.
8667 [__USE_MISC]: Remove redundant conditionals.
8669 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8672 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8674 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8676 * Versions.def (librt): Add GLIBC_2.17.
8678 2014-02-21 Adam Conrad <adconrad@0c3.net>
8680 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8681 synonym for _SYS_AUXV_H to allow direct inclusion.
8682 * sysdeps/sparc/bits/hwcap.h: Likewise.
8683 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8684 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8685 * sysdeps/sparc/sysdep.h: Likewise.
8687 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8689 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8691 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8693 * benchtests/bench-strrchr.c: Print length instead of position.
8695 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8698 * sysdeps/unix/sysv/linux/kernel-features.h
8699 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8700 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8701 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8702 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8704 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8705 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8706 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8707 (__ASSUME_SENDMMSG): Define instead of using previous
8708 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8709 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8710 (__ASSUME_SENDMMSG_SYSCALL): Define.
8711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8712 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8714 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8715 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8717 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8718 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8720 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8721 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8722 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8723 [__ASSUME_SENDMMSG]: Change conditionals to
8724 [__ASSUME_SENDMMSG_SOCKETCALL].
8725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8726 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8728 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8729 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8731 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8732 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8733 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8734 [!__ASSUME_SENDMMSG]: Change conditional to
8735 [!__ASSUME_SENDMMSG_SOCKETCALL].
8736 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8737 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8741 * sysdeps/unix/sysv/linux/kernel-features.h
8742 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8743 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8744 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8745 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8746 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8747 [__i386__ || __sparc__]
8748 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8749 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8750 (__ASSUME_RECVMMSG): Define instead of using previous
8751 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8752 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8753 (__ASSUME_RECVMMSG_SYSCALL): Define.
8754 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8755 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8757 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8760 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8763 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8764 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8765 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8766 [__ASSUME_RECVMMSG]: Change condition to
8767 [__ASSUME_RECVMMSG_SOCKETCALL].
8768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8769 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8771 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8772 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8775 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8776 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8777 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8778 [!__ASSUME_RECVMMSG]: Change condition to
8779 [!__ASSUME_RECVMMSG_SOCKETCALL].
8780 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8781 (__ASSUME_RECVMMSG_SYSCALL): Define.
8784 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8785 __powerpc__ || __s390__ || __sh__ || __sparc__]
8786 (__ASSUME_SOCKETCALL): Define.
8787 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8788 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8789 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8790 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8791 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8792 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8793 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8794 (__ASSUME_ACCEPT4): Define instead of using previous
8795 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8796 __powerpc__ || __sparc__ || __s390__)] condition.
8797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8798 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8799 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8800 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8801 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8802 [!__ASSUME_ACCEPT4]: Change condition to
8803 [!__ASSUME_ACCEPT4_SOCKETCALL].
8804 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8805 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8806 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8807 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8808 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8809 __ASSUME_ACCEPT4_SYSCALL.
8810 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8811 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8812 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8813 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8814 __ASSUME_ACCEPT4_SYSCALL.
8815 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8816 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8817 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8818 [__ASSUME_ACCEPT4]: Change condition to
8819 [__ASSUME_ACCEPT4_SOCKETCALL].
8820 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8821 (__ASSUME_SOCKETCALL): Define.
8822 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8823 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8824 (__ASSUME_SOCKETCALL): Define.
8825 (__ASSUME_ACCEPT4): Remove.
8826 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8828 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8829 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8831 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8832 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8834 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8836 (HWCAP_ARM_LPAE): Likewise.
8837 (HWCAP_ARM_EVTSTRM): Likewise.
8838 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8839 Add vpfd32, lpae and evtstrm.
8840 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8843 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8845 * math/auto-libm-test-in: Add tests of clog10.
8846 * math/auto-libm-test-out: Regenerated.
8847 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8851 2014-02-18 Andreas Schwab <schwab@suse.de>
8854 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8855 Store non-zero if the second buffer was newly allocated.
8856 (send_dg): Likewise.
8857 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8858 to send_vc and send_dg.
8859 (res_nsend): Pass NULL for ansp2_malloced.
8860 * resolv/res_query.c (__libc_res_nquery): Add parameter
8861 answerp2_malloced and pass it down to __libc_res_nsend.
8862 (res_nquery): Pass additional NULL to __libc_res_nquery.
8863 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8864 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8865 second answer buffer if answerp2_malloced was set.
8866 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8867 (__libc_res_nquerydomain): Add parameter
8868 answerp2_malloced and pass it down to __libc_res_nquery.
8869 (res_nquerydomain): Pass additional NULL to
8870 __libc_res_nquerydomain.
8871 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8872 additional NULL to __libc_res_nsend and __libc_res_nquery.
8873 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8874 additional NULL to __libc_res_nsearch.
8875 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8876 parameter of __libc_res_nsearch to check for separately allocated
8878 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8880 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8881 additional NULL to __libc_res_nquery.
8882 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8884 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8885 * include/resolv.h: Update prototypes of __libc_res_nquery,
8886 __libc_res_nsearch, __libc_res_nsend.
8888 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8890 * math/auto-libm-test-in: Add tests of fma.
8891 * math/auto-libm-test-out: Regenerated.
8892 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8893 (fma_towardzero_test_data): Likewise.
8894 (fma_downward_test_data): Likewise.
8895 (fma_upward_test_data): Likewise.
8896 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8898 (rounding_modes): Add values for new field.
8899 (func_calc_method): Add value mpfr_fff_f.
8900 (func_calc_desc): Add mpfr_fff_f union field.
8901 (test_function): Add field exact_args.
8902 (FUNC): Add macro argument EXACT_ARGS.
8903 (FUNC_mpfr_f_f): Update call to FUNC.
8904 (FUNC_mpfr_f_f): Likewise.
8905 (FUNC_mpfr_ff_f): Likewise.
8906 (FUNC_mpfr_if_f): Likewise.
8907 (FUNC_mpc_c_f): Likewise.
8908 (FUNC_mpc_c_c): Likewise.
8909 (test_functions): Add fma. Update calls to FUNC.
8910 (handle_input_arg): Add argument exact_args.
8911 (add_test): Update call to handle_input_arg.
8912 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8913 (output_for_one_input_case): Update call to calc_generic_results.
8914 Recalculate exact zero results in each rounding mode.
8916 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8917 non-negative before setting low bit.
8918 * math/auto-libm-test-in: Mark one asin test possibly having
8920 * math/auto-libm-test-out: Regenerated.
8921 * sysdeps/i386/fpu/libm-test-ulps: Update.
8922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8924 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8926 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8927 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8928 ports/sysdeps/unix/sysv/linux/microblaze.
8929 * README: Add missing listing for microblaze*-*-linux-gnu.
8931 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8933 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8934 * sysdeps/unix/sysv/linux/ia64: Move directory from
8935 ports/sysdeps/unix/sysv/linux/ia64.
8936 * README: Update listing for ia64-*-linux-gnu.
8938 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8939 Joseph Myers <joseph@codesourcery.com>
8941 * Makeconfig (test-name): New variable.
8942 (evaluate-test): Likewise.
8943 * Makerules (do-test-clean): Remove .test-result files.
8944 (common-mostlyclean): Likewise.
8945 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8946 * scripts/evaluate-test.sh: New file.
8948 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8950 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8951 separate $(objpfx)tst-fopenloc-cmp.out and
8952 $(objpfx)tst-fopenloc-mem.out targets.
8953 (tests): Update dependencies.
8954 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8955 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8956 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8957 (tst-rxspencer-no-utf8-ARGS): New variable.
8958 (tst-rxspencer-no-utf8-ENV): Likewise.
8959 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8960 instead of $(objpfx)tst-rxspencer-mem.
8961 ($(objpfx)tst-rxspencer-mem): Change target to
8962 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8963 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8964 * posix/tst-rxspencer-no-utf8.c: New file.
8966 * elf/Makefile ($(objpfx)order.out): Remove rule.
8967 [$(run-built-tests) = yes] (tests): Depend on
8968 $(objpfx)order-cmp.out.
8969 ($(objpfx)order-cmp.out): New rule.
8970 [$(run-built-tests) = yes] (tests): Depend on
8971 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8972 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8973 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8974 $(objpfx)tst-array5-static-cmp.out.
8975 ($(objpfx)tst-array1.out): Remove rule.
8976 ($(objpfx)tst-array1-cmp.out): New rule.
8977 ($(objpfx)tst-array1-static.out): Remove rule.
8978 ($(objpfx)tst-array1-static-cmp.out): New rule.
8979 ($(objpfx)tst-array2.out): Remove rule.
8980 ($(objpfx)tst-array2-cmp.out): New rule.
8981 ($(objpfx)tst-array3.out): Remove rule.
8982 ($(objpfx)tst-array3-cmp.out): New rule.
8983 ($(objpfx)tst-array4.out): Remove rule.
8984 ($(objpfx)tst-array4-cmp.out): New rule.
8985 ($(objpfx)tst-array5.out): Remove rule.
8986 ($(objpfx)tst-array5-cmp.out): New rule.
8987 ($(objpfx)tst-array5-static.out): Remove rule.
8988 ($(objpfx)tst-array5-static-cmp.out): New rule.
8989 [$(run-built-tests) = yes] (tests): Depend on
8990 $(objpfx)order2-cmp.out.
8991 ($(objpfx)order2.out): Remove rule.
8992 ($(objpfx)order2-cmp.out): New rule.
8993 ($(objpfx)tst-initorder.out): Remove rule.
8994 [$(run-built-tests) = yes] (tests): Depend on
8995 $(objpfx)tst-initorder-cmp.out.
8996 ($(objpfx)tst-initorder-cmp.out): New rule.
8997 ($(objpfx)tst-initorder2.out): Remove rule.
8998 [$(run-built-tests) = yes] (tests): Depend on
8999 $(objpfx)tst-initorder2-cmp.out.
9000 ($(objpfx)tst-initorder2-cmp.out): New rule.
9001 [$(run-built-tests) = yes] (tests): Depend on
9002 $(objpfx)tst-unused-dep-cmp.out.
9003 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9004 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9005 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9006 on $(objpfx)tst-setvbuf1-cmp.out.
9007 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9008 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9009 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9010 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9011 ($(objpfx)tst-svc.out): Remove rule.
9012 ($(objpfx)tst-svc-cmp.out): New rule.
9014 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9016 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9017 * ctype/ctype.h [__USE_MISC]: Likewise.
9018 * dirent/dirent.h [__USE_MISC]: Likewise.
9019 * grp/grp.h [__USE_MISC]: Likewise.
9020 * io/fcntl.h [__USE_MISC]: Likewise.
9021 * io/sys/stat.h [__USE_MISC]: Likewise.
9022 * libio/stdio.h [__USE_MISC]: Likewise.
9023 * posix/unistd.h [__USE_MISC]: Likewise.
9024 * pwd/pwd.h [__USE_MISC]: Likewise.
9025 * stdlib.h [__USE_MISC]: Likewise.
9026 * string/bits/string2.h [__USE_MISC]: Likewise.
9027 * string/string.h [__USE_MISC]: Likewise.
9028 * time/time.h [__USE_MISC]: Likewise.
9030 2014-02-13 Andreas Schwab <schwab@suse.de>
9033 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9034 second answer buffer if it was separately allocated.
9036 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9038 * sysdeps/mips/math-tests.h: Include <features.h>.
9039 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9040 (ROUNDING_TESTS_long_double): Do not define.
9041 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9042 (EXCEPTION_TESTS_long_double): Likewise.
9043 * sysdeps/mips/mips64/libm-test-ulps: Update.
9045 * include/features.h (__USE_BSD): Remove macro definitions.
9046 (__USE_SVID): Likewise.
9047 (_BSD_SOURCE): Likewise.
9048 (_SVID_SOURCE): Likewise.
9049 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9050 from definition of _DEFAULT_SOURCE.
9051 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9053 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9054 * bits/mman.h [__USE_BSD]: Likewise.
9055 * bits/termios.h [__USE_BSD]: Likewise.
9056 * bits/waitstatus.h [__USE_BSD]: Likewise.
9057 * ctype/ctype.h [__USE_SVID]: Likewise.
9058 * dirent/dirent.h [__USE_BSD]: Likewise.
9059 * grp/grp.h [__USE_SVID]: Likewise.
9060 [__USE_BSD]: Likewise.
9061 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9062 * io/fcntl.h [__USE_BSD]: Likewise.
9063 * io/ftw.h [__USE_BSD]: Likewise.
9064 * io/sys/stat.h [__USE_BSD]: Likewise.
9065 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9066 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9067 * libio/stdio.h [__USE_SVID]: Likewise.
9068 [__USE_BSD]: Likewise.
9069 * math/math.h [__USE_SVID]: Likewise.
9070 [__USE_BSD]: Likewise.
9071 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9072 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9073 * misc/search.h [__USE_SVID]: Likewise.
9074 * misc/sys/mman.h [__USE_BSD]: Likewise.
9075 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9076 * misc/sys/uio.h [__USE_BSD]: Likewise.
9077 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9078 * posix/glob.h [__USE_BSD]: Likewise.
9079 * posix/regex.h [__USE_BSD]: Likewise.
9080 * posix/sys/types.h [__USE_BSD]: Likewise.
9081 [__USE_SVID]: Likewise.
9082 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9083 * posix/sys/wait.h [__USE_BSD]: Likewise.
9084 [__USE_SVID]: Likewise.
9085 * posix/unistd.h [__USE_BSD]: Likewise.
9086 [__USE_SVID]: Likewise.
9087 * pwd/pwd.h [__USE_SVID]: Likewise.
9088 * resolv/netdb.h [__USE_BSD]: Likewise.
9089 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9090 * signal/signal.h [__USE_BSD]: Likewise.
9091 [__USE_SVID]: Likewise.
9092 * socket/sys/socket.h [__USE_BSD]: Likewise.
9093 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9094 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9095 [__USE_SVID]: Likewise.
9096 * string/bits/string2.h [__USE_BSD]: Likewise.
9097 [__USE_SVID]: Likewise.
9098 * string/bits/string3.h [__USE_BSD]: Likewise.
9099 * string/endian.h [__USE_BSD]: Likewise.
9100 * string/string.h [__USE_SVID]: Likewise.
9101 [__USE_BSD]: Likewise.
9102 * string/strings.h [__USE_BSD]: Likewise.
9103 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9104 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9105 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9106 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9107 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9108 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9110 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9112 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9113 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9115 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9116 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9118 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9120 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9121 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9124 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9126 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9127 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9128 * termios/termios.h [__USE_BSD]: Likewise.
9129 * time/sys/time.h [__USE_BSD]: Likewise.
9130 * time/time.h [__USE_BSD]: Likewise.
9131 [__USE_SVID]: Likewise.
9133 * Makefile (subdir_targets): Remove subdir_lint.out.
9135 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9136 (do-tst-printf): Likewise.
9137 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9138 $(objpfx)tst-printf.out.
9140 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9142 * Makerules (check-abi-%): Change target to
9143 $(objpfx)check-abi-%.out.
9144 (check-abi target): Update dependencies.
9145 (check-abi-pattern variable): Redirect output of diff to $@.
9146 (check-abi variable): Likewise.
9147 * elf/Makefile (check-abi): Update dependencies.
9149 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9151 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9152 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9154 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9155 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9156 value has largest subnormal exponent.
9157 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9158 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9159 * sysdeps/aarch64/soft-fp/sfp-machine.h
9160 (_FP_TININESS_AFTER_ROUNDING): New macro.
9161 * sysdeps/alpha/soft-fp/sfp-machine.h
9162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9163 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9165 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9166 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9167 * sysdeps/mips/soft-fp/sfp-machine.h
9168 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9169 * sysdeps/powerpc/soft-fp/sfp-machine.h
9170 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9171 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9173 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9174 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9175 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9176 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9177 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9180 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9183 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9186 2014-02-12 Richard Henderson <rth@redhat.com>
9188 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9189 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9190 * sysdeps/unix/sysv/linux/alpha: Move directory from
9191 ports/sysdeps/unix/sysv/linux/alpha.
9192 * README: Update listing for alpha-*-linux-gnu.
9194 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9196 * include/features.h: Update comment documenting feature test
9198 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9200 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9201 (_SVID_SOURCE): Likewise.
9202 (_DEFAULT_SOURCE): Update description of default features.
9203 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9205 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9206 (S_ISVTX): Likewise.
9207 * manual/math.texi (Mathematical Constants): Likewise.
9208 * manual/signal.texi (Interrupted Primitives): Likewise.
9209 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9210 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9211 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9212 Don't refer to _SVID_SOURCE in warning text.
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9216 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9218 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9219 * sysdeps/mips/dl-lookup.c: Remove.
9220 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9222 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9225 * math/auto-libm-test-in: Add testcase for expl.
9226 * math/auto-libm-test-out: Regenerate.
9227 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9228 calculation of unsafe.
9229 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9231 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9233 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9234 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9235 ports/sysdeps/unix/sysv/linux/aarch64.
9236 * README: Update listing for aarch64*-*-linux-gnu.
9238 2014-02-11 Will Newton <will.newton@linaro.org>
9240 * manual/probes.texi (Mathematical Function Probes): Use
9241 "triggered" instead of "hit".
9243 * manual/probes.texi (Internal Probes): Add documentation
9244 of setjmp, longjmp and longjmp_target probes.
9246 * include/stap-probe.h: Add comment about probe argument
9249 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9250 definition. (tr_where, tr_freehook, tr_mallochook,
9251 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9253 2014-02-11 David S. Miller <davem@davemloft.net>
9255 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9256 processing int_tests.
9258 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9260 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9261 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9262 * sysdeps/unix/sysv/linux/mips: Move directory from
9263 ports/sysdeps/unix/sysv/linux/mips.
9264 * README: Update listing for mips-*-linux-gnu and
9267 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9269 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9270 * sysdeps/unix/sysv/linux/m68k: Move directory from
9271 ports/sysdeps/unix/sysv/linux/m68k.
9272 * README: Update listing for m68k-*-linux-gnu.
9274 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9276 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9277 * sysdeps/unix/sysv/linux/generic: Move directory from
9278 ports/sysdeps/unix/sysv/linux/generic.
9279 * sysdeps/unix/sysv/linux/tile: Move directory from
9280 ports/sysdeps/unix/sysv/linux/tile.
9281 * README: Update listing for tile*-*-linux-gnu.
9283 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9285 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9287 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9288 * catgets/open_catalog.c (__open_catalog): Likewise.
9289 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9290 * debug/confstr_chk.c: Likewise.
9291 * debug/fread_chk.c (__fread_chk): Likewise.
9292 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9293 * debug/getgroups_chk.c: Likewise.
9294 * debug/mbsnrtowcs_chk.c: Likewise.
9295 * debug/mbsrtowcs_chk.c: Likewise.
9296 * debug/mbstowcs_chk.c: Likewise.
9297 * debug/memcpy_chk.c: Likewise.
9298 * debug/memmove_chk.c: Likewise.
9299 * debug/mempcpy_chk.c: Likewise.
9300 * debug/memset_chk.c: Likewise.
9301 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9302 * debug/strcat_chk.c (__strcat_chk): Likewise.
9303 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9304 * debug/strncat_chk.c (__strncat_chk): Likewise.
9305 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9306 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9307 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9308 * debug/wcpncpy_chk.c: Likewise.
9309 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9310 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9311 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9312 * debug/wcsncpy_chk.c: Likewise.
9313 * debug/wcsnrtombs_chk.c: Likewise.
9314 * debug/wcsrtombs_chk.c: Likewise.
9315 * debug/wcstombs_chk.c: Likewise.
9316 * debug/wmemcpy_chk.c: Likewise.
9317 * debug/wmemmove_chk.c: Likewise.
9318 * debug/wmempcpy_chk.c: Likewise.
9319 * debug/wmemset_chk.c: Likewise.
9320 * dirent/scandirat.c (SCANDIRAT): Likewise.
9321 * dlfcn/dladdr1.c (dladdr1): Likewise.
9322 * dlfcn/dladdr.c (dladdr): Likewise.
9323 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9324 * dlfcn/dlerror.c (__dlerror): Likewise.
9325 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9326 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9327 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9328 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9329 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9330 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9331 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9332 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9334 * elf/dl-conflict.c: Likewise.
9335 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9336 * elf/dl-dst.h: Likewise.
9337 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9338 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9339 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9340 * elf/dl-init.c (call_init, _dl_init): Likewise.
9341 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9342 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9343 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9345 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9347 * elf/dl-minimal.c (__libc_memalign): Likewise.
9348 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9349 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9350 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9351 * elf/dl-sym.c (do_sym): Likewise.
9352 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9353 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9354 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9355 * elf/dl-writev.h (_dl_writev): Likewise.
9356 * elf/ldconfig.c (search_dir): Likewise.
9357 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9358 (dl_main): Likewise.
9359 * elf/setup-vdso.h (setup_vdso): Likewise.
9360 * grp/compat-initgroups.c (compat_call): Likewise.
9361 * grp/fgetgrent.c (fgetgrent): Likewise.
9362 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9363 * grp/putgrent.c (putgrent): Likewise.
9364 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9366 * hurd/hurdinit.c: Likewise.
9367 * iconvdata/8bit-gap.c (struct): Likewise.
9368 * iconvdata/ansi_x3.110.c : Likewise.
9369 * iconvdata/big5.c : Likewise.
9370 * iconvdata/big5hkscs.c : Likewise.
9371 * iconvdata/cp1255.c: Likewise.
9372 * iconvdata/cp1258.c : Likewise.
9373 * iconvdata/cp932.c : Likewise.
9374 * iconvdata/euc-cn.c: Likewise.
9375 * iconvdata/euc-jisx0213.c : Likewise.
9376 * iconvdata/euc-jp.c: Likewise.
9377 * iconvdata/euc-jp-ms.c : Likewise.
9378 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9379 * iconvdata/gb18030.c : Likewise.
9380 * iconvdata/gbbig5.c (const): Likewise.
9381 * iconvdata/gbgbk.c: Likewise.
9382 * iconvdata/gbk.c : Likewise.
9383 * iconvdata/ibm1364.c : Likewise.
9384 * iconvdata/ibm930.c : Likewise.
9385 * iconvdata/ibm932.c: Likewise.
9386 * iconvdata/ibm933.c : Likewise.
9387 * iconvdata/ibm935.c : Likewise.
9388 * iconvdata/ibm937.c : Likewise.
9389 * iconvdata/ibm939.c : Likewise.
9390 * iconvdata/ibm943.c: Likewise.
9391 * iconvdata/iso_11548-1.c: Likewise.
9392 * iconvdata/iso-2022-cn.c : Likewise.
9393 * iconvdata/iso-2022-cn-ext.c : Likewise.
9394 * iconvdata/iso-2022-jp-3.c: Likewise.
9395 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9396 * iconvdata/iso-2022-kr.c : Likewise.
9397 * iconvdata/iso646.c (gconv_end): Likewise.
9398 * iconvdata/iso_6937-2.c : Likewise.
9399 * iconvdata/iso_6937.c : Likewise.
9400 * iconvdata/iso8859-1.c: Likewise.
9401 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9402 * iconvdata/shift_jisx0213.c : Likewise.
9403 * iconvdata/sjis.c : Likewise.
9404 * iconvdata/t.61.c : Likewise.
9405 * iconvdata/tcvn5712-1.c : Likewise.
9406 * iconvdata/tscii.c: Likewise.
9407 * iconvdata/uhc.c : Likewise.
9408 * iconvdata/unicode.c (gconv_end): Likewise.
9409 * iconvdata/utf-16.c (gconv_end): Likewise.
9410 * iconvdata/utf-32.c (gconv_end): Likewise.
9411 * iconvdata/utf-7.c (base64): Likewise.
9412 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9413 * iconv/gconv_close.c (__gconv_close): Likewise.
9414 * iconv/gconv_open.c (__gconv_open): Likewise.
9415 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9416 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9417 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9418 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9419 (ucs4le_internal_loop_single): Likewise.
9420 * iconv/iconv.c (iconv): Likewise.
9421 * iconv/iconv_close.c: Likewise.
9422 * iconv/loop.c (SINGLE): Likewise.
9423 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9424 * include/atomic.h: Likewise.
9425 * inet/inet6_option.c (option_alloc): Likewise.
9426 * intl/bindtextdom.c (set_binding_values): Likewise.
9427 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9428 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9429 * intl/localealias.c (read_alias_file): Likewise.
9430 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9431 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9432 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9433 * libio/fmemopen.c (fmemopen): Likewise.
9434 * libio/iofgets.c (_IO_fgets): Likewise.
9435 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9436 * libio/iofgetws.c (fgetws): Likewise.
9437 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9438 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9439 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9440 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9441 * locale/findlocale.c (_nl_find_locale): Likewise.
9442 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9443 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9445 * locale/setlocale.c (setlocale): Likewise.
9446 * login/programs/pt_chown.c (main): Likewise.
9447 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9448 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9449 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9450 (mmap, mmap64, mremap, munmap): Likewise.
9451 * math/e_exp2l.c: Likewise.
9452 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9453 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9454 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9455 * math/s_catan.c (__catan): Likewise.
9456 * math/s_catanf.c (__catanf): Likewise.
9457 * math/s_catanh.c (__catanh): Likewise.
9458 * math/s_catanhf.c (__catanhf): Likewise.
9459 * math/s_catanhl.c (__catanhl): Likewise.
9460 * math/s_catanl.c (__catanl): Likewise.
9461 * math/s_ccosh.c (__ccosh): Likewise.
9462 * math/s_ccoshf.c (__ccoshf): Likewise.
9463 * math/s_ccoshl.c (__ccoshl): Likewise.
9464 * math/s_cexp.c (__cexp): Likewise.
9465 * math/s_cexpf.c (__cexpf): Likewise.
9466 * math/s_cexpl.c (__cexpl): Likewise.
9467 * math/s_clog10.c (__clog10): Likewise.
9468 * math/s_clog10f.c (__clog10f): Likewise.
9469 * math/s_clog10l.c (__clog10l): Likewise.
9470 * math/s_clog.c (__clog): Likewise.
9471 * math/s_clogf.c (__clogf): Likewise.
9472 * math/s_clogl.c (__clogl): Likewise.
9473 * math/s_csin.c (__csin): Likewise.
9474 * math/s_csinf.c (__csinf): Likewise.
9475 * math/s_csinh.c (__csinh): Likewise.
9476 * math/s_csinhf.c (__csinhf): Likewise.
9477 * math/s_csinhl.c (__csinhl): Likewise.
9478 * math/s_csinl.c (__csinl): Likewise.
9479 * math/s_csqrt.c (__csqrt): Likewise.
9480 * math/s_csqrtf.c (__csqrtf): Likewise.
9481 * math/s_csqrtl.c (__csqrtl): Likewise.
9482 * math/s_ctan.c (__ctan): Likewise.
9483 * math/s_ctanf.c (__ctanf): Likewise.
9484 * math/s_ctanh.c (__ctanh): Likewise.
9485 * math/s_ctanhf.c (__ctanhf): Likewise.
9486 * math/s_ctanhl.c (__ctanhl): Likewise.
9487 * math/s_ctanl.c (__ctanl): Likewise.
9488 * math/w_pow.c: Likewise.
9489 * math/w_powf.c: Likewise.
9490 * math/w_powl.c: Likewise.
9491 * math/w_scalb.c (sysv_scalb): Likewise.
9492 * math/w_scalbf.c (sysv_scalbf): Likewise.
9493 * math/w_scalbl.c (sysv_scalbl): Likewise.
9494 * misc/error.c (error_tail): Likewise.
9495 * misc/pselect.c (__pselect): Likewise.
9496 * nis/nis_callback.c (__nis_create_callback): Likewise.
9497 * nis/nis_call.c (__nisfind_server): Likewise.
9498 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9499 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9500 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9501 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9502 * nis/nis_lookup.c (nis_lookup): Likewise.
9503 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9504 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9505 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9506 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9507 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9508 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9509 * nis/nss_compat/compat-initgroups.c (add_group)
9510 (internal_getgrent_r): Likewise.
9511 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9512 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9513 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9514 (internal_getspnam_r): Likewise.
9515 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9516 (_nss_nis_getaliasbyname_r): Likewise.
9517 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9518 (_nss_nis_getntohost_r): Likewise.
9519 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9520 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9521 (_nss_nis_getgrgid_r): Likewise.
9522 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9523 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9524 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9525 (_nss_nis_gethostbyname4_r): Likewise.
9526 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9527 (initgroups_netid): Likewise.
9528 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9529 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9530 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9531 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9532 (_nss_nis_getprotobynumber_r): Likewise.
9533 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9534 (_nss_nis_getsecretkey): Likewise.
9535 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9536 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9537 (_nss_nis_getpwuid_r): Likewise.
9538 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9539 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9540 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9541 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9542 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9543 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9544 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9546 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9547 (_nss_nisplus_getntohost_r): Likewise.
9548 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9549 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9550 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9551 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9553 * nis/nss_nisplus/nisplus-initgroups.c
9554 (_nss_nisplus_initgroups_dyn): Likewise.
9555 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9556 (_nss_nisplus_getnetbyaddr_r): Likewise.
9557 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9558 (_nss_nisplus_getprotobynumber_r): Likewise.
9559 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9560 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9561 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9563 * nis/nss_nisplus/nisplus-service.c
9564 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9565 (_nss_nisplus_getservbyport_r): Likewise.
9566 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9567 (_nss_nisplus_getspnam_r): Likewise.
9568 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9570 * nscd/aicache.c (addhstaiX): Likewise.
9571 * nscd/cache.c (cache_search, prune_cache): Likewise.
9572 * nscd/connections.c (register_traced_file, send_ro_fd)
9573 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9574 (main_loop_epoll): Likewise.
9575 * nscd/grpcache.c (addgrbyX): Likewise.
9576 * nscd/hstcache.c (addhstbyX): Likewise.
9577 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9578 * nscd/mem.c (gc, mempool_alloc): Likewise.
9579 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9580 (addinnetgrX): Likewise.
9581 * nscd/nscd-client.h (__nscd_acquire_maplock)
9582 (__nscd_drop_map_ref): Likewise.
9583 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9584 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9585 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9587 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9589 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9590 (__nscd_get_map_ref): Likewise.
9591 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9592 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9594 * nscd/pwdcache.c (addpwbyX): Likewise.
9595 * nscd/selinux.c (preserve_capabilities): Likewise.
9596 * nscd/servicescache.c (addservbyX): Likewise.
9597 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9598 * posix/fnmatch.c (fnmatch): Likewise.
9599 * posix/getopt.c (_getopt_internal_r): Likewise.
9600 * posix/glob.c (glob, glob_in_dir): Likewise.
9601 * posix/wordexp.c (exec_comm_child): Likewise.
9602 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9603 (getanswer_r, gaih_getanswer_slice): Likewise.
9604 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9605 * resolv/res_init.c: Likewise.
9606 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9607 * resolv/res_query.c (__libc_res_nquery): Likewise.
9608 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9610 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9611 * stdio-common/perror.c (perror): Likewise.
9612 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9613 * stdio-common/tmpnam.c (tmpnam): Likewise.
9614 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9615 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9616 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9618 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9619 * stdlib/putenv.c (putenv): Likewise.
9620 * stdlib/setenv.c (__add_to_environ): Likewise.
9621 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9622 * stdlib/strtol_l.c (INTERNAL): Likewise.
9623 * string/memmem.c (memmem): Likewise.
9624 * string/strerror.c (strerror): Likewise.
9625 * string/strnlen.c (__strnlen): Likewise.
9626 * string/test-memmem.c (simple_memmem): Likewise.
9627 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9628 * sunrpc/pm_getport.c (__get_socket): Likewise.
9629 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9630 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9631 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9632 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9634 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9635 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9636 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9637 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9638 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9639 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9641 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9643 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9644 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9645 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9646 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9647 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9649 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9650 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9651 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9652 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9653 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9654 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9656 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9658 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9664 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9665 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9666 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9670 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9675 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9677 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9679 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9681 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9683 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9685 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9687 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9688 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9689 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9690 * sysdeps/posix/sleep.c: Likewise.
9691 * sysdeps/posix/tempname.c: Likewise.
9692 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9693 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9695 * sysdeps/powerpc/powerpc32/dl-machine.h
9696 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9697 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9698 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9699 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9700 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9702 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9703 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9704 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9705 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9706 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9707 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9708 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9709 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9710 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9711 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9713 (elf_machine_lazy_rel): Likewise.
9714 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9716 (elf_machine_lazy_rel): Likewise.
9717 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9718 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9719 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9720 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9721 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9722 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9723 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9726 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9727 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9728 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9729 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9730 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9731 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9732 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9733 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9734 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9735 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9736 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9738 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9739 (__posix_fallocate64_l64): Likewise.
9740 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9741 (posix_fallocate): Likewise.
9742 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9744 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9745 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9746 (getifaddrs_internal): Likewise.
9747 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9749 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9750 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9751 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9752 (__posix_fallocate64_l64): Likewise.
9753 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9755 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9756 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9757 (__get_clockfreq): Likewise.
9758 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9759 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9760 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9763 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9764 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9765 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9767 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9768 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9769 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9770 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9771 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9772 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9773 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9775 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9776 (posix_fallocate): Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9778 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9779 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9780 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9781 (elf_machine_rela, elf_machine_rela_relative)
9782 (elf_machine_lazy_rel): Likewise.
9783 * time/asctime.c (asctime_internal): Likewise.
9784 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9785 * time/tzset.c (__tzset_parse_tz): Likewise.
9786 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9787 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9788 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9789 * wcsmbs/wcsmbsload.h: Likewise.
9792 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9794 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9795 (arena_get2): Remove THREAD_STATS conditionals.
9796 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9797 (__malloc_stats, int): Likewise.
9799 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9801 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9802 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9804 * manual/setjmp.texi: Fix typos/grammar errors.
9806 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9807 Only return early when n is <= 0. Delete unused return statement.
9809 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9810 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9811 * debug/tst-longjmp_chk3.c: New file.
9813 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9814 (test_main): Replace code with set_fortify_handler call.
9815 * debug/test-strcpy_chk.c: Likewise.
9816 * debug/tst-chk1.c: Likewise.
9817 * debug/tst-longjmp_chk.c: Likewise.
9818 * test-skeleton.c: Include fcntl.h & paths.h
9819 (set_fortify_handler): Define.
9821 * debug/tst-longjmp_chk.c: Add header comment and include
9823 (do_test): Mark static.
9824 (TEST_FUNCTION): Define.
9826 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9827 (IP_PMTUDISC_INTERFACE): Likewise.
9828 (IP_MULTICAST_IF): Likewise.
9829 (IP_MULTICAST_TTL): Likewise.
9830 (IP_MULTICAST_LOOP): Likewise.
9831 (IP_ADD_MEMBERSHIP): Likewise.
9832 (IP_DROP_MEMBERSHIP): Likewise.
9833 (IP_UNBLOCK_SOURCE): Likewise.
9834 (IP_BLOCK_SOURCE): Likewise.
9835 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9836 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9837 (IP_MSFILTER): Likewise.
9838 (MCAST_JOIN_GROUP): Likewise.
9839 (MCAST_BLOCK_SOURCE): Likewise.
9840 (MCAST_UNBLOCK_SOURCE): Likewise.
9841 (MCAST_LEAVE_GROUP): Likewise.
9842 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9843 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9844 (MCAST_MSFILTER): Likewise.
9845 (IP_MULTICAST_ALL): Likewise.
9846 (IP_UNICAST_IF): Likewise.
9848 * timezone/Makefile: Delete $(have-ksh) check.
9849 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9850 * timezone/tzselect.ksh: Add +x mode bits.
9852 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9853 (ANON_INODE_FS_MAGIC): Likewise.
9854 (BDEVFS_MAGIC): Likewise.
9855 (BINFMTFS_MAGIC): Likewise.
9856 (BTRFS_TEST_MAGIC): Likewise.
9857 (CRAMFS_MAGIC_WEND): Likewise.
9858 (DEBUGFS_MAGIC): Likewise.
9859 (ECRYPTFS_SUPER_MAGIC): Likewise.
9860 (EXT3_SUPER_MAGIC): Likewise.
9861 (EXT4_SUPER_MAGIC): Likewise.
9862 (FUTEXFS_SUPER_MAGIC): Likewise.
9863 (HOSTFS_SUPER_MAGIC): Likewise.
9864 (HUGETLBFS_MAGIC): Likewise.
9865 (MINIX3_SUPER_MAGIC): Likewise.
9866 (MTD_INODE_FS_MAGIC): Likewise.
9867 (NILFS_SUPER_MAGIC): Likewise.
9868 (OPENPROM_SUPER_MAGIC): Likewise.
9869 (PIPEFS_MAGIC): Likewise.
9870 (PSTOREFS_MAGIC): Likewise.
9871 (QNX6_SUPER_MAGIC): Likewise.
9872 (RAMFS_MAGIC): Likewise.
9873 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9874 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9875 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9876 (SECURITYFS_MAGIC): Likewise.
9877 (SELINUX_MAGIC): Likewise.
9878 (SMACK_MAGIC): Likewise.
9879 (SOCKFS_MAGIC): Likewise.
9880 (SQUASHFS_MAGIC): Likewise.
9881 (STACK_END_MAGIC): Likewise.
9882 (TMPFS_MAGIC): Likewise.
9883 (USBDEVICE_SUPER_MAGIC): Likewise.
9884 (V9FS_MAGIC): Likewise.
9885 (XENFS_SUPER_MAGIC): Likewise.
9886 (CRAMFS_MAGIC): Fix typo in comment.
9887 (EXT2_SUPER_MAGIC): Update comment.
9888 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9890 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9892 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9893 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9894 * sysdeps/unix/sysv/linux/arm: Move directory from
9895 ports/sysdeps/unix/sysv/linux/arm.
9896 * README: Update listing for arm-*-linux-gnueabi.
9898 * README: Remove mention of am33.
9900 2014-02-07 Roland McGrath <roland@hack.frob.com>
9902 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9903 than the comma operator, to avoid "rhs of comma has no effect"
9905 (__sigfillset, __sigandset, __sigorset): Likewise.
9906 * include/signal.h (__sigemptyset): Likewise.
9907 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9909 2014-02-07 Allan McRae <allan@archlinux.org>
9911 * version.h (RELEASE): Set to "development".
9912 (VERSION): Set to "2.19.90"
9913 * NEWS: Add 2.20 section.
9915 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9918 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9920 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9922 * manual/contrib.texi: Update entry for Carlos O'Donell,
9923 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9925 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9927 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9929 * sysdeps/unix/sysv/linux/kernel-features.h
9930 [__LINUX_KERNEL_VERSION >= 0x020621]
9931 (__ASSUME_PROC_PID_TASK_COMM): Define.
9933 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9936 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9937 conversion when destination buffer does not have enough space.
9938 * libio/tst-ftell-partial-wide.c: New test case.
9939 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9941 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9942 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9943 Leonard and Allan McRae.
9945 2014-02-04 David S. Miller <davem@davemloft.net>
9947 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9950 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9979 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9981 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9982 * shlib-versions: Likewise.
9984 2014-02-04 Roland McGrath <roland@hack.frob.com>
9985 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9988 (abilist-pattern): New variable, set to %-le.abilist.
9990 * Makerules (abilist-pattern): New variable.
9991 (vpath): Use $(abilist-pattern) in place of %.abilist.
9992 (check-abi-% pattern rule): Likewise.
9993 (check-abi, update-abi): Likewise.
9995 2014-02-04 Eric Wong <normalperson@yhbt.net>
9997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9999 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10001 * manual/startup.texi: Add next, previous, and top entries for
10002 the `Program Arguments' and `Environment Variables' nodes.
10004 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10006 * manual/macros.texi: Add comments before MTASC-safety macros.
10008 * manual/users.texi: Document MTASC-safety properties.
10010 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10011 (pthread_getspecific, pthread_setspecific): Format with
10012 @deftypefun, and add @safety note.
10013 * manual/signal.texi: Move comments that analyze the above
10014 functions to their home place.
10016 2014-02-03 Allan McRae <allan@archlinux.org>
10018 * po/sl.po: Update Slovenian translation from translation project.
10020 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10022 * manual/time.texi (timegm): Add missing blank after @c.
10023 Reported by Joseph Myers <joseph@codesourcery.com>.
10025 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10027 * manual/check-safety.sh: New.
10028 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10030 * manual/terminal.texi: Document MTASC-safety properties.
10032 * manual/filesys.texi: Document MTASC-safety properties.
10034 * manual/errno.texi: Document MTASC-safety properties.
10036 * manual/intro.texi: Document safety identifiers and
10039 * manual/string.texi (wcstok): Fix prototype.
10040 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10042 * manual/time.texi: Document MTASC-safety properties.
10044 * manual/string.texi: Document MTASC-safety properties.
10046 * manual/threads.texi: Document MTASC-safety properties.
10048 * manual/stdio.texi: Document MTASC-safety properties.
10050 * manual/syslog.texi: Document MTASC-safety properties.
10052 * manual/sysinfo.texi: Document MTASC-safety properties.
10054 * manual/startup.texi: Document MTASC-safety properties.
10056 * manual/socket.texi: Document MTASC-safety properties.
10058 * manual/signal.texi: Document MTASC-safety properties.
10060 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10062 * manual/setjmp.texi: Document MTASC-safety properties.
10064 * manual/search.texi: Document MTASC-safety properties.
10066 * manual/resource.texi: Document MTASC-safety properties.
10068 * manual/process.texi: Document MTASC-safety properties.
10070 * manual/platform.texi: Document MTASC-safety properties.
10072 * manual/pipe.texi: Document MTASC-safety properties.
10074 * manual/pattern.texi: Document MTASC-safety properties.
10076 * manual/message.texi: Document MTASC-safety properties.
10079 * manual/memory.texi: Document MTASC-safety properties.
10081 * manual/math.texi: Document MTASC-safety properties.
10083 * manual/locale.texi: Document MTASC-safety properties.
10085 * manual/llio.texi: Document MTASC-safety properties.
10087 * manual/libdl.texi: New.
10089 * manual/lang.texi: Document MTASC-safety properties.
10091 * manual/job.texi: Document MTASC-safety properties.
10093 * manual/getopt.texi: Document MTASC-safety properties.
10095 * manual/ctype.texi: Document MTASC-safety properties.
10097 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10100 * csu/libc-tls.c (static_map): Remove variable.
10101 (__libc_setup_tls): Use main executable's link map for TLS data.
10102 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10103 casing for LM_ID_BASE and GL(dl_nns).
10104 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10105 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10106 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10107 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10108 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10110 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10113 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10115 * manual/debug.texi: Document MTASC-safety properties.
10117 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10120 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10121 of __x86_64__ when disabling x87 inline functions.
10123 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10125 * manual/charset.texi: Document MTASC-safety properties.
10127 * manual/crypt.texi: Document MTASC-safety properties.
10129 * manual/conf.texi: Document MTASC-safety properties.
10131 * manual/arith.texi: Document MTASC-safety properties.
10133 * manual/argp.texi: Document MTASC-safety properties.
10135 * manual/macros.texi: Introduce macros to document multi
10136 thread, asynchronous signal and asynchronous cancellation
10138 * manual/intro.texi: Introduce the properties themselves.
10140 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10142 * sysdeps/sh/sh4/Makefile: New file.
10144 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10146 * math/gen-libm-test.pl ($srcdir): New variable.
10147 ($auto_input): Use it.
10149 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10152 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10153 access beyond array bounds when parsing netgroups file.
10155 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10156 the old buffer before realloc.
10158 2014-01-27 Allan McRae <allan@archlinux.org>
10160 * po/fr.po: Update French translation from translation project.
10162 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10164 * sysdeps/sh/libm-test-ulps: Regenerate.
10166 2014-01-24 David S. Miller <davem@davemloft.net>
10168 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10170 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10172 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10173 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10175 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10178 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10179 string pointers after reallocation.
10181 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10183 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10184 __SH4A__ instead of __SH_FPU_ANY__.
10186 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10188 * sysdeps/sh/fpu_control.h: New file.
10189 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10190 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10191 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10192 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10193 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10194 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10195 * sysdeps/sh/sys/ucontext.h: Remove.
10196 * sysdeps/sh/sys: Remove directory.
10198 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10200 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10201 s390/sys/ucontext.h.
10202 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10203 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10205 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10208 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10210 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10213 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10214 Adjust the vDSO correctly for internal calls.
10215 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10217 2014-01-20 Allan McRae <allan@archlinux.org>
10219 * po/ca.po: Update Catalan translation from translation project.
10221 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10223 * sysdeps/s390/sotruss-lib.c: New file.
10225 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10229 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10230 local calls issues by not having a PLT stub required for IFUNC calls.
10231 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10233 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10235 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10236 * math/test-fpucw-static.c: Likewise.
10238 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10241 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10243 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10245 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10246 implementation for powerpc.
10248 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10251 * sysdeps/posix/system.c (__libc_system): Do not enable
10252 asynchronous cancellation.
10254 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10257 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10258 handling only for numbers special also in the IEEE case.
10260 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10262 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10264 2014-01-11 Allan McRae <allan@archlinux.org>
10266 * po/bg.po: Update Bulgarian translation from translation project.
10268 * po/de.po: Update German translation from translation project.
10270 2014-01-10 Roland McGrath <roland@hack.frob.com>
10272 * sysdeps/generic/gcc-compat.h: New file.
10274 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10276 * benchtests/asin-inputs: Correct slow inputs.
10277 * benchtests/acos-inputs: Likewise.
10279 2014-01-10 Allan McRae <allan@archlinux.org>
10281 * po:sv.po: Update Swedish translation from translation project.
10283 * po/vi.po: Update Vietnamese translation from translation project.
10285 * po/eo.po: Update Esperanto translation from translation project.
10287 * po/cs.po: Update Czech translation from translation project.
10289 * po/nl.po: Update Dutch translation from translation project.
10291 * po/pl.po: Update Polish translation from translation project.
10293 * po/ru.po: Update Russian translation from translation project.
10295 * po/uk.po: Update Ukrainian translation from translation project.
10297 2014-01-08 Brooks Moses <bmoses@google.com>
10299 * elf/dl-load.c: Fix comment typo.
10301 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10303 * po/header.pot: Rename to...
10304 * po/pot.header: ... this.
10305 * po/Makefile: Use pot.header.
10307 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10308 Maxim Kuvyrkov <maxim@kugelworks.com>
10311 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10312 SRC and DEST against LEN.
10314 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10317 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10319 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10321 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10325 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10328 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10329 for large positive arguments.
10331 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10335 * math/auto-libm-test-in: Mark various tests with
10336 xfail-rounding:ldbl-128ibm.
10337 * math/auto-libm-test-out: Regenerated.
10340 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10341 Increase overflow threshold.
10343 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10346 * stdio-common/vfprintf.c: Check for integer overflow.
10348 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10350 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10351 the first argument and return value of __tls_get_addr_internal.
10353 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10355 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10356 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10358 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10360 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10361 * sysdeps/s390/rtld-global-offsets.sym: New file.
10362 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10364 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10365 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10368 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10369 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10375 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10376 halfs of GPRs for high_gprs contexts.
10377 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10378 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10380 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10382 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10384 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10385 for high GPRs (uc_high_gprs) and for future extensions
10387 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10388 for future extensions (__reserved).
10389 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10391 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10392 SC_HIGHGPRS offset definition.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10394 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10396 * Versions.def: Add GLIBC_2.19 for libpthread.
10397 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10398 siglongjmp for libpthread with GLIBC_2.19 symver.
10399 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10400 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10401 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10402 * sysdeps/s390/__longjmp.c: New file.
10403 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10404 * sysdeps/s390/longjmp.c: New file.
10405 * sysdeps/s390/setjmp.S: New file.
10406 * sysdeps/s390/sigjmp.S: New file.
10407 * sysdeps/s390/v1-longjmp.c: New file.
10408 * sysdeps/s390/v1-setjmp.h: New file.
10409 * sysdeps/s390/v1-sigjmp.c: New file.
10410 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10411 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10412 GLIBC_2.19 version.
10413 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10414 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10415 versioned symbols for ____longjmp_chk.
10416 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10426 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10427 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10428 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10429 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10430 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10431 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10432 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10433 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10434 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10435 * sysdeps/s390/rtld-__longjmp.c: New file.
10436 * sysdeps/s390/rtld-setjmp.S: New file.
10438 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10441 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10442 Return -__logl (x) for small positive arguments without evaluating
10445 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10447 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10449 (__ptrace_peeksiginfo_args): ... this.
10450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10454 2014-01-06 Allan McRae <allan@archlinux.org>
10456 * inet/netinet/in.h: Fix typo in comment.
10458 2014-01-05 Andreas Jaeger <aj@suse.de>
10460 * sysdeps/i386/fpu/libm-test-ulps: Update.
10462 2014-01-05 Allan McRae <allan@archlinux.org>
10464 * po/libc.pot: Regenerated.
10466 * malloc/memusagestat.c: Fix gettext call formatting.
10468 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10470 * nscd/nscd.c: Improve usage() output.
10472 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10474 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10475 * sysdeps/unix/sysv/linux/configure: Regenerated.
10476 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10477 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10479 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10482 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10483 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10485 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10488 extra tokens at end of #undef directive.
10489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10490 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10491 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10493 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10497 * math/auto-libm-test-in: Mark various tests with
10498 xfail-rounding:ldbl-128ibm.
10499 * math/auto-libm-test-out: Regenerated.
10501 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10504 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10505 numbers with subnormal high part when calculating exponent.
10508 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10512 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10514 (__ieee754_acoshl): Use __log1pl not __log1p.
10516 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10518 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10519 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10520 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10521 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10522 (reused_arena, arena_get2): Convert to GNU style.
10523 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10524 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10525 (memalign_check, __malloc_set_state): Likewise.
10526 * malloc/mallocbug.c (main): Likewise.
10527 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10528 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10529 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10530 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10531 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10532 (__posix_memalign, malloc_info): Likewise.
10533 * malloc/malloc.h: Likewise.
10534 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10535 (mallochook, memalignhook, reallochook, mabort): Likewise.
10536 * malloc/mcheck.h: Likewise.
10537 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10538 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10539 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10540 * malloc/morecore.c (__default_morecore): Likewise.
10541 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10542 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10543 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10544 (print_and_abort): Likewise.
10545 * malloc/obstack.h: Likewise.
10546 * malloc/set-freeres.c (__libc_freeres): Likewise.
10547 * malloc/tst-mallocstate.c (main): Likewise.
10548 * malloc/tst-mtrace.c (main): Likewise.
10549 * malloc/tst-realloc.c (do_test): Likewise.
10551 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10554 * nscd/netgroupcache.c (do_notfound): New function.
10555 (addgetnetgrentX): Use it.
10558 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10559 NSS_STATUS_NOTFOUND.
10561 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10563 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10566 2014-01-01 Allan McRae <allan@archlinux.org>
10568 * scripts/update-copyrights: Update configure input file suffix.
10570 * NEWS: Update copyright year.
10571 * catgets/gencat.c: Likewise.
10572 * csu/version.c: Likewise.
10573 * debug/catchsegv.sh: Likewise.
10574 * debug/pcprofiledump.c: Likewise.
10575 * debug/xtrace.sh: Likewise.
10576 * elf/ldconfig.c: Likewise.
10577 * elf/ldd.bash.in: Likewise.
10578 * elf/pldd.c: Likewise.
10579 * elf/sotruss.ksh: Likewise.
10580 * elf/sprof.c: Likewise.
10581 * iconv/iconv_prog.c: Likewise.
10582 * iconv/iconvconfig.c: Likewise.
10583 * locale/programs/locale.c: Likewise.
10584 * locale/programs/localedef.c: Likewise.
10585 * login/programs/pt_chown.c: Likewise.
10586 * malloc/memusage.sh: Likewise.
10587 * malloc/memusagestat.c: Likewise.
10588 * malloc/mtrace.pl: Likewise.
10589 * manual/libc.texinfo: Likewise.
10590 * nscd/nscd.c: Likewise.
10591 * nss/getent.c: Likewise.
10592 * nss/makedb.c: Likewise.
10593 * posix/getconf.c: Likewise.
10594 * scripts/test-installation.pl: Likewise.
10596 * All files with FSF copyright notices: Update copyright dates
10597 using scripts/update-copyrights.
10598 * intl/plural.c: Regenerated.
10599 * locale/programs/charmap-kw.h: Likewise.
10600 * locale/programs/locfile-kw.h: Likewise.
10602 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10604 * sysdeps/unix/sysv/linux/configure: Regenerated.
10605 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10606 the linux/fanotify.h header.
10607 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10608 HAVE_LINUX_FANOTIFY_H is defined.
10610 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10612 * benchtests/cos-inputs: New inputs.
10613 * benchtests/sin-inputs: Likewise.
10615 * benchtests/atan-inputs: New inputs. Fix name of multiple
10616 precision fallback inputs.
10618 * benchtests/atanh-inputs: New inputs.
10619 * benchtests/tanh-inputs: Likewise.
10621 * benchtests/acosh-inputs: New inputs.
10622 * benchtests/asinh-inputs: Likewise.
10624 * benchtests/cosh-inputs: New inputs.
10625 * benchtests/sinh-inputs: Likewise.
10627 * benchtests/acos-inputs: Add more inputs.
10628 * benchtests/asin-inputs: Likewise.
10630 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10633 * manual/arith.texi: Fix spelling.
10634 * manual/charset.texi: Likewise.
10635 * manual/errno.texi: Likewise.
10636 * manual/filesys.texi: Likewise.
10637 * manual/lang.texi: Likewise.
10638 * manual/llio.texi: Likewise.
10639 * manual/locale.texi: Likewise.
10640 * manual/message.texi: Likewise.
10641 * manual/resource.texi: Likewise.
10642 * manual/search.texi: Likewise.
10643 * manual/setjmp.texi: Likewise.
10644 * manual/stdio.texi: Likewise.
10645 * manual/string.texi: Likewise.
10646 * manual/sysinfo.texi: Likewise.
10647 * manual/time.texi: Likewise.
10649 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10651 * po/sl.po: New file.
10653 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10655 * .gitignore: Add core/.gdbinit/.gdb_history.
10657 2013-12-27 Allan McRae <allan@archlinux.org>
10660 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10661 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10663 2013-12-24 Brooks Moses <bmoses@google.com>
10665 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10666 all compilers that claim C++98 compliance, not just GCC.
10667 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10670 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10672 * NEWS: Restore accidentally deleted bug-fix entries.
10674 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10675 Ondřej Bílka <neleai@seznam.cz>
10678 * malloc/malloc.c (_int_free): Perform sanity check only if we
10681 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10684 * manual/stdio.texi (String Input Conversions): Clarify that character
10685 classes are not supported.
10687 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10691 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10694 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10695 Calculate results for small negative arguments directly rather
10696 than using reflection formula with special underflow handling.
10698 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10699 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10700 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10701 (fchflags): Likewise.
10702 (revoke): Likewise.
10703 (setlogin): Likewise.
10704 (sigaltstack): Likewise.
10706 (sigblock): Remove.
10707 (sigsetmask): Likewise.
10709 (waitpid): Likewise.
10710 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10711 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10713 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10714 * sysdeps/unix/bsd/Makefile: ... here.
10715 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10716 * sysdeps/unix/bsd/Versions: ... here.
10717 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10718 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10719 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10720 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10721 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10722 * sysdeps/unix/bsd/sigblock.c: ... here.
10723 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10724 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10725 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10726 * sysdeps/unix/bsd/sigvec.c: ... here.
10727 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10728 * sysdeps/unix/bsd/tcdrain.c: ... here.
10729 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10730 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10731 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10732 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10733 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10734 * sysdeps/unix/bsd/wait.c: ... here.
10735 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10736 * sysdeps/unix/bsd/wait3.c: ... here.
10737 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10738 * sysdeps/unix/bsd/waitpid.c: ... here.
10740 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10743 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10744 round-to-nearest for [!USE_AS_EXPM1L].
10745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10746 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10747 more tests of exp and exp10. Expect some exp10 tests to miss
10748 exceptions or fail in directed rounding modes.
10749 * math/auto-libm-test-out: Regenerated.
10750 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10751 (exp10_test_tonearest): New function.
10752 (exp10_towardzero_test_data): New array.
10753 (exp10_test_towardzero): New function.
10754 (exp10_downward_test_data): New array.
10755 (exp10_test_downward): New function.
10756 (exp10_upward_test_data): New array.
10757 (exp10_test_upward): New function.
10758 (main): Call the new functions.
10759 * sysdeps/i386/fpu/libm-test-ulps: Update.
10760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10762 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10764 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10765 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10766 * math/auto-libm-test-out: Regenerated.
10767 * math/libm-test.inc (acosh_test_data): Add more tests.
10768 (atanh_test_data): Likewise.
10769 (ceil_test_data): Likewise.
10770 (copysign_test_data): Likewise.
10771 * sysdeps/i386/fpu/libm-test-ulps: Update.
10772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10774 * timezone/checktab.awk: Update from tzcode 2013i.
10775 * timezone/private.h: Likewise.
10776 * timezone/scheck.c: Likewise.
10777 * timezone/tzfile.h: Likewise.
10778 * timezone/tzselect.ksh: Likewise.
10779 * timezone/zdump.c: Likewise.
10780 * timezone/zic.c: Likewise.
10782 * math/auto-libm-test-in: Add tests of cpow.
10783 * math/auto-libm-test-out: Regenerated.
10784 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10785 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10787 (func_calc_desc): Add mpc_cc_c union field.
10788 (test_functions): Add cpow.
10789 (special_fill_2pi): New function.
10790 (special_real_inputs): Add 2pi.
10791 (calc_generic_results): Handle mpc_cc_c.
10792 * sysdeps/i386/fpu/libm-test-ulps: Update.
10793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10795 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10796 csqrt, ctan and ctanh.
10797 * math/auto-libm-test-out: Regenerated.
10798 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10799 (TEST_COND_x86): Likewise.
10800 (ccos_test_data): Use AUTO_TESTS_c_c.
10801 (ccosh_test_data): Likewise.
10802 (cexp_test_data): Likewise.
10803 (clog_test_data): Likewise.
10804 (csqrt_test_data): Likewise.
10805 (ctan_test_data): Likewise.
10806 (ctan_tonearest_test_data): Likewise.
10807 (ctan_towardzero_test_data): Likewise.
10808 (ctan_downward_test_data): Likewise.
10809 (ctan_upward_test_data): Likewise.
10810 (ctanh_test_data): Likewise.
10811 (ctanh_tonearest_test_data): Likewise.
10812 (ctanh_towardzero_test_data): Likewise.
10813 (ctanh_downward_test_data): Likewise.
10814 (ctanh_upward_test_data): Likewise.
10815 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10817 (func_calc_desc): Add mpc_c_c union field.
10818 (FUNC_mpc_c_c): New macro.
10819 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10820 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10822 (special_fill_min_subnorm_p120): New function.
10823 (special_real_inputs): Add min_subnorm_p120.
10824 (calc_generic_results): Handle mpc_c_c.
10825 * sysdeps/i386/fpu/libm-test-ulps: Update.
10826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10828 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10830 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10831 (do_sin_slow): New functions.
10832 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10833 (cslow2, csloww1, csloww2): Use the new functions.
10835 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10836 Use M to change sign of result instead of X. Assume X is
10838 (csloww1): Likewise.
10842 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10843 arguments A and DA.
10847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10849 (sloww1): Don't adjust sign of DX.
10850 (csloww1): Likewise.
10851 (sloww2): Use X directly and don't adjust sign of DX.
10852 (csloww2): Likewise.
10854 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10856 * math/auto-libm-test-in: Add tests of cabs and carg.
10857 * math/auto-libm-test-out: Regenerated.
10858 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10859 (carg_test_data): Likewise.
10860 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10862 (func_calc_desc): Add mpc_c_f union field.
10863 (test_functions): Add cabs and carg.
10864 (calc_generic_results): Handle mpc_c_f.
10866 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10867 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10868 as a macro and a compat symbol.
10869 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10870 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10871 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10872 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10873 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10874 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10876 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10878 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10880 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10882 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10884 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10886 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10887 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10890 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10894 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10896 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10897 trailing whitespace removed.
10898 * scripts/config.guess: Update to version 2013-11-29.
10899 * scripts/config.sub: Update to version 2013-10-01.
10901 * math/auto-libm-test-in: Add tests of sincos.
10902 * math/auto-libm-test-out: Regenerated.
10903 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10906 (func_calc_desc): Add mpfr_f_11 union field.
10907 (test_functions): Add sincos.
10908 (calc_generic_results): Handle mpfr_f_11.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10912 2013-12-19 Andreas Schwab <schwab@suse.de>
10914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10916 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10917 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10918 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10920 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10922 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10923 * sysdeps/i386/fpu/libm-test-ulps: Update.
10924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10927 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10928 round-to-nearest mode when using frndint.
10929 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10930 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10931 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10933 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10935 * math/auto-libm-test-out: Regenerated.
10936 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10937 (TEST_COND_x86): Likewise.
10938 (expm1_tonearest_test_data): New array.
10939 (expm1_test_tonearest): New function.
10940 (expm1_towardzero_test_data): New array.
10941 (expm1_test_towardzero): New function.
10942 (expm1_downward_test_data): New array.
10943 (expm1_test_downward): New function.
10944 (expm1_upward_test_data): New array.
10945 (expm1_test_upward): New function.
10946 (main): Run the new test functions.
10947 * sysdeps/i386/fpu/libm-test-ulps: Update.
10948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950 * include/features.h: Update comment documenting feature test
10951 macros. Mention _DEFAULT_SOURCE in comment.
10952 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10953 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10954 _BSD_SOURCE and _SVID_SOURCE.
10955 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10956 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10957 !_SVID_SOURCE]: Likewise.
10958 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10959 (__USE_POSIX_IMPLICITLY): Define.
10960 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10961 (_POSIX_SOURCE): Undefine and redefine.
10962 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10963 (_POSIX_C_SOURCE): Likewise.
10964 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10965 (Feature Test Macros): Update documentation of default features.
10967 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10969 * benchtests/Makefile: Add bench-strtok.
10970 * benchtests/bench-strtok.c: New file: strtok benchtest.
10972 2013-12-19 Allan McRae <allan@archlinux.org>
10974 * manual/install.texi: Suppress menu for plain text output.
10975 * INSTALL: Regenerated.
10977 2013-12-18 Brooks Moses <bmoses@google.com>
10980 * misc/getauxval.c: Include errno.h.
10981 (__getauxval): Set errno to ENOENT if the requested type is not
10983 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10984 don't declare with __attribute_const__.
10985 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10986 * manual/startup.texi: Document that getauxval sets errno.
10988 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10990 * math/auto-libm-test-in: Add tests of jn and yn.
10991 * math/auto-libm-test-out: Regenerated.
10992 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10993 (yn_test_data): Likewise.
10994 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10996 (func_calc_desc): Add mpfr_if_f union field.
10997 (FUNC_mpfr_if_f): New macro.
10998 (test_functions): Add jn and yn.
10999 (calc_generic_results): Assert type of second input for
11000 mpfr_ff_f. Handle mpfr_if_f.
11001 (output_for_one_input_case): Disable all checking for arguments
11002 fitting floating-point types in case of an integer argument.
11003 * sysdeps/i386/fpu/libm-test-ulps: Update.
11004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11007 Don't expect fegetround reference in libm.so.
11009 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11011 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11012 $(config-cflags-nofma).
11014 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11016 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11017 * math/auto-libm-test-out: Regenerated.
11020 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11021 to determine exponent and adjust argument to have exponent of -1.
11022 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11024 * math/auto-libm-test-out: Regenerated.
11025 * sysdeps/i386/fpu/libm-test-ulps: Update.
11026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11030 * manual/probes.texi: Remove cases when per-thread arenas are
11033 2013-12-18 Andreas Schwab <schwab@suse.de>
11035 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11036 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11037 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11038 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11039 * sysdeps/i386/i686/multiarch/Makefile: Update.
11040 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11042 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11045 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11047 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11050 Support TZ transition times < 00:00:00.
11051 This is needed for version-3 tz-format files; it supports time
11052 stamps past 2037 for America/Godthab (the only entry in the tz
11053 database for which this change is relevant).
11054 * manual/time.texi (TZ Variable): Document transition times
11055 from -167:59:59 through -00:00:01.
11056 * time/tzset.c (tz_rule): Time of day is now signed.
11057 (__tzset_parse_tz): Parse negative time of day.
11059 Document TZ transition times >= 25:00:00.
11060 * manual/time.texi (TZ Variable): Document transition times from
11061 25:00:00 through 167:59:59. These are already supported, and this
11062 support will help with version-3 tz-format files.
11064 * manual/time.texi (TZ Variable): Modernize North America example
11065 to reflect current (i.e., 2007-and-later) daylight saving rules.
11067 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11069 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11072 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11075 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11076 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11077 * sysdeps/unix/bsd/clock.c: Likewise.
11078 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11079 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11080 * sysdeps/unix/bsd/init-posix.c: Likewise.
11081 * sysdeps/unix/bsd/poll.c: Likewise.
11082 * sysdeps/unix/bsd/ptsname.c: Likewise.
11083 * sysdeps/unix/bsd/seekdir.c: Likewise.
11084 * sysdeps/unix/bsd/setegid.c: Likewise.
11085 * sysdeps/unix/bsd/seteuid.c: Likewise.
11086 * sysdeps/unix/bsd/setgid.c: Likewise.
11087 * sysdeps/unix/bsd/setrgid.c: Likewise.
11088 * sysdeps/unix/bsd/setruid.c: Likewise.
11089 * sysdeps/unix/bsd/setsid.c: Likewise.
11090 * sysdeps/unix/bsd/setuid.c: Likewise.
11091 * sysdeps/unix/bsd/sigaction.c: Likewise.
11092 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11093 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11094 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11095 * sysdeps/unix/bsd/telldir.c: Likewise.
11096 * sysdeps/unix/bsd/times.c: Likewise.
11097 * sysdeps/unix/bsd/usleep.c: Likewise.
11099 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11100 ($(objpfx)libbsd-compat.a): Remove rule.
11102 * include/features.h (__FAVOR_BSD): Do not define.
11103 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11104 features conflicting with POSIX.
11105 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11106 (_BSD_SOURCE): Remove description of not being a subset of other
11107 feature test macros.
11108 * manual/job.texi (getpgrp): Do not document BSD version.
11109 (getpgid): Do not document by reference to BSD getpgrp.
11110 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11111 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11112 * signal/signal.h [__FAVOR_BSD]: Likewise.
11113 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11114 instead of making contents conditional on [__FAVOR_BSD].
11115 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11117 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11121 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11124 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11125 values below 2**-450, not 2**-500.
11126 * math/auto-libm-test-in: Don't allow spurious underflow from
11128 * math/auto-libm-test-out: Regenerated.
11132 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11133 values of ha and hb and sort them after adjusting subnormal
11135 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11138 values of ea and eb and sort them after adjusting subnormal
11140 * math/auto-libm-test-in: Do not expect some hypot tests of
11141 subnormals to fail. Add more hypot tests.
11142 * math/auto-libm-test-out: Regenerated.
11144 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11147 * sysdeps/sh/s_fma.c: New file.
11148 * sysdeps/sh/s_fmaf.c: New file.
11149 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11151 * sysdeps/sh/Implies: Add sh/soft-fp.
11153 2013-12-16 Roland McGrath <roland@hack.frob.com>
11155 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11156 level of indirection to members `objname', `errstring', `malloced'.
11157 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11158 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11159 it as the __longjmp argument (just pass 1 instead).
11160 (_dl_catch_error): Initialize C with argument pointers and address of
11161 volatile local ERRCODE rather than copying values out of C at return.
11163 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11165 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11166 * math/auto-libm-test-out: Regenerated.
11167 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11168 (hypot_test_data): Likewise.
11169 (pow_test_data): Likewise.
11170 (pow_tonearest_test_data): Likewise.
11171 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11173 (func_calc_desc): Add mpfr_ff_f union field.
11174 (FUNC_mpfr_ff_f): New macro.
11175 (test_functions): Add atan2, hypot and pow.
11176 (special_fill_min): New function.
11177 (special_fill_minus_min): Likewise.
11178 (special_fill_min_subnorm): Likewise.
11179 (special_fill_minus_min_subnorm): Likewise.
11180 (special_real_inputs): Add min, -min, min_subnorm and
11182 (calc_generic_results): Handle mpfr_ff_f.
11183 * sysdeps/i386/fpu/libm-test-ulps: Update.
11184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11186 2013-12-16 Will Newton <will.newton@linaro.org>
11188 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11189 (Aligned Memory Blocks): Add documentation for aligned_alloc
11190 and suggest it as an alternative to posix_memalign.
11191 (Hooks for Malloc): Document __memalign_hook is also called
11192 for aligned_alloc. (Summary of Malloc): Add summary for
11193 aligned alloc. Document __memalign_hook is also called
11196 2013-12-16 Will Newton <will.newton@linaro.org>
11198 * manual/memory.texi (Malloc Examples): Clarify default
11199 alignment documentation. Suggest posix_memalign rather
11200 than memalign or valloc.
11201 (Aligned Memory Blocks): Remove suggestion to use memalign
11202 or valloc. Remove obsolete comment about BSD.
11203 Document memalign errno values and mark the function obsolete.
11204 Document posix_memalign returned error codes. Mark valloc
11205 as obsolete. (Hooks for Malloc): __memalign_hook is also
11206 called for posix_memalign and valloc.
11207 (Summary of Malloc): Add posix_memalign to function summary.
11208 __memalign_hook is also called for posix_memalign and valloc.
11210 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11212 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11216 (sloww): Use mynumber union. Expand ternary operator into
11217 if-else statements.
11218 (cslow): use mynumber union.
11220 2013-12-16 Allan McRae <allan@archlinux.org>
11222 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11223 * configure: Regenerated.
11225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11228 * configure.ac: Added --enable-maintainer-mode. Check for
11229 autoconf when enabled.
11230 * configure: Regenerated.
11232 * nscd/nscd.service: New file.
11233 * nscd/nscd.tmpfiles: New file.
11235 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11238 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11239 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11240 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11241 (strstr): Add __strstr_sse2_unaligned ifunc.
11242 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11243 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11244 (strcasestr): Remove __strcasestr_sse42 ifunc.
11245 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11249 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11251 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11252 * sysdeps/sh/bits/fenv.h: ... here.
11253 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11255 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11257 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11260 hypotf multiarch implementations.
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11263 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11264 multiarch hypot for PPC64.
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11266 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11268 multiarch hypotf for PPC64.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11271 modff multiarch implementations.
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11275 multiarch modf for PPC64.
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11279 multiarch modff for PPC64.
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11282 and logl multiarch implementations.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11286 multiarch logb for PPC64.
11287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11290 multiarch logb for PPC64.
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11294 multiarch logb for PPC64.
11296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11297 isinff multiarch implementation.
11298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11302 multiarch isinf for PPC64.
11303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11306 multiarch isinff for PPC64.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11309 finitef multiarch implementation.
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11314 multiarch finite for PPC64.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11318 multiarch finitef for PPC64.
11320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11321 lrint multiarch implementation.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11326 multiarch llrint for PPC64.
11327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11328 multiarch lrint for PPC64.
11330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11331 copysignf multiarch implementation.
11332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11337 multiarch copysign for PPC64.
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11339 multiarch copysignf for PPC64.
11341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11342 multiarch implementation.
11343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11351 multiarch llround for PPC64.
11352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11353 multiarch trunc for PPC64.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11355 multiarch truncf for PPC64.
11357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11358 multiarch implementation.
11359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11367 multiarch llround for PPC64.
11368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11369 multiarch round for PPC64.
11370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11371 multiarch roundf for PPC64.
11373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11374 multiarch implementation.
11375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11383 multiarch llround for PPC64.
11384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11385 multiarch floor for PPC64.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11387 multiarch floorf for PPC64.
11389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11390 multiarch implementation.
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11399 multiarch llround for PPC64.
11400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11401 multiarch ceil for PPC64.
11402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11403 multiarch ceilf for PPC64.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11406 multiarch implementation.
11407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11414 multiarch llround for PPC64.
11415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11416 multiarch lround for PPC64.
11418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11419 multiarch implementation.
11420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11427 multiarch isnan for PPC64.
11428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11429 multiarch isnanf for PPC64.
11431 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11432 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11433 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11434 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11435 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11438 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11444 multiarch implementations.
11445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11446 (__libc_ifunc_impl_list): Likewise.
11447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11448 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11450 multiarch stpcpy for PPC64.
11452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11453 multiarch implementations.
11454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11455 (__libc_ifunc_impl_list): Likewise.
11456 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11457 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11458 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11459 multiarch strcpy for PPC64.
11461 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11462 redefine function name.
11463 (_wordcopy_fwd_dest_aligned): Likewise.
11464 (_wordcopy_bwd_aligned): Likewise.
11465 (_wordcopy_bwd_dest_aligned): Likewise.
11466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11467 multiarch implementations.
11468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11469 (__libc_ifunc_impl_list): Likewise.
11470 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11471 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11472 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11474 multiarch wcscpy for PPC64.
11476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11477 multiarch implementations.
11478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11479 (__libc_ifunc_impl_list): Likewise.
11480 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11481 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11483 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11484 multiarch wcscpy for PPC64.
11486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11487 multiarch implementations.
11488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11489 (__libc_ifunc_impl_list): Likewise.
11490 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11491 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11492 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11493 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11494 multiarch wcsrchr for PPC64.
11496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11497 multiarch implementations.
11498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11499 (__libc_ifunc_impl_list): Likewise.
11500 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11501 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11502 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11503 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11504 multiarch wcschr for PPC64.
11506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11507 multiarch implementations.
11508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11509 (__libc_ifunc_impl_list): Likewise.
11510 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11511 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11512 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11513 multiarch strchrnul for PPC64.
11515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11518 (__libc_ifunc_impl_list): Likewise.
11519 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11520 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11521 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11522 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11528 (__libc_ifunc_impl_list): Likewise.
11529 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11530 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11531 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11532 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11536 multiarch implementations.
11537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11538 (__libc_ifunc_impl_list): Likewise.
11539 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11540 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11541 strncasecmp for PPC64.
11542 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11543 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11544 multiarch strncasecmp_l for PPC64.
11546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11547 multiarch implementations.
11548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11549 (__libc_ifunc_impl_list): Likewise.
11550 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11552 multiarch strcasecmp for PPC64.
11553 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11555 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11556 multiarch strcasecmp_l for PPC64.
11558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11561 (__libc_ifunc_impl_list): Likewise.
11562 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11563 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11564 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11570 (__libc_ifunc_impl_list): Likewise.
11571 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11572 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11573 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11579 (__libc_ifunc_impl_list): Likewise.
11580 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11581 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11582 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11583 rawmemrchr for PPC64.
11585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11588 (__libc_ifunc_impl_list): Likewise.
11589 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11590 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11591 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11597 (__libc_ifunc_impl_list): Likewise.
11598 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11599 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11600 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11606 (__libc_ifunc_impl_list): Likewise.
11607 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11608 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11609 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11612 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11613 avoid cretion of __bzero symbol.
11614 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11616 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11618 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11621 multiarch implementations.
11622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11623 (__libc_ifunc_impl_list): Likewise.
11624 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11625 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11626 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11627 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11629 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11630 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11631 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11632 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11633 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11635 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11637 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11641 (__libc_ifunc_impl_list): Likewise.
11642 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11643 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11644 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11645 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11649 multiarch for POWER/PPC64.
11650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11651 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11652 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11653 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11655 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11657 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11658 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11661 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11662 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11663 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11664 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11665 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11666 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11667 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11668 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11669 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11670 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11671 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11672 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11673 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11674 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11675 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11684 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11686 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11688 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11690 * benchtests/Makefile (bench): Add exp2 and log2.
11691 (LDLIBS-bench-exp2): Add -lm.
11692 (LDLIBS-bench-log2): Likewise.
11693 * benchtests/exp2-inputs: New inputs file.
11694 * benchtests/log2-inputs: New inputs file.
11695 * benchtests/log-inputs: Add new inputs.
11696 * benchtests/tan-inputs: Likewise.
11698 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11700 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11702 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11703 (csloww2): ... from here.
11705 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11706 instead of structures.
11707 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11708 (POLYNOMIAL): Likewise.
11709 (TAYLOR_SLOW): Likewise.
11715 (sloww1); Likewise.
11716 (sloww2): Likewise.
11717 (bsloww1): Likewise.
11718 (bsloww2): Likewise.
11719 (cslow2): Likewise.
11720 (csloww): Likewise.
11721 (csloww1): Likewise.
11722 (csloww2): Likewise.
11724 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11726 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11727 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11728 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11729 * malloc/hooks.c (realloc_check): Likewise.
11731 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11732 * malloc/arena.c: Remove PER_THREAD conditional.
11733 [!PER_THREAD]: Remove code.
11734 (ptmalloc_unlock_all2): Likewise.
11735 (ptmalloc_init): Likewise.
11736 (_int_new_arena): Likewise.
11737 (arena_get2): Likewise.
11738 * malloc/hooks.c (__malloc_get_state): Likewise.
11739 (__malloc_set_state): Likewise.
11740 * malloc/malloc.c: Likewise.
11741 (struct malloc_state): Likewise.
11742 (struct malloc_par): Likewise.
11743 (__libc_realloc): Likewise.
11744 (__libc_mallopt): Likewise.
11746 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11748 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11750 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11752 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11753 macro to a function. Check for zero perturb_byte.
11754 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11756 * malloc/malloc.c: (force_reg): Remove.
11757 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11758 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11759 force_reg by atomic_forced_read.
11760 * malloc/arena.c (ptmalloc_init): Likewise.
11761 * malloc/hooks.c (top_check): Likewise.
11763 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11767 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11771 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11773 * math/auto-libm-test-in: Add tests of lgamma.
11774 * math/auto-libm-test-out: Regenerated.
11775 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11776 (M_LOG_2_SQRT_PIl): Likewise.
11777 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11778 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11780 (func_calc_desc): Add mpfr_f_f1 union field.
11781 (ARGS1): New macro.
11789 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11790 (test_functions): Add lgamma.
11791 (calc_generic_results): Handle mpfr_f_f1.
11792 * sysdeps/i386/fpu/libm-test-ulps: Update.
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11795 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11797 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11798 __mpn_add_n for PowerPC64/POWER7.
11799 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11800 __mpn_sub_n for PowerPC64/POWER7.
11802 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11803 __mpn_addmul_1 for PowerPC64.
11804 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11805 __mpn_submul_1 for PowerPC64.
11806 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11808 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11811 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11814 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11816 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11818 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11820 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11821 add multiarch folders.
11822 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11823 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11824 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11825 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11826 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11827 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11828 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11829 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11830 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11831 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11832 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11841 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11847 multiarch __ieee754_hypot for PowerPC32.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11853 multiarch __ieee754_hypotf for PowerPC32.
11855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11856 long_double_symbol only if __logbl is defined.
11857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11858 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11860 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11862 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11863 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11864 path for implementation.
11865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11868 logb, and logbl multiarch implementations for PowerPC32.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11874 multiarch logb for PowerPC32.
11875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11880 multiarch logbf for PowerPC32.
11881 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11885 multiarch logbl implementation for PowerPC32.
11887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11888 and modff multiarch implementations.
11889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11894 multiarch modf for PowerPC32.
11895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11900 multiarch modff for PowerPC32.
11902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11903 and lrintf multiarch implementations.
11904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11909 multiarch lrint for PowerPC32.
11910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11911 file: multiarch lrintf for PowerPC32.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11914 and lroundf multiarch implementations.
11915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11922 multiarch lround for PowerPC32.
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11924 file: multiarch lroundf for PowerPC32.
11926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11927 copysign and copysignf multiarch implementations.
11928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11933 file: multiarch copysign for PowerPC32.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11935 file: multiarch copysignf for PowerPC32.
11937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11938 and truncf multiarch implementations.
11939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11944 multiarch trunc for PowerPC32.
11945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11950 multiarch truncf for PowerPC32.
11952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11953 and roundf multiarch implementations.
11954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11959 multiarch round for PowerPC32.
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11965 multiarch roundf for PowerPC32.
11967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11968 and floorf multiarch implementations.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11974 multiarch floor for PowerPC32.
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11980 multiarch floorf for PowerPC32.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11983 and ceilf multiarch implementations.
11984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11989 multiarch ceil for PowerPC32.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11995 multiarch ceilf for PowerPC32.
11997 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11999 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12000 FINITEF is defined.
12001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12002 and finitef multiarch implementations.
12003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12008 multiarch finite for PowerPC32.
12009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12012 file: multiarch finitef for PowerPC32.
12014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12015 and isinff multiarch implementations.
12016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12021 multiarch isinf for PowerPC32.
12022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12025 multiarch isinff for PowerPC32.
12027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12028 alias when __isnan is defined.
12029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12030 and isnanf multiarch implementations.
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12040 multiarch isnan for PowerPC32.
12041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12046 multiarch isnanf for PowerPC32.
12048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12049 and sqrtf multiarch implementations.
12050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12055 multiarch sqrt for PowerPC32.
12056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12061 multiarch sqrtf for PowerPC32.
12063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12064 and llroundf multiarch implementations.
12065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12072 file: multiarch llround for PowerPC32.
12073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12074 file: multiarch llroundf for PowerPC32.
12076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12077 multiarch PowerPC32 fpu implementations.
12078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12083 multiarch llrint for PowerPC32.
12084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12097 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12100 multiarch wordcopy for PPC32.
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12104 (__libc_ifunc_impl_list): Likewise.
12105 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12106 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12107 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12108 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12109 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12110 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12112 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12120 multiarch wcscpy for PPC32.
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12124 (__libc_ifunc_impl_list): Likewise.
12125 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12126 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12127 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12128 sysdeps/powerpc/power6/wcscpy.c.
12130 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12138 multiarch wcsrchr for PPC32.
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12142 (__libc_ifunc_impl_list): Likewise.
12143 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12144 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12145 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12146 sysdeps/powerpc/power6/wcsrchr.c.
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12154 multiarch wcschr for PPc32.
12155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12158 (__libc_ifunc_impl_list): Likewise.
12159 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12160 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12161 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12162 sysdeps/powerpc/power6/wcschr.c.
12164 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12168 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12169 file: multiarch strchr for PPC32.
12170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12173 (__libc_ifunc_impl_list): Likewise.
12175 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12177 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12179 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12181 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12182 multiarch strchrnul for PPC32.
12183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12186 (__libc_ifunc_impl_list): Likewise.
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12190 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12191 multiarch strncasecmp for PPC32.
12192 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12194 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12195 multiarch strncasecmp_l for PPC32.
12196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12197 strncasecmp multiarch objects.
12198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12199 (__libc_ifunc_impl_list): Likewise.
12201 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12203 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12204 multiarch strncasecmp for PPC32.
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12208 multiarch strcasecmp_l for PPC32.
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12212 (__libc_ifunc_impl_list): Likewise.
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12219 multiarch strncmp for PPC32.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12223 (__libc_ifunc_impl_list): Likewise.
12225 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12226 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12229 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12233 (__libc_ifunc_impl_list): Likewise.
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12243 (__libc_ifunc_impl_list): Likewise.
12245 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12247 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12249 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12250 multiarch rawmemchr for PPC32.
12251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12254 (__libc_ifunc_impl_list): Likewise.
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12261 file: memrchr multiarch for PPC32.
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12265 (__libc_ifunc_impl_list): Likewise.
12267 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12272 multiarch memchr for PPC32.
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12276 (__libc_ifunc_impl_list): Likewise.
12278 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12284 file: multiarch mempcpy for PPC32.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12288 (__libc_ifunc_impl_list): Likewise.
12290 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12293 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12294 multiarch bzero for PPC32.
12295 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12297 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12299 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12300 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12301 file: multiarch memset for PPC32.
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12304 memset multiarch objects.
12305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12306 (__libc_ifunc_impl_list): Likewise.
12308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12313 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12317 (__libc_ifunc_impl_list): Likewise.
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12328 multiarch memcpy for PPC32.
12329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12332 (__libc_ifunc_impl_list): Likewise.
12334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12335 support multiarch for POWER/PPC32.
12336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12338 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12340 Implies file to make multiarch folder appers before the fpu and
12341 default folder for power4 configuration.
12343 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12345 * scripts/bench.pl: Append volatile keyword to type.
12347 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12349 * sysdeps/sh/sotruss-lib.c: New file.
12350 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12352 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12356 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12359 * math/w_tgamma.c: Include <errno.h>.
12360 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12361 * math/w_tgammaf.c: Include <errno.h>.
12362 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12363 * math/w_tgammal.c: Include <errno.h>.
12364 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12365 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12366 underflow. Add more tgamma tests.
12367 * math/auto-libm-test-out: Regenerated.
12368 * sysdeps/i386/fpu/libm-test-ulps: Update.
12369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12371 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12372 sin, sinh, tan, tanh, tgamma, y0 and y1.
12373 * math/auto-libm-test-out: Regenerated.
12374 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12375 (TEST_COND_x86): Likewise.
12376 (M_E2l): Remove macro.
12378 (M_2_SQRT_PIl): Likewise.
12379 (M_SQRT_PIl): Likewise.
12380 (M_1_DIV_El): Likewise.
12381 (log_test_data): Use AUTO_TESTS_f_f.
12382 (log10_test_data): Likewise.
12383 (log1p_test_data): Likewise.
12384 (log2_test_data): Likewise.
12385 (sin_test_data): Likewise.
12386 (sin_tonearest_test_data): Likewise.
12387 (sin_towardzero_test_data): Likewise.
12388 (sin_downward_test_data): Likewise.
12389 (sin_upward_test_data): Likewise.
12390 (sinh_test_data): Likewise.
12391 (sinh_tonearest_test_data): Likewise.
12392 (sinh_towardzero_test_data): Likewise.
12393 (sinh_downward_test_data): Likewise.
12394 (sinh_upward_test_data): Likewise.
12395 (tan_test_data): Likewise.
12396 (tan_tonearest_test_data): Likewise.
12397 (tan_towardzero_test_data): Likewise.
12398 (tan_downward_test_data): Likewise.
12399 (tan_upward_test_data): Likewise.
12400 (tanh_test_data): Likewise.
12401 (tgamma_test_data): Likewise.
12402 (y0_test_data): Likewise.
12403 (y1_test_data): Likewise.
12404 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12405 (special_real_inputs): Add pi/4.
12406 * sysdeps/i386/fpu/libm-test-ulps: Update.
12407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12409 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12411 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12412 "longjmp_target" static probes.
12413 (__longjmp): Rename to __longjmp_symbol.
12414 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12416 on which longjmp to generate.
12417 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12420 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12421 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12422 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12423 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12424 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12427 __longjmp_symbol based on which __longjmp to generate.
12428 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12430 (setjmp): Rename to setjmp_symbol.
12431 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12432 (_setjmp): Rename to _setjmp_symbol.
12433 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12434 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12435 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12436 which setjmp to generate.
12437 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12438 "longjmp_target" static probes.
12440 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12442 * benchtests/README: Add note about output arguments.
12443 * benchtests/bench-sincos.c: Remove file.
12444 * benchtests/sincos-inputs: New file.
12445 * scripts/bench.pl: Identify output arguments and define
12446 static variables for them.
12448 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12451 * Makefile (INSTALL): Add install-plain.texi as the primary
12453 * manual/install-plain.texi: New file.
12454 * manual/install.texi: Include node directive only for
12455 non-plaintext output.
12457 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12459 * stdlib/longlong.h: Update from GCC.
12463 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12464 * math/w_j0f.c (y0f): Likewise.
12465 * math/w_j0l.c (__y0l): Likewise.
12466 * math/w_j1.c (y1): Likewise.
12467 * math/w_j1f.c (y1f): Likewise.
12468 * math/w_j1l.c (__y1l): Likewise
12469 * math/w_jn.c (yn): Likewise.
12470 * math/w_jnf.c (ynf): Likewise.
12471 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12472 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12473 value for Bessel function domain errors outside _SVID_ mode.
12474 Adjust sign of return value for yn (negative integer, 0).
12475 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12476 by zero in return for negative x and set sign appropriately for
12478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12479 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12480 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12481 expectations in error cases.
12482 (y1_test_data): Likewise.
12483 (yn_test_data): Likewise.
12484 * sysdeps/i386/fpu/libm-test-ulps: Update.
12485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12487 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12489 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12490 "64" to "64-v1". Add "64-v2".
12491 (abi-64-options): Rename to ...
12492 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12493 (abi-64-condition): Rename to ...
12494 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12495 (abi-64-ld-soname): Rename to ...
12496 (abi-64-v1-ld-soname): ... this.
12497 (abi-64-v2-options): Define.
12498 (abi-64-v2-condition): Likewise.
12499 (abi-64-v2-ld-soname): Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12501 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12506 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12507 Alan Modra <amodra@gmail.com>
12509 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12510 New versions for use with the ELFv2 ABI.
12511 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12512 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12514 (struct La_ppc64v2_retval): Likewise.
12515 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12516 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12517 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12518 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12519 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12520 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12521 Do not save or restore CR.
12522 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12523 (_dl_profile_resolve): Do no save or restore CR. Support extended
12524 return values for ELFv2 ABI. Fix location of FPR return registers.
12525 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12526 updated values for _CALL_ELF == 2.
12527 (La_regs, La_retval, int_retval): Likewise.
12529 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12531 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12532 (FRAME_MIN_SIZE_PARM): Likewise.
12533 (FRAME_BACKCHAIN): Likewise.
12534 (FRAME_CR_SAVE): Likewise.
12535 (FRAME_LR_SAVE): Likewise.
12536 (FRAME_TOC_SAVE): Likewise.
12537 (FRAME_PARM_SAVE): Likewise.
12538 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12539 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12540 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12541 (call_mcount_parm_offset): New macro.
12542 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12543 (PROF): Use symbolic stack frame offsets.
12544 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12545 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12546 Redefine in terms of FRAME_MIN_SIZE.
12547 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12548 (_dl_profile_resolve): Likewise. Update comment.
12549 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12550 symbols stack frame offsets.
12551 (__sigsetjmp): Likewise.
12552 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12553 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12554 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12555 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12558 (FRAME_BACKCHAIN): Remove.
12559 (FRAME_CR_SAVE): Likewise.
12560 (FRAME_LR_SAVE): Likewise.
12561 (FRAME_COMPILER_DW): Likewise.
12562 (FRAME_LINKER_DW): Likewise.
12563 (FRAME_TOC_SAVE): Likewise.
12564 (FRAME_PARM_SAVE): Likewise.
12565 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12566 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12567 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12569 (CHECK_SP): Use symbolic stack frame offsets.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12571 zone" instead of caller's parameter save area for temp storage.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12573 Likewise. Also, use symbolic stack frame offsets.
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12575 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12576 our own stack frame instead of the caller's.
12577 (__socket): Use symbolic stack frame offsets.
12579 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12580 Alan Modra <amodra@gmail.com>
12582 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12584 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12585 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12586 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12588 (elf_machine_fixup_plt): Call it.
12589 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12591 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12592 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12593 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12594 r2 before calling target.
12596 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12597 Alan Modra <amodra@gmail.com>
12599 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12600 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12601 versions of macros to support ELFv2 ABI.
12602 (LOCALENTRY): New macro.
12603 (ENTRY, EALIGN): Use it.
12604 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12605 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12606 fall through into ENTRY entry point.
12607 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12608 Only define if _CALL_ELF != 2.
12610 (elf_machine_matches_host): Verify ABI version matches.
12611 (RTLD_START): Use LOCALENTRY.
12612 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12613 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12614 (PLT_ENTRY_WORDS): New macro.
12615 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12616 (elf_machine_runtime_setup): Support ELFv2 ABI.
12617 (elf_machine_fixup_plt): Likewise.
12618 (elf_machine_plt_conflict): Likewise.
12619 (resolve_ifunc): Likewise.
12620 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12624 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12626 (makecontext): Support ELFv2 ABI.
12627 * elf/elf.h (EF_PPC64_ABI): Define.
12629 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12631 * sysdeps/powerpc/powerpc64/sysdep.h
12632 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12633 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12634 (ENTRY) [ASSEMBLER]: ... but instead here ...
12635 (EALIGN) [ASSEMBLER]: ... and here.
12636 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12637 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12638 (ENTRY_2) [!ASSEMBLER]: Use it.
12639 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12640 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12641 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12642 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12643 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12645 Use PPC64_LOAD_FUNCPTR.
12647 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12649 2013-12-04 Alan Modra <amodra@gmail.com>
12651 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12652 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12653 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12654 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12657 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12658 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12659 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12660 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12661 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12663 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12666 (__makecontext): Fix incorrect CFI when backtracing out of
12667 context created via makecontext.
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12669 (__setcontext): Fix incorrect CFI during switch to new context.
12670 (__novec_setcontext): Likewise.
12672 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12675 * time/strptime_l.c (__strptime_internal): Allow modifiers
12677 * time/tst-strptime.c (day_tests): Add testcase.
12679 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12681 * scripts/bench.pl: Skip over blank lines.
12683 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12686 * manual/time.texi (Calendar Time): Clarify what timezone functions
12689 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12693 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12695 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12697 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12698 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12699 * debug/memset_chk.c (__memset_chk): Likewise.
12700 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12701 * debug/strncpy_chk.c: Likewise.
12703 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12707 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12708 (__ieee754_exp): For possibly underflowing results, check size of
12709 result and force underflow exception if required.
12710 * math/auto-libm-test-in: Add more tests of exp.
12711 * math/auto-libm-test-out: Regenerated.
12712 * sysdeps/i386/fpu/libm-test-ulps: Update.
12713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12716 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12717 * math/w_exp2f.c (__exp2f): Likewise.
12718 * math/w_exp2l.c (__exp2l): Likewise.
12719 * math/auto-libm-test-in: Do not allow missing errno on exp2
12721 * math/auto-libm-test-out: Regenerated.
12723 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12726 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12727 handle filename validation.
12728 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12731 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12734 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12735 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12736 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12738 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12739 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12740 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12742 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12743 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12744 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12745 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12746 Add more erfc tests.
12747 * math/auto-libm-test-out: Regenerated.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12751 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12752 exp2, expm1, j0 and j1.
12753 * math/auto-libm-test-out: Regenerated.
12754 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12755 (erfc_test_data): Likewise.
12756 (exp_test_data): Likewise.
12757 (exp_tonearest_test_data): Likewise.
12758 (exp_towardzero_test_data): Likewise.
12759 (exp_downward_test_data): Likewise.
12760 (exp_upward_test_data): Likewise.
12761 (exp10_test_data): Likewise.
12762 (exp2_test_data): Likewise.
12763 (expm1_test_data): Likewise.
12764 (j0_test_data): Likewise.
12765 (j1_test_data): Likewise.
12766 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12767 (input_flag_type): Add flag_xfail_rounding.
12768 (input_flags): Add xfail-rounding.
12769 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12770 (output_for_one_input_case): Handle flag_xfail_rounding.
12771 * sysdeps/i386/fpu/libm-test-ulps: Update.
12772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12774 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12777 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12780 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12783 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12784 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12785 (STAP_PROBE0): New macro.
12786 (STAP_PROBE1): Likewise.
12787 (STAP_PROBE2): Likewise.
12788 (STAP_PROBE3): Likewise.
12789 (STAP_PROBE4): Likewise.
12791 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12793 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12795 2013-12-02 Steve Ellcey <sellcey@mips.com>
12797 * benchtests/Makefile (bench): Add sqrt.
12798 (LDLIBS-bench-sqrt): New.
12799 * benchtests/sqrt-input: New.
12801 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12803 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12804 (GAIH_EAI): Likewise.
12805 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12806 (gaih_inet): Likewise.
12807 (getaddrinfo): Don't use GAIH_EAI.
12809 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12810 (struct gaih): Remove definition.
12812 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12814 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12815 Use HERRNOP directly.
12817 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12821 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12823 * math/gen-auto-libm-tests.c (test_functions): Add more
12824 single-argument functions.
12825 (special_fill_pi_2): New function.
12826 (special_fill_minus_pi_2): Likewise.
12827 (special_fill_pi_6): Likewise.
12828 (special_fill_minus_pi_6): Likewise.
12829 (special_fill_pi_3): Likewise.
12830 (special_fill_2pi_3): Likewise.
12831 (special_fill_e): Likewise.
12832 (special_fill_1_e): Likewise.
12833 (special_fill_e_minus_1): Likewise.
12834 (special_real_inputs): Add more special inputs.
12835 (output_for_one_input_case): Do not require ERANGE on underflow to
12836 zero if round-to-nearest result does not underflow to zero, unless
12837 exact results required.
12838 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12839 atan, atanh, cbrt, cos and cosh.
12840 * math/auto-libm-test-out: Regenerated.
12841 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12842 (acos_tonearest_test_data): Likewise.
12843 (acos_towardzero_test_data): Likewise.
12844 (acos_downward_test_data): Likewise.
12845 (acos_upward_test_data): Likewise.
12846 (acosh_test_data): Likewise.
12847 (asin_test_data): Likewise.
12848 (asin_tonearest_test_data): Likewise.
12849 (asin_towardzero_test_data): Likewise.
12850 (asin_upward_test_data): Likewise.
12851 (asinh_test_data): Likewise.
12852 (atan_test_data): Likewise.
12853 (atanh_test_data): Likewise.
12854 (cbrt_test_data): Likewise.
12855 (cos_test_data): Likewise.
12856 (cos_tonearest_test_data): Likewise.
12857 (cos_towardzero_test_data): Likewise.
12858 (cos_downward_test_data): Likewise.
12859 (cos_upward_test_data): Likewise.
12860 (cosh_test_data): Likewise.
12861 (cosh_tonearest_test_data): Likewise.
12862 (cosh_towardzero_test_data): Likewise.
12863 (cosh_downward_test_data): Likewise.
12864 (cosh_upward_test_data): Likewise.
12865 * sysdeps/i386/fpu/libm-test-ulps: Update.
12866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12868 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12871 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12872 * math/w_exp10f.c (__exp10f): Likewise.
12873 * math/w_exp10l.c (__exp10l): Likewise.
12874 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12875 errno settings in existing tests.
12878 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12879 precision control set to double precision.
12880 * sysdeps/i386/fpu/w_sqrt.c: New file.
12881 * math/auto-libm-test-in: Add more tests.
12882 * math/auto-libm-test-out: Update.
12884 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12885 (sqrt_test_tonearest): New function.
12886 (sqrt_towardzero_test_data): New variable.
12887 (sqrt_test_towardzero): New function.
12888 (sqrt_downward_test_data): New variable.
12889 (sqrt_test_downward): New function.
12890 (sqrt_upward_test_data): New variable.
12891 (sqrt_test_upward): New function.
12892 (main): Call the new functions.
12894 * math/gen-auto-libm-tests.c: New file.
12895 * math/auto-libm-test-in: Likewise.
12896 * math/auto-libm-test-out: New generated file.
12897 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12899 (%beautify): Add generated representations of zero.
12900 (top level): Set $auto_input and call parse_auto_input.
12901 (beautify): Remove trailing "f" from hex float constants.
12902 (parse_args): Handle XFAIL_TEST.
12903 (convert_condition): New function.
12904 (or_value): Likewise.
12905 (or_cond_value): Likewise.
12906 (generate_testfile): Handle AUTO_TESTS_* lines.
12907 (parse_auto_input): New function.
12908 * math/libm-test.inc (XFAIL_TEST): New macro.
12909 (ERRNO_UNCHANGED): Update value.
12910 (ERRNO_EDOM): Likewise.
12911 (ERRNO_ERANGE): Likewise.
12912 (IGNORE_RESULT): Likewise.
12913 (TEST_COND_flt_32): New macro.
12914 (TEST_COND_dbl_64): Likewise.
12915 (TEST_COND_ldbl_96_intel): Likewise.
12916 (TEST_COND_ldbl_96_m68k): Likewise.
12917 (TEST_COND_ldbl_128): Likewise.
12918 (TEST_COND_ldbl_128ibm): Likewise.
12919 (TEST_COND_long32): Likewise.
12920 (TEST_COND_long64): Likewise.
12921 (TEST_COND_before_rounding): Likewise.
12922 (TEST_COND_after_rounding): Likewise.
12923 (enable_test): Handle XFAIL_TEST flag.
12924 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12925 with finite results.
12926 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12927 auto-libm-test-out.
12929 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12930 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12933 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12934 __tls_get_addr_internal instead of __tls_get_offset in order to
12935 avoid GOT pointer dependency. Make rtld export
12936 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12937 __tls_get_addr since we are a __tls_get_offset platform.
12938 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12939 GOT pointer being set up before.
12940 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12942 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12944 * manual/math.texi (Errors in Math Functions): Document accuracy
12948 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12949 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12952 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12954 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12965 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12966 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12967 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12968 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12969 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12971 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12973 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12975 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12977 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12978 atomic-feupdateenv and flt-rounds.
12979 * sysdeps/powerpc/nofpu/Versions (libc): Add
12980 __atomic_feholdexcept, __atomic_feclearexcept,
12981 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12982 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12983 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12984 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12985 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12990 * manual/arith.texi (FP Exceptions): Document that exceptions may
12991 not be raised when matherr is used.
12992 (Math Error Reporting): Document overflow in directed rounding
12993 modes. Document that errno may not be set when finite values are
12994 returned on overflow. Document intent to set errno on underflow
12995 only for underflow to zero.
12998 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12999 round-to-nearest then adjust result for other rounding modes.
13000 * include/fenv.h (fegetround): Use libm_hidden_proto.
13001 * math/fegetround.c (fegetround): Use libm_hidden_def.
13002 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13003 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13004 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13007 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13008 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13009 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13010 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13012 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13015 * nss/Versions (libnss_files): Add
13016 _nss_files_gethostbyname3_r.
13017 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13019 (HOST_DB_LOOKUP): Remove macro.
13020 (_nss_files_gethostbyname_r): Implement function without the
13021 HOST_DB_LOOKUP macro.
13022 (_nss_files_gethostbyname2_r): Likewise.
13024 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13026 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13028 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13030 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13031 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13034 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13036 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13037 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13038 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13039 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13040 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13041 __fe_nomask_env_priv and attribute_hidden.
13042 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13043 (libc_feupdateenv_test_ppc): Likewise.
13044 (libc_feresetround_ppc): Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13046 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13047 compat_symbol macro.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13049 (__fe_nomask_env): Likewise.
13050 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13052 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13054 * string/Makefile: Remove ifunc tests.
13055 * string/test-string.h: Define TEST_IFUNC.
13056 * string/test-bcopy-ifunc.c: Remove.
13057 * string/test-bzero-ifunc.c: Likewise.
13058 * string/test-memccpy-ifunc.c: Likewise.
13059 * string/test-memchr-ifunc.c: Likewise.
13060 * string/test-memcmp-ifunc.c: Likewise.
13061 * string/test-memcpy-ifunc.c: Likewise.
13062 * string/test-memmem-ifunc.c: Likewise.
13063 * string/test-memmove-ifunc.c: Likewise.
13064 * string/test-mempcpy-ifunc.c: Likewise.
13065 * string/test-memrchr-ifunc.c: Likewise.
13066 * string/test-memset-ifunc.c: Likewise.
13067 * string/test-rawmemchr-ifunc.c: Likewise.
13068 * string/test-stpcpy-ifunc.c: Likewise.
13069 * string/test-stpncpy-ifunc.c: Likewise.
13070 * string/test-strcasecmp-ifunc.c: Likewise.
13071 * string/test-strcasestr-ifunc.c: Likewise.
13072 * string/test-strcat-ifunc.c: Likewise.
13073 * string/test-strchr-ifunc.c: Likewise.
13074 * string/test-strchrnul-ifunc.c: Likewise.
13075 * string/test-strcmp-ifunc.c: Likewise.
13076 * string/test-strcpy-ifunc.c: Likewise.
13077 * string/test-strcspn-ifunc.c: Likewise.
13078 * string/test-strlen-ifunc.c: Likewise.
13079 * string/test-strncasecmp-ifunc.c: Likewise.
13080 * string/test-strncat-ifunc.c: Likewise.
13081 * string/test-strncmp-ifunc.c: Likewise.
13082 * string/test-strncpy-ifunc.c: Likewise.
13083 * string/test-strnlen-ifunc.c: Likewise.
13084 * string/test-strpbrk-ifunc.c: Likewise.
13085 * string/test-strrchr-ifunc.c: Likewise.
13086 * string/test-strspn-ifunc.c: Likewise.
13087 * string/test-strstr-ifunc.c: Likewise.
13089 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13091 * benchtests/Makefile: Remove ifunc tests.
13092 * benchtests/bench-string.h: Define TEST_IFUNC.
13093 * benchtests/bench-bcopy-ifunc.c: Remove.
13094 * benchtests/bench-bzero-ifunc.c: Likewise.
13095 * benchtests/bench-memccpy-ifunc.c: Likewise.
13096 * benchtests/bench-memchr-ifunc.c: Likewise.
13097 * benchtests/bench-memcmp-ifunc.c: Likewise.
13098 * benchtests/bench-memcpy-ifunc.c: Likewise.
13099 * benchtests/bench-memmem-ifunc.c: Likewise.
13100 * benchtests/bench-memmove-ifunc.c: Likewise.
13101 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13102 * benchtests/bench-memrchr-ifunc.c: Likewise.
13103 * benchtests/bench-memset-ifunc.c: Likewise.
13104 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13105 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13106 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13107 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13108 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13109 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13110 * benchtests/bench-strcat-ifunc.c: Likewise.
13111 * benchtests/bench-strchr-ifunc.c: Likewise.
13112 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13113 * benchtests/bench-strcmp-ifunc.c: Likewise.
13114 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13115 * benchtests/bench-strcpy-ifunc.c: Likewise.
13116 * benchtests/bench-strcspn-ifunc.c: Likewise.
13117 * benchtests/bench-strlen-ifunc.c: Likewise.
13118 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13119 * benchtests/bench-strncat-ifunc.c: Likewise.
13120 * benchtests/bench-strncmp-ifunc.c: Likewise.
13121 * benchtests/bench-strncpy-ifunc.c: Likewise.
13122 * benchtests/bench-strnlen-ifunc.c: Likewise.
13123 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13124 * benchtests/bench-strrchr-ifunc.c: Likewise.
13125 * benchtests/bench-strsep-ifunc.c: Likewise.
13126 * benchtests/bench-strspn-ifunc.c: Likewise.
13127 * benchtests/bench-strstr-ifunc.c: Likewise.
13129 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13131 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13133 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13135 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13136 * rt/aio.h: Likewise.
13137 * sysdeps/gnu/bits/utmp.h: Likewise.
13138 * sysdeps/gnu/bits/utmpx.h: Likewise.
13139 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13140 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13141 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13142 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13143 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13144 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13145 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13146 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13147 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13148 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13149 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13150 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13151 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13153 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13154 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13155 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13156 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13157 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13158 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13159 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13160 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13161 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13162 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13163 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13165 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13166 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13167 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13168 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13170 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13171 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13172 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13173 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13174 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13175 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13176 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13177 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13178 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13179 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13180 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13182 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13185 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13186 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13188 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13190 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13191 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13194 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13197 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13198 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13199 (__fesetround): Remove define.
13200 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13201 rounding and exceptions handling.
13202 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13203 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13204 (__fe_nomask_env): Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13206 __fegetround instead of fegetround.
13207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13210 2013-11-21 Roland McGrath <roland@hack.frob.com>
13212 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13215 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13217 2013-11-21 Meador Inge <meadori@codesourcery.com>
13220 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13221 (encrypt_r): Likewise.
13222 * malloc/obstack.h (obstack_free): Likewise.
13223 * posix/unistd.h (encrypt): Likewise.
13225 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13227 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13228 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13229 DL_CALL_DT_FINI() that call the functions directly.
13230 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13231 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13232 * elf/dl-fini.c: Likewise.
13234 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13236 * malloc/hooks.c (memalign_check): Add alignment rounding.
13237 * malloc/malloc.c (_mid_memalign): New function.
13238 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13239 Implement by calling _mid_memalign.
13240 * manual/probes.texi (Memory Allocation Probes): Remove
13241 memory_valloc_retry and memory_pvalloc_retry.
13243 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13245 * locale/programs/locarchive.c (open_archive): Add const
13246 qualifier to ARCHIVEFNAME and copy default fname to
13250 * libio/tst-widetext.input: Rename Oriya to Odia.
13251 * locale/iso-639.def: Likewise.
13253 * manual/probes.texi (Mathematical Function Probes): Add
13254 documentation for sin, cos, asin and acos probes.
13255 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13256 (__sin32): Add slowasin probe.
13257 (__cos32): Add slowacos probe.
13258 (__mpsin): Add slowsin probe.
13259 (__mpcos): Add slowcos probe.
13261 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13264 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13265 thread-local __sim_exceptions_thread and global
13266 __sim_exceptions_global.
13267 (__sim_disabled_exceptions): Change to thread-local
13268 __sim_disabled_exceptions_thread and global
13269 __sim_disabled_exceptions_global.
13270 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13271 and global __sim_round_mode_global.
13272 (__simulate_exceptions): Use thread-local floating-point state and
13273 set global state from it as needed.
13274 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13275 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13276 __sim_round_mode_thread.
13277 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13278 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13279 and global __sim_exceptions_global.
13280 (__sim_disabled_exceptions): Change to thread-local
13281 __sim_disabled_exceptions_thread and global
13282 __sim_disabled_exceptions_global.
13283 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13284 and global __sim_round_mode_global.
13285 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13286 (SIM_SET_GLOBAL): Likewise.
13287 * sysdeps/powerpc/soft-fp/sfp-machine.h
13288 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13289 __sim_round_mode_thread.
13290 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13291 __sim_disabled_exceptions_thread.
13292 (__sim_exceptions): Change to __sim_exceptions_thread.
13293 (__sim_disabled_exceptions): Change to
13294 __sim_disabled_exceptions_thread.
13295 (__sim_round_mode): Change to __sim_round_mode_thread.
13296 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13297 thread-local floating-point state and set global state from it as
13299 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13300 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13301 (__sim_disabled_exceptions): Remove extern declaration.
13302 (feenableexcept): Use thread-local floating-point state and set
13303 global state from it as needed.
13304 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13305 extern declaration.
13306 (__sim_disabled_exceptions): Likewise.
13307 (__sim_round_mode): Likewise.
13308 (__fegetenv): Use thread-local floating-point state.
13309 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13310 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13311 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13312 floating-point state and set global state from it as needed.
13313 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13314 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13315 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13317 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13318 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13320 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13321 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13322 Use __sim_round_mode_thread.
13323 * math/test-fenv-tls.c: New file.
13324 * math/Makefile (tests): Add test-fenv-tls.
13325 ($(objpfx)test-fenv-tls): Depend on
13326 $(common-objpfx)nptl/libpthread.so.
13328 2013-11-19 Andreas Schwab <schwab@suse.de>
13330 * locale/programs/locale.c (show_info): Decode wordarray elements.
13331 * locale/categories.def (LC_MONETARY): Add element for
13332 _NL_MONETARY_CRNCYSTR.
13333 * locale/C-monetary.c (conversion_rate): New variable.
13334 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13337 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13339 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13340 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13342 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13344 * elf/Makefile (tst-auxv): New test.
13345 * elf/tst-auxv.c: New
13346 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13348 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13350 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13351 (hidden_proto): Caller changed.
13352 (hidden_tls_proto): New macro.
13353 (libc_hidden_tls_proto): Likewise.
13354 (rtld_hidden_tls_proto): Likewise.
13355 (libm_hidden_tls_proto): Likewise.
13356 (libresolv_hidden_tls_proto): Likewise.
13357 (librt_hidden_tls_proto): Likewise.
13358 (libdl_hidden_tls_proto): Likewise.
13359 (libnss_files_hidden_tls_proto): Likewise.
13360 (libnsl_hidden_tls_proto): Likewise.
13361 (libnss_nisplus_hidden_tls_proto): Likewise.
13362 (libutil_hidden_tls_proto): Likewise.
13364 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13367 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13368 (decompose_rpath): Defer expansion to fillin_rpath.
13369 (_dl_init_paths): Pass linkmap to fillin_rpath.
13371 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13373 * benchtests/Makefile: Add strsep.
13374 * benchtests/bench-strsep.c: New file: strsep benchtest.
13375 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13377 2013-11-18 Andreas Schwab <schwab@suse.de>
13379 * locale/programs/locale.c (show_info) [case byte]: Check for
13380 '\377' instead of '\177'.
13381 * locale/C-monetary.c (not_available): Always use "\377".
13382 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13383 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13384 detect unavailable sign_posn locale elements.
13385 * locale/localeconv.c (__localeconv): For grouping and
13386 mon_grouping handle "\177" and "\377" like no grouping.
13387 (INT_ELEM): New macro. Use it to set all numeric members.
13388 * locale/programs/ld-monetary.c (monetary_read)
13389 <tok_mon_grouping>: Normalize single -1 to the empty string.
13390 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13393 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13396 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13397 when we match (nil).
13398 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13400 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13402 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13403 (NO_TEST_INLINE): Update value.
13404 (ERRNO_UNCHANGED): Likewise.
13405 (ERRNO_EDOM): Likewise.
13406 (ERRNO_ERANGE): Likewise.
13407 (IGNORE_RESULT): Likewise.
13408 (check_float_internal): Check signs of NaN results if
13409 TEST_NAN_SIGN used.
13410 (check_complex): Pass TEST_NAN_SIGN flag through to second
13411 check_float_internal call.
13412 (copysign_test_data): Add tests with quiet NaNs as second
13413 argument. Use TEST_NAN_SIGN.
13414 (fabs_test_data): Add test of negative quiet NaN argument. Use
13416 (signbit_test_data): Add tests of quiet NaN argument.
13417 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13419 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13421 (parse_args): Handle function results specified as IGNORE.
13422 * math/libm-test.inc (IGNORE_RESULT): New macro.
13423 (check_float_internal): Do not check numerical result if flag
13425 (check_complex): Pass through IGNORE_RESULT to second
13426 check_float_internal call.
13427 (check_int): Do not check numerical result if flag IGNORE_RESULT
13429 (check_long): Likewise.
13430 (check_bool): Likewise.
13431 (check_longlong): Likewise.
13432 (lrint_test_data): Add tests of infinite and NaN arguments.
13433 (lrint_tonearest_test_data): Likewise.
13434 (lrint_towardzero_test_data): Likewise.
13435 (lrint_downward_test_data): Likewise.
13436 (lrint_upward_test_data): Likewise.
13437 (llrint_test_data): Likewise.
13438 (llrint_tonearest_test_data): Likewise.
13439 (llrint_towardzero_test_data): Likewise.
13440 (llrint_downward_test_data): Likewise.
13441 (llrint_upward_test_data): Likewise.
13442 (lround_test_data): Likewise.
13443 (llround_test_data): Likewise.
13445 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13446 (ERRNO_UNCHANGED): Update value.
13447 (ERRNO_EDOM): Likewise.
13448 (ERRNO_ERANGE): Likewise.
13449 (NO_TEST_INLINE_FLOAT): New macro.
13450 (NO_TEST_INLINE_DOUBLE): Likewise.
13451 (enable_test): New function.
13452 (RUN_TEST_f_f): Check enable_test before running test.
13453 (RUN_TEST_2_f): Likewise.
13454 (RUN_TEST_fff_f): Likewise.
13455 (RUN_TEST_c_f): Likewise.
13456 (RUN_TEST_f_f1): Likewise.
13457 (RUN_TEST_fF_f1): Likewise.
13458 (RUN_TEST_fI_f1): Likewise.
13459 (RUN_TEST_ffI_f1): Likewise.
13460 (RUN_TEST_c_c): Likewise.
13461 (RUN_TEST_cc_c): Likewise.
13462 (RUN_TEST_f_i): Likewise.
13463 (RUN_TEST_f_i_tg): Likewise.
13464 (RUN_TEST_ff_i_tg): Likewise.
13465 (RUN_TEST_f_b): Likewise.
13466 (RUN_TEST_f_b_tg): Likewise.
13467 (RUN_TEST_f_l): Likewise.
13468 (RUN_TEST_f_L): Likewise.
13469 (RUN_TEST_fFF_11): Likewise.
13470 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13472 (cosh_test_data): Likewise.
13473 (exp_test_data): Likewise.
13474 (expm1_test_data): Likewise.
13475 (hypot_test_data): Likewise.
13476 (pow_test_data): Likewise.
13477 (sinh_test_data): Likewise.
13478 (tanh_test_data): Likewise.
13479 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13482 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13483 tests with quiet NaN input and output.
13484 (acosh_test_data): Likewise.
13485 (asin_test_data): Likewise.
13486 (asinh_test_data): Likewise.
13487 (atan_test_data): Likewise.
13488 (atanh_test_data): Likewise.
13489 (atan2_test_data): Likewise.
13490 (cbrt_test_data): Likewise.
13491 (cos_test_data): Likewise.
13492 (cosh_test_data): Likewise.
13493 (erf_test_data): Likewise.
13494 (erfc_test_data): Likewise.
13495 (exp_test_data): Likewise.
13496 (exp10_test_data): Likewise.
13497 (exp2_test_data): Likewise.
13498 (expm1_test_data): Likewise.
13499 (hypot_test_data): Likewise.
13500 (j0_test_data): Likewise.
13501 (j1_test_data): Likewise.
13502 (jn_test_data): Likewise.
13503 (lgamma_test_data): Likewise.
13504 (log_test_data): Likewise.
13505 (log10_test_data): Likewise.
13506 (log1p_test_data): Likewise.
13507 (log2_test_data): Likewise.
13508 (pow_test_data): Likewise.
13509 (scalb_test_data): Likewise.
13510 (sin_test_data): Likewise.
13511 (sincos_test_data): Likewise.
13512 (sinh_test_data): Likewise.
13513 (tan_test_data): Likewise.
13514 (tanh_test_data): Likewise.
13515 (tgamma_test_data): Likewise.
13516 (y0_test_data): Likewise.
13517 (y1_test_data): Likewise.
13518 (yn_test_data): Likewise.
13521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13522 argument being NaN and avoid computations with second argument in
13524 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13525 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13526 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13528 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13530 * locale/iso-639.def: Add Chitwani Tharu (the).
13532 2013-11-14 Andreas Schwab <schwab@suse.de>
13534 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13535 word instead of empty string.
13537 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13540 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13542 (__fe_nomask_env): Likewise.
13544 2013-11-13 Steve Ellcey <sellcey@mips.com>
13546 * benchtests/bench-timing.h: Include time.h.
13548 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13551 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13553 * sysdeps/unix/sysv/linux/configure: Regenerated.
13555 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13558 * stdlib/strtod_l.c (round_and_return): Do not consider
13559 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13560 exponent one less than half the least subnormal exponent.
13561 * stdlib/test-strtod-round-data: Add more tests.
13562 * stdlib/tst-strtod-round.c (tests): Regenerated.
13564 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13567 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13568 (__fe_mask_env): Likewise.
13569 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13570 libm_hidden_proto and add function prototype.
13571 (__fe_mask_env): Add function prototype.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13573 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13575 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13577 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13579 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13581 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13582 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13584 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13586 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13587 of htab_find_slot().
13589 2013-11-11 David S. Miller <davem@davemloft.net>
13592 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13593 symbol in the non-vis3 case in static builds.
13594 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13595 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13596 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13597 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13599 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13602 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13605 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13607 * benchtests/Makefile: Add bench-strtod.
13608 * benchtests/bench-strtod.c: New file: strtod benchtest
13610 2013-11-11 Andreas Schwab <schwab@suse.de>
13613 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13614 terminating NUL in key length.
13616 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13618 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13619 Add artificial ODP entry for vDSO symbol for PPC64.
13620 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13621 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13623 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13626 * nss/getent.c (services_keys): Recognize services starting with digit.
13628 2013-11-06 David S. Miller <davem@davemloft.net>
13631 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13632 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13634 2013-11-06 Will Newton <will.newton@linaro.org>
13636 * manual/memory.texi (Malloc Examples): Remove register
13637 keyword from examples.
13639 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13641 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13643 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13646 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13647 depending on [__GCC_IEC_559 > 0].
13648 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13649 depending on [__GCC_IEC_559_COMPLEX > 0].
13651 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13653 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13656 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13658 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13660 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13663 * malloc/malloc (malloc_info): Do not handle first bin as
13666 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13668 * locale/iso-639.def: Add Central Nahuatl (nhn).
13670 2013-11-01 Bruno Haible <bruno@clisp.org>
13673 * manual/math.texi (BSD Random): Specify range upper bound as
13676 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13678 * locale/iso-639.def: Add Meadow Mari (mhr).
13680 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13682 [BZ #14752], [BZ #15763]
13683 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13685 * rt/tst_shm.c: Add test for escaping directory.
13687 2013-10-31 Andreas Schwab <schwab@suse.de>
13690 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13691 followed by 'x' as part of digit sequence.
13692 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13694 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13697 * configure.ac: allow GNU Make 4.0 and greater.
13698 * configure: Regenerated.
13700 2013-10-30 Will Newton <will.newton@linaro.org>
13703 * malloc/hooks.c (memalign_check): Limit alignment to the
13704 maximum representable power of two.
13705 * malloc/malloc.c (__libc_memalign): Likewise.
13706 * malloc/tst-memalign.c (do_test): Add test for very
13707 large alignment values.
13708 * malloc/tst-posix_memalign.c (do_test): Likewise.
13710 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13713 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13714 (munmap_chunk): Likewise.
13715 (mremap_chunk): Likewise.
13717 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13720 * stdlib/div.c (div): Remove obsolete code.
13721 * stdlib/ldiv.c (ldiv): Likewise.
13722 * stdlib/lldiv.c (lldiv): Likewise.
13724 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13727 * nss/nss_files/files-XXX.c (get_contents_ret): New
13729 (get_contents): New function.
13730 (internal_getent): Use it. Expand size of LINEBUFLEN.
13732 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13734 * configure.in: Moved to ...
13735 * configure.ac: ... here. Change reference to configure.in
13737 * sysdeps/arm/preconfigure.ac: ... here.
13738 configure.in to configure.ac.
13739 * sysdeps/gnu/configure.in: Moved to ...
13740 * sysdeps/gnu/configure.ac: ... here.
13741 * sysdeps/i386/configure.in: Moved to ...
13742 * sysdeps/i386/configure.ac: ... here.
13743 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13744 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13745 * sysdeps/mach/configure.in: Moved to ...
13746 * sysdeps/mach/configure.ac: ... here.
13747 * sysdeps/mach/hurd/configure.in: Moved to ...
13748 * sysdeps/mach/hurd/configure.ac: ... here.
13749 * sysdeps/powerpc/configure.in: Moved to ...
13750 * sysdeps/powerpc/configure.ac: ... here.
13751 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13752 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13753 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13754 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13755 * sysdeps/s390/s390-32/configure.in: Moved to ...
13756 * sysdeps/s390/s390-32/configure.ac: ... here.
13757 * sysdeps/s390/s390-64/configure.in: Moved to ...
13758 * sysdeps/s390/s390-64/configure.ac: ... here.
13759 * sysdeps/sh/configure.in: Moved to ...
13760 * sysdeps/sh/configure.ac: ... here.
13761 * sysdeps/sparc/configure.in: Moved to ...
13762 * sysdeps/sparc/configure.ac: ... here.
13763 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13764 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13765 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13766 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13767 * sysdeps/x86_64/configure.in: Moved to ...
13768 * sysdeps/x86_64/configure.ac: ... here.
13769 * sysdeps/x86_64/preconfigure.in: Moved to ...
13770 * sysdeps/x86_64/preconfigure.ac: ... here.
13771 * aclocal.m4: Change reference to configure.in to configure.ac.
13772 * config.h.in: Likewise.
13773 * manual/install.texi: Likewise.
13774 * manual/maint.texi: Likewise.
13775 * Makefile: Likewise.
13776 * malloc/Makefile: Likewise.
13777 * nscd/Makefile: Likewise.
13778 * Makeconfig: Change reference to configure.in and
13779 preconfigure.in to configure.ac and preconfigure.ac
13781 * INSTALL: Regenerated.
13782 * configure: Likewise.
13783 * sysdeps/gnu/configure: Likewise.
13784 * sysdeps/i386/configure: Likewise.
13785 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13786 * sysdeps/mach/configure: Likewise.
13787 * sysdeps/mach/hurd/configure: Likewise.
13788 * sysdeps/powerpc/configure: Likewise.
13789 * sysdeps/powerpc/powerpc32/configure: Likewise.
13790 * sysdeps/powerpc/powerpc64/configure: Likewise.
13791 * sysdeps/s390/s390-32/configure: Likewise.
13792 * sysdeps/s390/s390-64/configure: Likewise.
13793 * sysdeps/sh/configure: Likewise.
13794 * sysdeps/sparc/configure: Likewise.
13795 * sysdeps/unix/sysv/linux/configure: Likewise.
13796 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13797 * sysdeps/x86_64/configure: Likewise.
13798 * sysdeps/x86_64/preconfigure: Likewise.
13800 2013-10-29 Andreas Schwab <schwab@suse.de>
13802 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13804 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13806 * benchtests/pow-inputs: Add new inputs.
13808 * benchtests/exp-inputs: Add new inputs.
13810 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13811 conditional check for return value.
13812 (__cos32): Likewise.
13814 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13816 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13817 to provide a boost for large inputs with word alignment.
13818 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13819 implementation based on optimized PPC64 strcpy.
13820 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13821 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13822 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13823 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13825 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13828 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13830 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13833 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13834 * time/tst-strptime.c (day_tests): Add testcase.
13836 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13839 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13841 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13844 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13845 MAP_FAILED on error.
13847 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13850 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13851 heap for large requests.
13853 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13856 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13857 result if the result has no associated interface.
13858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13859 interface for all 127.X.Y.Z addresses.
13861 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13863 * locale/iso-639.def: Add Ligurian (lij)
13865 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13868 * sunrpc/rpc_main.c: Document rpcgen -5.
13870 2013-10-19 Michael Stahl <mstahl@redhat.com>
13872 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13874 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13877 * posix/glob.c: Match only directories when trailing slash is present.
13878 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13879 (main): Add testcase.
13881 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13884 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13886 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13888 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13889 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13890 AUTH_DES and cindex for FIPS 140-2.
13891 (DES Encryption): Add cindex FIPS 46-3.
13893 * locale/locarchive.h (struct locarhandle): Add fname.
13894 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13895 if an optional argument was specified to --list-archive,
13897 * locale/programs/locarchive.c (show_archive_content): Take new
13898 argument fname and pass it via ah.fname to open_archive.
13899 * locale/programs/localedef.h: Update decl.
13900 (open_archive): If AH->fname is non-null, open that file
13901 rather than the default file name, and don't ignore ENOENT.
13902 (create_archive): Set AH.fname to NULL.
13903 (delete_locales_from_archive): Likewise.
13904 (add_locales_to_archive): Likewise.
13905 * locale/programs/locfile.c (write_all_categories): Likewise.
13907 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13908 Aldy Hernandez <aldyh@redhat.com>
13910 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13911 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13912 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13913 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13914 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13915 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13916 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13918 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13919 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13920 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13921 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13922 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13923 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13924 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13926 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13928 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13930 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13932 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13933 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13935 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13936 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13937 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13938 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13940 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13941 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13942 * sysdeps/powerpc/preconfigure: Likewise.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13945 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13946 Replace contents of file by #include of <fenv_libc.h>.
13947 * sysdeps/powerpc/soft-fp/sfp-machine.h
13948 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13950 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13958 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13963 Allow copysignl PLT reference to be missing.
13965 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13966 Joseph Myers <joseph@codesourcery.com
13969 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13971 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13973 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13975 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13976 * elf/tst-tls1.c: Likewise.
13977 * elf/tst-tls10.h: Likewise.
13978 * elf/tst-tls14.c: Likewise.
13979 * elf/tst-tls2.c: Likewise.
13980 * elf/tst-tls3.c: Likewise.
13981 * elf/tst-tls4.c: Likewise.
13982 * elf/tst-tls5.c: Likewise.
13983 * elf/tst-tls6.c: Likewise.
13984 * elf/tst-tls7.c: Likewise.
13985 * elf/tst-tls8.c: Likewise.
13986 * elf/tst-tls9.c: Likewise.
13987 * elf/tst-tlsmod1.c: Likewise.
13988 * elf/tst-tlsmod13.c: Likewise.
13989 * elf/tst-tlsmod13a.c: Likewise.
13990 * elf/tst-tlsmod14a.c: Likewise.
13991 * elf/tst-tlsmod16a.c: Likewise.
13992 * elf/tst-tlsmod16b.c: Likewise.
13993 * elf/tst-tlsmod2.c: Likewise.
13994 * elf/tst-tlsmod3.c: Likewise.
13995 * elf/tst-tlsmod4.c: Likewise.
13996 * elf/tst-tlsmod5.c: Likewise.
13997 * elf/tst-tlsmod6.c: Likewise.
13999 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14002 * malloc/malloc.c: remove checks for statistics.
14004 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14007 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14008 * inet/tst-network.c: Add testcase.
14010 2013-10-17 Andreas Schwab <schwab@suse.de>
14013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14014 to determine canonical name.
14016 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14018 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14019 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14042 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14043 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14048 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14077 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14080 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14081 make result into a quiet NaN.
14083 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14085 * soft-fp/adddf3.c: Fix horizontal whitespace.
14086 * soft-fp/addsf3.c: Likewise.
14087 * soft-fp/addtf3.c: Likewise.
14088 * soft-fp/divdf3.c: Likewise.
14089 * soft-fp/divsf3.c: Likewise.
14090 * soft-fp/divtf3.c: Likewise.
14091 * soft-fp/double.h: Likewise.
14092 * soft-fp/eqdf2.c: Likewise.
14093 * soft-fp/eqsf2.c: Likewise.
14094 * soft-fp/eqtf2.c: Likewise.
14095 * soft-fp/extenddftf2.c: Likewise.
14096 * soft-fp/extended.h: Likewise.
14097 * soft-fp/extendsfdf2.c: Likewise.
14098 * soft-fp/extendsftf2.c: Likewise.
14099 * soft-fp/extendxftf2.c: Likewise.
14100 * soft-fp/fixdfdi.c: Likewise.
14101 * soft-fp/fixdfsi.c: Likewise.
14102 * soft-fp/fixdfti.c: Likewise.
14103 * soft-fp/fixsfdi.c: Likewise.
14104 * soft-fp/fixsfsi.c: Likewise.
14105 * soft-fp/fixsfti.c: Likewise.
14106 * soft-fp/fixtfdi.c: Likewise.
14107 * soft-fp/fixtfsi.c: Likewise.
14108 * soft-fp/fixtfti.c: Likewise.
14109 * soft-fp/fixunsdfdi.c: Likewise.
14110 * soft-fp/fixunsdfsi.c: Likewise.
14111 * soft-fp/fixunsdfti.c: Likewise.
14112 * soft-fp/fixunssfdi.c: Likewise.
14113 * soft-fp/fixunssfsi.c: Likewise.
14114 * soft-fp/fixunssfti.c: Likewise.
14115 * soft-fp/fixunstfdi.c: Likewise.
14116 * soft-fp/fixunstfsi.c: Likewise.
14117 * soft-fp/fixunstfti.c: Likewise.
14118 * soft-fp/floatdidf.c: Likewise.
14119 * soft-fp/floatdisf.c: Likewise.
14120 * soft-fp/floatditf.c: Likewise.
14121 * soft-fp/floatsidf.c: Likewise.
14122 * soft-fp/floatsisf.c: Likewise.
14123 * soft-fp/floatsitf.c: Likewise.
14124 * soft-fp/floattidf.c: Likewise.
14125 * soft-fp/floattisf.c: Likewise.
14126 * soft-fp/floattitf.c: Likewise.
14127 * soft-fp/floatundidf.c: Likewise.
14128 * soft-fp/floatundisf.c: Likewise.
14129 * soft-fp/floatunditf.c: Likewise.
14130 * soft-fp/floatunsidf.c: Likewise.
14131 * soft-fp/floatunsisf.c: Likewise.
14132 * soft-fp/floatunsitf.c: Likewise.
14133 * soft-fp/floatuntidf.c: Likewise.
14134 * soft-fp/floatuntisf.c: Likewise.
14135 * soft-fp/floatuntitf.c: Likewise.
14136 * soft-fp/fmadf4.c: Likewise.
14137 * soft-fp/fmasf4.c: Likewise.
14138 * soft-fp/fmatf4.c: Likewise.
14139 * soft-fp/gedf2.c: Likewise.
14140 * soft-fp/gesf2.c: Likewise.
14141 * soft-fp/getf2.c: Likewise.
14142 * soft-fp/ledf2.c: Likewise.
14143 * soft-fp/lesf2.c: Likewise.
14144 * soft-fp/letf2.c: Likewise.
14145 * soft-fp/muldf3.c: Likewise.
14146 * soft-fp/mulsf3.c: Likewise.
14147 * soft-fp/multf3.c: Likewise.
14148 * soft-fp/negdf2.c: Likewise.
14149 * soft-fp/negsf2.c: Likewise.
14150 * soft-fp/negtf2.c: Likewise.
14151 * soft-fp/op-1.h: Likewise.
14152 * soft-fp/op-2.h: Likewise.
14153 * soft-fp/op-4.h: Likewise.
14154 * soft-fp/op-8.h: Likewise.
14155 * soft-fp/op-common.h: Likewise.
14156 * soft-fp/quad.h: Likewise.
14157 * soft-fp/single.h: Likewise.
14158 * soft-fp/soft-fp.h: Likewise.
14159 * soft-fp/sqrtdf2.c: Likewise.
14160 * soft-fp/sqrtsf2.c: Likewise.
14161 * soft-fp/sqrttf2.c: Likewise.
14162 * soft-fp/subdf3.c: Likewise.
14163 * soft-fp/subsf3.c: Likewise.
14164 * soft-fp/subtf3.c: Likewise.
14165 * soft-fp/truncdfsf2.c: Likewise.
14166 * soft-fp/trunctfdf2.c: Likewise.
14167 * soft-fp/trunctfsf2.c: Likewise.
14168 * soft-fp/trunctfxf2.c: Likewise.
14169 * soft-fp/unorddf2.c: Likewise.
14170 * soft-fp/unordsf2.c: Likewise.
14171 * soft-fp/unordtf2.c: Likewise.
14173 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14175 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14176 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14178 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14180 * elf/dl-libc.c: Clear initfini list after freeing.
14182 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14184 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14185 * soft-fp/addsf3.c: Likewise.
14186 * soft-fp/addtf3.c: Likewise.
14187 * soft-fp/divdf3.c: Likewise.
14188 * soft-fp/divsf3.c: Likewise.
14189 * soft-fp/divtf3.c: Likewise.
14190 * soft-fp/double.h: Likewise.
14191 * soft-fp/eqdf2.c: Likewise.
14192 * soft-fp/eqsf2.c: Likewise.
14193 * soft-fp/eqtf2.c: Likewise.
14194 * soft-fp/extenddftf2.c: Likewise.
14195 * soft-fp/extended.h: Likewise.
14196 * soft-fp/extendsfdf2.c: Likewise.
14197 * soft-fp/extendsftf2.c: Likewise.
14198 * soft-fp/extendxftf2.c: Likewise.
14199 * soft-fp/fixdfdi.c: Likewise.
14200 * soft-fp/fixdfsi.c: Likewise.
14201 * soft-fp/fixdfti.c: Likewise.
14202 * soft-fp/fixsfdi.c: Likewise.
14203 * soft-fp/fixsfsi.c: Likewise.
14204 * soft-fp/fixsfti.c: Likewise.
14205 * soft-fp/fixtfdi.c: Likewise.
14206 * soft-fp/fixtfsi.c: Likewise.
14207 * soft-fp/fixtfti.c: Likewise.
14208 * soft-fp/fixunsdfdi.c: Likewise.
14209 * soft-fp/fixunsdfsi.c: Likewise.
14210 * soft-fp/fixunsdfti.c: Likewise.
14211 * soft-fp/fixunssfdi.c: Likewise.
14212 * soft-fp/fixunssfsi.c: Likewise.
14213 * soft-fp/fixunssfti.c: Likewise.
14214 * soft-fp/fixunstfdi.c: Likewise.
14215 * soft-fp/fixunstfsi.c: Likewise.
14216 * soft-fp/fixunstfti.c: Likewise.
14217 * soft-fp/floatdidf.c: Likewise.
14218 * soft-fp/floatdisf.c: Likewise.
14219 * soft-fp/floatditf.c: Likewise.
14220 * soft-fp/floatsidf.c: Likewise.
14221 * soft-fp/floatsisf.c: Likewise.
14222 * soft-fp/floatsitf.c: Likewise.
14223 * soft-fp/floattidf.c: Likewise.
14224 * soft-fp/floattisf.c: Likewise.
14225 * soft-fp/floattitf.c: Likewise.
14226 * soft-fp/floatundidf.c: Likewise.
14227 * soft-fp/floatundisf.c: Likewise.
14228 * soft-fp/floatunsidf.c: Likewise.
14229 * soft-fp/floatunsisf.c: Likewise.
14230 * soft-fp/floatuntidf.c: Likewise.
14231 * soft-fp/floatuntisf.c: Likewise.
14232 * soft-fp/floatuntitf.c: Likewise.
14233 * soft-fp/fmadf4.c: Likewise.
14234 * soft-fp/fmasf4.c: Likewise.
14235 * soft-fp/fmatf4.c: Likewise.
14236 * soft-fp/gedf2.c: Likewise.
14237 * soft-fp/gesf2.c: Likewise.
14238 * soft-fp/getf2.c: Likewise.
14239 * soft-fp/ledf2.c: Likewise.
14240 * soft-fp/lesf2.c: Likewise.
14241 * soft-fp/letf2.c: Likewise.
14242 * soft-fp/muldf3.c: Likewise.
14243 * soft-fp/mulsf3.c: Likewise.
14244 * soft-fp/multf3.c: Likewise.
14245 * soft-fp/negdf2.c: Likewise.
14246 * soft-fp/negsf2.c: Likewise.
14247 * soft-fp/negtf2.c: Likewise.
14248 * soft-fp/op-1.h: Likewise.
14249 * soft-fp/op-2.h: Likewise.
14250 * soft-fp/op-4.h: Likewise.
14251 * soft-fp/op-8.h: Likewise.
14252 * soft-fp/op-common.h: Likewise.
14253 * soft-fp/quad.h: Likewise.
14254 * soft-fp/single.h: Likewise.
14255 * soft-fp/soft-fp.h: Likewise.
14256 * soft-fp/sqrtdf2.c: Likewise.
14257 * soft-fp/sqrtsf2.c: Likewise.
14258 * soft-fp/sqrttf2.c: Likewise.
14259 * soft-fp/subdf3.c: Likewise.
14260 * soft-fp/subsf3.c: Likewise.
14261 * soft-fp/subtf3.c: Likewise.
14262 * soft-fp/truncdfsf2.c: Likewise.
14263 * soft-fp/trunctfdf2.c: Likewise.
14264 * soft-fp/trunctfsf2.c: Likewise.
14265 * soft-fp/trunctfxf2.c: Likewise.
14266 * soft-fp/unorddf2.c: Likewise.
14267 * soft-fp/unordsf2.c: Likewise.
14268 * soft-fp/unordtf2.c: Likewise.
14270 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14273 * misc/error.c (error_tail): Fix possible buffer overflow.
14275 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14278 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14281 2013-10-14 P. J. McDermott <pj@pehjota.net>
14284 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14285 testing pipefail option.
14287 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14289 * soft-fp/double.h: Indent preprocessor directives inside #if.
14290 * soft-fp/extended.h: Likewise.
14291 * soft-fp/op-2.h: Likewise.
14292 * soft-fp/op-4.h: Likewise.
14293 * soft-fp/op-common.h: Likewise.
14294 * soft-fp/quad.h: Likewise.
14295 * soft-fp/single.h: Likewise.
14296 * soft-fp/soft-fp.h: Likewise.
14298 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14300 * iconv/iconv_prog.c: Fix typos.
14301 * stdio-common/psiginfo-data.h: Likewise.
14303 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14306 * locale/setlocale.c: Fix typo.
14308 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14311 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14312 signaling NaN arguments.
14313 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14314 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14317 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14318 unordered operands.
14319 * soft-fp/gesf2.c (__gesf2): Likewise.
14320 * soft-fp/getf2.c (__getf2): Likewise.
14321 * soft-fp/ledf2.c (__ledf2): Likewise.
14322 * soft-fp/lesf2.c (__lesf2): Likewise.
14323 * soft-fp/letf2.c (__letf2): Likewise.
14325 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14326 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14327 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14328 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14329 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14330 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14331 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14332 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14333 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14334 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14335 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14336 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14337 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14338 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14339 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14340 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14341 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14342 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14343 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14344 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14345 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14346 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14347 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14348 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14349 * soft-fp/floattidf.c (__floattidf): Likewise.
14350 * soft-fp/floattisf.c (__floattisf): Likewise.
14351 * soft-fp/floattitf.c (__floattitf): Likewise.
14352 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14353 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14354 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14355 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14356 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14357 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14358 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14359 * soft-fp/gesf2.c (__gesf2): Likewise.
14360 * soft-fp/getf2.c (__getf2): Likewise.
14361 * soft-fp/ledf2.c (__ledf2): Likewise.
14362 * soft-fp/lesf2.c (__lesf2): Likewise.
14363 * soft-fp/letf2.c (__letf2): Likewise.
14365 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14366 Undefine and redefine.
14367 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14368 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14369 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14370 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14371 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14372 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14373 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14374 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14375 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14376 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14377 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14378 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14379 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14380 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14381 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14384 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14385 without decrementing exponent if mantissa >= that for the
14386 denominator, not >.
14387 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14388 denominator, not >. Decrement exponent in < case instead of
14389 incrementing in >= case.
14390 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14391 without decrementing exponent if mantissa >= that for the
14392 denominator, not >.
14394 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14395 computing saturated result for unsigned overflow.
14397 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14398 Jeff Law <law@redhat.com>
14400 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14401 (atan2Mp): Add systemtap probe marker.
14402 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14403 (__ieee754_log): Add systemtap probe marker.
14404 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14405 (atanMp): Add systemtap probe marker.
14406 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14407 (tanMp): Add systemtap probe marker.
14408 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14409 (__slowexp): Add systemtap probe marker.
14410 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14411 (__slowpow): Add systemtap probe marker.
14412 * manual/probes.texi: Document probes.
14414 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14417 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14419 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14421 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14422 written to buffer but not flushed.
14423 * libio/iofwrite_u.c: Likewise.
14424 * libio/iopadn.c: Return bytes returned even if EOF was
14426 * libio/iowpadn.c: Likewise.
14427 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14428 if _IO_padn does not write the whole buffer.
14429 [!COMPILE_WPRINTF] (PAD): Likewise.
14431 2013-10-10 David S. Miller <davem@davemloft.net>
14433 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14436 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14438 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14439 instead of FSF address.
14440 * soft-fp/fixdfti.c: Likewise.
14441 * soft-fp/fixsfti.c: Likewise.
14442 * soft-fp/fixtfti.c: Likewise.
14443 * soft-fp/fixunsdfti.c: Likewise.
14444 * soft-fp/fixunssfti.c: Likewise.
14445 * soft-fp/fixunstfti.c: Likewise.
14446 * soft-fp/floattidf.c: Likewise.
14447 * soft-fp/floattisf.c: Likewise.
14448 * soft-fp/floattitf.c: Likewise.
14449 * soft-fp/floatuntidf.c: Likewise.
14450 * soft-fp/floatuntisf.c: Likewise.
14451 * soft-fp/floatuntitf.c: Likewise.
14452 * soft-fp/trunctfxf2.c: Likewise.
14454 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14455 * soft-fp/fixdfti.c: Likewise.
14456 * soft-fp/fixsfti.c: Likewise.
14457 * soft-fp/fixtfti.c: Likewise.
14458 * soft-fp/fixunsdfti.c: Likewise.
14459 * soft-fp/fixunssfti.c: Likewise.
14460 * soft-fp/fixunstfti.c: Likewise.
14461 * soft-fp/floattidf.c: Likewise.
14462 * soft-fp/floattisf.c: Likewise.
14463 * soft-fp/floattitf.c: Likewise.
14464 * soft-fp/floatuntidf.c: Likewise.
14465 * soft-fp/floatuntisf.c: Likewise.
14466 * soft-fp/floatuntitf.c: Likewise.
14467 * soft-fp/trunctfxf2.c: Likewise.
14469 2013-10-10 David S. Miller <davem@davemloft.net>
14471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14473 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14475 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14476 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14477 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14478 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14479 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14480 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14481 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14483 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14484 for NaNs before doing comparisons on argument.
14485 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14488 2013-10-10 Will Newton <will.newton@linaro.org>
14490 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14491 passed to _int_memalign does not overflow.
14493 2013-10-10 Torvald Riegel <triegel@redhat.com>
14495 * scripts/bench.pl: Add include-sources directive.
14496 * benchtests/README: Update documentation.
14498 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14500 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14501 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14502 instead of FP_INIT_ROUNDMODE.
14503 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14504 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14507 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14508 copy class of input value.
14509 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14510 not handle exceptions.
14511 * soft-fp/negsf2.c (__negsf2): Likewise.
14512 * soft-fp/negtf2.c (__negtf2): Likewise.
14513 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14515 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14517 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14518 semicolon. From Linux kernel.
14520 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14522 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14524 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14527 * manual/socket.texi: Added statement about buffer
14528 for gethostbyname2_r.
14530 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14532 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14533 Use .p2align directive instead, throughout.
14534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14535 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14536 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14537 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14539 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14540 * sysdeps/x86_64/strchr.S: Likewise.
14541 * sysdeps/x86_64/strrchr.S: Likewise.
14543 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14545 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14547 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14549 * sysdeps/generic/math_private.h (__mpsin1): Remove
14551 (__mpcos1): Likewise.
14552 (__mpsin): New argument __range_reduce.
14553 (__mpcos): Likewise.
14554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14555 (slow): Use __mpsin and __mpcos.
14559 (sloww1): Likewise.
14560 (sloww2): Likewise.
14561 (bsloww): Likewise.
14562 (bsloww1): Likewise.
14563 (bsloww2): Likewise.
14564 (cslow2): Likewise.
14565 (csloww): Likewise.
14566 (csloww1): Likewise.
14567 (csloww2): Likewise.
14568 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14569 range_reduce. Merge in __mpsin1.
14570 (__mpcos): Likewise.
14571 (__mpsin1): Remove.
14572 (__mpcos1): Likewise.
14574 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14576 * locale/loadlocale.c (_nl_intern_locale_data): Use
14578 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14579 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14580 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14581 obstack data is appropriately aligned.
14582 (obstack_int32_grow_fast): Likewise.
14583 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14584 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14585 (add_locale_uint32_array): Likewise.
14587 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14589 * benchtests/Makefile: Remove ARGLIST and RET variables.
14590 ($(objpfx)bench-%.c): Pass only function name to the script.
14591 * benchtests/README: Update documentation.
14592 * benchtests/acos-inputs: Add new directives.
14593 * benchtests/acosh-inputs: Likewise.
14594 * benchtests/asin-inputs: Likewise.
14595 * benchtests/asinh-inputs: Likewise.
14596 * benchtests/atan-inputs: Likewise.
14597 * benchtests/atanh-inputs: Likewise.
14598 * benchtests/cos-inputs: Likewise.
14599 * benchtests/cosh-inputs: Likewise.
14600 * benchtests/exp-inputs: Likewise.
14601 * benchtests/log-inputs: Likewise.
14602 * benchtests/pow-inputs: Likewise.
14603 * benchtests/rint-inputs: Likewise.
14604 * benchtests/sin-inputs: Likewise.
14605 * benchtests/sinh-inputs: Likewise.
14606 * benchtests/tan-inputs: Likewise.
14607 * benchtests/tanh-inputs: Likewise.
14608 * scripts/bench.pl: Add support for new directives.
14610 2013-10-07 Alan Modra <amodra@gmail.com>
14612 * README: Fix careless merge.
14614 2013-10-05 Alan Modra <amodra@gmail.com>
14616 * NEWS: Mention powerpc64le support and bugs fixed.
14617 * README: Both big-endian and little-endian powerpc64 supported.
14619 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14621 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14622 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14623 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14624 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14626 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14628 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14631 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14633 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14634 Move -mhard-float appending from
14635 ports/sysdeps/powerpc/powerpc32/Makefile.
14636 [$(with-fp) = yes] (ASFLAGS): Likewise.
14637 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14638 * sysdeps/powerpc/nofpu: Move directory from
14639 ports/sysdeps/powerpc/nofpu.
14640 * sysdeps/powerpc/soft-fp: Move directory from
14641 ports/sysdeps/powerpc/soft-fp.
14642 * sysdeps/powerpc/powerpc32/405: Move directory from
14643 ports/sysdeps/powerpc/powerpc32/405.
14644 * sysdeps/powerpc/powerpc32/440: Move directory from
14645 ports/sysdeps/powerpc/powerpc32/440.
14646 * sysdeps/powerpc/powerpc32/464: Move directory from
14647 ports/sysdeps/powerpc/powerpc32/464.
14648 * sysdeps/powerpc/powerpc32/476: Move directory from
14649 ports/sysdeps/powerpc/powerpc32/476.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14651 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14653 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14655 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14657 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14659 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14660 * README: Update for powerpc-*-linux-gnu software floating point
14663 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14664 case to powerpc/powerpc32*.
14665 * sysdeps/unix/sysv/linux/configure: Regenerated.
14667 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14668 (_FPU_MASK_OM): Define as 0x04.
14669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14677 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14680 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14683 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14684 and setcontext_e500.
14686 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14688 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14690 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14692 * manual/threads.texi (Default Thread Attributes): Fix typo.
14694 2013-10-04 Will Newton <will.newton@linaro.org>
14696 * malloc/Makefile: Add tst-memalign.
14697 * malloc/tst-memalign.c: New file.
14699 * malloc/tst-posix_memalign.c: Add comments.
14700 (do_test): Add comments and call free on all potentially
14701 allocated pointers. Add space after cast.
14703 * malloc/tst-pvalloc.c: Add comments.
14704 (do_test): Add comments and call free on all potentially
14705 allocated pointers. Remove duplicate check for NULL pointer.
14706 Add space after cast.
14708 * malloc/tst-valloc.c: Add comments.
14709 (do_test): Add comments and call free on all potentially
14710 allocated pointers. Remove duplicate check for NULL pointer.
14711 Add space after cast.
14713 2013-10-04 Alan Modra <amodra@gmail.com>
14715 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14716 Use stdint types in rather than __attribute__((mode())).
14717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14719 2013-10-04 Alan Modra <amodra@gmail.com>
14721 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14722 Correct handling of unaligned relocs for little-endian.
14723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14725 2013-10-04 Alan Modra <amodra@gmail.com>
14727 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14728 * configure: Regenerate.
14729 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14730 * shlib-versions: Likewise.
14732 2013-10-04 Alan Modra <amodra@gmail.com>
14734 * string/tester.c (test_memrchr): Increment reported test cycle.
14736 2013-10-04 Alan Modra <amodra@gmail.com>
14738 * string/test-memcpy.c (do_one_test): When reporting errors, print
14739 string address and don't overrun end of string.
14741 2013-10-04 Alan Modra <amodra@gmail.com>
14743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14744 insrdi. Make better use of reg selection to speed exit slightly.
14745 Schedule entry path a little better. Remove useless "are we done"
14746 checks on entry to main loop. Handle wrapping around zero address.
14747 Correct main loop count. Handle single left-over word from main
14748 loop inline rather than by using loop_small. Remove extra word
14749 case in loop_small caused by wrong loop count. Add little-endian
14751 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14754 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14755 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14756 support. Avoid rlwimi.
14757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14759 2013-10-04 Alan Modra <amodra@gmail.com>
14761 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14762 insrdi. Formatting.
14763 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14764 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14765 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14766 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14767 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14768 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14770 2013-10-04 Alan Modra <amodra@gmail.com>
14772 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14774 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14776 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14777 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14778 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14780 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14781 use of regs. Use power7 mtocrf. Tidy function tails.
14783 2013-10-04 Alan Modra <amodra@gmail.com>
14785 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14786 Formatting. Consistently use rXXX register defines or rN defines.
14787 Use early exit labels that avoid restoring unused non-volatile regs.
14788 Make cr field use more consistent with rWORDn compares. Rename
14789 regs used as shift registers for unaligned loop, using rN defines
14790 for short lifetime/multiple use regs.
14791 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14792 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14793 addi 1,1,64 to pop stack frame. Simplify return value code.
14794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14796 2013-10-04 Alan Modra <amodra@gmail.com>
14798 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14799 support. Correct typos, formatting. Optimize tail. Use insrdi
14800 rather than rlwimi.
14801 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14803 little-endian support. Correct typos.
14804 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14805 rather than rlwimi.
14806 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14807 in loop and entry code to keep "and." results.
14808 (strchr): Add little-endian support. Comment. Move cntlzd
14810 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14812 2013-10-04 Alan Modra <amodra@gmail.com>
14814 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14815 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14816 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14817 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14819 2013-10-04 Alan Modra <amodra@gmail.com>
14821 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14822 (rTMP): Define as r11.
14823 (strcmp): Add little-endian support. Optimise tail.
14824 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14825 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14826 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14827 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14828 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14829 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14830 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14832 2013-10-04 Alan Modra <amodra@gmail.com>
14834 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14835 little-endian support. Remove unnecessary "are we done" tests.
14836 Handle "s" wrapping around zero and extremely large "size".
14837 Correct main loop count. Handle single left-over word from main
14838 loop inline rather than by using small_loop. Correct comments.
14839 Delete "zero" tail, use "end_max" instead.
14840 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14842 2013-10-04 Alan Modra <amodra@gmail.com>
14844 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14845 support. Don't branch over align.
14846 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14848 support. Rearrange tmp reg use to suit. Comment.
14849 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14851 2013-10-04 Alan Modra <amodra@gmail.com>
14853 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14855 2013-10-04 Alan Modra <amodra@gmail.com>
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14858 conditional form of branch and link when obtaining pc.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14861 2013-10-04 Alan Modra <amodra@gmail.com>
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14868 2013-10-04 Alan Modra <amodra@gmail.com>
14870 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14871 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14872 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14873 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14874 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14875 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14876 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14877 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14878 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14879 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14881 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14882 Alistair Popple <alistair@ozlabs.au.ibm.com>
14883 Alan Modra <amodra@gmail.com>
14886 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14887 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14888 _dl_hwcap access for little-endian.
14889 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14890 destroy vmx regs when saving unaligned.
14891 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14892 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14893 destroy vmx regs when saving unaligned.
14895 2013-10-04 Alan Modra <amodra@gmail.com>
14897 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14898 Don't use a union to pack hi/low value.
14900 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14902 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14904 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14906 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14907 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14908 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14910 2013-10-04 Alan Modra <amodra@gmail.com>
14912 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14913 constants to usual value for .cst8 section, and remove redundant
14915 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14916 constant for 0x1p52. Load little-endian words of double from
14917 correct stack offsets.
14919 2013-10-04 Alan Modra <amodra@gmail.com>
14921 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14922 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14923 words of double from correct stack offsets.
14924 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14925 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14926 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14930 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14931 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14932 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14933 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14934 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14936 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14937 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14938 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14939 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14940 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14942 2013-10-04 Alan Modra <amodra@gmail.com>
14944 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14945 64-bit int/double union.
14946 (_FPU_SETCW): Likewise.
14947 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14948 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14950 2013-10-04 Alan Modra <amodra@gmail.com>
14952 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14953 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14955 2013-10-04 Alan Modra <amodra@gmail.com>
14957 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14958 use vector int constants.
14959 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14961 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14963 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14964 array with long long.
14965 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14966 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14967 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14968 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14969 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14970 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14971 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14972 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14973 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14974 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14975 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14976 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14977 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14979 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14981 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14982 (__signbit): Likewise. Correct for little-endian.
14983 (__signbitl): Call __signbit.
14984 (lrint): Correct for little-endian.
14985 (lrintf): Call lrint.
14987 2013-10-04 Alan Modra <amodra@gmail.com>
14989 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14990 union 32-bit int array member with 64-bit int array.
14991 (t515, tm256): Double rather than long double.
14992 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14994 2013-10-04 Alan Modra <amodra@gmail.com>
14996 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14998 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15000 version of math_ldbl.h.
15002 2013-10-04 Alan Modra <amodra@gmail.com>
15004 [BZ #15734], [BZ #15735]
15005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15006 all uses of ieee875 long double macros and unions. Simplify test
15007 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15008 ldbl_extract_mantissa value for ix,iy exponents. Properly
15009 normalize after ldbl_extract_mantissa, and don't add hidden bit
15010 already handled. Don't treat low word of ieee854 mantissa like
15011 low word of IBM long double and mask off bit when testing for
15013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15014 all uses of ieee875 long double macros and unions. Simplify tests
15015 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15016 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15017 two1022, instead use their values. Recognise that tests for large
15018 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15019 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15020 Rewrite all uses of ieee875 long double macros and unions. Simplify
15021 test for 0.0L and nan. Correct negation.
15022 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15023 ieee875 long double macros and unions. Correct output for large
15024 magnitude x. Correct absolute value calculation.
15025 (__erfcl): Likewise.
15026 * math/libm-test.inc: Add tests for errors discovered in IBM long
15027 double versions of fmodl, remainderl, erfl and erfcl.
15029 2013-10-04 Alan Modra <amodra@gmail.com>
15031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15032 all uses of ieee854 long double macros and unions. Simplify tests
15033 for long doubles that are fully specified by the high double.
15034 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15036 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15037 Remove dead code too.
15038 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15039 (__ieee754_ynl): Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15043 Remove dead code too.
15044 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15054 Comment on variable precision.
15055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15058 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15062 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15064 2013-10-04 Alan Modra <amodra@gmail.com>
15066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15067 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15068 all uses of ieee854 long double macros and unions.
15069 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15082 Simplify sign and nan test too.
15083 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15085 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15086 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15088 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15089 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15093 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15094 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15095 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15098 2013-10-04 Alan Modra <amodra@gmail.com>
15100 * stdio-common/printf_size.c (__printf_size): Don't use
15101 union ieee854_long_double in fpnum union.
15102 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15103 signbit macro to retrieve sign from long double.
15104 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15105 retrieve sign from long double.
15106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15107 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15109 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15110 * math/test-misc.c (main): Don't use union ieee854_long_double.
15112 2013-10-04 Alan Modra <amodra@gmail.com>
15115 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15116 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15117 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15118 calculation. Remove unnecessary test for denormal exponent.
15119 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15120 Correct handling of denormals. Avoid undefined shift behaviour.
15121 Correct normalisation of low mantissa when low double is denormal.
15122 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15123 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15124 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15125 Correct normalisation of low mantissa. Test for overflow of high
15126 mantissa and normalise.
15127 (ldbl_nearbyint): Use more readable constant for two52.
15128 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15129 (__mpn_construct_long_double): Fix test for overflow of high
15130 mantissa and correct normalisation. Avoid undefined shift.
15132 2013-10-04 Alan Modra <amodra@gmail.com>
15134 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15135 (union ibm_extended_long_double): Define as an array of ieee754_double.
15136 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15137 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15138 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15139 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15141 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15142 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15143 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15144 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15145 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15146 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15148 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15150 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15151 page size instead of calling getpagesize.
15153 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15154 (LOCFILE_ALIGN_MASK): Likewise.
15155 (LOCFILE_ALIGN_UP): Likewise.
15156 (LOCFILE_ALIGNED_P): Likewise.
15157 * locale/programs/ld-collate.c (collate_output): Use the new
15158 macros instead of __alignof__ (int32_t).
15159 * locale/weight.h (findidx): Likewise.
15161 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15164 * manual/string.texi: Fix strncat and wcsncat.
15166 2013-10-03 Brooks Moses <bmoses@google.com>
15169 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15170 * Makerules: ...here, and adjust associated comments.
15172 2013-10-02 Will Newton <will.newton@linaro.org>
15174 * malloc/Makefile: Add tst-pvalloc.
15175 * malloc/tst-pvalloc.c: New file.
15177 2013-10-02 Will Newton <will.newton@linaro.org>
15179 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15180 improve test coverage.
15182 2013-10-02 Will Newton <will.newton@linaro.org>
15184 * malloc/Makefile: Add tst-posix_memalign.
15185 * malloc/tst-posix_memalign.c: New file.
15187 2013-10-01 Eric Blake <eblake@redhat.com>
15189 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15190 Use __THROWNL rather than __THROW on static functions.
15192 2013-09-30 Petr Machata <pmachata@redhat.com>
15194 * elf/elf.h (R_AARCH64_ABS16): New macro.
15195 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15196 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15197 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15198 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15199 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15200 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15201 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15202 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15203 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15204 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15205 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15206 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15207 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15208 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15209 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15210 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15211 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15212 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15213 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15214 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15215 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15216 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15217 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15218 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15219 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15220 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15221 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15222 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15223 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15224 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15225 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15226 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15227 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15228 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15229 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15230 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15231 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15232 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15233 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15234 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15235 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15236 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15237 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15238 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15239 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15240 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15241 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15242 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15243 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15244 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15245 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15246 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15247 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15248 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15249 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15250 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15251 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15252 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15253 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15254 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15255 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15256 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15257 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15258 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15259 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15260 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15261 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15262 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15263 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15264 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15265 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15266 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15267 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15268 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15269 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15270 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15271 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15272 (R_AARCH64_TLSDESC_LDR): Likewise.
15273 (R_AARCH64_TLSDESC_ADD): Likewise.
15274 (R_AARCH64_TLSDESC_CALL): Likewise.
15276 2013-09-30 Andreas Schwab <schwab@suse.de>
15279 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15280 the nss database lookup.
15281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15284 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15286 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15288 2013-09-28 P. J. McDermott <pj@pehjota.net>
15290 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15291 ${Bash-specific parameter/pattern/string} parameter expansion.
15292 * sysdeps/unix/make-syscalls.sh: Likewise.
15294 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15296 * sysdeps/sh/stackguard-macros.h: New file.
15298 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15302 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15303 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15304 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15305 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15307 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15309 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15310 Fix thread ID register.
15312 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15314 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15315 [POSIX || UNIX98]: Require rather than permitting all symbols from
15317 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15318 element of struct sched_param.
15319 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15320 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15321 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15322 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15325 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15327 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15328 argument calculation.
15330 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15332 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15334 [POSIX] (pthread_attr_t): Do not require type.
15335 [POSIX] (pthread_cond_t): Likewise.
15336 [POSIX] (pthread_condattr_t): Likewise.
15337 [POSIX] (pthread_key_t): Likewise.
15338 [POSIX] (pthread_mutex_t): Likewise.
15339 [POSIX] (pthread_mutexattr_t): Likewise.
15340 [POSIX] (pthread_once_t): Likewise.
15341 [POSIX] (pthread_t): Likewise.
15342 [POSIX-based standards] (pthread_atfork): Expect function.
15344 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15345 Richard Sandiford <richard@codesourcery.com>
15347 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15348 (swap_endianness_p): New extern variable.
15349 (set_big_endian): New inline function.
15350 (maybe_swap_uint32): Likewise.
15351 (maybe_swap_uint32_array): Likewise.
15352 (maybe_swap_uint32_obstack): Likewise.
15353 * locale/programs/locfile.c: Include <stdbool.h>.
15354 (swap_endianness_p): New variable.
15355 (add_locale_uint32): Call maybe_swap_uint32.
15356 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15357 (write_locale_data): Call maybe_swap_uint32_array.
15358 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15360 (obstack_int32_grow_fast): Likewise.
15361 (output_weightwc): Call maybe_swap_uint32_obstack.
15362 (collate_output): Likewise.
15363 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15364 (OPT_LITTLE_ENDIAN): Likewise.
15365 (options): Add --little-endian and --big-endian options.
15366 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15367 * locale/programs/locarchive.c: Include "locfile.h".
15371 (create_archive): Use the new macros to access fields of
15372 structures directly mapped from or written to locale archives.
15373 (oldlocrecentcmp): Likewise.
15374 (enlarge_archive): Likewise.
15375 (insert_name): Likewise.
15376 (add_alias): Likewise.
15377 (add_locale): Likewise.
15378 (delete_locales_from_archive): Likewise.
15379 (show_archive_content): Likewise.
15380 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15383 2013-09-24 Roland McGrath <roland@hack.frob.com>
15385 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15386 http://www.gnu.org/doc/freemanuals.texi.
15387 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15389 2013-09-24 Will Newton <will.newton@linaro.org>
15391 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15394 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15396 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15399 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15401 * manual/threads.texi (POSIX Threads): Fix a typo.
15403 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15406 * string/tst-strcoll-overflow.c: New test case.
15407 * string/Makefile (xtests): Add tst-strcoll-overflow.
15408 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15409 cache if string sizes may cause integer overflow.
15412 * string/strcoll_l.c (coll_seq): New members rule, idx,
15413 save_idx and back_us.
15414 (get_next_seq_nocache): New function.
15415 (do_compare_nocache): New function.
15416 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15419 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15422 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15423 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15424 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15427 * elf/Makefile (tests): Add tst-ptrguard1.
15428 (tests-static): Add tst-ptrguard1-static.
15429 (tst-ptrguard1-ARGS): Define.
15430 (tst-ptrguard1-static-ARGS): Define.
15431 * elf/tst-ptrguard1.c: New file.
15432 * elf/tst-ptrguard1-static.c: New file.
15433 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15434 * sysdeps/i386/stackguard-macros.h: Likewise.
15435 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15436 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15437 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15438 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15439 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15440 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15442 2013-09-23 Hector Marco <hecmargi@upv.es>
15443 Ismael Ripoll <iripoll@disca.upv.es>
15444 Carlos O'Donell <carlos@redhat.com>
15447 * sysdeps/generic/stackguard-macros.h: Define
15448 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15449 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15450 Define __pointer_chk_guard_local.
15451 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15452 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15454 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15457 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15459 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15461 * include/string.h (__ffs): Declare as hidden.
15462 * string/ffs.c (__ffs): Define as hidden.
15463 * sysdeps/i386/ffs.c (__ffs): Likewise.
15464 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15465 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15466 * sysdeps/s390/ffs.c (__ffs): Likewise.
15467 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15469 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15471 * NEWS: Mention malloc probes.
15473 * malloc/arena.c (new_heap): New memory_heap_new probe.
15474 (grow_heap): New memory_heap_more probe.
15475 (shrink_heap): New memory_heap_less probe.
15476 (heap_trim): New memory_heap_free probe.
15477 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15478 (systrim): New memory_sbrk_less probe.
15479 * manual/probes.texi: Document them.
15481 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15482 * manual/probes.texi: Document it.
15484 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15485 (__libc_realloc): Add memory_realloc_retry probe.
15486 (__libc_memalign): Add memory_memalign_retry probe.
15487 (__libc_valloc): Add memory_valloc_retry probe.
15488 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15489 (__libc_calloc): Add memory_calloc_retry probe.
15490 * manual/probes.texi: Document them.
15492 * malloc/arena.c (get_free_list): Add probe
15493 memory_arena_reuse_free_list.
15494 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15495 and memory_arena_reuse.
15496 (arena_get2) [!PER_THREAD]: Likewise.
15497 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15498 memory_arena_reuse_realloc.
15499 * manual/probes.texi: Document them.
15501 * malloc/malloc.c (__libc_free): Add
15502 memory_mallopt_free_dyn_thresholds probe.
15503 (__libc_mallopt): Add multiple memory_mallopt probes.
15504 * manual/probes.texi: Document them.
15506 * malloc/malloc.c: Include stap-probe.h.
15507 (__libc_mallopt): Add memory_mallopt probe.
15508 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15509 * manual/probes.texi: New.
15510 * manual/Makefile (chapters): Add probes.
15511 * manual/threads.texi: Set next node.
15513 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15515 [BZ #15963, #13985]
15516 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15517 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15518 Add `Chinese' to `nan' entry name.
15520 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15522 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15523 (POLYNOMIAL): Likewise.
15524 (TAYLOR_SINCOS): Likewise.
15525 (TAYLOR_SLOW): Likewise.
15526 (__sin): Use TAYLOR_SINCOS.
15528 (slow): Use TAYLOR_SLOW.
15530 (bsloww): Likewise.
15531 (csloww): Likewise.
15533 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15535 * stdlib/strtod_l.c: Fix buffer overrun.
15537 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15539 * benchtests/Makefile (bench): Add sincos.
15540 * benchtests/bench-sincos.c: New file.
15542 * math/libm-test.inc (cos_test_data): New test inputs.
15543 (sin_test_data): Likewise.
15545 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15551 (sloww1): Likewise.
15552 (sloww2): Likewise.
15553 (bsloww1): Likewise.
15554 (bsloww2): Likewise.
15555 (cslow2): Likewise.
15556 (csloww1): Likewise.
15557 (csloww2): Likewise.
15559 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15568 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15570 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15571 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15572 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15573 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15574 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15575 * elf/cache.c (print_entry): Handle the new cache flags.
15577 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15578 Aldy Hernandez <aldyh@redhat.com>
15580 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15581 Change condition to [_SOFT_FLOAT].
15582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15594 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15597 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15600 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15602 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15603 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15604 (__longjmp): Use LOAD_GP to load saved GPRs.
15605 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15606 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15607 (__sigsetjmp): Use SAVE_GP to save GPRs.
15609 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15610 Do not append -msoft-float.
15611 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15613 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15615 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15617 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15620 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15621 (_FPU_GETCW): Use initial "__" on variable and field names but not
15622 on macro parameter name.
15623 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15624 parentheses around reference to macro parameter.
15626 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15628 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15630 (ctype_startup): Use uint32_t in cast and sizeof for
15633 2013-09-11 Jia Liu <proljc@gmail.com>
15635 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15637 [__FreeBSD__]: Likewise.
15639 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15642 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15643 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15644 (strchr): Remove __strchr_sse42 ifunc selection.
15645 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15646 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15648 2013-09-11 Will Newton <will.newton@linaro.org>
15650 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15651 parameter to RES. Remove hardcoded 1000 value.
15652 * benchtests/bench-skeleton.c (main): Pass RES parameter
15653 to TIMING_INIT and multiply result by 1000.
15655 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15659 2013-09-11 Andreas Schwab <schwab@suse.de>
15661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15663 (O_TMPFILE) [__USE_GNU]: Define.
15664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15667 2013-09-11 Will Newton <will.newton@linaro.org>
15670 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15673 2013-09-11 Will Newton <will.newton@linaro.org>
15676 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15679 2013-09-11 Will Newton <will.newton@linaro.org>
15682 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15685 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15687 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15688 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15689 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15690 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15693 2013-09-10 Allan McRae <allan@archlinux.org>
15696 * manual/arith.texi (Parsing of Floats): Clarify
15700 * manual/install.texi (Running make install): Mention
15702 * INSTALL: Regenerated.
15704 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15706 * csu/init-first.c (_init): Remove the !SHARED condition around
15707 FPU control word initialization.
15708 * elf/dl-support.c (_dl_fpu_control): New variable.
15709 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15710 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15711 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15712 * math/test-fpucw-static.c: New file.
15713 * math/test-fpucw-ieee.c: New file.
15714 * math/test-fpucw-ieee-static.c: New file.
15715 * math/Makefile (tests): Add `test-fpucw-ieee' and
15717 (tests-static): New variable.
15718 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15720 [($(build-shared),yes)]
15721 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15723 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15726 2013-09-09 Allan McRae <allan@archlinux.org>
15729 * manual/string.texi (Collation Functions): Fix typo in
15731 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15734 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15737 * libio/memstream.c (open_memstream): Fix memory leak.
15738 * libio/wmemstream.c (open_wmemstream): Likewise.
15741 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15743 2013-09-09 Will Newton <will.newton@linaro.org>
15745 * malloc/Makefile: Add tst-realloc to tests.
15746 * malloc/tst-realloc.c: New file.
15748 2013-09-09 Allan McRae <allan@archlinux.org>
15751 * COPYING: Update from GNU website to fix FSF address.
15752 * COPYING.LIB: Likewise.
15754 2013-09-06 David S. Miller <davem@davemloft.net>
15756 * po/zh_TW.po: Update Chinese (traditional) translation from
15757 translation project.
15759 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15760 Joseph Myers <joseph@codesourcery.com>
15762 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15764 (obstack_chunk_alloc): New macro.
15765 (obstack_chunk_free): Likewise.
15766 (record_offset): New function.
15767 (init_locale_data): Likewise.
15768 (align_locale_data): Likewise.
15769 (add_locale_empty): Likewise.
15770 (add_locale_raw_data): Likewise.
15771 (add_locale_raw_obstack): Likewise.
15772 (add_locale_string): Likewise.
15773 (add_locale_wstring): Likewise.
15774 (add_locale_uint32): Likewise.
15775 (add_locale_uint32_array): Likewise.
15776 (add_locale_char): Likewise.
15777 (start_locale_structure): Likewise.
15778 (end_locale_structure): Likewise.
15779 (start_locale_prelude): Likewise.
15780 (end_locale_prelude): Likewise.
15781 (write_locale_data): Take locale_file structure rather than an
15783 * locale/programs/locfile.h: Include "obstack.h".
15784 (struct locale_file): Change to store locale file contents instead
15786 (init_locale_data): New prototype.
15787 (align_locale_data): Likewise.
15788 (add_locale_empty): Likewise.
15789 (add_locale_raw_data): Likewise.
15790 (add_locale_raw_obstack): Likewise.
15791 (add_locale_string): Likewise.
15792 (add_locale_wstring): Likewise.
15793 (add_locale_uint32): Likewise.
15794 (add_locale_uint32_array): Likewise.
15795 (add_locale_char): Likewise.
15796 (start_locale_structure): Likewise.
15797 (end_locale_structure): Likewise.
15798 (start_locale_prelude): Likewise.
15799 (end_locale_prelude): Likewise.
15800 (write_locale_data): Update prototype.
15801 * locale/programs/3level.h (struct TABLE): Remove result field.
15802 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15803 Use new locale_file interface.
15804 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15805 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15806 * locale/programs/ld-address.c (address_output): Use new
15807 locale_file interface.
15808 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15810 (collate_finish): Don't call collseq_table_finalize.
15811 (collate_output): Use new locale_file interface.
15812 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15814 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15815 (TABLE): Move defines earlier in file.
15816 (ELEMENT): Likewise.
15817 (DEFAULT): Likewise.
15818 (wctrans_table_add): Move macro and inline function earlier in
15820 (struct wctype_table): Move type earlier in file.
15821 (add_locale_wctype_table): New static prototype.
15822 (struct locale_ctype_t): Use logical types instead of struct iovec
15823 pointers for members.
15824 (ctype_output): Use new locale_file interface.
15825 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15826 new locale_file interface.
15827 (allocate_arrays): Update for use of new locale_file interface.
15828 * locale/programs/ld-identification.c (identification_output): Use
15829 new locale_file interface.
15830 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15831 * locale/programs/ld-messages.c (messages_output): Likewise.
15832 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15833 * locale/programs/ld-name.c (name_output): Likewise.
15834 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15835 * locale/programs/ld-paper.c (paper_output): Likewise.
15836 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15837 * locale/programs/ld-time.c (time_output): Likewise.
15839 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15841 * benchtests/Makefile: Add memrchr benchmark.
15842 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15843 benchmark as memrchr.
15844 * benchtests/bench-memrchr-ifunc.c: New file.
15845 * benchtests/bench-memrchr.c: New file.
15847 2013-09-06 Will Newton <will.newton@linaro.org>
15849 * benchtests/Makefile (string-bench): Add memcpy.
15851 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15852 Cong Wang <amwang@redhat.com>
15855 * sysdeps/unix/sysv/linux/bits/in.h
15856 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15857 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15858 before __USE_KERNEL_IPV6_DEFS uses.
15859 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15861 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15862 sockaddr_in6, or ipv6_mreq.
15864 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15866 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15867 memory access for final bytes in some large inputs.
15868 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15870 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15872 * string/test-memrchr.c: New file.
15873 * string/test-memrchr-ifunc.c: New file.
15874 * string/Makefile: Add new memrchr testcase.
15876 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15878 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15879 fanotify_init returns EPERM.
15881 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15883 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15885 (top level): Treat second token from macro or constant entries for
15886 allowed headers as allowed.
15887 * include/complex.h: Condition internal declarations on
15889 * include/fenv.h: Condition include of <stdbool.h> and internal
15890 declarations on [!_ISOMAC].
15892 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15895 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15897 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15899 * configure.in (--enable-versioning): Remove configure option.
15900 (libc_cv_asm_symver_directive): Remove configure test.
15901 (libc_cv_ld_version_script_option): Likewise.
15902 (VERSIONING): Remove variable and AC_SUBST.
15903 (DO_VERSIONING): Remove AC_DEFINE.
15904 * configure: Regenerated.
15905 * config.h.in (DO_VERSIONING): Remove macro.
15906 * Makerules [$(versioning) = yes]: Change conditionals to
15907 [$(build-shared) = yes].
15908 * config.make.in (versioning): Remove variable.
15909 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15910 [$(build-shared) = yes].
15911 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15912 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15913 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15914 [$(build-shared) = yes].
15915 * extra-lib.mk [$(versioning) = yes]: Likewise.
15916 * hurd/Makefile [$(versioning) = yes]: Likewise.
15917 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15919 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15921 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15922 [SHARED && !NO_HIDDEN].
15923 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15925 [SHARED && DO_VERSIONING]: Likewise..
15926 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15927 [$(build-shared) = yes].
15928 * manual/install.texi (--disable-versioning): Remove
15930 * INSTALL: Regenerated.
15931 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15933 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15934 [$(build-shared) = yes].
15935 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15936 * sysdeps/i386/i686/multiarch/strstr-c.c
15937 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15938 [SHARED && !NO_HIDDEN].
15939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15940 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15941 * sysdeps/powerpc/powerpc32/dl-machine.c
15942 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15943 * sysdeps/powerpc/powerpc32/sysdep.h
15944 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15945 to [SHARED && PIC && !NO_HIDDEN].
15946 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15947 conditional to [SHARED].
15949 2013-09-04 Will Newton <will.newton@linaro.org>
15951 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15952 * benchtests/bench-string.h: Include bench-timing.h instead
15953 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15954 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15955 call to HP_TIMING_DIFF_INIT.
15956 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15957 instead of hp-timing.h macros.
15958 * benchtests/bench-memchr.c: Likewise.
15959 * benchtests/bench-memcmp.c: Likewise.
15960 * benchtests/bench-memcpy.c: Likewise.
15961 * benchtests/bench-memmem.c: Likewise.
15962 * benchtests/bench-memmove.c: Likewise.
15963 * benchtests/bench-memset.c: Likewise.
15964 * benchtests/bench-rawmemchr.c: Likewise.
15965 * benchtests/bench-strcasecmp.c: Likewise.
15966 * benchtests/bench-strcasestr.c: Likewise.
15967 * benchtests/bench-strcat.c: Likewise.
15968 * benchtests/bench-strchr.c: Likewise.
15969 * benchtests/bench-strcmp.c: Likewise.
15970 * benchtests/bench-strcpy.c: Likewise.
15971 * benchtests/bench-strcpy_chk.c: Likewise.
15972 * benchtests/bench-strlen.c: Likewise.
15973 * benchtests/bench-strncasecmp.c: Likewise.
15974 * benchtests/bench-strncat.c: Likewise.
15975 * benchtests/bench-strncmp.c: Likewise.
15976 * benchtests/bench-strncpy.c: Likewise.
15977 * benchtests/bench-strnlen.c: Likewise.
15978 * benchtests/bench-strpbrk.c: Likewise.
15979 * benchtests/bench-strrchr.c: Likewise.
15980 * benchtests/bench-strspn.c: Likewise.
15981 * benchtests/bench-strstr.c: Likewise.
15983 2013-09-04 Will Newton <will.newton@linaro.org>
15985 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15987 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15991 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15992 * math/libm-test.inc (lgamma_test_data): Add more tests.
15993 * sysdeps/i386/fpu/libm-test-ulps: Update.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15996 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15998 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16002 Add strcmp-sse2-unaligned
16003 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16005 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16007 * Versions.def (libc): Add GLIBC_2.19.
16009 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16011 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16012 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16014 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16017 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16018 intermediate calculations in recurrence.
16019 (__ieee754_ynf): Likewise.
16020 * math/libm-test.inc (jn_test_data): Do not allow spurious
16021 underflow exception. Add more tests.
16022 (yn_test_data): Add more tests.
16023 * sysdeps/i386/fpu/libm-test-ulps: Update.
16024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16026 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16028 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16030 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16032 * csu/init-first.c: Fix then/than typos.
16033 * locale/programs/ld-collate.c: Likewise.
16034 * locale/programs/linereader.h: Likewise.
16035 * manual/charset.texi: Likewise.
16036 * manual/filesys.texi: Likewise.
16037 * manual/stdio.texi: Likewise.
16038 * manual/string.texi: Likewise.
16039 * stdlib/fmtmsg.c: Likewise.
16040 * sysdeps/i386/stpncpy.S: Likewise.
16041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16042 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16046 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16048 * elf/dl-open.c: Fix typos.
16049 * iconvdata/gbbig5.c: Likewise.
16050 * iconvdata/iso-2022-jp.c: Likewise.
16051 * iconv/gconv_int.h: Likewise.
16052 * iconv/loop.c: Likewise.
16053 * nis/rpcsvc/nis.h: Likewise.
16054 * resolv/ns_name.c: Likewise.
16055 * stdio-common/vfscanf.c: Likewise.
16056 * streams/stropts.h: Likewise.
16057 * sunrpc/rpc_thread.c: Likewise.
16058 * sysdeps/i386/strpbrk.S: Likewise.
16059 * sysdeps/ieee754/k_standard.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16062 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16063 * sysdeps/mach/hurd/profil.c: Likewise.
16064 * sysdeps/s390/dl-procinfo.h: Likewise.
16065 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16066 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16067 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16068 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16071 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16073 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16076 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16078 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16079 aix specific files.
16080 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16089 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16090 Roland McGrath <roland@hack.frob.com>
16092 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16093 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16095 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16097 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16098 __executable_start symbol instead of _start.
16100 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16102 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16103 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16105 * sysdeps/gnu/ldsodefs.h: ... this new file.
16107 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16108 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16109 instead of ELFOSABI_LINUX.
16111 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16112 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16113 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16114 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16116 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16117 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16120 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16121 (ibm_extended_long_double): Add ieee_nan member.
16122 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16123 (do_test): New function.
16125 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16127 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16128 functions, renamed from truncdfsf_test, trunctfsf_test,
16130 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16132 (do_test): Run all these.
16134 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16136 * argp/argp-help.c: Fix typos.
16137 * argp/argp-parse.c: Likewise.
16138 * debug/backtracesyms.c: Likewise.
16139 * elf/elf.h: Likewise.
16140 * malloc/malloc.c: Likewise.
16141 * nis/nis_print.c: Likewise.
16142 * resolv/res_comp.c: Likewise.
16143 * stdlib/stdlib.h: Likewise.
16144 * sunrpc/clnt_tcp.c: Likewise.
16145 * sunrpc/clnt_udp.c: Likewise.
16146 * sunrpc/clnt_unix.c: Likewise.
16147 * sysdeps/unix/bsd/ptsname.c: Likewise.
16148 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16149 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16156 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16158 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16160 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16163 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16166 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16167 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16168 ($(objpfx)bug-dl-leaf): New rule.
16169 ($(objpfx)bug-dl-leaf.so): Likewise.
16170 ($(objpfx)bug-dl-leaf.out): Likewise.
16171 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16172 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16173 * dlfcn/bug-dl-leaf.c: New test.
16174 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16175 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16176 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16177 (dlclose): Likewise.
16178 (dlmopen): Likewise.
16180 2013-08-27 Roland McGrath <roland@hack.frob.com>
16182 * include/netdb.h [!_ISOMAC]:
16183 Don't include <tls.h>.
16184 (h_errno, __libc_h_errno): Move declaration and macros out of
16187 * include/resolv.h [_RESOLV_H_]:
16188 Don't include <tls.h>.
16189 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16190 * resolv/res_libc.c: Don't include <tls.h>.
16191 (_res): Use __attribute__ ((nocommon)) in place of
16192 __attribute__ ((section (".bss"))).
16194 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16195 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16197 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16199 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16200 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16202 * resolv/res_mkquery.c: Include <sys/time.h>.
16204 * inet/ifreq.c: Moved to ...
16205 * sysdeps/unix/ifreq.c: ... here.
16206 * inet/ifreq.c: New file, true stub version.
16208 * socket/sa_len.c: New file.
16209 * socket/Makefile (aux): Add it.
16210 * sysdeps/unix/sysv/linux/Makefile
16211 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16212 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16213 and #include <socket/sa_len.c>.
16214 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16215 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16217 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16218 * bits/socket.h: ... here.
16220 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16221 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16222 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16224 2013-08-27 Andreas Schwab <schwab@suse.de>
16227 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16228 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16229 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16230 * string/test-strcasecmp.c (test_main): Run tests in several
16232 * string/test-strncasecmp.c (test_main): Likewise.
16234 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16235 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16236 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16238 (__strncasecmp_ssse3) [PIC]: Likewise.
16240 2013-08-26 Roland McGrath <roland@hack.frob.com>
16242 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16244 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16245 instead of explicitly declaring xdecrypt.
16246 * nis/nss_nis/nis-publickey.c: Likewise.
16248 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16251 * nscd/aicache.c: Include res_hconf.h.
16252 (addhstaiX): Initialize res_hconf.
16254 2013-08-26 Andreas Schwab <schwab@suse.de>
16256 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16257 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16259 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16261 * nscd/aicache.c (addhstaiX): Fix indentation.
16263 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16265 * configure.ac: Quote $build_pt_chown test.
16266 * configure: Regenerated.
16268 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16271 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16272 * math/s_cexpf.c (__cexpf): Likewise.
16273 * math/s_cexpl.c (__cexpl): Likewise.
16274 * math/libm-test.inc (cexp_test_data): Correct expected return
16275 value for NaN + i0. Add another test.
16277 2013-08-22 David S. Miller <davem@davemloft.net>
16279 * po/ca.po: Update Catalan translation from translation project.
16280 * po/uk.po: Add Ukrainian translations from translation project.
16282 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16285 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16286 is infinite, not alongside NaN test.
16287 * math/s_fdimf.c (__fdimf): Likewise.
16288 * math/s_fdiml.c (__fdiml): Likewise.
16289 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16290 errno is unchanged.
16292 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16294 * argp/argp-help.c: Fix typos.
16295 * crypt/speeds.c: Likewise.
16296 * csu/check_fds.c: Likewise.
16297 * elf/dl-load.c: Likewise.
16298 * elf/dl-open.c: Likewise.
16299 * elf/reldep3.c: Likewise.
16300 * elf/reldep.c: Likewise.
16301 * elf/sprof.c: Likewise.
16302 * iconv/iconv_charmap.c: Likewise.
16303 * iconv/skeleton.c: Likewise.
16304 * iconv/strtab.c: Likewise.
16305 * io/lockf64.c: Likewise.
16306 * libio/libioP.h: Likewise.
16307 * resolv/gai_notify.c: Likewise.
16308 * resolv/ns_name.c: Likewise.
16309 * resolv/ns_samedomain.c: Likewise.
16310 * resolv/res_send.c: Likewise.
16311 * stdlib/random.c: Likewise.
16312 * sunrpc/rpc/xdr.h: Likewise.
16313 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16314 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16315 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16316 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16317 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16321 * sysdeps/mach/hurd/check_fds.c: Likewise.
16322 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16323 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16324 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16325 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16326 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16327 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16328 * sysdeps/pthread/aio_notify.c: Likewise.
16329 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16330 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16331 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16333 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16335 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16337 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16338 version if bit_Slow_SSE4_2 is set.
16339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16342 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16346 trampoline stack frame information.
16347 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16348 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16349 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16350 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16351 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16352 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16353 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16354 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16356 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16357 interrupting a syscall and set with option SA_SIGINFO.
16359 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16362 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16363 argument is infinite.
16364 * math/s_cprojf.c (__cprojf): Likewise.
16365 * math/s_cprojl.c (__cprojl): Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16367 * math/libm-test.inc (cproj_test_data): Add more tests.
16369 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16371 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16372 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16373 size. Use __ffs to determine corresponding shift.
16375 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16376 Roland McGrath <roland@hack.frob.com>
16378 * Makefile (INSTALL): Remove trailing blank lines from output of
16381 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16383 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16384 Align 32 bit compat elf_greg to 8 bytes.
16386 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16388 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16390 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16392 * string/strcoll_l.c (coll_seq): New structure.
16393 (get_next_seq_cached): New function.
16394 (get_next_seq): New function.
16395 (do_compare): New function.
16396 (STRCOLL): Use GNU style definition. Simplify implementation
16397 by using get_next_seq, get_next_seq_cached and do_compare.
16399 2013-08-16 Florian Weimer <fweimer@redhat.com>
16403 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16405 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16407 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16408 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16409 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16411 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16412 GETDENTS_64BIT_ALIGNED.
16413 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16414 * manual/filesys.texi (Reading/Closing Directory): Document
16415 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16417 * manual/conf.texi (Limits for Files): Add portability note to
16418 NAME_MAX, PATH_MAX.
16419 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16421 2013-08-13 Andreas Schwab <schwab@suse.de>
16424 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16426 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16427 LDBL_MAX_EXP >= 16384]: Add tests for it.
16429 2013-08-12 David S. Miller <davem@davemloft.net>
16431 * version.h (RELEASE): Set to "development".
16432 (VERSION): Set to "2.18.90".
16433 * NEWS: Add 2.19 section.
16435 2013-08-03 David S. Miller <davem@davemloft.net>
16437 * po/ko.po: Update Korean translation from translation project.
16439 2013-08-01 David S. Miller <davem@davemloft.net>
16441 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16442 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16445 2013-07-30 David S. Miller <davem@davemloft.net>
16447 * po/fr.po: Update French translation from translation project.
16449 2013-07-28 David S. Miller <davem@davemloft.net>
16451 * po/cs.po: Update Czech translation from translation project.
16453 * po/sv.po: Update Swedish translation from translation project.
16455 2013-07-27 David S. Miller <davem@davemloft.net>
16457 * po/eo.po: Update Esperanto translation from translation project.
16459 * po/vi.po: Update Vietnamese translation from translation project.
16461 * po/de.po: Update German translation from translation project.
16463 2013-07-26 David S. Miller <davem@davemloft.net>
16465 * po/bg.po: Update Bulgarian translation from translation project.
16467 * po/nl.po: Update Dutch translation from translation project.
16468 * po/pl.po: Update Polish translation from translation project.
16469 * po/ru.po: Update Russian translation from translation project.
16471 2013-07-24 David S. Miller <davem@davemloft.net>
16473 * po/libc.pot: Update.
16475 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16477 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16478 variable page size.
16479 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16481 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16483 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16485 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16487 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16488 Andreas Schwab <schwab@suse.de>
16489 Roland McGrath <roland@hack.frob.com>
16490 Joseph Myers <joseph@codesourcery.com>
16491 Carlos O'Donell <carlos@redhat.com>
16494 * config.h.in: Define HAVE_PT_CHOWN.
16495 * config.make.in (build-pt-chown): New variable.
16496 * configure.in (--enable-pt_chown): New configure option.
16497 * configure: Regenerate.
16498 * login/Makefile: Include Makeconfig. Build pt_chown only if
16499 build-pt-chown is enabled.
16500 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16501 pt_chown to fix pty ownership.
16502 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16504 * manual/install.texi (Configuring and compiling): Mention
16505 --enable-pt_chown. Add @findex for grantpt.
16506 * INSTALL: Regenerate.
16508 2013-07-20 David S. Miller <davem@davemloft.net>
16510 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16511 difference between 32-bit and 64-bit.
16513 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16516 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16517 Avoid system header dependency with -ffreestanding.
16518 ($(objpfx)bits/syscall%d): Likewise.
16520 2013-07-13 David S. Miller <davem@davemloft.net>
16522 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16523 underflows from atanl/atan2l due to bug 15319.
16524 (casinh_test_data): Likewise.
16526 2013-07-07 David S. Miller <davem@davemloft.net>
16528 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16530 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16532 * sysdeps/i386/fpu/libm-test-ulps: Update.
16533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16535 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16537 * configure.in (--enable-lock-elision): Fix message text.
16538 * INSTALL: Regenerate.
16539 * configure: Regenerate.
16541 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16545 2013-07-03 Andreas Jaeger <aj@suse.de>
16547 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16549 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16550 (ptrace_peeksiginfo_args): Add.
16551 (__ptrace_peeksiginfo_flags): Add.
16552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16554 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16556 2013-07-03 Allan McRae <allan@archlinux.org>
16558 * sysdeps/i386/fpu/libm-test-ulps: Update.
16560 2013-07-02 David S. Miller <davem@davemloft.net>
16562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16564 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16568 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16570 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573 2013-07-02 Andi Kleen <ak@linux.intel.com>
16575 * config.h.in (ENABLE_LOCK_ELISION): Add.
16576 * configure.in (--enable-lock-elision): Add option.
16577 * manual/install.texi: Document --enable lock elision.
16578 * configure: Regenerate
16579 * INSTALL: Regenerate.
16581 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16583 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16584 SSE4.2 strcasecmp for libc.a.
16585 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16587 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16590 * soft-fp/op-common.h (_FP_FMA): New macro.
16591 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16592 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16593 (_FP_MUL_MEAT_1_imm): ... here.
16594 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16595 (_FP_MUL_MEAT_1_wide): ... here.
16596 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16597 (_FP_MUL_MEAT_1_hard): ... here.
16598 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16599 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16600 (_FP_MUL_MEAT_2_wide): ... here.
16601 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16602 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16603 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16604 (_FP_MUL_MEAT_2_gmp): ... here.
16605 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16606 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16607 (_FP_MUL_MEAT_4_wide): ... here.
16608 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16609 (_FP_MUL_MEAT_4_gmp): ... here.
16610 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16611 (_FP_WFRACBITS_DW_S): Likewise.
16612 (_FP_WFRACXBITS_DW_S): Likewise.
16613 (_FP_HIGHBIT_DW_S): Likewise.
16614 (FP_FMA_S): Likewise.
16615 (_FP_FRAC_HIGH_DW_S): Likewise.
16616 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16617 (_FP_WFRACBITS_DW_D): Likewise.
16618 (_FP_WFRACXBITS_DW_D): Likewise.
16619 (_FP_HIGHBIT_DW_D): Likewise.
16620 (FP_FMA_D): Likewise.
16621 (_FP_FRAC_HIGH_DW_D): Likewise.
16622 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16623 (_FP_WFRACBITS_DW_E): Likewise.
16624 (_FP_WFRACXBITS_DW_E): Likewise.
16625 (_FP_HIGHBIT_DW_E): Likewise.
16626 (FP_FMA_E): Likewise.
16627 (_FP_FRAC_HIGH_DW_E): Likewise.
16628 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16629 (_FP_WFRACBITS_DW_Q): Likewise.
16630 (_FP_WFRACXBITS_DW_Q): Likewise.
16631 (_FP_HIGHBIT_DW_Q): Likewise.
16632 (FP_FMA_Q): Likewise.
16633 (_FP_FRAC_HIGH_DW_Q): Likewise.
16634 * soft-fp/fmasf4.c: New file.
16635 * soft-fp/fmadf4.c: Likewise.
16636 * soft-fp/fmatf4.c: Likewise.
16638 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16641 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16645 (index_Slow_SSE4_2): Likewise.
16646 (index_Prefer_PMINUB_for_stringop): Likewise.
16647 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16648 bit_Slow_SSE4_2 is set.
16649 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16650 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16652 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16654 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16655 rtld_global._dl_hwcap2.
16656 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16658 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16659 POWER8 feature descriptions defined in _dl_hwcap2.
16660 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16661 string handling for POWER8 feature bits.
16662 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16663 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16664 _dl_powerpc_cap_flags.
16665 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16666 * sysdeps/powerpc/rtld-global-offsets.sym
16667 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16668 _dl_hwcap2 in the rtld_global_ro structure.
16670 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16672 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16673 hardware capabilities in support of AT_HWCAP2.
16674 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16675 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16677 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16678 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16679 explicitly the unknown a_type display mechanism is used.
16680 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16681 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16683 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16684 to macro prototype for AT_HWCAP2 support.
16685 * sysdeps/i386/dl-procinfo.h: Likewise.
16686 * sysdeps/s390/dl-procinfo.h: Likewise.
16687 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16688 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16689 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16690 return -1 for unknown a_type display fallback.
16691 * sysdeps/sparc/dl-procinfo.h: Likewise.
16692 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16693 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16695 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16698 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16700 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16703 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16704 mprotect making __stack_prot writable.
16706 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16707 Joseph Myers <joseph@codesourcery.com>
16709 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16710 as being properly aligned.
16712 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16714 * dlfcn/modstatic5.c: New file.
16715 * dlfcn/tststatic5.c: New file.
16716 * dlfcn/Makefile (tests): Add tststatic5.
16717 (tests-static): Likewise.
16718 (modules-names): Add modstatic5.
16719 (tststatic5-ENV): New variable.
16720 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16723 * elf/dl-support.c (_dl_main_map): New variable.
16724 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16725 (_dl_nns, _dl_load_adds): Set to 1.
16726 (_dl_initial_searchlist): Refer to _dl_main_map.
16727 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16728 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16729 call to _dl_get_origin.
16730 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16732 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16733 * dlfcn/modstatic3.c: New file.
16734 * dlfcn/tststatic3.c: New file.
16735 * dlfcn/tststatic4.c: New file.
16736 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16737 (tests-static): Likewise.
16738 (modules-names): Add modstatic3.
16739 (tststatic3-ENV, tststatic4-ENV): New variables.
16740 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16741 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16743 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16745 * configure.in (CC): Require GCC version 4.4 or later.
16746 * configure: Regenerated.
16747 * manual/install.texi (Tools for Compilation): Update GCC version
16749 * INSTALL: Regenerated.
16751 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16754 * string/test-memcmp.c (check2): New.
16755 (main): Call check2.
16757 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16759 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16762 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16764 (dl_open_worker) [!SHARED]: ... here.
16766 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16768 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16770 2013-06-25 Richard Henderson <rth@redhat.com>
16772 * locale/programs/locarchive.c: Include <libc-internal.h>
16774 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16776 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16777 trailing whitespace removed.
16779 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16782 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16783 * locale/programs/locarchive.c: Include libc-mmap.h.
16784 (prepare_address_space): Take two new outputs (the mmap base and len).
16785 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16787 (create_archive): Declare new mmap base and len values for
16788 prepare_address_space, and store the result in ah.
16789 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16790 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16791 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16792 Declare new mmap base and len values for
16793 prepare_address_space, and store the result in new_ah.
16794 (open_archive): Declare new mmap base and len values for
16795 prepare_address_space, and store the result in ah.
16796 (close_archive): If ah->mmap_base is not NULL, use that and
16797 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16798 * sysdeps/generic/libc-mmap.h: New file.
16800 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16802 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16803 (ALIGN_UP): Likewise.
16804 (PTR_ALIGN_DOWN): Likewise.
16805 (PTR_ALIGN_UP): Likewise.
16807 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16809 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16810 entry mapped to PPC_PLATFORM_POWER8.
16811 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16813 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16814 (_dl_string_platform): Add case for exporting platform position for
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16817 search path to sysdeps/powerpc/powerpc32/power8 directory.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16819 search path to sysdeps/powerpc/powerpc64/power8 directory.
16820 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16821 power7 directories.
16822 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16823 power7 directories.
16825 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16827 * INSTALL: Regenerate.
16829 * nscd/connections.c (nscd_init): Fix comment.
16831 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16836 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16837 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16839 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16841 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16843 (DL_DST_REQ_STATIC): Remove macro.
16845 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16848 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16849 with a shift of 0 bits.
16851 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16853 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16856 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16859 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16861 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16863 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16864 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16865 accepts -fno-tree-loop-distribute-patterns.
16866 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16867 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16869 * string/memset.c (memset): Likewise.
16870 * string/test-memmove.c (simple_memmove): Disable loop transformation
16872 * string/test-memset.c (simple_memset): Likewise.
16873 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16874 * benchtests/bench-memset.c (simple_memset): Likewise.
16875 * configure: Regenerated.
16877 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16879 * math/test-misc.c (main): Ignore fesetround failure when failures
16880 of subsequent rounding tests would be ignored.
16883 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16884 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16885 * math/fegetenv.c (__fegetenv): Return 0.
16886 * math/fegetexcept.c (fegetexcept): Return 0.
16887 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16889 * math/feholdexcpt.c (feholdexcept): Return 0.
16890 * math/fesetenv.c (__fesetenv): Return 0.
16891 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16892 argument FE_TONEAREST.
16893 * math/feupdateenv.c (__feupdateenv): Return 0.
16894 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16896 2013-06-18 Roland McGrath <roland@hack.frob.com>
16898 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16899 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16900 ($(objpfx)rtld-%.os rules): Use them.
16902 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16904 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16907 2013-06-17 Roland McGrath <roland@hack.frob.com>
16909 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16910 length of target pattern, then descending length of dependency pattern.
16911 * configure.in (AWK): Require gawk 3.1.2 or newer.
16912 * manual/install.texi (Tools for Compilation): Say that we do.
16913 * configure: Regenerated.
16915 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16916 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16917 * scripts/sysd-rules.awk: ... this new script.
16918 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16919 than a glob-style pattern.
16921 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16923 * math/test-misc.c (main): Do not treat incorrectly rounded
16924 conversions as failure unless ROUNDING_TESTS passes.
16926 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16929 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16930 restore exception state around main square root computation, then
16931 check for inexactness explicitly.
16933 * math/libm-test.inc (fma_test_data): Add another test.
16935 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16937 * manual/threads.texi (Non-POSIX Extensions): New document
16938 node. Document pthread_getattr_default_np and
16939 pthread_setattr_default_np.
16941 * Versions.def (libpthread): Add GLIBC_2.18.
16942 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16951 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16962 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16965 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16967 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16968 H.J. Lu <hjl.tools@gmail.com>
16971 * sysdeps/x86_64/rtld-memset.c: Remove file.
16972 * sysdeps/x86_64/rtld-memset.S: New file.
16974 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16976 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16977 (test_in_one_mode): Take arguments for whether the rounding mode
16978 is supported for each floating-point type.
16979 (do_test): Pass new arguments to test_in_one_mode using
16982 2013-06-13 Roland McGrath <roland@hack.frob.com>
16984 * posix/tst-waitid.c (do_test): Distinguish different instances of
16985 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16986 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16987 before entering the kernel for waitpid.
16989 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16991 * NEWS: Fix note on clock function precision. Text by Roland
16994 2013-06-13 Roland McGrath <roland@hack.frob.com>
16996 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16997 it into place only when and if the sanity check passes.
16999 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17001 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17002 output for whether conversion result is exact. Take argument
17003 indicating whether type is IBM long double.
17004 (round_for_all): Change need_exact field to ibm_ld.
17005 * stdlib/tst-strtod-round.c (struct exactness): New type.
17006 (struct test): Change bool ld_ok field to struct exactness exact.
17007 (TEST): Update all definitions for change to field.
17008 (tests): Regenerate array contents.
17009 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17010 field value. Check for IBM long double here.
17011 (do_test): Update calls to test_in_one_mode.
17013 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17016 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17017 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17019 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17022 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17023 generated by the compiler on loop optimizations.
17024 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17025 general definitions.
17027 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17029 * math/bug-nextafter.c: Include <math-tests.h>.
17030 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17032 * math/bug-nexttoward.c: Include <math-tests.h>.
17033 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17035 * math/test-misc.c: Include <math-tests.h>.
17036 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17039 2013-06-12 Andreas Jaeger <aj@suse.de>
17041 * po/ia.po: Update Interlingua translation from translation
17044 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17046 * include/fenv.h: Include stdbool.h.
17047 (struct rm_ctx): New structure.
17048 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17050 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17051 (SET_RESTORE_ROUNDF): Likewise.
17052 (SET_RESTORE_ROUNDL): Likewise.
17053 (SET_RESTORE_ROUND_NOEX): Likewise.
17054 (SET_RESTORE_ROUND_NOEXF): Likewise.
17055 (SET_RESTORE_ROUND_NOEXL): Likewise.
17056 (SET_RESTORE_ROUND_53BIT): Likewise.
17057 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17058 (libc_feresetround_noexf_ctx): Likewise.
17059 (libc_feresetround_noexl_ctx): Likewise.
17060 (libc_feholdsetround_53bit_ctx): Likewise.
17061 (libc_feresetround_53bit_ctx): Likewise.
17062 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17063 (libc_feholdexcept_setround_sse_ctx): New function.
17064 (libc_fesetenv_sse_ctx): Likewise.
17065 (libc_feupdateenv_sse_ctx): Likewise.
17066 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17067 (libc_feholdexcept_setround_387_ctx): Likewise.
17068 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17069 (libc_feholdsetround_387_prec_ctx): Likewise.
17070 (libc_feholdsetround_387_ctx): Likewise.
17071 (libc_feholdsetround_387_53bit_ctx): Likewise.
17072 (libc_feholdsetround_sse_ctx): Likewise.
17073 (libc_feresetround_sse_ctx): Likewise.
17074 (libc_feresetround_387_ctx): Likewise.
17075 (libc_feupdateenv_387_ctx): Likewise.
17076 (libc_feholdexcept_setroundf_ctx): Define macro.
17077 (libc_fesetenvf_ctx): Likewise.
17078 (libc_feupdateenvf_ctx): Likewise.
17079 (libc_feholdsetroundf_ctx): Likewise.
17080 (libc_feresetroundf_ctx): Likewise.
17081 (libc_feholdexcept_setround_ctx): Likewise.
17082 (libc_fesetenv_ctx): Likewise.
17083 (libc_feupdateenv_ctx): Likewise.
17084 (libc_feholdsetround_ctx): Likewise.
17085 (libc_feresetround_ctx): Likewise.
17086 (libc_feholdexcept_setroundl_ctx): Likewise.
17087 (libc_feupdateenvl_ctx): Likewise.
17088 (libc_feholdsetroundl_ctx): Likewise.
17089 (libc_feresetroundl_ctx): Likewise.
17090 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17091 (libc_feresetround_53bit_ctx): Likewise.
17093 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17095 * locale/iso-639.def: Convert to UTF-8.
17097 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17099 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17100 (EXCEPTION_TESTS_double): Likewise.
17101 (EXCEPTION_TESTS_long_double): Likewise.
17102 (EXCEPTION_TESTS): Likewise.
17103 * math/libm-test.inc (test_exceptions): Only test exceptions if
17104 EXCEPTION_TESTS (FLOAT).
17106 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17108 * benchtests/Makefile (string-bench): Add strcpy_chk and
17110 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17111 * benchtests/bench-stpcpy_chk.c: New file.
17112 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17113 * benchtests/bench-strcpy_chk.c: New file.
17114 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17116 (do_test): Likewise.
17118 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17120 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17121 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17122 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17123 with tabs where appropriate.
17124 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17126 [PPC_PLATFORM_PPC440]: Likewise.
17127 [PPC_PLATFORM_PPC464]: Likewise.
17128 [PPC_PLATFORM_PPC476]: Likewise.
17129 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17130 ppc464, and ppc476 platform strings merging from ports/
17133 2013-06-11 Andreas Schwab <schwab@suse.de>
17136 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17137 (from_ucs4_idx): Regenerate.
17138 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17139 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17140 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17141 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17142 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17143 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17144 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17145 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17146 from FROM_LOOP and TO_LOOP specific macros.
17147 (BODY): Handle combining characters.
17148 * iconvdata/BIG5HKSCS.irreversible: Update.
17149 * iconvdata/BIG5HKSCS.precomposed: New file.
17150 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17152 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17154 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17156 * include/sys/time.h: Fix indentation and add copyright header.
17158 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17159 (do_test): Likewise.
17160 * string/test-memchr.c (do_one_test): Likewise.
17161 (do_test): Likewise.
17162 * string/test-memcmp.c (do_one_test): Likewise.
17163 (do_test): Likewise.
17164 * string/test-memcpy.c (do_one_test): Likewise.
17165 (do_test): Likewise.
17166 * string/test-memmem.c (do_one_test): Likewise.
17167 (do_test): Likewise.
17168 (do_random_tests): Likewise.
17169 * string/test-memmove.c (do_one_test): Likewise.
17170 (do_test): Likewise.
17171 * string/test-memset.c (do_one_test): Likewise.
17172 (do_test): Likewise.
17173 * string/test-rawmemchr.c (do_one_test): Likewise.
17174 (do_test): Likewise.
17175 * string/test-strcasecmp.c (do_one_test): Likewise.
17176 (do_test): Likewise.
17177 * string/test-strcasestr.c (do_one_test): Likewise.
17178 (do_test): Likewise.
17179 * string/test-strcat.c (do_one_test): Likewise.
17180 (do_test): Likewise.
17181 * string/test-strchr.c (do_one_test): Likewise.
17182 (do_test): Likewise.
17183 * string/test-strcmp.c (do_one_test): Likewise.
17184 (do_test): Likewise.
17185 * string/test-strcpy.c (do_one_test): Likewise.
17186 (do_test): Likewise.
17187 * string/test-string.h: Likewise.
17188 (test_init): Likewise.
17189 * string/test-strlen.c (do_one_test): Likewise.
17190 (do_test): Likewise.
17191 * string/test-strncasecmp.c (do_one_test): Likewise.
17192 (do_test): Likewise.
17193 * string/test-strncat.c (do_one_test): Likewise.
17194 (do_test): Likewise.
17195 * string/test-strncmp.c (do_one_test): Likewise.
17196 (do_test_limit): Likewise.
17197 (do_test): Likewise.
17198 * string/test-strncpy.c (do_one_test): Likewise.
17199 (do_test): Likewise.
17200 * string/test-strnlen.c (do_one_test): Likewise.
17201 (do_test): Likewise.
17202 * string/test-strpbrk.c (do_one_test): Likewise.
17203 (do_test): Likewise.
17204 * string/test-strrchr.c (do_one_test): Likewise.
17205 (do_test): Likewise.
17206 * string/test-strspn.c (do_one_test): Likewise.
17207 (do_test): Likewise.
17208 * string/test-strstr.c (do_one_test): Likewise.
17209 (do_test): Likewise.
17211 * benchtests/Makefile (string-bench): Add string benchmarks.
17212 * benchtests/bench-bcopy-ifunc.c: New file.
17213 * benchtests/bench-bcopy.c: New file.
17214 * benchtests/bench-bzero-ifunc.c: New file.
17215 * benchtests/bench-bzero.c: New file.
17216 * benchtests/bench-memccpy-ifunc.c: New file.
17217 * benchtests/bench-memccpy.c: New file.
17218 * benchtests/bench-memchr-ifunc.c: New file.
17219 * benchtests/bench-memchr.c: New file.
17220 * benchtests/bench-memcmp-ifunc.c: New file.
17221 * benchtests/bench-memcmp.c: New file.
17222 * benchtests/bench-memmem-ifunc.c: New file.
17223 * benchtests/bench-memmem.c: New file.
17224 * benchtests/bench-memmove-ifunc.c: New file.
17225 * benchtests/bench-memmove.c: New file.
17226 * benchtests/bench-mempcpy-ifunc.c: New file.
17227 * benchtests/bench-mempcpy.c: New file.
17228 * benchtests/bench-memset-ifunc.c: New file.
17229 * benchtests/bench-memset.c: New file.
17230 * benchtests/bench-rawmemchr-ifunc.c: New file.
17231 * benchtests/bench-rawmemchr.c: New file.
17232 * benchtests/bench-stpcpy-ifunc.c: New file.
17233 * benchtests/bench-stpcpy.c: New file.
17234 * benchtests/bench-stpncpy-ifunc.c: New file.
17235 * benchtests/bench-stpncpy.c: New file.
17236 * benchtests/bench-strcasecmp-ifunc.c: New file.
17237 * benchtests/bench-strcasecmp.c: New file.
17238 * benchtests/bench-strcasestr-ifunc.c: New file.
17239 * benchtests/bench-strcasestr.c: New file.
17240 * benchtests/bench-strcat-ifunc.c: New file.
17241 * benchtests/bench-strcat.c: New file.
17242 * benchtests/bench-strchr-ifunc.c: New file.
17243 * benchtests/bench-strchr.c: New file.
17244 * benchtests/bench-strchrnul-ifunc.c: New file.
17245 * benchtests/bench-strchrnul.c: New file.
17246 * benchtests/bench-strcmp-ifunc.c: New file.
17247 * benchtests/bench-strcmp.c: New file.
17248 * benchtests/bench-strcpy-ifunc.c: New file.
17249 * benchtests/bench-strcpy.c: New file.
17250 * benchtests/bench-strcspn-ifunc.c: New file.
17251 * benchtests/bench-strcspn.c: New file.
17252 * benchtests/bench-strlen-ifunc.c: New file.
17253 * benchtests/bench-strlen.c: New file.
17254 * benchtests/bench-strncasecmp-ifunc.c: New file.
17255 * benchtests/bench-strncasecmp.c: New file.
17256 * benchtests/bench-strncat-ifunc.c: New file.
17257 * benchtests/bench-strncat.c: New file.
17258 * benchtests/bench-strncmp-ifunc.c: New file.
17259 * benchtests/bench-strncmp.c: New file.
17260 * benchtests/bench-strncpy-ifunc.c: New file.
17261 * benchtests/bench-strncpy.c: New file.
17262 * benchtests/bench-strnlen-ifunc.c: New file.
17263 * benchtests/bench-strnlen.c: New file.
17264 * benchtests/bench-strpbrk-ifunc.c: New file.
17265 * benchtests/bench-strpbrk.c: New file.
17266 * benchtests/bench-strrchr-ifunc.c: New file.
17267 * benchtests/bench-strrchr.c: New file.
17268 * benchtests/bench-strspn-ifunc.c: New file.
17269 * benchtests/bench-strspn.c: New file.
17270 * benchtests/bench-strstr-ifunc.c: New file.
17271 * benchtests/bench-strstr.c: New file.
17273 * benchtests/Makefile: Disable parallel execution of targets.
17274 (string-bench): Add memcpy.
17275 (benchset): New variable to store a list of benchmark sets.
17276 (bench-func): Renamed from bench.
17277 (bench-set): New target.
17278 (bench): Depend on bench-func and bench-set.
17279 * benchtests/README: Add section on benchmark sets.
17280 * benchtests/bench-memcpy-ifunc.c: New file.
17281 * benchtests/bench-memcpy.c: New file.
17282 * benchtests/bench-string.h: New file.
17284 2013-06-11 Andreas Schwab <schwab@suse.de>
17287 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17288 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17289 values in the triple.
17290 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17291 terminator in the group key.
17293 2013-06-11 Andreas Jaeger <aj@suse.de>
17295 * po/zh_TW.po: Update Chinese (traditional) translation from
17296 translation project.
17298 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17300 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17301 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17302 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17303 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17304 (clock_getcpuclockid): Likewise.
17305 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17306 Add weak_alias and libc_hidden_def.
17307 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17308 * rt/clock_gettime.c (clock_gettime): Rename to
17309 __clock_gettime. Add weak_alias and libc_hidden_def.
17310 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17311 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17312 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17313 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17314 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17316 * rt/clock_settime.c (clock_settime): Rename to
17317 __clock_settime. Add weak_alias and libc_hidden_def.
17318 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17320 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17322 * mach/err_boot.sub: Remove trailing whitespace.
17323 * mach/err_ipc.sub: Likewise.
17324 * mach/err_mach.sub: Likewise.
17326 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17327 (ROUNDING_TESTS_double): Likewise.
17328 (ROUNDING_TESTS_long_double): Likewise.
17329 (ROUNDING_TESTS): Likewise.
17330 * math/libm-test.inc: Include <math-tests.h>.
17331 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17332 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17333 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17334 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17336 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17338 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17341 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17343 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17344 otherwise empty TRANS lines.
17345 * sysdeps/gnu/errlist.c: Regenerated.
17347 * catgets/gencat.c (error_print): Use (void) in function
17349 * crypt/crypt_util.c (__init_des): Likewise.
17350 * crypt/speeds.c (Stop): Likewise.
17352 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17353 * inet/ruserpass.c (token): Likewise.
17354 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17355 * intl/localealias.c (extend_alias_table): Likewise.
17356 * intl/plural-exp.c (init_germanic_plural): Likewise.
17357 * libio/fcloseall.c (__fcloseall): Likewise.
17358 * libio/genops.c (_IO_flush_all): Likewise.
17359 (_IO_flush_all_linebuffered): Likewise.
17360 (_IO_cleanup): Likewise.
17361 (_IO_iter_begin): Likewise.
17362 (_IO_iter_end): Likewise.
17363 (_IO_list_lock): Likewise.
17364 (_IO_list_unlock): Likewise.
17365 (_IO_list_resetlock): Likewise.
17366 * libio/getchar.c (getchar): Likewise.
17367 * libio/getchar_u.c (getchar_unlocked): Likewise.
17368 * libio/getwchar.c (getwchar): Likewise.
17369 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17370 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17371 * login/getpt.c (__getpt): Likewise.
17372 * login/tst-utmp.c (main): Likewise.
17373 * malloc/hooks.c (__malloc_check_init): Likewise.
17374 * malloc/malloc.c (__malloc_stats): Likewise.
17375 * malloc/mtrace.c (tr_break): Likewise.
17376 (mtrace): Likewise.
17377 (muntrace): Likewise.
17378 * misc/fstab.c (endfsent): Likewise.
17379 * misc/getclktck.c (__getclktck): Likewise.
17380 * misc/getdtsz.c (__getdtablesize): Likewise.
17381 * misc/gethostid.c (gethostid): Likewise.
17382 * misc/getpagesize.c (__getpagesize): Likewise.
17383 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17384 (__get_nprocs): Likewise.
17385 (__get_phys_pages): Likewise.
17386 (__get_avphys_pages): Likewise.
17387 * misc/getttyent.c (getttyent): Likewise.
17388 (setttyent): Likewise.
17389 (endttyent): Likewise.
17390 * misc/getusershell.c (getusershell): Likewise.
17391 (endusershell): Likewise.
17392 (setusershell): Likewise.
17393 (initshells): Likewise.
17394 * misc/hsearch.c (__hdestroy): Likewise.
17395 * misc/sync.c (sync): Likewise.
17396 * misc/syslog.c (closelog_internal): Likewise.
17397 (closelog): Likewise.
17398 * misc/ttyslot.c (ttyslot): Likewise.
17399 * misc/vhangup.c (vhangup): Likewise.
17400 * posix/fork.c (__fork): Likewise.
17401 * posix/getegid.c (__getegid): Likewise.
17402 * posix/geteuid.c (__geteuid): Likewise.
17403 * posix/getgid.c (__getgid): Likewise.
17404 * posix/getpid.c (__getpid): Likewise.
17405 * posix/getppid.c (__getppid): Likewise.
17406 * posix/getuid.c (__getuid): Likewise.
17407 * posix/pause.c (pause): Likewise.
17408 * posix/setpgrp.c (setpgrp): Likewise.
17409 * posix/setsid.c (__setsid): Likewise.
17410 * posix/test-vfork.c (noop): Likewise.
17411 * resolv/gethnamaddr.c (_endhtent): Likewise.
17412 (_gethtent): Likewise.
17413 (ht_endhostent): Likewise.
17414 (gethostent): Likewise.
17415 (dns_service): Likewise.
17416 * stdlib/drand48.c (drand48): Likewise.
17417 * stdlib/lrand48.c (lrand48): Likewise.
17418 * stdlib/mrand48.c (mrand48): Likewise.
17419 * stdlib/rand.c (rand): Likewise.
17420 * stdlib/random.c (__random): Likewise.
17421 * stdlib/setenv.c (clearenv): Likewise.
17422 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17423 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17424 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17425 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17426 (__get_nprocs): Likewise.
17427 (__get_phys_pages): Likewise.
17428 (__get_avphys_pages): Likewise.
17429 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17430 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17431 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17432 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17433 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17434 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17435 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17436 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17437 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17438 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17439 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17440 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17441 * sysdeps/posix/clock.c (clock): Likewise.
17442 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17443 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17444 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17445 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17446 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17447 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17448 (__get_nprocs_conf): Likewise.
17449 (__get_phys_pages): Likewise.
17450 (__get_avphys_pages): Likewise.
17451 * time/clock.c (clock): Likewise.
17452 * time/tzset.c (__tzname_max): Likewise.
17454 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17456 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17457 (__bswap_32): Do not use "register".
17458 * crypt/crypt.c (_ufc_doit_r): Likewise.
17459 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17460 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17461 * gmon/gmon.c (__monstartup): Likewise.
17462 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17463 * hurd/hurdmalloc.c (more_memory): Likewise.
17464 (malloc): Likewise.
17466 (realloc): Likewise.
17467 (malloc_fork_prepare): Likewise.
17468 (malloc_fork_parent): Likewise.
17469 (malloc_fork_child): Likewise.
17470 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17471 (_svcauth_des): Likewise.
17472 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17473 * inet/inet_net.c (inet_network): Likewise.
17474 * inet/inet_netof.c (inet_netof): Likewise.
17475 * inet/rcmd.c (__validuser2_sa): Likewise.
17476 * io/fts.c (fts_open): Likewise.
17477 (fts_load): Likewise.
17478 (fts_close): Likewise.
17479 (fts_read): Likewise.
17480 (fts_children): Likewise.
17481 (fts_build): Likewise.
17482 (fts_stat): Likewise.
17483 (fts_sort): Likewise.
17484 (fts_alloc): Likewise.
17485 (fts_lfree): Likewise.
17486 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17487 (_IO_file_xsgetn): Likewise.
17488 (_IO_file_xsgetn_mmap): Likewise.
17489 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17490 (_IO_cookie_write): Likewise.
17491 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17492 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17493 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17494 * malloc/obstack.c (_obstack_begin): Likewise.
17495 (_obstack_begin_1): Likewise.
17496 (_obstack_newchunk): Likewise.
17497 (_obstack_allocated_p): Likewise.
17498 (obstack_free): Likewise.
17499 (_obstack_memory_used): Likewise.
17500 * misc/getttyent.c (getttynam): Likewise.
17501 (getttyent): Likewise.
17504 * misc/getusershell.c (initshells): Likewise.
17505 * misc/syslog.c (__vsyslog_chk): Likewise.
17506 * misc/ttyslot.c (ttyslot): Likewise.
17507 * nis/nis_hash.c (__nis_hash): Likewise.
17508 * posix/fnmatch_loop.c (FCT): Likewise.
17509 * posix/getconf.c (print_all): Likewise.
17511 * posix/getopt.c (exchange): Likewise.
17512 * posix/glob.c (globfree): Likewise.
17513 (prefix_array): Likewise.
17514 (__glob_pattern_type): Likewise.
17515 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17516 (NS_GET32): Likewise.
17517 (NS_PUT16): Likewise.
17518 (NS_PUT32): Likewise.
17519 * resolv/gethnamaddr.c (getanswer): Likewise.
17520 (gethostbyname2): Likewise.
17521 (gethostbyaddr): Likewise.
17522 (_gethtent): Likewise.
17523 (_gethtbyname2): Likewise.
17524 (_gethtbyaddr): Likewise.
17525 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17526 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17527 * resolv/res_init.c (__res_vinit): Likewise.
17528 (net_mask): Likewise.
17529 * resolv/res_mkquery.c (outchar): Likewise.
17531 * stdio-common/printf_fp.c (outchar): Likewise.
17533 * stdio-common/printf_fphex.c (outchar): Likewise.
17535 * stdio-common/printf_size.c (outchar): Likewise.
17537 * stdio-common/test_rdwr.c (main): Likewise.
17538 * stdio-common/tfformat.c (matches): Likewise.
17539 * stdio-common/vfprintf.c (outchar): Likewise.
17540 (printf_unknown): Likewise.
17541 (buffered_vfprintf): Likewise.
17542 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17543 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17544 (ReadFile): Likewise.
17545 * stdlib/qsort.c (SWAP): Likewise.
17546 (_quicksort): Likewise.
17547 * stdlib/setenv.c (__add_to_environ): Likewise.
17548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17549 * stdlib/strtol_l.c (__strtol_l): Likewise.
17550 * stdlib/tst-strtod.c (main): Likewise.
17551 * stdlib/tst-strtol.c (main): Likewise.
17552 * stdlib/tst-strtoll.c (main): Likewise.
17553 * string/bits/string2.h (__strcmp_cc): Likewise.
17554 (__strcmp_cg): Likewise.
17555 (__strcspn_c1): Likewise.
17556 (__strcspn_c2): Likewise.
17557 (__strcspn_c3): Likewise.
17558 (__strspn_c1): Likewise.
17559 (__strspn_c2): Likewise.
17560 (__strspn_c3): Likewise.
17561 (__strsep_1c): Likewise.
17562 (__strsep_2c): Likewise.
17563 (__strsep_3c): Likewise.
17564 * string/memccpy.c (__memccpy): Likewise.
17565 * string/stpcpy.c (__stpcpy): Likewise.
17566 * string/strcmp.c (strcmp): Likewise.
17567 * string/strrchr.c (strrchr): Likewise.
17568 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17570 * sysdeps/mach/hurd/getcwd.c
17571 (_hurd_canonicalize_directory_name_internal): Likewise.
17572 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17573 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17574 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17575 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17576 Likewise, in both definitions.
17577 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17579 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17580 64] (__bswap_64): Likewise.
17581 * time/test_time.c (main): Likewise.
17582 * time/tzfile.c (__tzfile_read): Likewise.
17583 (__tzfile_compute): Likewise.
17584 * time/tzset.c (__tzset_parse_tz): Likewise.
17585 (tzset_internal): Likewise.
17586 (compute_change): Likewise.
17587 * wcsmbs/wcscat.c (__wcscat): Likewise.
17588 * wcsmbs/wcschr.c (wcschr): Likewise.
17589 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17590 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17591 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17592 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17593 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17594 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17595 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17596 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17597 * wcsmbs/wmemset.c (wmemset): Likewise.
17599 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17601 * scripts/config.guess: Update to version 2013-05-16.
17602 * scripts/config.sub: Update to version 2013-04-24.
17603 * scripts/install-sh: Update to version 2011-11-20.07.
17604 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17605 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17607 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17609 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17610 * elf/sln.c: Likewise.
17611 * hurd/hurd/ioctl.h: Likewise.
17612 * hurd/hurdmalloc.c: Likewise.
17613 * hurd/xattr.c: Likewise.
17614 * include/shlib-compat.h: Likewise.
17615 * inet/ruserpass.c: Likewise.
17616 * libio/iofgets_u.c: Likewise.
17617 * libio/iofgetws_u.c: Likewise.
17618 * locale/programs/ld-identification.c: Likewise.
17619 * locale/programs/ld-time.c: Likewise.
17620 * mach/msg-destroy.c: Likewise.
17621 * nss/nss_files/files-netgrp.c: Likewise.
17622 * resolv/res_data.c: Likewise.
17623 * soft-fp/op-1.h: Likewise.
17624 * soft-fp/op-2.h: Likewise.
17625 * soft-fp/op-4.h: Likewise.
17626 * soft-fp/op-common.h: Likewise.
17627 * stdio-common/printf_fphex.c: Likewise.
17628 * stdlib/strtod_l.c: Likewise.
17629 * sunrpc/rpc/clnt.h: Likewise.
17630 * sysdeps/generic/framestate.c: Likewise.
17631 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17632 * sysdeps/i386/bsd-setjmp.S: Likewise.
17633 * sysdeps/i386/__longjmp.S: Likewise.
17634 * sysdeps/i386/setjmp.S: Likewise.
17635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17636 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17640 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17653 * sysdeps/ieee754/support.c: Likewise.
17654 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17655 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17656 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17657 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17658 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17659 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17660 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17661 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17662 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17663 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17664 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17665 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17666 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17667 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17669 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17670 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17673 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17675 * posix/transbug.c: Remove executable mode.
17677 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17679 * crypt/speeds.c: Remove trailing whitespace.
17680 * dlfcn/default.c: Likewise.
17681 * elf/ifuncdep2.c: Likewise.
17682 * elf/ifuncmain1.c: Likewise.
17683 * elf/ifuncmain1vis.c: Likewise.
17684 * elf/testobj.h: Likewise.
17685 * elf/tst-stackguard1.c: Likewise.
17686 * gmon/sys/gmon.h: Likewise.
17687 * hurd/hurdmsg.c: Likewise.
17688 * hurd/new-fd.c: Likewise.
17689 * hurd/ports-get.c: Likewise.
17690 * iconvdata/ibm1008_420.c: Likewise.
17691 * inet/tst-getni1.c: Likewise.
17692 * inet/tst-getni2.c: Likewise.
17693 * libio/ioungetc.c: Likewise.
17694 * libio/wfiledoalloc.c: Likewise.
17695 * manual/libm-err-tab.pl: Likewise.
17696 * math/w_dremf.c: Likewise.
17697 * misc/ftruncate.c: Likewise.
17698 * posix/bug-glob2.c: Likewise.
17699 * posix/tst-pcre.c: Likewise.
17700 * posix/wait4.c: Likewise.
17701 * resolv/README: Likewise.
17702 * resolv/res_debug.h: Likewise.
17703 * resolv/tst-inet_ntop.c: Likewise.
17704 * setjmp/bug269-setjmp.c: Likewise.
17705 * soft-fp/extended.h: Likewise.
17706 * soft-fp/op-1.h: Likewise.
17707 * soft-fp/op-2.h: Likewise.
17708 * soft-fp/op-4.h: Likewise.
17709 * soft-fp/op-8.h: Likewise.
17710 * soft-fp/testit.c: Likewise.
17711 * stdio-common/bug16.c: Likewise.
17712 * stdlib/random.c: Likewise.
17713 * sunrpc/rpcsvc/rquota.x: Likewise.
17714 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17715 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17717 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17718 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17720 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17721 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17722 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17724 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17743 * sysdeps/ieee754/s_lib_version.c: Likewise.
17744 * sysdeps/mach/hurd/check_fds.c: Likewise.
17745 * sysdeps/mach/hurd/getsockname.c: Likewise.
17746 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17747 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17748 * sysdeps/powerpc/bits/link.h: Likewise.
17749 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17750 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17751 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17752 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17753 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17754 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17755 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17756 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17757 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17758 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17759 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17760 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17761 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17762 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17763 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17764 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17765 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17768 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17770 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17771 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17772 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17773 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17774 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17775 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17776 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17778 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17781 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17783 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17784 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17785 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17786 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17787 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17788 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17789 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17790 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17791 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17792 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17793 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17794 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17795 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17796 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17797 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17798 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17802 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17803 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17804 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17805 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17806 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17808 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17809 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17811 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17813 * sysdeps/powerpc/sysdep.h: Likewise.
17814 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17815 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17816 * sysdeps/sh/dl-trampoline.S: Likewise.
17817 * sysdeps/sh/memset.S: Likewise.
17818 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17819 * sysdeps/sh/strlen.S: Likewise.
17820 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17821 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17822 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17823 * sysdeps/sparc/sparc32/rem.S: Likewise.
17824 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17825 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17826 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17827 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17828 * sysdeps/sparc/sparc32/urem.S: Likewise.
17829 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17830 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17831 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17832 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17833 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17834 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17835 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17836 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17837 * sysdeps/unix/bsd/times.c: Likewise.
17838 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17839 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17843 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17844 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17845 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17847 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17848 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17849 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17851 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17852 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17853 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17854 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17855 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17856 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17857 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17858 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17859 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17860 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17861 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17862 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17863 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17865 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17866 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17867 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17868 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17869 * sysdeps/x86_64/strcspn.S: Likewise.
17871 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17873 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17874 generated file. Regenerate properly from gen-translit.pl.
17875 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17876 locale/C-translit.h.
17878 2013-06-05 Andreas Schwab <schwab@suse.de>
17881 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17882 week as 6 instead of -1.
17883 * time/tst-strptime.c (day_tests): Add test case.
17885 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17887 * sysdeps/generic/math_private.h
17888 (libc_feholdexcept_setround_53bit): Replace with
17889 libc_feholdsetround_53bit.
17890 (libc_feupdateenv_53bit): Replace with
17891 libc_feresetround_53bit.
17892 (SET_RESTORE_ROUND_53BIT): Adjust.
17894 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17896 * string/test-strchrnul.c: Add copyright header.
17898 * posix/tst-getaddrinfo4.c: Increase test timeout.
17900 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17903 * math/libm-test.inc (MAX_EXP): Remove
17905 (ulp): Use MIN_EXP - MANT_DIG.
17906 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17908 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17910 * po/be.po: Revert last change.
17911 * po/zh_CN.po: Likewise.
17912 * po/header.pot: Likewise.
17914 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17916 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17917 link-libc-deps to empty as target-specific variable.
17918 * Makerules (link-libc-args): New variable.
17919 (libc-for-link): Likewise.
17920 (link-libc-deps): Likewise.
17921 (lib%.so): Depend on $(link-libc-deps). Link with
17923 (build-module): Link with $(link-libc-args).
17924 (build-module-asneeded): Likewise.
17925 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17927 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17928 target-specific variable.
17929 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17930 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17931 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17933 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17935 ($(objpfx)libpcprofile.so): Likewise.
17936 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17938 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17939 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17940 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17942 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17943 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17944 * login/Makefile ($(objpfx)libutil.so): Likewise.
17945 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17946 * math/Makefile ($(objpfx)libm.so): Likewise.
17947 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17948 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17949 variable instead of depending directly on libc.
17950 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17951 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17953 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17955 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17956 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17957 ($(objpfx)libanl.so): Likewise.
17958 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17960 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17962 * sysdeps/i386/fpu/Makefile: Remove file.
17963 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17964 ($(objpfx)libm.so): Remove dependency on ld.so.
17966 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17969 * nis/yp_xdr.c (XDRMAXNAME): Define.
17970 (XDRMAXRECORD): Define.
17971 (xdr_domainname): Use XDRMAXNAME.
17972 (xdr_mapname): Likewise.
17973 (xdr_peername): Likewise.
17974 (xdr_keydat): Use XDRMAXRECORD.
17975 (xdr_valdat): Likewise.
17977 2013-05-30 Jeff Law <law@redhat.com>
17980 * manual/errno.texi (ESTALE): Update to account for more than
17981 just NFS file systems.
17982 * sysdeps/gnu/errlist.c: Regenerated.
17984 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17987 * elf/Makefile (tests): Add tst-null-argv.
17988 (modules-names): Add tst-null-argv-lib.
17989 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17990 (tst-null-argv-ENV): Set environment for tst-null-argv.
17991 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17992 (RTLD_PROGNAME): New macro.
17993 * elf/tst-null-argv.c: New test case.
17994 * elf/tst-null-argv-lib.c: Library for test case.
17995 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17996 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17997 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17998 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17999 * elf/dl-init.c (call_init): Likewise.
18000 (_dl_init): Likewise.
18001 * elf/dl-load.c (print_search_path): Likewise.
18002 (_dl_map_object): Likewise.
18003 * elf/dl-lookup.c (do_lookup_x): Likewise.
18004 (add_dependency): Likewise.
18005 (_dl_lookup_symbol_x): Likewise.
18006 (_dl_debug_bindings): Likewise.
18007 * elf/dl-open.c (_dl_show_scope): Likewise.
18008 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18009 * elf/dl-version.c (match_symbol): Likewise.
18010 (_dl_check_map_versions): Likewise.
18011 * elf/rtld.c (dl_main): Likewise.
18012 (print_unresolved): Use RTLD_PROGNAME.
18013 (print_missing_version): Likewise.
18014 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18015 (elf_machine_rela): Likewise.
18016 * sysdeps/powerpc/powerpc32/dl-machine.c
18017 (__process_machine_rela): Likewise.
18018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18024 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18031 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18033 * po/be.po: Add descriptive title.
18034 * po/zh_CN.po: Likewise.
18035 * po/header.pot: Likewise.
18037 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18039 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18041 (enlarge_archive): Likewise.
18043 2013-05-28 Ben North <ben@redfrontdoor.org>
18045 * manual/arith.texi (frexp): It is the magnitude of the return
18046 value which lies in [0.5, 1), not the return value itself.
18048 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18052 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18054 * stdio-common/bug26.c (main): Correct fscanf template.
18056 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18057 declare _dl_skip_args.
18059 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18062 * manual/platform.texi: Add missing @end deftypefun.
18064 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18067 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18068 bit of mantissa of 2^16382.
18069 * math/libm-test.inc (hypot_test_data): Add more tests.
18071 * math/libm-test.inc: Add drem and pow10 to list of tested
18073 (pow10_test): New function.
18074 (drem_test): Likewise.
18075 (drem_test_tonearest): Likewise.
18076 (drem_test_towardzero): Likewise.
18077 (drem_test_downward): Likewise.
18078 (drem_test_upward): Likewise.
18079 (main): Call the new functions.
18081 * math/libm-test.inc (finite_test_data): Remove.
18082 (finite_test): Run tests from isfinite_test_data.
18083 (gamma_test_data): Remove.
18084 (gamma_test): Run tests from lgamma_test_data.
18085 * sysdeps/i386/fpu/libm-test-ulps: Update.
18086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18088 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18090 * manual/platform.texi: Add PowerPC PPR function set documentation.
18091 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18094 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18096 * math/libm-test.inc (MAX_EXP): Define.
18098 (ulp): New function.
18099 (check_float_internal): Use ULPDIFF.
18100 (cpow_test): Disable failing test.
18101 (check_ulp): Test ulp() implemetnation.
18102 (main): Call check_ulp before starting tests.
18104 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18106 * math/gen-libm-test.pl (generate_testfile): Do not handle
18107 START_DATA and END_DATA.
18108 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18110 (acos_tonearest_test_data): Likewise.
18111 (acos_towardzero_test_data): Likewise.
18112 (acos_downward_test_data): Likewise.
18113 (acos_upward_test_data): Likewise.
18114 (acosh_test_data): Likewise.
18115 (asin_test_data): Likewise.
18116 (asin_tonearest_test_data): Likewise.
18117 (asin_towardzero_test_data): Likewise.
18118 (asin_downward_test_data): Likewise.
18119 (asin_upward_test_data): Likewise.
18120 (asinh_test_data): Likewise.
18121 (atan_test_data): Likewise.
18122 (atanh_test_data): Likewise.
18123 (atan2_test_data): Likewise.
18124 (cabs_test_data): Likewise.
18125 (cacos_test_data): Likewise.
18126 (cacosh_test_data): Likewise.
18127 (carg_test_data): Likewise.
18128 (casin_test_data): Likewise.
18129 (casinh_test_data): Likewise.
18130 (catan_test_data): Likewise.
18131 (catanh_test_data): Likewise.
18132 (cbrt_test_data): Likewise.
18133 (ccos_test_data): Likewise.
18134 (ccosh_test_data): Likewise.
18135 (ceil_test_data): Likewise.
18136 (cexp_test_data): Likewise.
18137 (cimag_test_data): Likewise.
18138 (clog_test_data): Likewise.
18139 (clog10_test_data): Likewise.
18140 (conj_test_data): Likewise.
18141 (copysign_test_data): Likewise.
18142 (cos_test_data): Likewise.
18143 (cos_tonearest_test_data): Likewise.
18144 (cos_towardzero_test_data): Likewise.
18145 (cos_downward_test_data): Likewise.
18146 (cos_upward_test_data): Likewise.
18147 (cosh_test_data): Likewise.
18148 (cosh_tonearest_test_data): Likewise.
18149 (cosh_towardzero_test_data): Likewise.
18150 (cosh_downward_test_data): Likewise.
18151 (cosh_upward_test_data): Likewise.
18152 (cpow_test_data): Likewise.
18153 (cproj_test_data): Likewise.
18154 (creal_test_data): Likewise.
18155 (csin_test_data): Likewise.
18156 (csinh_test_data): Likewise.
18157 (csqrt_test_data): Likewise.
18158 (ctan_test_data): Likewise.
18159 (ctan_tonearest_test_data): Likewise.
18160 (ctan_towardzero_test_data): Likewise.
18161 (ctan_downward_test_data): Likewise.
18162 (ctan_upward_test_data): Likewise.
18163 (ctanh_test_data): Likewise.
18164 (ctanh_tonearest_test_data): Likewise.
18165 (ctanh_towardzero_test_data): Likewise.
18166 (ctanh_downward_test_data): Likewise.
18167 (ctanh_upward_test_data): Likewise.
18168 (erf_test_data): Likewise.
18169 (erfc_test_data): Likewise.
18170 (exp_test_data): Likewise.
18171 (exp_tonearest_test_data): Likewise.
18172 (exp_towardzero_test_data): Likewise.
18173 (exp_downward_test_data): Likewise.
18174 (exp_upward_test_data): Likewise.
18175 (exp10_test_data): Likewise.
18176 (exp2_test_data): Likewise.
18177 (expm1_test_data): Likewise.
18178 (fabs_test_data): Likewise.
18179 (fdim_test_data): Likewise.
18180 (finite_test_data): Likewise.
18181 (floor_test_data): Likewise.
18182 (fma_test_data): Likewise.
18183 (fma_towardzero_test_data): Likewise.
18184 (fma_downward_test_data): Likewise.
18185 (fma_upward_test_data): Likewise.
18186 (fmax_test_data): Likewise.
18187 (fmin_test_data): Likewise.
18188 (fmod_test_data): Likewise.
18189 (fpclassify_test_data): Likewise.
18190 (frexp_test_data): Likewise.
18191 (gamma_test_data): Likewise.
18192 (hypot_test_data): Likewise.
18193 (ilogb_test_data): Likewise.
18194 (isfinite_test_data): Likewise.
18195 (isgreater_test_data): Likewise.
18196 (isgreaterequal_test_data): Likewise.
18197 (isinf_test_data): Likewise.
18198 (isless_test_data): Likewise.
18199 (islessequal_test_data): Likewise.
18200 (islessgreater_test_data): Likewise.
18201 (isnan_test_data): Likewise.
18202 (isnormal_test_data): Likewise.
18203 (issignaling_test_data): Likewise.
18204 (isunordered_test_data): Likewise.
18205 (j0_test_data): Likewise.
18206 (j1_test_data): Likewise.
18207 (jn_test_data): Likewise.
18208 (ldexp_test_data): Likewise.
18209 (lgamma_test_data): Likewise.
18210 (lrint_test_data): Likewise.
18211 (lrint_tonearest_test_data): Likewise.
18212 (lrint_towardzero_test_data): Likewise.
18213 (lrint_downward_test_data): Likewise.
18214 (lrint_upward_test_data): Likewise.
18215 (llrint_test_data): Likewise.
18216 (llrint_tonearest_test_data): Likewise.
18217 (llrint_towardzero_test_data): Likewise.
18218 (llrint_downward_test_data): Likewise.
18219 (llrint_upward_test_data): Likewise.
18220 (log_test_data): Likewise.
18221 (log10_test_data): Likewise.
18222 (log1p_test_data): Likewise.
18223 (log2_test_data): Likewise.
18224 (logb_test_data): Likewise.
18225 (logb_downward_test_data): Likewise.
18226 (lround_test_data): Likewise.
18227 (llround_test_data): Likewise.
18228 (modf_test_data): Likewise.
18229 (nearbyint_test_data): Likewise.
18230 (nextafter_test_data): Likewise.
18231 (nexttoward_test_data): Likewise.
18232 (pow_test_data): Likewise.
18233 (pow_tonearest_test_data): Likewise.
18234 (pow_towardzero_test_data): Likewise.
18235 (pow_downward_test_data): Likewise.
18236 (pow_upward_test_data): Likewise.
18237 (remainder_test_data): Likewise.
18238 (remainder_tonearest_test_data): Likewise.
18239 (remainder_towardzero_test_data): Likewise.
18240 (remainder_downward_test_data): Likewise.
18241 (remainder_upward_test_data): Likewise.
18242 (remquo_test_data): Likewise.
18243 (rint_test_data): Likewise.
18244 (rint_tonearest_test_data): Likewise.
18245 (rint_towardzero_test_data): Likewise.
18246 (rint_downward_test_data): Likewise.
18247 (rint_upward_test_data): Likewise.
18248 (round_test_data): Likewise.
18249 (scalb_test_data): Likewise.
18250 (scalbn_test_data): Likewise.
18251 (scalbln_test_data): Likewise.
18252 (signbit_test_data): Likewise.
18253 (sin_test_data): Likewise.
18254 (sin_tonearest_test_data): Likewise.
18255 (sin_towardzero_test_data): Likewise.
18256 (sin_downward_test_data): Likewise.
18257 (sin_upward_test_data): Likewise.
18258 (sincos_test_data): Likewise.
18259 (sinh_test_data): Likewise.
18260 (sinh_tonearest_test_data): Likewise.
18261 (sinh_towardzero_test_data): Likewise.
18262 (sinh_downward_test_data): Likewise.
18263 (sinh_upward_test_data): Likewise.
18264 (sqrt_test_data): Likewise.
18265 (tan_test_data): Likewise.
18266 (tan_tonearest_test_data): Likewise.
18267 (tan_towardzero_test_data): Likewise.
18268 (tan_downward_test_data): Likewise.
18269 (tan_upward_test_data): Likewise.
18270 (tanh_test_data): Likewise.
18271 (tgamma_test_data): Likewise.
18272 (trunc_test_data): Likewise.
18273 (y0_test_data): Likewise.
18274 (y1_test_data): Likewise.
18275 (yn_test_data): Likewise.
18276 (significand_test_data): Likewise.
18278 * math/gen-libm-test.pl (@functions): Remove variable.
18279 (generate_testfile): Don't handle START and END lines.
18280 * math/libm-test.inc (START): New macro.
18282 (END_COMPLEX): Likewise.
18283 (acos_test): Use END macro without arguments.
18284 (acos_test_tonearest): Likewise.
18285 (acos_test_towardzero): Likewise.
18286 (acos_test_downward): Likewise.
18287 (acos_test_upward): Likewise.
18288 (acosh_test): Likewise.
18289 (asin_test): Likewise.
18290 (asin_test_tonearest): Likewise.
18291 (asin_test_towardzero): Likewise.
18292 (asin_test_downward): Likewise.
18293 (asin_test_upward): Likewise.
18294 (asinh_test): Likewise.
18295 (atan_test): Likewise.
18296 (atanh_test): Likewise.
18297 (atan2_test): Likewise.
18298 (cabs_test): Likewise.
18299 (cacos_test): Use END_COMPLEX macro without arguments.
18300 (cacosh_test): Likewise.
18301 (carg_test): Use END macro without arguments.
18302 (casin_test): Use END_COMPLEX macro without arguments.
18303 (casinh_test): Likewise.
18304 (catan_test): Likewise.
18305 (catanh_test): Likewise.
18306 (cbrt_test): Use END macro without arguments.
18307 (ccos_test): Use END_COMPLEX macro without arguments.
18308 (ccosh_test): Likewise.
18309 (ceil_test): Use END macro without arguments.
18310 (cexp_test): Use END_COMPLEX macro without arguments.
18311 (cimag_test): Use END macro without arguments.
18312 (clog_test): Use END_COMPLEX macro without arguments.
18313 (clog10_test): Likewise.
18314 (conj_test): Likewise.
18315 (copysign_test): Use END macro without arguments.
18316 (cos_test): Likewise.
18317 (cos_test_tonearest): Likewise.
18318 (cos_test_towardzero): Likewise.
18319 (cos_test_downward): Likewise.
18320 (cos_test_upward): Likewise.
18321 (cosh_test): Likewise.
18322 (cosh_test_tonearest): Likewise.
18323 (cosh_test_towardzero): Likewise.
18324 (cosh_test_downward): Likewise.
18325 (cosh_test_upward): Likewise.
18326 (cpow_test): Use END_COMPLEX macro without arguments.
18327 (cproj_test): Likewise.
18328 (creal_test): Use END macro without arguments.
18329 (csin_test): Use END_COMPLEX macro without arguments.
18330 (csinh_test): Likewise.
18331 (csqrt_test): Likewise.
18332 (ctan_test): Likewise.
18333 (ctan_test_tonearest): Likewise.
18334 (ctan_test_towardzero): Likewise.
18335 (ctan_test_downward): Likewise.
18336 (ctan_test_upward): Likewise.
18337 (ctanh_test): Likewise.
18338 (ctanh_test_tonearest): Likewise.
18339 (ctanh_test_towardzero): Likewise.
18340 (ctanh_test_downward): Likewise.
18341 (ctanh_test_upward): Likewise.
18342 (erf_test): Use END macro without arguments.
18343 (erfc_test): Likewise.
18344 (exp_test): Likewise.
18345 (exp_test_tonearest): Likewise.
18346 (exp_test_towardzero): Likewise.
18347 (exp_test_downward): Likewise.
18348 (exp_test_upward): Likewise.
18349 (exp10_test): Likewise.
18350 (exp2_test): Likewise.
18351 (expm1_test): Likewise.
18352 (fabs_test): Likewise.
18353 (fdim_test): Likewise.
18354 (finite_test): Likewise.
18355 (floor_test): Likewise.
18356 (fma_test): Likewise.
18357 (fma_test_towardzero): Likewise.
18358 (fma_test_downward): Likewise.
18359 (fma_test_upward): Likewise.
18360 (fmax_test): Likewise.
18361 (fmin_test): Likewise.
18362 (fmod_test): Likewise.
18363 (fpclassify_test): Likewise.
18364 (frexp_test): Likewise.
18365 (gamma_test): Likewise.
18366 (hypot_test): Likewise.
18367 (ilogb_test): Likewise.
18368 (isfinite_test): Likewise.
18369 (isgreater_test): Likewise.
18370 (isgreaterequal_test): Likewise.
18371 (isinf_test): Likewise.
18372 (isless_test): Likewise.
18373 (islessequal_test): Likewise.
18374 (islessgreater_test): Likewise.
18375 (isnan_test): Likewise.
18376 (isnormal_test): Likewise.
18377 (issignaling_test): Likewise.
18378 (isunordered_test): Likewise.
18379 (j0_test): Likewise.
18380 (j1_test): Likewise.
18381 (jn_test): Likewise.
18382 (ldexp_test): Likewise.
18383 (lgamma_test): Likewise.
18384 (lrint_test): Likewise.
18385 (lrint_test_tonearest): Likewise.
18386 (lrint_test_towardzero): Likewise.
18387 (lrint_test_downward): Likewise.
18388 (lrint_test_upward): Likewise.
18389 (llrint_test): Likewise.
18390 (llrint_test_tonearest): Likewise.
18391 (llrint_test_towardzero): Likewise.
18392 (llrint_test_downward): Likewise.
18393 (llrint_test_upward): Likewise.
18394 (log_test): Likewise.
18395 (log10_test): Likewise.
18396 (log1p_test): Likewise.
18397 (log2_test): Likewise.
18398 (logb_test): Likewise.
18399 (logb_test_downward): Likewise.
18400 (lround_test): Likewise.
18401 (llround_test): Likewise.
18402 (modf_test): Likewise.
18403 (nearbyint_test): Likewise.
18404 (nextafter_test): Likewise.
18405 (nexttoward_test): Likewise.
18406 (pow_test): Likewise.
18407 (pow_test_tonearest): Likewise.
18408 (pow_test_towardzero): Likewise.
18409 (pow_test_downward): Likewise.
18410 (pow_test_upward): Likewise.
18411 (remainder_test): Likewise.
18412 (remainder_test_tonearest): Likewise.
18413 (remainder_test_towardzero): Likewise.
18414 (remainder_test_downward): Likewise.
18415 (remainder_test_upward): Likewise.
18416 (remquo_test): Likewise.
18417 (rint_test): Likewise.
18418 (rint_test_tonearest): Likewise.
18419 (rint_test_towardzero): Likewise.
18420 (rint_test_downward): Likewise.
18421 (rint_test_upward): Likewise.
18422 (round_test): Likewise.
18423 (scalb_test): Likewise.
18424 (scalbn_test): Likewise.
18425 (scalbln_test): Likewise.
18426 (signbit_test): Likewise.
18427 (sin_test): Likewise.
18428 (sin_test_tonearest): Likewise.
18429 (sin_test_towardzero): Likewise.
18430 (sin_test_downward): Likewise.
18431 (sin_test_upward): Likewise.
18432 (sincos_test): Likewise.
18433 (sinh_test): Likewise.
18434 (sinh_test_tonearest): Likewise.
18435 (sinh_test_towardzero): Likewise.
18436 (sinh_test_downward): Likewise.
18437 (sinh_test_upward): Likewise.
18438 (sqrt_test): Likewise.
18439 (tan_test): Likewise.
18440 (tan_test_tonearest): Likewise.
18441 (tan_test_towardzero): Likewise.
18442 (tan_test_downward): Likewise.
18443 (tan_test_upward): Likewise.
18444 (tanh_test): Likewise.
18445 (tgamma_test): Likewise.
18446 (trunc_test): Likewise.
18447 (y0_test): Likewise.
18448 (y1_test): Likewise.
18449 (yn_test): Likewise.
18450 (significand_test): Likewise.
18452 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18455 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18457 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18460 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18461 __ppc_mdoio and __ppc_mdoom.
18462 * manual/platform.texi: Document new functions __ppc_yield,
18463 __ppc_mdoio and __ppc_mdoom.
18465 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18467 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18468 (main): Mention "tls" pseudo-hwcap is legacy.
18469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18471 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18473 * math/gen-libm-test.pl (parse_args): Output only string of
18474 arguments as text for test name, not full call or descriptions of
18475 tests for extra outputs.
18476 (generate_testfile): Do not pass function name to parse_args.
18477 Generate this_func variable from START.
18478 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18480 (struct test_ff_f_data): Likewise.
18481 (test_ff_f_data_nexttoward): Likewise.
18482 (struct test_fi_f_data): Likewise.
18483 (struct test_fl_f_data): Likewise.
18484 (struct test_if_f_data): Likewise.
18485 (struct test_fff_f_data): Likewise.
18486 (struct test_c_f_data): Likewise.
18487 (struct test_f_f1_data): Likewise. Remove field extra_name.
18488 (struct test_fF_f1_data): Likewise.
18489 (struct test_ffI_f1_data): Likewise.
18490 (struct test_c_c_data): Rename test_name field to arg_str.
18491 (struct test_cc_c_data): Likewise.
18492 (struct test_f_i_data): Likewise.
18493 (struct test_ff_i_data): Likewise.
18494 (struct test_f_l_data): Likewise.
18495 (struct test_f_L_data): Likewise.
18496 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18498 (COMMON_TEST_SETUP): New macro.
18499 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18500 (COMMON_TEST_CLEANUP): Likewise.
18501 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18502 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18504 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18505 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18507 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18508 (RUN_TEST_fff_f): Take argument string. Call new setup and
18510 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18511 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18513 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18514 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18516 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18517 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18519 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18520 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18522 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18523 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18525 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18526 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18528 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18529 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18531 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18532 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18534 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18535 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18537 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18538 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18540 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18541 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18543 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18544 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18546 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18547 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18549 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18550 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18552 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18553 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18555 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18557 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18559 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18560 to _sifields.sigfault.
18561 (si_addr_lsb): Define new macro.
18562 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18564 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18566 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18569 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18571 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18573 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18574 loading the domain.
18576 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18578 * math/gen-libm-test.pl (parse_args): Do not include expected
18579 result in test name.
18580 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18582 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18584 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18587 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18589 * benchtests/Makefile: Sort function entries.
18591 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18592 tanh, asinh, acosh, atanh.
18593 * benchtests/acos-inputs: New file.
18594 * benchtests/acosh-inputs: New file.
18595 * benchtests/asin-inputs: New file.
18596 * benchtests/asinh-inputs: New file.
18597 * benchtests/atanh-inputs: New file.
18598 * benchtests/cosh-inputs: New file.
18599 * benchtests/log-inputs: New file.
18600 * benchtests/sinh-inputs: New file.
18601 * benchtests/tanh-inputs: New file.
18603 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18606 * posix/tst-getaddrinfo4.c: New test.
18607 * posix/Makefile (tests): Add it.
18609 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18612 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18613 when no services were used.
18614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18615 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18617 2013-05-21 Andreas Schwab <schwab@suse.de>
18620 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18621 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18623 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18624 redundant variable declarations and reallocation of buffer when
18625 parsing as IPv6 address. Always set NSS status when called from
18626 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18627 buffer too small. Correct computation of needed size.
18628 * nss/Makefile (tests): Add test-digits-dots.
18629 * nss/test-digits-dots.c: New test.
18631 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * benchtests/Makefile: Remove instructions for adding
18635 * benchtests/README: New file to explain how to execute and
18636 enhance the benchmark tests.
18638 2013-05-21 Andreas Schwab <schwab@suse.de>
18641 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18642 * setjmp/tst-sigsetjmp.c: New test.
18644 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18646 * sysdeps/x86_64/memset.S (memset): New implementation.
18647 (__bzero): Likewise.
18648 (__memset_tail): New function.
18650 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18652 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18653 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18654 __memcpy_sse2_unaligned ifunc selection.
18655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18656 Add memcpy-sse2-unaligned.S.
18657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18658 Add: __memcpy_sse2_unaligned.
18660 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18663 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18664 math_force_eval before restoring floating-point envrionment.
18665 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18666 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18670 (__nearbyintl): Use math_force_eval before restoring
18671 floating-point environment.
18672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18674 * math/gen-libm-test.pl (special_functions): Remove.
18675 (parse_args): Don't handle TEST_extra. Handle functions with no
18677 * math/libm-test.inc (struct test_sincos_data): Replace with
18678 struct test_fFF_11_data.
18679 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18680 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18681 (sincos_test_data): Change element type to struct
18682 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18683 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18684 RUN_TEST_LOOP_sincos.
18685 * math/README.libm-test: Don't mention special handling of
18686 individual functions.
18687 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18690 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18691 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18694 * math/gen-libm-test.pl (get_variable): Remove function.
18695 (parse_args): Don't show pointer parameters to call in test
18696 names. Use "extra output N" in test names for extra outputs
18697 rather than naming variables.
18699 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18702 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18703 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18704 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18706 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18708 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18711 * math/gen-libm-test.pl (@tests): Remove variable.
18712 ($count): Likewise.
18713 (new_test): Remove function.
18714 (show_exceptions): New function.
18715 (special_functions): Use show_exceptions instead of new_test.
18716 (parse_args): Likewise.
18717 (generate_testfile): Pass only function name in generated call to
18718 print_max_error or print_complex_max_error.
18719 (get_ulps): Do not handle complex tests specially.
18720 (output_test): Rename to ...
18721 (get_all_ulps_for_test): ... this. Return a string rather than
18722 printing to a file. Require ulps to be present.
18723 (output_ulps): Generate arrays rather than #defines.
18724 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18725 (struct ulp_data): New type.
18726 (BUILD_COMPLEX_ULP): Remove macro.
18727 (compare_ulp_data): New function.
18728 (find_ulps): Likewise.
18729 (find_test_ulps): Likewise.
18730 (find_function_ulps): Likewise.
18731 (find_complex_function_ulps): Likewise.
18732 (print_max_error): Determine allowed ulps using
18733 find_function_ulps.
18734 (print_complex_max_error): Determine allowed ulps using
18735 find_complex_function_ulps.
18736 (check_float_internal): Determine max ulps using find_test_ulps.
18737 (check_float): Do not take max_ulp parameter. Update call to
18738 check_float_internal.
18739 (check_complex): Likewise.
18740 (check_int): Do not take max_ulp parameter.
18741 (check_long): Likewise.
18742 (check_bool): Likewise.
18743 (check_longlong): Likewise.
18744 (struct test_f_f_data): Remove max_ulp field.
18745 (struct test_ff_f_data): Likewise.
18746 (struct test_ff_f_data_nexttoward): Likewise.
18747 (struct test_fi_f_data): Likewise.
18748 (struct test_fl_f_data): Likewise.
18749 (struct test_if_f_data): Likewise.
18750 (struct test_fff_f_data): Likewise.
18751 (struct test_c_f_data): Likewise.
18752 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18753 (struct test_fF_f1_data): Likewise.
18754 (struct test_ffI_f1_data): Likewise.
18755 (struct test_c_c_data): Remove max_ulp field.
18756 (struct test_cc_c_data): Likewise.
18757 (struct test_f_i_data): Likewise.
18758 (struct test_ff_i_data): Likewise.
18759 (struct test_f_l_data): Likewise.
18760 (struct test_f_L_data): Likewise.
18761 (struct test_sincos_data): Likewise.
18762 (RUN_TEST_f_f): Do not handle ulps.
18763 (RUN_TEST_LOOP_f_f): Likewise.
18764 (RUN_TEST_2_f): Likewise.
18765 (RUN_TEST_LOOP_2_f): Likewise.
18766 (RUN_TEST_fff_f): Likewise.
18767 (RUN_TEST_LOOP_fff_f): Likewise.
18768 (RUN_TEST_c_f): Likewise.
18769 (RUN_TEST_LOOP_c_f): Likewise.
18770 (RUN_TEST_f_f1): Likewise.
18771 (RUN_TEST_LOOP_f_f1): Likewise.
18772 (RUN_TEST_fF_f1): Likewise.
18773 (RUN_TEST_LOOP_fF_f1): Likewise.
18774 (RUN_TEST_fI_f1): Likewise.
18775 (RUN_TEST_LOOP_fI_f1): Likewise.
18776 (RUN_TEST_ffI_f1): Likewise.
18777 (RUN_TEST_LOOP_ffI_f1): Likewise.
18778 (RUN_TEST_c_c): Likewise.
18779 (RUN_TEST_LOOP_c_c): Likewise.
18780 (RUN_TEST_cc_c): Likewise.
18781 (RUN_TEST_LOOP_cc_c): Likewise.
18782 (RUN_TEST_f_i): Likewise.
18783 (RUN_TEST_LOOP_f_i): Likewise.
18784 (RUN_TEST_f_i_tg): Likewise.
18785 (RUN_TEST_LOOP_f_i_tg): Likewise.
18786 (RUN_TEST_ff_i_tg): Likewise.
18787 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18788 (RUN_TEST_f_b): Likewise.
18789 (RUN_TEST_LOOP_f_b): Likewise.
18790 (RUN_TEST_f_b_tg): Likewise.
18791 (RUN_TEST_LOOP_f_b_tg): Likewise.
18792 (RUN_TEST_f_l): Likewise.
18793 (RUN_TEST_LOOP_f_l): Likewise.
18794 (RUN_TEST_f_L): Likewise.
18795 (RUN_TEST_LOOP_f_L): Likewise.
18796 (RUN_TEST_sincos): Likewise.
18797 (RUN_TEST_LOOP_sincos): Likewise.
18799 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18803 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18804 main case of finite arguments, set rounding mode to FE_TONEAREST
18805 and discard exceptions.
18806 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18808 (remainder_tonearest_test_data): New variable.
18809 (remainder_test_tonearest): New function.
18810 (remainder_towardzero_test_data): New variable.
18811 (remainder_test_towardzero): New function.
18812 (remainder_downward_test_data): New variable.
18813 (remainder_test_downward): New function.
18814 (remainder_upward_test_data): New variable.
18815 (remainder_test_upward): New function.
18816 (main): Call the new test functions.
18818 * math/libm-test.inc (struct test_f_f1_data): Remove field
18820 (struct test_fF_f1_data): Likewise.
18821 (struct test_ffI_f1_data): Likewise.
18822 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18823 based on value of EXTRA_EXPECTED.
18824 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18825 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18826 EXTRA_VAR based on value of EXTRA_EXPECTED.
18827 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18828 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18829 EXTRA_VAR based on value of EXTRA_EXPECTED.
18830 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18831 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18832 EXTRA_VAR based on value of EXTRA_EXPECTED.
18833 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18834 * math/gen-libm-test.pl (parse_args): Don't output initializers
18835 for extra output values.
18837 * math/libm-test.inc (check_int): Expect result to be exactly
18838 equal to expected value and do not handle ulps.
18839 (check_long): Likewise.
18840 (check_longlong): Likewise.
18842 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18844 (cimag_test_data): Likewise.
18845 (conj_test_data): Likewise.
18846 (copysign_test_data): Likewise.
18847 (cproj_test_data): Likewise.
18848 (creal_test_data): Likewise.
18849 (fabs_test_data): Likewise.
18850 (fdim_test_data): Likewise.
18851 (finite_test_data): Likewise.
18852 (floor_test_data): Likewise.
18853 (fmax_test_data): Likewise.
18854 (fmin_test_data): Likewise.
18855 (fmod_test_data): Likewise.
18856 (fpclassify_test_data): Likewise.
18857 (frexp_test_data): Likewise.
18858 (ilogb_test_data): Likewise.
18859 (isfinite_test_data): Likewise.
18860 (isgreater_test_data): Likewise.
18861 (isgreaterequal_test_data): Likewise.
18862 (isinf_test_data): Likewise.
18863 (isless_test_data): Likewise.
18864 (islessequal_test_data): Likewise.
18865 (islessgreater_test_data): Likewise.
18866 (isnan_test_data): Likewise.
18867 (isnormal_test_data): Likewise.
18868 (issignaling_test_data): Likewise.
18869 (isunordered_test_data): Likewise.
18870 (ldexp_test_data): Likewise.
18871 (lrint_test_data): Likewise.
18872 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18873 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18874 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18875 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18876 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18877 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18879 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18880 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18881 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18882 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18884 (lrint_downward_test_data): Test for "inexact" exceptions.
18885 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18886 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18887 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18889 (lrint_upward_test_data): Test for "inexact" exceptions.
18890 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18892 (llrint_test_data): Test for "inexact" exceptions.
18893 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18894 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18895 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18896 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18897 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18898 (llrint_downward_test_data): Test for "inexact" exceptions.
18899 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18900 (llrint_upward_test_data): Test for "inexact" exceptions.
18901 (logb_test_data): Likewise.
18902 (logb_downward_test_data): Likewise.
18903 (nextafter_test_data): Likewise.
18904 (nexttoward_test_data): Likewise.
18905 (remainder_test_data): Likewise.
18906 (remquo_test_data): Likewise.
18907 (scalbn_test_data): Likewise.
18908 (scalbln_test_data): Likewise.
18909 (signbit_test_data): Likewise.
18910 (sqrt_test_data): Likewise.
18911 (significand_test_data): Likewise.
18913 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18916 * benchtests/bench-modf.c (struct args): Mark arg0 as
18918 * scripts/bench.pl: Mark members of struct args as volatile.
18920 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18923 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18924 negative infinity on POWER6 or lower.
18925 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18927 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18930 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18931 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18932 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18933 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18934 (_FP_SETQNAN): New macro.
18935 (_FP_SETQNAN_SEMIRAW): Likewise.
18936 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18937 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18938 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18939 (FP_EXTEND): Use _FP_FRAC_SNANP.
18940 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18941 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18948 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18950 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18951 with DIVIDE_BY_ZERO_EXCEPTION.
18952 (gamma_test_data): Likewise.
18953 (lgamma_test_data): Likewise.
18954 (log_test_data): Likewise.
18955 (log10_test_data): Likewise.
18956 (log2_test_data): Likewise.
18957 (tgamma_test_data): Likewise.
18959 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18960 (acos_test_tonearest): Likewise.
18961 (acos_test_towardzero): Likewise.
18962 (acos_test_downward): Likewise.
18963 (acos_test_upward): Likewise.
18964 (acosh_test): Likewise.
18965 (asin_test): Likewise.
18966 (asin_test_tonearest): Likewise.
18967 (asin_test_towardzero): Likewise.
18968 (asin_test_downward): Likewise.
18969 (asin_test_upward): Likewise.
18970 (asinh_test): Likewise.
18971 (atan_test): Likewise.
18972 (atanh_test): Likewise.
18973 (atan2_test): Likewise.
18974 (cabs_test): Likewise.
18975 (cacos_test): Likewise.
18976 (cacosh_test): Likewise.
18977 (casin_test): Likewise.
18978 (casinh_test): Likewise.
18979 (catan_test): Likewise.
18980 (catanh_test): Likewise.
18981 (cbrt_test): Likewise.
18982 (ccos_test): Likewise.
18983 (ccosh_test): Likewise.
18984 (cexp_test): Likewise.
18985 (clog_test): Likewise.
18986 (clog10_test): Likewise.
18987 (cos_test): Likewise.
18988 (cos_test_tonearest): Likewise.
18989 (cos_test_towardzero): Likewise.
18990 (cos_test_downward): Likewise.
18991 (cos_test_upward): Likewise.
18992 (cosh_test): Likewise.
18993 (cosh_test_tonearest): Likewise.
18994 (cosh_test_towardzero): Likewise.
18995 (cosh_test_downward): Likewise.
18996 (cosh_test_upward): Likewise.
18997 (cpow_test): Likewise.
18998 (csin_test): Likewise.
18999 (csinh_test): Likewise.
19000 (csqrt_test): Likewise.
19001 (ctan_test): Likewise.
19002 (ctan_test_tonearest): Likewise.
19003 (ctan_test_towardzero): Likewise.
19004 (ctan_test_downward): Likewise.
19005 (ctan_test_upward): Likewise.
19006 (ctanh_test): Likewise.
19007 (ctanh_test_tonearest): Likewise.
19008 (ctanh_test_towardzero): Likewise.
19009 (ctanh_test_downward): Likewise.
19010 (ctanh_test_upward): Likewise.
19011 (erf_test): Likewise.
19012 (erfc_test): Likewise.
19013 (exp_test): Likewise.
19014 (exp_test_tonearest): Likewise.
19015 (exp_test_towardzero): Likewise.
19016 (exp_test_downward): Likewise.
19017 (exp_test_upward): Likewise.
19018 (exp10_test): Likewise.
19019 (exp2_test): Likewise.
19020 (expm1_test): Likewise.
19021 (fmod_test): Likewise.
19022 (gamma_test): Likewise.
19023 (hypot_test): Likewise.
19024 (j0_test): Likewise.
19025 (j1_test): Likewise.
19026 (jn_test): Likewise.
19027 (lgamma_test): Likewise.
19028 (log_test): Likewise.
19029 (log10_test): Likewise.
19030 (log1p_test): Likewise.
19031 (log2_test): Likewise.
19032 (logb_test_downward): Likewise.
19033 (pow_test): Likewise.
19034 (pow_test_tonearest): Likewise.
19035 (pow_test_towardzero): Likewise.
19036 (pow_test_downward): Likewise.
19037 (pow_test_upward): Likewise.
19038 (remainder_test): Likewise.
19039 (remquo_test): Likewise.
19040 (sin_test): Likewise.
19041 (sin_test_tonearest): Likewise.
19042 (sin_test_towardzero): Likewise.
19043 (sin_test_downward): Likewise.
19044 (sin_test_upward): Likewise.
19045 (sincos_test): Likewise.
19046 (sinh_test): Likewise.
19047 (sinh_test_tonearest): Likewise.
19048 (sinh_test_towardzero): Likewise.
19049 (sinh_test_downward): Likewise.
19050 (sinh_test_upward): Likewise.
19051 (sqrt_test): Likewise.
19052 (tan_test): Likewise.
19053 (tan_test_tonearest): Likewise.
19054 (tan_test_towardzero): Likewise.
19055 (tan_test_downward): Likewise.
19056 (tan_test_upward): Likewise.
19057 (tanh_test): Likewise.
19058 (tgamma_test): Likewise.
19059 (y0_test): Likewise.
19060 (y1_test): Likewise.
19061 (yn_test): Likewise.
19063 * math/gen-libm-test.pl (adjust_arg): Remove function.
19064 (special_function): Remove argument $in_func. Only handle
19065 generating output for tables of tests, not inside functions.
19066 (parse_args): Likewise.
19067 (generate_testfile): Remove variable $in_func. Update call to
19069 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19070 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19071 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19072 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19073 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19074 (MAX_VALUE_INIT): Rename macro to max_value.
19075 (MIN_VALUE_INIT): Rename macro to min_value.
19076 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19077 (plus_zero): Remove variable.
19078 (minus_zero): Likewise.
19079 (plus_infty): Likewise.
19080 (minus_infty): Likewise.
19081 (qnan_value): Likewise.
19082 (max_value): Likewise.
19083 (min_value): Likewise.
19084 (min_subnorm_value): Likewise.
19086 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19088 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19089 uint64_t or uint32_t usage.
19090 * crypt/sha256-block.c: Likewise.
19091 * crypt/sha256-crypt.c: Likewise.
19092 * crypt/sha256.c: Likewise.
19093 * crypt/sha512-block.c: Likewise.
19094 * crypt/sha512-crypt.c: Likewise.
19095 * crypt/sha512.c: Likewise.
19096 * debug/backtrace-tst.c: Likewise.
19097 * debug/pcprofiledump.c: Likewise.
19098 * elf/cache.c: Likewise.
19099 * elf/dl-cache.c: Likewise.
19100 * elf/dl-misc.c: Likewise.
19101 * elf/dl-profile.c: Likewise.
19102 * elf/dl-support.c: Likewise.
19103 * elf/ldconfig.c: Likewise.
19104 * elf/sprof.c: Likewise.
19105 * iconv/dummy-repertoire.c: Likewise.
19106 * iconv/iconv_charmap.c: Likewise.
19107 * iconv/skeleton.c: Likewise.
19108 * iconvdata/8bit-generic.c: Likewise.
19109 * iconvdata/cp737.h: Likewise.
19110 * iconvdata/cp775.h: Likewise.
19111 * iconvdata/ibm1008.h: Likewise.
19112 * iconvdata/ibm1025.h: Likewise.
19113 * iconvdata/ibm1046.h: Likewise.
19114 * iconvdata/ibm1097.h: Likewise.
19115 * iconvdata/ibm1112.h: Likewise.
19116 * iconvdata/ibm1122.h: Likewise.
19117 * iconvdata/ibm1123.h: Likewise.
19118 * iconvdata/ibm1124.h: Likewise.
19119 * iconvdata/ibm1129.h: Likewise.
19120 * iconvdata/ibm1130.h: Likewise.
19121 * iconvdata/ibm1132.h: Likewise.
19122 * iconvdata/ibm1133.h: Likewise.
19123 * iconvdata/ibm1137.h: Likewise.
19124 * iconvdata/ibm1140.h: Likewise.
19125 * iconvdata/ibm1141.h: Likewise.
19126 * iconvdata/ibm1142.h: Likewise.
19127 * iconvdata/ibm1143.h: Likewise.
19128 * iconvdata/ibm1144.h: Likewise.
19129 * iconvdata/ibm1145.h: Likewise.
19130 * iconvdata/ibm1146.h: Likewise.
19131 * iconvdata/ibm1147.h: Likewise.
19132 * iconvdata/ibm1148.h: Likewise.
19133 * iconvdata/ibm1149.h: Likewise.
19134 * iconvdata/ibm1153.h: Likewise.
19135 * iconvdata/ibm1154.h: Likewise.
19136 * iconvdata/ibm1155.h: Likewise.
19137 * iconvdata/ibm1156.h: Likewise.
19138 * iconvdata/ibm1157.h: Likewise.
19139 * iconvdata/ibm1158.h: Likewise.
19140 * iconvdata/ibm1160.h: Likewise.
19141 * iconvdata/ibm1161.h: Likewise.
19142 * iconvdata/ibm1162.h: Likewise.
19143 * iconvdata/ibm1163.h: Likewise.
19144 * iconvdata/ibm1164.h: Likewise.
19145 * iconvdata/ibm1166.h: Likewise.
19146 * iconvdata/ibm1167.h: Likewise.
19147 * iconvdata/ibm12712.h: Likewise.
19148 * iconvdata/ibm1390.h: Likewise.
19149 * iconvdata/ibm1399.h: Likewise.
19150 * iconvdata/ibm16804.h: Likewise.
19151 * iconvdata/ibm4517.h: Likewise.
19152 * iconvdata/ibm4899.h: Likewise.
19153 * iconvdata/ibm4909.h: Likewise.
19154 * iconvdata/ibm4971.h: Likewise.
19155 * iconvdata/ibm5347.h: Likewise.
19156 * iconvdata/ibm803.h: Likewise.
19157 * iconvdata/ibm856.h: Likewise.
19158 * iconvdata/ibm901.h: Likewise.
19159 * iconvdata/ibm902.h: Likewise.
19160 * iconvdata/ibm9030.h: Likewise.
19161 * iconvdata/ibm9066.h: Likewise.
19162 * iconvdata/ibm921.h: Likewise.
19163 * iconvdata/ibm922.h: Likewise.
19164 * iconvdata/ibm9448.h: Likewise.
19165 * iconvdata/isiri-3342.h: Likewise.
19166 * iconvdata/jis0201.h: Likewise.
19167 * include/link.h: Likewise.
19168 * include/netdb.h: Likewise.
19169 * inet/check_native.c: Likewise.
19170 * inet/check_pf.c: Likewise.
19171 * inet/getipv4sourcefilter.c: Likewise.
19172 * inet/getnameinfo.c: Likewise.
19173 * inet/getsourcefilter.c: Likewise.
19174 * inet/htonl.c: Likewise.
19175 * inet/setipv4sourcefilter.c: Likewise.
19176 * inet/setsourcefilter.c: Likewise.
19177 * inet/test-inet6_opt.c: Likewise.
19178 * inet/tst-network.c: Likewise.
19179 * locale/C-collate.c: Likewise.
19180 * locale/C-ctype.c: Likewise.
19181 * locale/C-time.c: Likewise.
19182 * locale/C-translit.h: Likewise.
19183 * locale/loadarchive.c: Likewise.
19184 * locale/programs/3level.h: Likewise.
19185 * locale/programs/charmap.c: Likewise.
19186 * locale/programs/charmap.h: Likewise.
19187 * locale/programs/ld-address.c: Likewise.
19188 * locale/programs/ld-collate.c: Likewise.
19189 * locale/programs/ld-ctype.c: Likewise.
19190 * locale/programs/ld-identification.c: Likewise.
19191 * locale/programs/ld-measurement.c: Likewise.
19192 * locale/programs/ld-messages.c: Likewise.
19193 * locale/programs/ld-monetary.c: Likewise.
19194 * locale/programs/ld-name.c: Likewise.
19195 * locale/programs/ld-numeric.c: Likewise.
19196 * locale/programs/ld-paper.c: Likewise.
19197 * locale/programs/ld-telephone.c: Likewise.
19198 * locale/programs/ld-time.c: Likewise.
19199 * locale/programs/linereader.c: Likewise.
19200 * locale/programs/locale.c: Likewise.
19201 * locale/programs/locarchive.c: Likewise.
19202 * locale/programs/locfile.h: Likewise.
19203 * locale/programs/repertoire.c: Likewise.
19204 * locale/programs/simple-hash.c: Likewise.
19205 * locale/programs/simple-hash.h: Likewise.
19206 * malloc/memusage.c: Likewise.
19207 * malloc/memusagestat.c: Likewise.
19208 * nis/nis_defaults.c: Likewise.
19209 * nis/nis_hash.c: Likewise.
19210 * nis/nis_print.c: Likewise.
19211 * nis/nis_xdr.c: Likewise.
19212 * nscd/connections.c: Likewise.
19213 * nscd/hstcache.c: Likewise.
19214 * nscd/nscd_gethst_r.c: Likewise.
19215 * nscd/nscd_getserv_r.c: Likewise.
19216 * nscd/nscd_helper.c: Likewise.
19217 * nscd/servicescache.c: Likewise.
19218 * nss/makedb.c: Likewise.
19219 * nss/nss_db/db-XXX.c: Likewise.
19220 * nss/nss_db/db-initgroups.c: Likewise.
19221 * nss/nss_db/db-netgrp.c: Likewise.
19222 * nss/nss_files/files-network.c: Likewise.
19223 * nss/nss_files/files-parse.c: Likewise.
19224 * posix/bug-regex5.c: Likewise.
19225 * posix/fnmatch_loop.c: Likewise.
19226 * posix/regcomp.c: Likewise.
19227 * posix/regexec.c: Likewise.
19228 * posix/tst-rfc3484-2.c: Likewise.
19229 * posix/tst-rfc3484-3.c: Likewise.
19230 * posix/tst-rfc3484.c: Likewise.
19231 * resolv/nss_dns/dns-canon.c: Likewise.
19232 * resolv/nss_dns/dns-network.c: Likewise.
19233 * resolv/res_init.c: Likewise.
19234 * resolv/res_mkquery.c: Likewise.
19235 * resolv/tst-aton.c: Likewise.
19236 * stdlib/cxa_atexit.c: Likewise.
19237 * stdlib/cxa_finalize.c: Likewise.
19238 * stdlib/gen-fpioconst.c: Likewise.
19239 * stdlib/strtol_l.c: Likewise.
19240 * string/tst-endian.c: Likewise.
19241 * sunrpc/auth_des.c: Likewise.
19242 * sunrpc/clnt_udp.c: Likewise.
19243 * sunrpc/rtime.c: Likewise.
19244 * sunrpc/svcauth_des.c: Likewise.
19245 * sunrpc/xdr.c: Likewise.
19246 * sunrpc/xdr_intXX_t.c: Likewise.
19247 * sunrpc/xdr_rec.c: Likewise.
19248 * sysdeps/generic/ldconfig.h: Likewise.
19249 * sysdeps/generic/ldsodefs.h: Likewise.
19250 * sysdeps/generic/memusage.h: Likewise.
19251 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19253 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19254 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19257 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19259 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19261 * sysdeps/posix/getaddrinfo.c: Likewise.
19262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19264 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19266 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19267 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19268 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19269 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19270 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19271 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19272 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19273 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19274 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19275 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19276 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19277 * sysdeps/x86_64/dl-tls.h: Likewise.
19278 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19279 * time/alt_digit.c: Likewise.
19280 * time/era.c: Likewise.
19281 * wcsmbs/tst-c16c32-1.c: Likewise.
19283 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19285 * math/libm-test.inc (struct test_sincos_data): New type.
19286 (RUN_TEST_LOOP_sincos): New macro.
19287 (sincos_test_data): New variable.
19288 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19290 2013-05-16 Richard Henderson <rth@redhat.com>
19292 * math/atest-exp2.c (LIMB64): New macro.
19293 (CONSTSZ): New macro.
19294 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19296 (print_mpn_fp): ... to function scope.
19297 (read_mpn_hex): Remove.
19298 (get_log2): Remove.
19299 (exp2_mpn): Use mp_log2.
19300 (main): Use mp_exp1.
19302 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19304 * math/libm-test.inc: Remove comment about not testing "inexact"
19306 (INEXACT_EXCEPTION): New macro.
19307 (NO_INEXACT_EXCEPTION): Likewise.
19308 (INVALID_EXCEPTION_OK): Update value.
19309 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19310 (OVERFLOW_EXCEPTION_OK): Likewise.
19311 (UNDERFLOW_EXCEPTION_OK): Likewise.
19312 (IGNORE_ZERO_INF_SIGN): Likewise.
19313 (ERRNO_UNCHANGED): Likewise.
19314 (ERRNO_EDOM): Likewise.
19315 (ERRNO_ERANGE): Likewise.
19316 (test_exceptions): Handle testing "inexact" exceptions.
19317 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19318 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19319 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19320 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19322 (rint_towardzero_test_data): Likewise.
19323 (rint_downward_test_data): Likewise.
19324 (rint_upward_test_data): Likewise.
19326 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19327 with OVERFLOW_EXCEPTION.
19328 (exp10_test_data): Likewise.
19329 (exp2_test_data): Likewise.
19330 (expm1_test_data): Likewise.
19331 (lgamma_test_data): Likewise.
19332 (pow_test_data): Likewise.
19333 (tgamma_test_data): Likewise.
19334 (yn_test_data): Remove duplicate test of overflow.
19336 * math/libm-test.inc (struct test_cc_c_data): New type.
19337 (RUN_TEST_LOOP_cc_c): New macro.
19338 (cpow_test_data): New variable.
19339 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19341 * math/libm-test.inc (struct test_f_L_data): New type.
19342 (RUN_TEST_LOOP_f_L): New macro.
19343 (llrint_test_data): New variable.
19344 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19345 (llrint_tonearest_test_data): New variable.
19346 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19347 (llrint_towardzero_test_data): New variable.
19348 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19349 (llrint_downward_test_data): New variable.
19350 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19351 (llrint_upward_test_data): New variable.
19352 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19353 (llround_test_data): New variable.
19354 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19356 2013-05-13 Peter Collingbourne <pcc@google.com>
19358 * math/atest-exp2.c (get_log2): Remove const attribute.
19360 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19362 * math/libm-test.inc (struct test_f_l_data): New type.
19363 (RUN_TEST_LOOP_f_l): New macro.
19364 (lrint_test_data): New variable.
19365 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19366 (lrint_tonearest_test_data): New variable.
19367 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19368 (lrint_towardzero_test_data): New variable.
19369 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19370 (lrint_downward_test_data): New variable.
19371 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19372 (lrint_upward_test_data): New variable.
19373 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19374 (lround_test_data): New variable.
19375 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19377 2013-05-15 Peter Collingbourne <pcc@google.com>
19379 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19380 (EXTRACT_WORDS64) Use where appropriate.
19381 (INSERT_WORDS64) Likewise.
19383 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19384 constraints with x constraints.
19385 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19387 * malloc/obstack.c (_obstack_compat): Add initializer.
19389 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19391 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19392 si_trapno and add si_addr_lsb to _sifields.sigfault.
19393 (si_trapno): Remove macro.
19394 (si_addr_lsb): Define new macro.
19395 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19397 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19399 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19400 instead of TEST_f_l.
19401 (llrint_test_tonearest): Likewise.
19402 (llrint_test_towardzero): Likewise.
19403 (llrint_test_downward): Likewise.
19404 (llrint_test_upward): Likewise.
19405 (llround_test): Likewise.
19407 * math/libm-test.inc (struct test_f_i_data): Add comment.
19408 (RUN_TEST_LOOP_f_b): New macro.
19409 (RUN_TEST_LOOP_f_b_tg): Likewise.
19410 (finite_test_data): New variable.
19411 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19412 (isfinite_test_data): New variable.
19413 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19414 (isinf_test_data): New variable.
19415 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19416 (isnan_test_data): New variable.
19417 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19418 (isnormal_test_data): New variable.
19419 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19420 (issignaling_test_data): New variable.
19421 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19422 (signbit_test_data): New variable.
19423 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19425 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19426 with INVALID_EXCEPTION.
19427 (acosh_test_data): Likewise.
19428 (asin_test_data): Likewise.
19429 (atanh_test_data): Likewise.
19430 (fmod_test_data): Likewise.
19431 (log_test_data): Likewise.
19432 (log10_test_data): Likewise.
19433 (log2_test_data): Likewise.
19434 (pow_test_data): Likewise.
19435 (sqrt_test_data): Likewise.
19436 (y0_test_data): Likewise.
19437 (y1_test_data): Likewise.
19438 (yn_test_data): Likewise.
19440 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19443 * math/libm-test.inc (struct test_ff_i_data): New type.
19444 (RUN_TEST_LOOP_ff_i_tg): New macro.
19445 (isgreater_test_data): New variable.
19446 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19447 (isgreaterequal_test_data): New variable.
19448 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19449 (isless_test_data): New variable.
19450 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19451 (islessequal_test_data): New variable.
19452 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19453 (islessgreater_test_data): New variable.
19454 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19455 (isunordered_test_data): New variable.
19456 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19458 2013-05-14 David S. Miller <davem@davemloft.net>
19460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19462 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19464 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19466 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19468 (struct test_f_i_data): Change type of max_ulp to int.
19470 * math/libm-test.inc (test_ffI_f1_data): New type.
19471 (RUN_TEST_LOOP_ffI_f1): New macro.
19472 (remquo_test_data): New variable.
19473 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19475 * setjmp/tst-setjmp-fp.c: New file.
19476 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19477 (link-libm): New variable.
19478 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19480 * math/libm-test.inc (struct test_f_i_data): New type.
19481 (RUN_TEST_LOOP_f_i): New macro.
19482 (RUN_TEST_LOOP_f_i_tg): Likewise.
19483 (fpclassify_test_data): New variable.
19484 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19485 (ilogb_test_data): New variable.
19486 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19488 * math/libm-test.inc (scalbln_test): Correct function name in END
19491 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19492 (RUN_TEST_LOOP_fI_f1): New macro.
19493 (frexp_test_data): New variable.
19494 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19496 * math/libm-test.inc (struct test_fF_f1_data): New type.
19497 (RUN_TEST_LOOP_fF_f1): New macro.
19498 (modf_test_data): New variable.
19499 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19501 * math/libm-test.inc (struct test_f_f1_data): New type.
19502 (RUN_TEST_LOOP_f_f1): New macro.
19503 (gamma_test_data): New variable.
19504 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19505 (lgamma_test_data): New variable.
19506 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19508 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19510 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19511 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19512 (main): Comment "tls" pseudo-hwcap.
19514 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19516 * math/libm-test.inc (struct test_fl_f_data): New type.
19517 (RUN_TEST_LOOP_fl_f): New variable.
19518 (scalbln_test_data): New variable.
19519 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19521 * math/libm-test.inc (struct test_fi_f_data): New type.
19522 (RUN_TEST_LOOP_fi_f): New macro.
19523 (ldexp_test_data): New variable.
19524 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19525 (scalbn_test_data): New variable.
19526 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19528 * math/libm-test.inc (struct test_c_f_data): New type.
19529 (RUN_TEST_LOOP_c_f): New macro.
19530 (cabs_test_data): New variable.
19531 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19532 (carg_test_data): New variable.
19533 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19534 (cimag_test_data): New variable.
19535 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19536 (creal_test_data): New variable.
19537 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19539 * math/libm-test.inc (struct test_if_f_data): New type.
19540 (RUN_TEST_LOOP_if_f): New macro.
19541 (jn_test_data): New variable.
19542 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19543 (yn_test_data): New variable.
19544 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19546 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19548 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19550 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19551 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19553 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19555 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19556 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19557 (bench-deps): Add bench-timing.h.
19558 * benchtests-bench-skeleton.c: Include bench-timing.h.
19559 (main): Use TIMING_* macros instead of clock_gettime.
19560 * benchtests/bench-timing.h: New file.
19563 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19564 Renamed from _LIB_VERSION.
19565 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19567 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19569 * math/libm-test.inc (struct test_fff_f_data): New type.
19570 (RUN_TEST_LOOP_fff_f): New macro.
19571 (fma_test_data): New variable.
19572 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19573 (fma_towardzero_test_data): New variable.
19574 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19575 (fma_downward_test_data): New variable.
19576 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19577 (fma_upward_test_data): New variable.
19578 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19580 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19581 (struct test_c_c_data): New type.
19582 (RUN_TEST_LOOP_c_c): New macro.
19583 (cacos_test_data): New variable.
19584 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19585 (cacosh_test_data): New variable.
19586 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19587 (casin_test_data): New variable.
19588 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19589 (casinh_test_data): New variable.
19590 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19591 (catan_test_data): New variable.
19592 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19593 (catanh_test_data): New variable.
19594 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19595 (ccos_test_data): New variable.
19596 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19597 (ccosh_test_data): New variable.
19598 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19599 (cexp_test_data): New variable.
19600 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19601 (clog_test_data): New variable.
19602 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19603 (clog10_test_data): New variable.
19604 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19605 (conj_test_data): New variable.
19606 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19607 (cproj_test_data): New variable.
19608 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19609 (csin_test_data): New variable.
19610 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19611 (csinh_test_data): New variable.
19612 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19613 (csqrt_test_data): New variable.
19614 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19615 (ctan_test_data): New variable.
19616 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19617 (ctan_tonearest_test_data): New variable.
19618 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19619 (ctan_towardzero_test_data): New variable.
19620 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19621 (ctan_downward_test_data): New variable.
19622 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19623 (ctan_upward_test_data): New variable.
19624 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19625 (ctanh_test_data): New variable.
19626 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19627 (ctanh_tonearest_test_data): New variable.
19628 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19629 (ctanh_towardzero_test_data): New variable.
19630 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19631 (ctanh_downward_test_data): New variable.
19632 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19633 (ctanh_upward_test_data): New variable.
19634 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19635 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19638 * math/libm-test.inc (struct test_ff_f_data): New type.
19639 (struct test_ff_f_data_nexttoward): Likewise.
19640 (RUN_TEST_LOOP_2_f): New macro.
19641 (RUN_TEST_LOOP_ff_f): Likewise.
19642 (atan2_test_data): New variable.
19643 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19644 (copysign_test_data): New variable.
19645 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19646 (fdim_test_data): New variable.
19647 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19648 (fmax_test_data): New variable.
19649 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19650 (fmin_test_data): New variable.
19651 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19652 (fmod_test_data): New variable.
19653 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19654 (hypot_test_data): New variable.
19655 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19656 (nextafter_test_data): New variable.
19657 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19658 (nexttoward_test_data): New variable.
19659 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19660 (pow_test_data): New variable.
19661 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19662 (pow_tonearest_test_data): New variable.
19663 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19664 (pow_towardzero_test_data): New variable.
19665 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19666 (pow_downward_test_data): New variable.
19667 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19668 (pow_upward_test_data): New variable.
19669 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19670 (remainder_test_data): New variable.
19671 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19672 (scalb_test_data): New variable.
19673 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19674 * sysdeps/i386/fpu/libm-test-ulps: Update.
19676 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19678 * math/libm-test.inc (fma_test): Use max_value instead of local
19680 (nextafter_test): Likewise.
19682 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19683 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19684 (acos_downward_test_data): New variable.
19685 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19686 (acos_upward_test_data): New variable.
19687 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19688 (acosh_test_data): New variable.
19689 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19690 (asin_test_data): New variable.
19691 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19692 (asin_tonearest_test_data): New variable.
19693 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19694 (asin_towardzero_test_data): New variable.
19695 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19696 (asin_downward_test_data): New variable.
19697 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19698 (asin_upward_test_data): New variable.
19699 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19700 (asinh_test_data): New variable.
19701 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19702 (atan_test_data): New variable.
19703 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19704 (atanh_test_data): New variable.
19705 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19706 (cbrt_test_data): New variable.
19707 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19708 (ceil_test_data): New variable.
19709 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19710 (cos_test_data): New variable.
19711 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19712 (cos_tonearest_test_data): New variable.
19713 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19714 (cos_towardzero_test_data): New variable.
19715 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19716 (cos_downward_test_data): New variable.
19717 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19718 (cos_upward_test_data): New variable.
19719 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19720 (cosh_test_data): New variable.
19721 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19722 (cosh_tonearest_test_data): New variable.
19723 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19724 (cosh_towardzero_test_data): New variable.
19725 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19726 (cosh_downward_test_data): New variable.
19727 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19728 (cosh_upward_test_data): New variable.
19729 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19730 (erf_test_data): New variable.
19731 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19732 (erfc_test_data): New variable.
19733 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19734 (exp_test_data): New variable.
19735 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19736 (exp_tonearest_test_data): New variable.
19737 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19738 (exp_towardzero_test_data): New variable.
19739 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19740 (exp_downward_test_data): New variable.
19741 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19742 (exp_upward_test_data): New variable.
19743 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19744 (exp10_test_data): New variable.
19745 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19746 (exp2_test_data): New variable.
19747 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19748 (expm1_test_data): New variable.
19749 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19750 (fabs_test_data): New variable.
19751 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19752 (floor_test_data): New variable.
19753 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19754 (j0_test_data): New variable.
19755 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19756 (j1_test_data): New variable.
19757 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19758 (log_test_data): New variable.
19759 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19760 (log10_test_data): New variable.
19761 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19762 (log1p_test_data): New variable.
19763 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19764 (log2_test_data): New variable.
19765 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19766 (logb_test_data): New variable.
19767 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19768 (logb_downward_test_data): New variable.
19769 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19770 (nearbyint_test_data): New variable.
19771 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19772 (rint_test_data): New variable.
19773 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19774 (rint_tonearest_test_data): New variable.
19775 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19776 (rint_towardzero_test_data): New variable.
19777 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19778 (rint_downward_test_data): New variable.
19779 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19780 (rint_upward_test_data): New variable.
19781 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19782 (round_test_data): New variable.
19783 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19784 (sin_test_data): New variable.
19785 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19786 (sin_tonearest_test_data): New variable.
19787 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19788 (sin_towardzero_test_data): New variable.
19789 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19790 (sin_downward_test_data): New variable.
19791 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19792 (sin_upward_test_data): New variable.
19793 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19794 (sinh_test_data): New variable.
19795 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19796 (sinh_tonearest_test_data): New variable.
19797 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19798 (sinh_towardzero_test_data): New variable.
19799 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19800 (sinh_downward_test_data): New variable.
19801 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19802 (sinh_upward_test_data): New variable.
19803 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19804 (sqrt_test_data): New variable.
19805 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19806 (tan_test_data): New variable.
19807 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19808 (tan_tonearest_test_data): New variable.
19809 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19810 (tan_towardzero_test_data): New variable.
19811 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19812 (tan_downward_test_data): New variable.
19813 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19814 (tan_upward_test_data): New variable.
19815 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19816 (tanh_test_data): New variable.
19817 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19818 (tgamma_test_data): New variable.
19819 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19820 (trunc_test_data): New variable.
19821 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19822 (y0_test_data): New variable.
19823 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19824 (y1_test_data): New variable.
19825 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19826 (significand_test_data): New variable.
19827 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19829 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19832 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19834 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19836 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19838 2013-05-10 Andreas Jaeger <aj@suse.de>
19841 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19842 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19844 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19846 * math/gen-libm-test.pl (adjust_arg): New function.
19847 (special_functions): Handle generating output in both functions
19849 (parse_args): Likewise.
19850 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19851 $in_func argument to parse_args.
19852 * math/libm-test.inc (struct test_f_f_data): New type.
19853 (IF_ROUND_INIT_): New macro.
19854 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19855 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19856 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19857 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19858 (ROUND_RESTORE_): Likewise.
19859 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19860 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19861 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19862 (ROUND_RESTORE_FE_UPWARD): Likewise.
19863 (RUN_TEST_LOOP_f_f): New macro.
19864 (acos_test_data): New variable.
19865 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19866 (acos_tonearest_test_data): New variable.
19867 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19869 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19871 * benchtests/bench-skeleton.c (startup): Fix coding style.
19873 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19876 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19877 negative infinity argument.
19878 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19879 negative infinity argument.
19880 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19881 negative infinity argument.
19882 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19885 2013-05-10 Florian Weimer <fweimer@redhat.com>
19887 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19888 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19889 * iconv/iconv_prog.c (main): Likewise.
19890 * locale/programs/charmap-dir.c (charmap_readdir)
19891 (fopen_uncompressed): Likewise.
19892 * locale/programs/locfile.c (siblings_uncached)
19893 (write_locale_data): Use lstat64 instead of lstat.
19894 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19897 2013-05-10 Andreas Jaeger <aj@suse.de>
19900 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19902 Include <locale.h>.
19904 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19906 * elf/dl-close.c (_dl_close_worker): Add comments.
19908 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19913 (__ieee754_rem_pio2l): Update comments.
19916 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19918 (__ieee754_rem_pio2l): Update comments.
19920 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19921 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19923 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19926 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19927 (M_PI_34_LOG10El): Likewise.
19928 (M_PI2_LOG10El): Likewise.
19929 (M_PI4_LOG10El): Likewise.
19930 (M_PI_LOG10El): Likewise.
19932 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19936 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19938 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19939 (MINUS_ZERO_INIT): Likewise.
19940 (PLUS_INFTY_INIT): Likewise.
19941 (MINUS_INFTY_INIT): Likewise.
19942 (QNAN_VALUE_INIT): Likewise.
19943 (MAX_VALUE_INIT): Likewise.
19944 (MIN_VALUE_INIT): Likewise.
19945 (MIN_SUBNORM_VALUE_INIT): Likewise.
19946 (plus_zero): Initialize with PLUS_ZERO_INIT.
19947 (minus_zero): Initialize with MINUS_ZERO_INIT.
19948 (plus_infty): Initialize with PLUS_INFTY_INIT.
19949 (minus_infty): Initialize with MINUS_INFTY_INIT.
19950 (qnan_value): Initialize with QNAN_VALUE_INIT.
19951 (max_value): Initialize with MAX_VALUE_INIT.
19952 (min_value): Initialize with MIN_VALUE_INIT.
19953 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19955 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19956 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19957 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19958 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19960 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19961 (RUN_TEST_2_f): Likewise.
19962 (RUN_TEST_ff_f): Likewise.
19963 (RUN_TEST_fi_f): Likewise.
19964 (RUN_TEST_fl_f): Likewise.
19965 (RUN_TEST_fff_f): Likewise.
19966 (RUN_TEST_c_f): Likewise.
19967 (RUN_TEST_f_f1): Likewise.
19968 (RUN_TEST_fF_f1): Likewise.
19969 (RUN_TEST_fI_f1): Likewise.
19970 (RUN_TEST_ffI_f1): Likewise.
19971 (RUN_TEST_c_c): Likewise.
19972 (RUN_TEST_cc_c): Likewise.
19973 (RUN_TEST_f_i): Likewise.
19974 (RUN_TEST_f_i_tg): Likewise.
19975 (RUN_TEST_ff_i_tg): Likewise.
19976 (RUN_TEST_f_b): Likewise.
19977 (RUN_TEST_f_b_tg): Likewise.
19978 (RUN_TEST_f_l): Likewise.
19979 (RUN_TEST_f_L): Likewise.
19980 (RUN_TEST_sincos): Likewise.
19981 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19982 whether to show exceptions. Do not include ");\n" in return
19984 (special_functions): Output call to RUN_TEST_sincos instead of
19985 check_float calls. Update calls to new_test.
19986 (parse_args): Output call to single RUN_TEST_* macro instead of
19987 check_* calls and other assignments. Update calls to new_test.
19993 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19994 input to result for tgamma overflow.
19995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19996 (gamma_coeff): New variable.
19997 (NCOEFF): New macro.
19998 (gamma_positive): New function.
19999 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20000 underflow here. Use gamma_positive instead of exp (lgamma) for
20002 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20003 (gamma_coeff): New variable.
20004 (NCOEFF): New macro.
20005 (gammaf_positive): New function.
20006 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20007 underflow here. Use gamma_positive instead of exp (lgamma) for
20009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20010 (gamma_coeff): New variable.
20011 (NCOEFF): New macro.
20012 (gammal_positive): New function.
20013 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20014 underflow here. Use gamma_positive instead of exp (lgamma) for
20016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20017 (gamma_coeff): New variable.
20018 (NCOEFF): New macro.
20019 (gammal_positive): New function.
20020 (__ieee754_gammal_r): Handle positive infinity, overflow and
20021 underflow here. Handle NaN the same as positive infinity. Remove
20022 check x < 0xffffffff for negative integers. Use gamma_positive
20023 instead of exp (lgamma) for other arguments.
20024 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20025 (gamma_coeff): New variable.
20026 (NCOEFF): New macro.
20027 (gammal_positive): New function.
20028 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20029 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20030 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20034 * sysdeps/generic/math_private.h (__gamma_productf): New
20036 (__gamma_product): Likewise.
20037 (__gamma_productl): Likewise.
20038 * math/Makefile (libm-calls): Add gamma_product.
20039 * math/libm-test.inc (tgamma_test): Add more tests.
20040 * sysdeps/i386/fpu/libm-test-ulps: Update.
20041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20043 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20045 * benchtests/bench-skeleton.c (main): Preheat CPU.
20047 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20049 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20051 2013-05-07 Roland McGrath <roland@hack.frob.com>
20053 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20054 and _dl_skip_args_internal.
20056 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20058 * manual/message.texi (Message Translation): Talk about users.
20059 Message to key mapping impacts design.
20061 2013-05-06 Roland McGrath <roland@hack.frob.com>
20063 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20065 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20067 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20068 * sysdeps/wordsize-64/glob64.c: ... here.
20070 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20071 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20074 * debug/getlogin_r_chk.c: Moved to ...
20075 * login/getlogin_r_chk.c: ... here.
20076 * debug/Makefile (routines): Move getlogin_r_chk to ...
20077 * login/Makefile (routines): ... here.
20078 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20079 * login/Versions (libc: GLIBC_2.4): ... here.
20081 * io/poll.c (__poll): Renamed from poll.
20082 Add libc_hidden_def.
20083 (poll): Define as weak alias.
20085 * debug/ptsname_r_chk.c: Moved to ...
20086 * login/ptsname_r_chk.c: ... here.
20087 * debug/Makefile (routines): Move ptsname_r_chk to ...
20088 * login/Makefile (routines): ... here.
20089 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20090 * login/Versions (libc: GLIBC_2.4): ... here.
20092 * posix/getlogin.c: Moved to ...
20093 * login/getlogin.c: ... here.
20094 * posix/getlogin_r.c: Moved to ...
20095 * login/getlogin_r.c: ... here.
20096 * posix/getlogin_r.c: Moved to ...
20097 * login/getlogin_r.c: ... here.
20098 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20099 * login/Makefile (routines): ... here.
20100 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20101 * login/Versions (libc: GLIBC_2.0): ... here.
20103 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20104 (setrlimit): Define as weak alias.
20106 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20107 Call __ names for open, ftruncate, and close.
20108 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20109 (truncate): Define as weak alias.
20111 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20113 * math/gen-libm-test.pl (parse_args): Initialize x before each
20114 test of frexp, modf and remquo.
20116 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20117 test signgam value.
20119 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20123 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20125 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20127 2013-05-06 Roland McGrath <roland@hack.frob.com>
20129 * elf/dl-writev.h: New file.
20130 * elf/dl-misc.c: Include it.
20131 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20132 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20134 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20136 * math/libm-test.inc (noXFails): Remove variable.
20137 (noXPasses): Likewise.
20138 (BUILD_COMPLEX_INT): Remove macro.
20139 (print_screen): Remove xfail argument.
20140 (print_screen_max_error): Likewise.
20141 (update_stats): Likewise.
20142 (print_max_error): Likewise. Update calls to other affected
20144 (print_complex_max_error): Likewise.
20145 (test_single_exception): Update calls to print_screen.
20146 (test_single_errno): Likewise.
20147 (check_float_internal): Remove xfail argument. Update calls to
20148 other affected functions.
20149 (check_float): Likewise.
20150 (check_complex): Likewise.
20151 (check_int): Likewise.
20152 (check_long): Likewise.
20153 (check_bool): Likewise.
20154 (check_longlong): Likewise.
20155 (main): Don't print noXFails and noXPasses.
20156 * math/gen-libm-test.pl (top level): Don't mention expected
20157 failure handling in comment.
20158 (new_test): Don't handle expected failures.
20159 (parse_args): Don't mention expected failure handling in comment.
20160 (generate_testfile): Don't handle expected failures.
20161 (parse_ulps): Likewise.
20162 (print_ulps_file): Likewise.
20163 (get_failure): Remove function.
20164 (output_test): Don't handle expected failures.
20165 * make/README.libm-test: Don't mention expected failure handling.
20167 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20168 (minus_zero): Likewise.
20169 (plus_infty): Likewise.
20170 (minus_infty): Likewise.
20171 (qnan_value): Likewise.
20172 (max_value): Likewise.
20173 (min_value): Likewise.
20174 (min_subnorm_value): Likewise.
20175 (initialize): Do not initialize those variables dynamically.
20177 2013-05-03 Roland McGrath <roland@hack.frob.com>
20179 * io/open.c (__open_2): Moved to ...
20180 * io/open_2.c: ... this new file.
20181 * io/open64.c (__open64_2): Moved to ...
20182 * io/open64_2.c: ... this new file.
20183 * io/openat.c (__openat_2): Moved to ...
20184 * io/openat_2.c: ... this new file.
20185 * io/openat64.c (__openat64_2): Moved to ...
20186 * io/openat64_2.c: ... this new file.
20187 * io/Makefile (routines): Add them.
20188 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20189 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20190 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20191 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20192 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20193 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20194 (__openat64): Add hidden_ver.
20195 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20196 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20198 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20199 Separately conditionalize setting of GLRO(dl_sysinfo) so
20200 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20201 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20203 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20205 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20206 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20208 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20209 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20210 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20211 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20212 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20214 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20216 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20217 test signgam value.
20219 * math/libm-test.inc (hypot_test): Do not use
20220 IGNORE_ZERO_INF_SIGN.
20222 2013-05-03 Andreas Jaeger <aj@suse.de>
20224 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20226 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20227 (PF_MAX): Adjust for VSOCK change.
20229 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20233 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20236 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20237 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20238 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20240 2013-05-02 David S. Miller <davem@davemloft.net>
20242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20244 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20246 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20248 2013-05-01 Roland McGrath <roland@hack.frob.com>
20250 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20252 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20255 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20256 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20257 Use __attribute__ ((__gnu_inline__)).
20258 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20259 Don't use __attribute__ ((__gnu_inline__)).
20261 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20264 * math/s_catan.c (__catan): Handle small real or imaginary part of
20265 input specially to avoid spurious underflow.
20266 * math/s_catanf.c (__catanf): Likewise.
20267 * math/s_catanh.c (__catanh): Likewise.
20268 * math/s_catanhf.c (__catanhf): Likewise.
20269 * math/s_catanhl.c (__catanhl): Likewise.
20270 * math/s_catanl.c (__catanl): Likewise.
20271 * math/libm-test.inc (catan_test): Add more tests.
20272 (catanh_test): Likewise.
20273 * sysdeps/i386/fpu/libm-test-ulps: Update.
20274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20276 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20280 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20283 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20284 accurately for denominator in atan2.
20285 * math/s_catanf.c (__catanf): Likewise.
20286 * math/s_catanh.c (__catanh): Likewise.
20287 * math/s_catanhf.c (__catanhf): Likewise.
20288 * math/s_catanhl.c (__catanhl): Likewise.
20289 * math/s_catanl.c (__catanl): Likewise.
20290 * math/libm-test.inc (catan_test): Add more tests.
20291 (catanh_test): Likewise.
20292 * sysdeps/i386/fpu/libm-test-ulps: Update.
20293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20295 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20297 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20299 * benchtests/Makefile (bench): Remove slow benchmarks.
20300 * benchtests/atan-inputs: Add slow benchmark inputs.
20301 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20302 (BENCH_FUNC): Accept variant offset.
20304 * benchtests/bench-skeleton.c (main): Run benchmark for each
20306 * benchtests/cos-inputs: Add slow benchmark inputs.
20307 * benchtests/exp-inputs: Likewise.
20308 * benchtests/pow-inputs: Likewise.
20309 * benchtests/sin-inputs: Likewise.
20310 * benchtests/slowatan-inputs: Remove.
20311 * benchtests/slowatan.c: Remove.
20312 * benchtests/slowcos-inputs: Remove.
20313 * benchtests/slowcos.c: Remove.
20314 * benchtests/slowexp-inputs: Remove.
20315 * benchtests/slowexp.c: Remove.
20316 * benchtests/slowpow-inputs: Remove.
20317 * benchtests/slowpow.c: Remove.
20318 * benchtests/slowsin-inputs: Remove.
20319 * benchtests/slowsin.c: Remove.
20320 * benchtests/slowtan-inputs: Remove.
20321 * benchtests/slowtan.c: Remove.
20322 * benchtests/tan-inputs: Add slow benchmark inputs.
20323 * scripts/bench.pl: Parse comments and directives.
20325 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20327 ($(objpfx)bench-%.c): Remove *-ITER.
20328 * benchtests/bench-modf.c: Remove definition of ITER.
20329 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20330 (main): Loop for DURATION seconds instead of fixed number of
20332 * scripts/bench.pl: Don't expect iterations in parameters.
20334 2013-04-29 Roland McGrath <roland@hack.frob.com>
20336 * io/fchdir.c (__fchdir): Renamed from fchdir.
20337 (fchdir): Define as weak alias.
20339 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20341 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20342 (ERRNO_EDOM): Likewise.
20343 (ERRNO_ERANGE): Likewise.
20344 (noErrnoTests): New variable.
20345 (init_max_error): Set errno to 0.
20346 (test_single_errno): New function.
20347 (test_errno): Likewise.
20348 (check_float_internal): Call test_errno. Set errno to 0.
20349 (check_complex): Refer to errno tests in comment.
20350 (check_int): Call test_errno. Set errno to 0.
20351 (check_long): Likewise.
20352 (check_bool): Likewise.
20353 (check_longlong): Likewise.
20354 (cos_test): Use ERRNO_* flags for errno tests instead of
20356 (expm1_test): Likewise.
20357 (fmod_test): Likewise.
20358 (ilogb_test): Likewise.
20359 (lgamma_test): Likewise.
20360 (pow_test): Likewise.
20361 (remainder_test): Likewise.
20362 (sin_test): Likewise.
20363 (tan_test): Likewise.
20364 (yn_test): Likewise.
20365 (initialize): Set errno to 0.
20366 (main): Print number of errno tests.
20367 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20369 2013-04-29 Andreas Jaeger <aj@suse.de>
20372 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20376 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20377 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20381 * stdlib/random.c (__initstate): Return NULL if
20385 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20386 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20389 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20393 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20395 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20396 of individual tests.
20397 (casin_test): Likewise.
20398 (casinh_test): Likewise.
20400 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20403 * math/s_catan.c (__catan): Handle arguments with large real or
20404 imaginary part separately without squaring.
20405 * math/s_catanf.c (__catanf): Likewise.
20406 * math/s_catanh.c (__catanh): Likewise.
20407 * math/s_catanhf.c (__catanhf): Likewise.
20408 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20410 (__catanhl): Handle arguments with large real or imaginary part
20411 separately without squaring.
20412 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20414 (__catanl): Handle arguments with large real or imaginary part
20415 separately without squaring.
20416 * math/libm-test.inc (catan_test): Add more tests.
20417 (catanh_test): Likewise.
20418 * sysdeps/i386/fpu/libm-test-ulps: Update.
20419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20421 2013-04-27 Andreas Jaeger <aj@suse.de>
20424 * stdlib/stdlib.h: Update guards for qecvt.
20425 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20428 2013-04-27 Allan McRae <allan@archlinux.org>
20430 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20435 * math/s_catan.c: Include <float.h>.
20436 (__catan): Ensure underflow exception occurs for underflowed
20438 * math/s_catanf.c: Include <float.h>.
20439 (__catanf): Ensure underflow exception occurs for underflowed
20441 * math/s_catanh.c: Include <float.h>.
20442 (__catanh): Ensure underflow exception occurs for underflowed
20444 * math/s_catanhf.c: Include <float.h>.
20445 (__catanhf): Ensure underflow exception occurs for underflowed
20447 * math/s_catanhl.c: Include <float.h>.
20448 (__catanhl): Ensure underflow exception occurs for underflowed
20450 * math/s_catanl.c: Include <float.h>.
20451 (__catanl): Ensure underflow exception occurs for underflowed
20453 * math/libm-test.inc (catan_test): Add more tests.
20454 (catanh_test): Likewise.
20457 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20458 underflowed result.
20459 * math/s_ccoshf.c (__ccoshf): Likewise.
20460 * math/s_ccoshl.c (__ccoshl): Likewise.
20461 * math/s_csin.c (__csin): Likewise.
20462 * math/s_csinf.c (__csinf): Likewise.
20463 * math/s_csinh.c (__csinh): Likewise.
20464 * math/s_csinhf.c (__csinhf): Likewise.
20465 * math/s_csinhl.c (__csinhl): Likewise.
20466 * math/s_csinl.c (__csinl): Likewise.
20467 * math/libm-test.inc (ccos_test): Add more tests.
20468 (ccosh_test): Likewise.
20469 (csin_test): Likewise.
20470 (csinh_test): Likewise.
20472 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20474 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20475 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20476 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20477 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20478 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20479 powerpc/power5+/fpu folders.
20480 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20483 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20487 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20489 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20490 additions to variable.
20491 [$(config-machine) = x86_64] (modules-names): Likewise.
20492 ($(objpfx)tst-audit3): Remove dependency.
20493 ($(objpfx)tst-audit3.out): Likewise.
20494 ($(objpfx)tst-audit4): Likewise.
20495 ($(objpfx)tst-audit4.out): Likewise.
20496 ($(objpfx)tst-audit5): Likewise.
20497 ($(objpfx)tst-audit5.out): Likewise.
20498 ($(objpfx)tst-audit6): Likewise.
20499 ($(objpfx)tst-audit6.out): Likewise.
20500 ($(objpfx)tst-audit7): Likewise.
20501 ($(objpfx)tst-audit7.out): Likewise.
20502 (tst-audit3-ENV): Remove variable.
20503 (tst-audit4-ENV): Likewise.
20504 (tst-audit5-ENV): Likewise.
20505 (tst-audit6-ENV): Likewise.
20506 (tst-audit7-ENV): Likewise.
20507 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20508 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20509 addition to variable.
20510 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20511 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20515 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20516 tst-audit3, tst-audit4 and tst-audit5.
20517 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20518 tst-audit6 and tst-audit7.
20519 [$(subdir) = elf] (modules-names): Add audit modules for those
20521 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20522 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20523 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20524 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20525 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20526 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20527 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20528 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20529 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20530 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20531 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20532 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20533 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20534 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20535 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20536 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20538 [$(subdir) = elf && $(config-cflags-avx) = yes]
20539 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20540 [$(subdir) = elf && $(config-cflags-avx) = yes]
20541 (CFLAGS-tst-auditmod4a.c): Likewise.
20542 [$(subdir) = elf && $(config-cflags-avx) = yes]
20543 (CFLAGS-tst-auditmod4b.c): Likewise.
20544 [$(subdir) = elf && $(config-cflags-avx) = yes]
20545 (CFLAGS-tst-auditmod6b.c): Likewise.
20546 [$(subdir) = elf && $(config-cflags-avx) = yes]
20547 (CFLAGS-tst-auditmod6c.c): Likewise.
20548 [$(subdir) = elf && $(config-cflags-avx) = yes]
20549 (CFLAGS-tst-auditmod7b.c): Likewise.
20550 * elf/tst-audit3.c: Move to ...
20551 * sysdeps/x86_64/tst-audit3.c: ... here.
20552 * elf/tst-audit4.c: Move to ...
20553 * sysdeps/x86_64/tst-audit4.c: ... here.
20554 * elf/tst-audit5.c: Move to ...
20555 * sysdeps/x86_64/tst-audit5.c: ... here.
20556 * elf/tst-audit6.c: Move to ...
20557 * sysdeps/x86_64/tst-audit6.c: ... here.
20558 * elf/tst-audit7.c: Move to ...
20559 * sysdeps/x86_64/tst-audit7.c: ... here.
20560 * elf/tst-auditmod3a.c: Move to ...
20561 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20562 * elf/tst-auditmod3b.c: Move to ...
20563 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20564 * elf/tst-auditmod4a.c: Move to ...
20565 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20566 * elf/tst-auditmod4b.c: Move to ...
20567 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20568 * elf/tst-auditmod5a.c: Move to ...
20569 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20570 * elf/tst-auditmod5b.c: Move to ...
20571 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20572 * elf/tst-auditmod6a.c: Move to ...
20573 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20574 * elf/tst-auditmod6b.c: Move to ...
20575 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20576 * elf/tst-auditmod6c.c: Move to ...
20577 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20578 * elf/tst-auditmod7a.c: Move to ...
20579 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20580 * elf/tst-auditmod7b.c: Move to ...
20581 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20583 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20586 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20587 define unconditionally.
20588 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20589 define unconditionally.
20590 (INT8_C, INT16_C, etc.): Likewise.
20592 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20594 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20595 __ehdr_start with hidden visibility.
20597 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20599 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20601 * math/libm-test.inc (cos_test): Use accurate hex constants.
20602 (sincost_test): Likewise.
20604 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20606 * math/libm-test.inc (catan_test): Add more tests.
20607 (catanh_test): Likewise.
20609 * math/s_catanf.c (__catanf): Use suffixed floating-point
20611 * math/s_catanhf.c (__catanhf): Likewise.
20612 * math/s_catanhl.c (__catanhl): Likewise.
20613 * math/s_catanl.c (__catanl): Likewise.
20616 * math/s_catan.c (__catan): Calculate imaginary part of result
20617 with log1p not log unless computing log of number close to 0.
20618 * math/s_catanf.c (__catanf): Likewise.
20619 * math/s_catanl.c (__catanl): Likewise.
20620 * math/s_catanh.c (__catanh): Calculate real part of result with
20621 log1p not log unless computing log of number close to 0.
20622 * math/s_catanhf.c (__catanhf): Likewise.
20623 * math/s_catanhl.c (__catanhl): Likewise.
20624 * math/libm-test.inc (catan_test): Add more tests.
20625 (catanh_test): Likewise.
20626 * sysdeps/i386/fpu/libm-test-ulps: Update.
20627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20629 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20631 * benchtests/Makefile: Mention files in which fast and slow
20632 paths of math functions are implemented.
20634 2013-04-23 Roland McGrath <roland@hack.frob.com>
20636 * sysdeps/posix/timespec_get.c: New file.
20638 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20640 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20642 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20644 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20645 powerpc/power5/fpu folders.
20646 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20647 * benchtests/Makefile: Add modf testcase.
20648 * benchtests/bench-modf.c: New file: Benchmark test for mo
20650 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20653 * time/Makefile (tests): Add tst-strptime-whitespace.
20654 * time/strptime_l.c (get_number): Use ISSPACE.
20655 (__strptime_internal): Likewise.
20656 * time/tst-strptime-whitespace.c: New test case.
20658 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20660 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20662 (_nss_files_init): Set it here.
20664 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20666 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20667 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20670 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20672 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20674 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20676 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20679 2013-04-21 David S. Miller <davem@davemloft.net>
20681 * po/ru.po: Update Russion translation from translation project.
20683 2013-04-17 Adam Conrad <adconrad@0c3.net>
20685 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20688 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20690 * configure.in: Remove i386 configure warning. Remove i386 case.
20691 * configure: Regenerate.
20692 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20693 Add example to error message.
20694 * sysdeps/i386/configure: Regenerate.
20696 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20698 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20700 * benchtests/cos-inputs: New file.
20701 * benchtests/slowcos-inputs: New file.
20702 * benchtests/slowcos.c: New file.
20703 * benchtests/slowtan-inputs: New file.
20704 * benchtests/slowtan.c: New file.
20705 * benchtests/tan-inputs: New file.
20707 2013-04-16 Roland McGrath <roland@hack.frob.com>
20709 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20712 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20714 * benchtests/Makefile: Include cppflags-iterator.mk to add
20715 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20717 * Makefile.in (bench-clean): New target.
20718 * benchtests/Makefile (bench-clean): Likewise.
20720 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20722 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20724 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20726 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20728 2013-04-15 Andreas Schwab <schwab@suse.de>
20730 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20732 * nscd/pwdcache.c (cache_addpw): Likewise.
20733 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20736 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20738 * benchtests/Makefile (bench): Write all output to
20739 bench-out.tmp together.
20741 2013-04-15 Andreas Schwab <schwab@suse.de>
20743 * nscd/nscd.c (main): Don't fork again after closing files.
20745 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20747 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20749 * benchtests/Rules (bench-deps): Collect dependencies into a
20750 single variable. Add Makefile to dependencies.
20751 ($(objpfx)bench-%.c): Depend on bench-deps.
20753 2013-04-12 Roland McGrath <roland@hack.frob.com>
20754 Xavier Roche <roche+kml2@exalead.com>
20757 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20758 just that it's a file descriptor.
20759 * manual/llio.texi (Synchronizing AIO Operations): Update description
20760 for EBADF error from aio_fsync.
20762 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20764 * Rules (bench): Move target definition...
20765 * benchtests/Makefile: ... here.
20767 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20769 * math/libm-test.inc (cos_test): Fix PI/2 test.
20770 (sincos_test): Likewise.
20771 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20772 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20774 2013-04-11 Andreas Schwab <schwab@suse.de>
20777 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20778 accept exponent character only when digits were seen.
20779 * stdio-common/Makefile (tests): Add bug26.
20780 * stdio-common/bug26.c: New file.
20783 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20786 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20788 * Makeconfig (rtld-prefix): Define built linker prefix.
20789 * Rules (run-bench): Use it.
20790 * math/Makefile (run-regen-ulps): Likewise.
20792 * Rules (bench): Remove eval.
20794 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20795 Roland McGrath <roland@hack.frob.com>
20796 Ondrej Bilka <neleai@seznam.cz>
20799 * time/getdate.c: Include ctype.h and alloca.h.
20800 (__getdate_r): Trim leading and trailing spaces of input.
20801 * time/tst-getdate.c (tests): Add tests with leading and
20804 2013-04-08 Roland McGrath <roland@hack.frob.com>
20807 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20808 when computing value.
20810 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20812 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20813 Use testrun.sh to run libm tests.
20816 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20818 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20821 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20823 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20825 * Makefile.in (regen-ulps): New target.
20826 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20827 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20828 [ifneq (no,$(PERL)] (regen-ulps): New target.
20829 [ifeq (no,$(PERL)] (regen-ulps): New target.
20830 * math/libm-test.inc (ulps_file_name): Define.
20831 (output_dir): New variable.
20832 (options): Add "output-dir" option.
20833 (parse_opt): Handle 'o' case.
20834 (main): If output_dir is non-NULL use it as a prefix
20836 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20838 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20840 [BZ #10060, #10062]
20841 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20842 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20843 fail configure if __sync_val_compare_and_swap is not inlined.
20844 * sysdeps/i386/configure: Regenerate.
20845 * configure.in: Build for i686 when configured for i386.
20846 * configure: Regenerate.
20847 * README: Remove i386 reference.
20849 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20851 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20854 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20856 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20857 (lmsnanval): New variables.
20858 (F): Add conversion tests.
20859 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20860 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20862 * stdio-common/tstdiomisc.c (F): Properly collect individual
20865 [BZ #14686, #15336]
20866 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20867 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20868 Instead, use input NaN values or generate a qNaN by arithmetic
20869 operation. Also fix bugs to comply with the standard.
20870 * math/libm-test.inc (remainder_test): Add more tests.
20872 [BZ #15335, #15342]
20873 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20875 input NaN values or generate a qNaN by arithmetic operation.
20877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20880 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20883 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20886 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20887 underflowed result.
20888 * math/s_cexpf.c (__cexpf): Likewise.
20889 * math/s_cexpl.c (__cexpl): Likewise.
20890 * math/libm-test.inc (cexp_test): Add more tests.
20892 2013-04-03 Andreas Schwab <schwab@suse.de>
20895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20896 order arrays from heap if bigger than alloca cutoff.
20898 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20900 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20901 (SNAN_TESTS_double): Refer to GCC PR56831.
20902 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20905 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20907 * Rules (bench): Move bench.out after the run is complete.
20909 * Rules (bench): Echo currently running benchmark.
20911 * benchtests/Makefile (bench): Add atan and slowatan.
20912 * benchtests/atan-inputs: New file.
20913 * benchtests/slowatan-inputs: New file.
20914 * benchtests/slowatan.c: New file.
20916 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20921 * sysdeps/unix/sysv/linux/kernel-features.h
20922 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20923 __ASSUME_XFS_RESTRICTED_CHOWN.
20924 * sysdeps/unix/sysv/linux/pathconf.c
20925 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20926 Save and restore errno.
20928 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20931 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20932 arguments using __kernel_casinh.
20933 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20934 arguments using __kernel_casinhf.
20935 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20936 arguments using __kernel_casinhl.
20937 * math/libm-test.inc (cacosh_test): Add more tests.
20938 * sysdeps/i386/fpu/libm-test-ulps: Update.
20939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20941 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20943 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20946 * bench/Makefile (bench): Add sin and slowsin.
20947 * benchtests/sin-inputs: New file.
20948 * benchtests/slowsin-inputs: New file.
20949 * benchtests/slowsin.c: New file.
20951 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20952 (bench): Add slowexp and slowpow.
20953 (exp-ITER): Increase iterations.
20954 (pow-ITER): Likewise.
20955 * benchtests/exp-inputs: Change input.
20956 * benchtests/pow-inputs: Likewise.
20957 * benchtests/slowexp-inputs: New file.
20958 * benchtests/slowexp.c: New file.
20959 * benchtests/slowpow-inputs: New file.
20960 * benchtests/slowpow.c: New file.
20962 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20964 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20966 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20967 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20968 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20969 * benchtests/Makefile: Add rint benchtest.
20970 * benchtests/rint-inputs: Input for rint benchtest.
20972 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20974 * Versions.def (libm): Add GLIBC_2.18.
20975 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20976 hidden libm prototypes.
20977 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20978 * math/Makefile (libm-calls): Add s_issignaling.
20979 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20980 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20981 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20983 * math/math.h [__USE_GNU] (issignaling): New macro.
20984 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20985 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20986 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20987 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20990 * manual/arith.texi (issignaling): New section.
20991 * manual/libm-err-tab.pl (@all_functions): Update comment.
20992 * math/gen-libm-test.pl (parse_args): Apply special handling for
20994 * math/libm-test.inc (print_float, issignaling_test): New
20996 (check_float_internal): Add issignaling checks.
20997 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20998 default definition.
20999 * sysdeps/powerpc/math-tests.h: New file.
21000 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21002 * math/test-snan.c (TEST_FUNC): Likewise.
21004 2013-03-30 David S. Miller <davem@davemloft.net>
21006 * po/de.po: Update from translation team.
21008 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21011 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21012 imaginary part less than 1.0 and real part less than 0.5
21014 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21015 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21016 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21017 (cacos_test): Add more tests.
21018 (casin_test): Likewise.
21019 (casinh_test): Likewise.
21020 * sysdeps/i386/fpu/libm-test-ulps: Update.
21021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21023 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21025 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21026 ONE with its value.
21028 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21029 (__pow_mp): Replace ONE and MONE with their values.
21030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21032 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21033 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21034 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21035 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21037 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21039 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21040 (__pow_mp): Replace ZERO and MZERO with their values.
21041 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21042 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21043 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21044 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21045 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21046 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21049 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21051 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21053 2013-03-28 Roland McGrath <roland@hack.frob.com>
21055 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21056 Declare with __attribute__ ((weak)).
21057 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21058 Call __call_tls_dtors only if it's not NULL.
21060 2013-03-28 Roland McGrath <roland@hack.frob.com>
21062 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21063 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21064 magic __ehdr_start linker symbol if it's defined.
21065 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21066 them up here if it was already done.
21068 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21069 (_dl_aux_init): Use const in cast when setting it.
21070 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21071 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21072 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21074 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21076 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21077 * csu/libc-tls.c: Nor here.
21078 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21080 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21081 (__libc_message): Never call vsyslog.
21083 2013-03-28 Alan Modra <amodra@gmail.com>
21085 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21087 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21090 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21093 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21097 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21100 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21101 Don't add gid passed as argument.
21103 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21105 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21108 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21109 imaginary part between 1.0 and 1.5 and real part less than 0.5
21111 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21112 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21113 * math/libm-test.inc (cacos_test): Add more tests.
21114 (casin_test): Likewise.
21115 (casinh_test): Likewise.
21116 * sysdeps/i386/fpu/libm-test-ulps: Update.
21117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21119 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21121 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21124 (denorm): Likewise.
21125 (__dbl_mp): Likewise.
21126 (add_magnitudes): Likewise.
21127 (sub_magnitudes): Likewise.
21135 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21137 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21138 (__dubcos): Likewise.
21139 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21140 (__ieee754_acos): Likewise.
21141 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21142 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21143 (__exp1): Likewise.
21144 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21147 (my_log2): Likewise.
21148 (checkint): Likewise.
21149 * sysdeps/ieee754/dbl-64/e_remainder.c
21150 (__ieee754_remainder): Likewise.
21151 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21153 (bsloww): Likewise.
21154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21156 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21157 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21158 MANTISSA_STORE_T to store computations on mantissa. Use
21159 macros for rounding and division.
21160 (denorm): Likewise.
21161 (__dbl_mp): Likewise.
21162 (add_magnitudes): Likewise.
21163 (sub_magnitudes): Likewise.
21166 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21167 powers of two in terms of TWOPOW macro.
21168 (mp_no): Make type of mantissa as MANTISSA_T.
21169 [!RADIXI]: Define RADIXI.
21170 [!TWO52]: Define TWO52.
21171 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21173 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21175 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21176 llroundl symbol when building for PPC32.
21178 2013-03-24 Mark H Weaver <mhw@netris.org>
21180 * manual/arith.texi (Normalization Functions): Fix prototypes for
21181 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21183 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21187 high value to check if expl overflow.
21188 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21189 to check for underflow and overflow.
21190 * math/libm-test.inc: Add exp test.
21192 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21195 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21198 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21200 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21203 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21205 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21206 wrap blocks consisting of several statements.
21208 * sysdeps/generic/math-tests.h: New file.
21209 * sysdeps/i386/fpu/math-tests.h: Likewise.
21210 * math/test-snan.c: Include it.
21211 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21213 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21216 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21217 (__ieee754_j0l): Do not improve calculations using cos of twice
21218 input for inputs above LDBL_MAX / 2.0L.
21219 (__ieee754_y0l): Likewise.
21220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21221 (__ieee754_j1l): Do not improve calculations using cos of twice
21222 input for inputs above LDBL_MAX / 2.0L.
21223 (__ieee754_y1l): Likewise.
21224 * math/libm-test.inc (j0_test): Add another test.
21225 (j1_test): Likewise.
21226 (y0_test): Likewise.
21227 (y1_test): Likewise.
21228 * sysdeps/i386/fpu/libm-test-ulps: Update.
21230 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21232 * Rules ($(objpfx)bench-%.c): Include code from a C source
21235 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21238 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21239 imaginary part 1.0 and real part less than 0.5 specially.
21240 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21241 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21242 * math/libm-test.inc (cacos_test): Add more tests.
21243 (casin_test): Likewise.
21244 (casinh_test): Likewise.
21245 * sysdeps/i386/fpu/libm-test-ulps: Update.
21246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21248 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21251 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21253 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21255 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21256 * config.make.in (config-cflags-sse4): Remove variable.
21257 (config-cflags-avx): Likewise.
21258 (config-cflags-sse2avx): Likewise.
21259 (config-cflags-novzeroupper): Likewise.
21260 (config-asflags-i686): Likewise.
21261 (have-mfma4): Likewise.
21262 (have-as-vis3): Likewise.
21264 * configure.in (MIG): Do not AC_SUBST.
21265 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21266 (libc_cv_cc_sse4): Do not AC_SUBST.
21267 (libc_cv_cc_avx): Likewise.
21268 (libc_cv_cc_sse2avx): Likewise.
21269 (libc_cv_cc_novzeroupper): Likewise.
21270 (libc_cv_cc_fma4): Likewise.
21271 (libc_cv_as_i686): Likewise.
21272 (libc_cv_sparc_as_vis3): Likewise.
21273 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21275 (config-asflags-i686): Likewise.
21276 (config-cflags-avx): Likewise.
21277 (config-cflags-sse2avx): Likewise.
21278 (have-mfma4): Likewise.
21279 (config-cflags-novzeroupper): Likewise.
21280 * sysdeps/mach/configure.in (MIG): Likewise.
21281 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21282 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21284 (config-cflags-avx): Likewise.
21285 (config-cflags-sse2avx): Likewise.
21286 (have-mfma4): Likewise.
21287 (config-cflags-novzeroupper): Likewise.
21288 * configure: Regenerated.
21289 * sysdeps/i386/configure: Likewise.
21290 * sysdeps/mach/configure: Likewise.
21291 * sysdeps/sparc/configure: Likewise.
21292 * sysdeps/x86_64/configure: Likewise.
21294 2013-03-20 Roland McGrath <roland@hack.frob.com>
21297 * locale/programs/localedef.c (options): Put N_ translation marker
21298 on argument names, not just descriptions.
21300 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21302 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21304 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21307 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21309 2013-03-19 Roland McGrath <roland@hack.frob.com>
21311 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21312 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21313 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21314 [!BEFORE_ABORT] (before_abort): New function.
21315 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21316 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21317 (writev_for_fatal): New function.
21318 (WRITEV_FOR_FATAL): New macro; call that.
21319 (backtrace_and_maps): New function.
21320 (BEFORE_ABORT): New macro; call that.
21321 (struct str_list): Type removed.
21322 (__libc_message, __libc_fatal): Functions removed.
21323 Include <sysdeps/posix/libc_fatal.c> instead.
21325 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21327 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21329 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21332 2013-03-19 Andreas Schwab <schwab@suse.de>
21334 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21335 * sysdeps/gnu/configure: Regenerate.
21337 * configure.in: Substitute libc_cv_rtlddir.
21338 * configure: Regenerate.
21339 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21340 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21341 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21342 * elf/Makefile (install-others, CFLAGS-interp.c)
21343 (ldso_install, common-ldd-rewrite): Likewise.
21344 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21345 $(inst_slibdir)/$(rtld-installed-name).
21346 * scripts/rellns-sh: Add -p option.
21347 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21350 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21352 * manual/nptl.texi: Renamed to ...
21353 * manual/threads.texi: ... this.
21354 * manual/Makefile (chapters): Update.
21356 2013-03-18 Roland McGrath <roland@hack.frob.com>
21359 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21360 on argument names, not just descriptions.
21361 * malloc/memusagestat.c (options): Likewise.
21362 * nss/getent.c (options): Likewise.
21364 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21367 * iconv/iconv_prog.c (options): Put N_ translation marker
21368 on argument names, not just descriptions.
21369 * iconv/iconvconfig.c (options): Likewise.
21371 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21373 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21374 implementation which is faster on all x86_64 architectures.
21375 Tested on AMD, Intel Nehalem, SNB, IVB.
21376 * sysdeps/x86_64/strnlen.S: Likewise.
21378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21379 Remove all multiarch strlen and strnlen versions.
21380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21381 Remove strlen and strnlen related parts.
21383 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21384 Inline strlen part.
21385 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21387 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21388 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21389 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21390 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21391 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21392 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21394 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21396 * manual/memory.texi (Malloc Tunable Parameters):
21397 Sort parameters alphabetically. Add comments for missing entries.
21399 2013-03-17 David S. Miller <davem@davemloft.net>
21401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21403 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21406 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21407 for arguments at most half maximum finite value.
21408 * math/libm-test.inc (j0_test): Add more tests.
21409 (j1_test): Likewise.
21410 (y0_test): Likewise.
21411 (y1_test): Likewise.
21412 * sysdeps/i386/fpu/libm-test-ulps: Update.
21413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21417 1 / x and functions P and Q for arguments above 0x1p256L.
21418 (__ieee754_y0l): Likewise.
21419 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21420 (__ieee754_y1l): Likewise.
21421 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21422 (j1_test): Likewise.
21423 (y0_test): Likewise.
21424 (y1_test): Likewise.
21426 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21428 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21431 2013-03-15 Roland McGrath <roland@hack.frob.com>
21433 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21434 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21435 zero since it's initialized to EXEC_PAGESIZE.
21437 * sysdeps/unix/sysv/linux/ldsodefs.h
21438 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21439 * sysdeps/generic/ldsodefs.h: ... here.
21441 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21443 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21445 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21447 * math/test-snan.c: Renamed from
21448 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21449 * math/Makefile (tests): Add test-snan.
21450 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21453 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21454 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21456 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21457 __builtin_nan family of functions.
21458 * math/libm-test.inc (initialize): Initialize qnan_value with
21459 __builtin_nan family of functions.
21460 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21462 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21464 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21465 storage class. Initialize qNaN_var and sNaN_var with
21466 __builtin_nan and __builtin_nans families of functions,
21469 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21470 (sqrt_test): Remove duplicate test with qNaN input.
21471 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21472 (round_test, signbit_test, significand_test): Note missing +/-Inf
21473 as well as qNaN tests.
21475 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21476 qNaN_var. Fix a few strings, too.
21477 * math/libm-test.inc (nan_value): Rename to qnan_value.
21478 * math/gen-libm-test.pl (%beautify): Adjust to that.
21479 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21480 * math/test-misc.c (main): Likewise.
21481 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21482 to __qnan_bytes, and __qnan_union, respectively.
21483 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21485 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21486 and lqnanval, respectively.
21487 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21488 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21489 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21490 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21492 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21493 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21496 * math/test-misc.c (main): Fix copy'n'pastos.
21497 * misc/tst-efgcvt.c (special): Likewise.
21499 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21500 Remove declarations.
21502 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21504 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21505 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21506 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21507 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21509 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21511 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21512 macro to return vdso values correctly in IFUNC implementations.
21513 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21514 Optimization by using IFUNC.
21516 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21517 Richard Henderson <rth@redhat.com>
21518 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21520 * Makefile.in (bench): New target.
21521 * NEWS: Mention the benchmark framework.
21522 * Rules (bench): Likewise.
21523 (binaries-bench): Generate binaries for functions to
21525 * benchtests/Makefile: New makefile for benchmark tests.
21526 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21528 * benchtests/exp-inputs: New input file for EXP function.
21529 * benchtests/pow-inputs: New input file for POW function.
21530 * scripts/bench.pl: New script to generate source files for
21531 benchmark programs.
21533 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21535 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21536 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21537 computations on mantissa. Use macros for rounding and
21539 (denorm): Likewise.
21540 (__dbl_mp): Likewise.
21541 (add_magnitudes): Likewise.
21542 (sub_magnitudes): Likewise.
21545 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21546 powers of two in terms of TWOPOW macro.
21547 (mp_no): Make type of mantissa as MANTISSA_T.
21548 [!RADIXI]: Define RADIXI.
21549 [!TWO52]: Define TWO52.
21550 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21552 * manual/nptl.texi (cindex): Modify threads to pthreads.
21554 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21556 * sysdeps/x86_64/preconfigure: Regenerated.
21558 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21561 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21563 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21564 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21566 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21567 * math/libm-test.inc (j0_test): Do not allow one spurious
21568 underflow exception.
21569 (y1_test): Likewise.
21571 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21573 * manual/Makefile (chapters): Add nptl.
21574 * manual/debug.texi (Debugging Support): Add link to Threads
21576 * manual/nptl.texi: New file.
21578 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21580 2013-03-14 Petr Baudis <pasky@ucw.cz>
21582 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21583 for non-NULL pointer before the memory validity test. Pointed
21584 out by Holger Brunck <holger.brunck@keymile.com>.
21586 2013-03-13 Andreas Schwab <schwab@suse.de>
21588 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21591 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21593 * timezone/zic.c: Update from tzcode 2013b.
21595 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21597 * manual/install.texi (Configuring and compiling):
21598 Mention i686 and i586.
21599 * INSTALL: Regenerate.
21601 2013-03-12 Roland McGrath <roland@hack.frob.com>
21603 * sysdeps/init_array/elf-init.c: New file.
21605 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21606 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21608 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21609 __gmon_start__ as global, but as static with a .preinit_array pointer.
21610 * sysdeps/init_array/gmon-start.c: New file. Use that.
21611 * sysdeps/init_array/crti.S: New file, empty except for comments.
21612 * sysdeps/init_array/crtn.S: Likewise.
21614 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21616 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21619 Remove Prefer_SSE_for_memop.
21620 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21621 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21622 HAS_PREFER_SSE_FOR_MEMOP.
21623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21626 Remove bzero, memset ifunc support.
21627 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21628 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21629 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21630 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21632 2013-03-11 Andreas Schwab <schwab@suse.de>
21635 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21638 (GLIBC_2.16): Remove pthread_atfork.
21640 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21642 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21643 (ptestcases.h): Likewise.
21645 2013-03-08 Roland McGrath <roland@hack.frob.com>
21647 * Makeconfig ($(common-objpfx)config.status): Depend on
21648 sysdeps/*/preconfigure{,.in} too.
21650 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21652 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21653 (__free_hook): Use void * instead of __malloc_ptr_t.
21654 (__malloc_hook): Likewise.
21655 (__realloc_hook): Likewise.
21656 (__memalign_hook): Likewise.
21657 (__after_morecore_hook): Likewise.
21658 * malloc/arena.c (save_malloc_hook): Likewise.
21659 (save_free_hook): Likewise.
21660 * malloc/hooks.c (malloc_hook_ini): Likewise.
21661 (realloc_hook_ini): Likewise.
21662 (memalign_hook_ini): Likewise.
21663 * malloc/malloc.c (malloc_hook_ini): Likewise.
21664 (realloc_hook_ini): Likewise.
21665 (memalign_hook_ini): Likewise.
21666 (__free_hook): Likewise.
21667 (__malloc_hook): Likewise.
21668 (__realloc_hook): Likewise.
21669 (__memalign_hook): Likewise.
21670 (__libc_malloc): Likewise.
21671 (__libc_free): Likewise.
21672 (__libc_realloc): Likewise.
21673 (__libc_memalign): Likewise.
21674 (__libc_valloc): Likewise.
21675 (__libc_pvalloc): Likewise.
21676 (__libc_calloc): Likewise.
21677 (__posix_memalign): Likewise.
21678 * malloc/morecore.c (__sbrk): Likewise.
21679 (__default_morecore): Likewise.
21681 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21683 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21684 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21685 __malloc_ptrdiff_t.
21687 * malloc/malloc.h (__malloc_size_t): Remove macro.
21688 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21690 (old_memalign_hook): Likewise.
21691 (old_realloc_hook): Likewise.
21692 (struct hdr): Likewise.
21694 (mallochook): Likewise.
21695 (memalignhook): Likewise.
21696 (reallochook): Likewise.
21697 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21698 (tr_old_realloc_hook): Likewise.
21699 (tr_old_memalign_hook): Likewise.
21700 (tr_mallochook): Likewise.
21701 (tr_reallochook): Likewise.
21702 (tr_memalignhook): Likewise.
21704 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21707 default_ldbl_pack and using as default implementation.
21708 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21710 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21711 redundant definition.
21712 (ldbl_insert_mantissa): Likewise.
21713 (ldbl_canonicalize): Likewise.
21714 (ldbl_nearbyint): Likewise.
21715 (ldbl_pack): Rename to ldbl_pack_ppc.
21716 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21717 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21718 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21720 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21723 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21724 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21725 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21727 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21728 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21729 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21731 2013-03-07 Andreas Jaeger <aj@suse.de>
21733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21736 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21738 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21739 Include mpa.h and declare __MPEXP.
21740 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21742 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21743 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21745 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21746 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21748 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21749 (__slowpow): Use long double EXPL and LOGL functions to
21751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21752 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21753 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21755 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21759 intermediate variable to calculate exponent.
21761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21765 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21766 [!NO__SQR]: Define __sqr.
21767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21768 and NO__SQR. Remove all code except __mul and __sqr. Include
21769 sysdeps/ieee754/dbl-64/mpa.c.
21770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21773 * posix/Makefile (tests): Add tst-pathconf.
21774 * posix/tst-pathconf.c: New test case.
21775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21777 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21779 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21781 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21783 2013-03-06 Andreas Jaeger <aj@suse.de>
21785 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21786 definition via __MAP_ANONYMOUS.
21788 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21789 it's not part of Linux headers.
21791 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21792 (MAP_HUGE_MASK): Define.
21794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21796 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21799 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21800 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21802 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21805 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21807 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21808 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21809 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21810 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21811 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21812 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21818 Handle f2fs and efivarfs.
21820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21823 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21824 (EFIVARFS_MAGIC): Add.
21825 (F2FS_LINK_MAX): Add.
21827 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21829 * stdio-common/vfprintf.c: Replace __builtin_expect with
21832 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21835 * sysdeps/generic/bp-sym.h: Remove file.
21836 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21837 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21838 <bp-sym.h> and <bp-asm.h>.
21839 (__longjmp): Don't use BP_SYM.
21840 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21842 (memcpy): Don't use BP_SYM.
21843 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21844 <bp-sym.h> and <bp-asm.h>.
21845 (memcpy): Don't use BP_SYM.
21846 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21848 (memcpy): Don't use BP_SYM.
21849 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21851 (memset): Don't use BP_SYM.
21852 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21853 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21854 (__bzero): Don't use BP_SYM.
21855 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21856 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21857 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21858 <bp-sym.h> and <bp-asm.h>.
21859 (memcmp): Don't use BP_SYM. Remove comment about bounded
21861 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21862 <bp-sym.h> and <bp-asm.h>.
21863 (memcpy): Don't use BP_SYM.
21864 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21865 <bp-sym.h> and <bp-asm.h>.
21866 (memset): Don't use BP_SYM.
21867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21869 (__bzero): Don't use BP_SYM.
21870 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21871 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21872 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21873 <bp-sym.h> and <bp-asm.h>.
21874 (strncmp): Don't use BP_SYM. Remove comment about bounded
21876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (memcpy): Don't use BP_SYM.
21879 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21880 <bp-sym.h> and <bp-asm.h>.
21881 (memset): Don't use BP_SYM.
21882 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21883 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21884 (__bzero): Don't use BP_SYM.
21885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21888 <bp-sym.h> and <bp-asm.h>.
21889 (__memchr): Don't use BP_SYM.
21890 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21891 <bp-sym.h> and <bp-asm.h>.
21892 (memcmp): Don't use BP_SYM. Remove comment about bounded
21894 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21895 <bp-sym.h> and <bp-asm.h>.
21896 (memcpy): Don't use BP_SYM.
21897 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21898 <bp-sym.h> and <bp-asm.h>.
21899 (__mempcpy): Don't use BP_SYM.
21900 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21901 <bp-sym.h> and <bp-asm.h>.
21902 (__memrchr): Don't use BP_SYM.
21903 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21904 <bp-sym.h> and <bp-asm.h>.
21905 (memset): Don't use BP_SYM.
21906 (__bzero): Likewise.
21907 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21908 <bp-sym.h> and <bp-asm.h>.
21909 (__rawmemchr): Don't use BP_SYM.
21910 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21911 <bp-sym.h> and <bp-asm.h>.
21912 (__STRCMP): Don't use BP_SYM.
21913 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21914 <bp-sym.h> and <bp-asm.h>.
21915 (strchr): Don't use BP_SYM.
21916 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21917 <bp-sym.h> and <bp-asm.h>.
21918 (__strchrnul): Don't use BP_SYM.
21919 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21920 <bp-sym.h> and <bp-asm.h>.
21921 (strlen): Don't use BP_SYM.
21922 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21923 <bp-sym.h> and <bp-asm.h>.
21924 (strncmp): Don't use BP_SYM. Remove comment about bounded
21926 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21927 <bp-sym.h> and <bp-asm.h>.
21928 (__strnlen): Don't use BP_SYM.
21929 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21930 <bp-sym.h> and <bp-asm.h>.
21931 (__GI__setjmp): Don't use BP_SYM.
21932 (_setjmp): Likewise.
21933 (__sigsetjmp): Likewise.
21934 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21935 (L(start_addresses)): Don't use BP_SYM.
21936 (_start): Likewise.
21937 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21939 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21940 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21941 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21942 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21943 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21945 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21946 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21947 about bounded pointers.
21948 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21949 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21950 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21952 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21953 about bounded pointers. Remove GKM FIXME comments.
21954 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21955 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21957 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21958 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21959 Remove GKM FIXME comments.
21960 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21961 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21962 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21964 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21965 about bounded pointers. Remove GKM FIXME comment.
21966 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21968 (strncmp): Don't use BP_SYM. Remove comment about bounded
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21971 <bp-sym.h> and <bp-asm.h>.
21972 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21974 <bp-sym.h> and <bp-asm.h>.
21975 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21978 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21980 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21983 2013-03-05 David S. Miller <davem@davemloft.net>
21985 * po/es.po: Update from translation team.
21987 2013-03-05 Andreas Jaeger <aj@suse.de>
21989 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21990 <bits/mman-linux.h>.
21991 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21993 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21994 <bits/mman-linux.h> to end of file.
21995 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21997 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21998 <bits/mman-linux.h> to end of file.
21999 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22001 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22002 <bits/mman-linux.h> to end of file.
22004 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22005 (MCL_CURRENT, MCL_FUTURE): Define here.
22007 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22010 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22012 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22014 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22016 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22017 fourth parameter needed for rt_sigprocmask syscall.
22018 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22019 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22020 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22021 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22022 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22023 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22025 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22028 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22029 comment about bounded pointers.
22030 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22031 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22033 2013-03-04 Andreas Jaeger <aj@suse.de>
22035 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22036 common definitions.
22038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22039 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22040 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22041 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22042 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22043 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22045 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22049 __ieee754_sqrl instead of __sqrl.
22051 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22053 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22054 * sysdeps/powerpc/fpu_control.h: ... here.
22055 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22056 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22057 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22058 * sysdeps/powerpc/bits/mathinline.h: ... here.
22060 2013-03-01 Roland McGrath <roland@hack.frob.com>
22062 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22063 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22064 to just [NEED_DL_SYSINFO_DSO].
22065 * elf/dl-support.c: Likewise.
22066 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22067 * elf/rtld.c (dl_main): Likewise.
22068 * elf/setup-vdso.h (setup_vdso): Likewise.
22069 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22070 * sysdeps/unix/sysv/linux/dl-sysdep.c
22071 (_dl_discover_osversion): Likewise.
22073 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22075 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22076 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22078 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22080 * NEWS: Mention libm performance improvements and non-x86 PI
22083 * csu/libc-start.c (__pthread_initialize_minimal): Change
22084 function arguments.
22085 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22087 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22090 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22091 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22092 <bp-sym.h> and <bp-asm.h>.
22093 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22096 (memcpy): Don't use BP_SYM.
22097 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22099 (__mpn_add_n): Don't use BP_SYM.
22100 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22101 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22103 (__mpn_addmul_1): Don't use BP_SYM.
22104 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22105 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22107 (_setjmp): Don't use BP_SYM.
22108 (__novmx_setjmp): Likewise.
22109 (__GI__setjmp): Likewise.
22110 (__vmx_setjmp): Likewise.
22111 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22113 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22114 (__bzero): Don't use BP_SYM.
22115 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22116 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22117 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22118 <bp-sym.h> and <bp-asm.h>.
22119 (memcpy): Don't use BP_SYM.
22120 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22121 <bp-sym.h> and <bp-asm.h>.
22122 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22124 <bp-sym.h> and <bp-asm.h>.
22125 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22126 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22128 (__mpn_lshift): Don't use BP_SYM.
22129 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22130 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22132 (memset): Don't use BP_SYM.
22133 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22134 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22135 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22137 (__mpn_mul_1): Don't use BP_SYM.
22138 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22139 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22140 <bp-sym.h> and <bp-asm.h>.
22141 (memcmp): Don't use BP_SYM.
22142 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22143 <bp-sym.h> and <bp-asm.h>.
22144 (memcpy): Don't use BP_SYM.
22145 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22146 <bp-sym.h> and <bp-asm.h>.
22147 (memset): Don't use BP_SYM.
22148 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22149 <bp-sym.h> and <bp-asm.h>.
22150 (strncmp): Don't use BP_SYM.
22151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22152 <bp-sym.h> and <bp-asm.h>.
22153 (memcpy): Don't use BP_SYM.
22154 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22155 <bp-sym.h> and <bp-asm.h>.
22156 (memset): Don't use BP_SYM.
22157 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22158 <bp-sym.h> and <bp-asm.h>.
22159 (__memchr): Don't use BP_SYM.
22160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22161 <bp-sym.h> and <bp-asm.h>.
22162 (memcmp): Don't use BP_SYM.
22163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22164 <bp-sym.h> and <bp-asm.h>.
22165 (memcpy): Don't use BP_SYM.
22166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22167 <bp-sym.h> and <bp-asm.h>.
22168 (__mempcpy): Don't use BP_SYM.
22169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22170 <bp-sym.h> and <bp-asm.h>.
22171 (__memrchr): Don't use BP_SYM.
22172 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22173 <bp-sym.h> and <bp-asm.h>.
22174 (memset): Don't use BP_SYM.
22175 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22176 <bp-sym.h> and <bp-asm.h>.
22177 (__rawmemchr): Don't use BP_SYM.
22178 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22179 <bp-sym.h> and <bp-asm.h>.
22180 (__STRCMP): Don't use BP_SYM.
22181 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22182 <bp-sym.h> and <bp-asm.h>.
22183 (strchr): Don't use BP_SYM.
22184 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22185 <bp-sym.h> and <bp-asm.h>.
22186 (__strchrnul): Don't use BP_SYM.
22187 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22188 <bp-sym.h> and <bp-asm.h>.
22189 (strlen): Don't use BP_SYM.
22190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22191 <bp-sym.h> and <bp-asm.h>.
22192 (strncmp): Don't use BP_SYM.
22193 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22194 <bp-sym.h> and <bp-asm.h>.
22195 (__strnlen): Don't use BP_SYM.
22196 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22198 (__mpn_rshift): Don't use BP_SYM.
22199 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22200 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22201 <bp-sym.h> and <bp-asm.h>.
22202 (__sigsetjmp): Don't use BP_SYM.
22203 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22204 (L(start_addresses)): Don't use BP_SYM.
22205 (_start): Likewise.
22206 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22208 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22211 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22213 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22214 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22215 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22216 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22218 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22220 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22221 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22223 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22225 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22226 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22227 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22229 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22231 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22233 (strncmp): Don't use BP_SYM,
22234 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22236 (__mpn_sub_n): Don't use BP_SYM.
22237 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22238 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22240 (__mpn_submul_1): Don't use BP_SYM.
22241 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22243 <bp-sym.h> and <bp-asm.h>.
22244 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22246 <bp-sym.h> and <bp-asm.h>.
22247 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22250 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22253 Use ZK to minimize writes to Z.
22254 (sub_magnitudes): Simplify code a bit.
22255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22256 Use ZK to minimize writes to Z.
22257 (sub_magnitudes): Simplify code a bit.
22259 2013-02-27 Roland McGrath <roland@hack.frob.com>
22261 * csu/gmon-start.c: Add special exception to license text.
22263 2013-02-27 Richard Henderson <rth@redhat.com>
22265 * scripts/config.guess: Update from config.git.
22266 * scripts/config.sub: Likewise.
22268 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22270 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22272 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22274 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22276 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22278 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22280 2013-02-26 Roland McGrath <roland@hack.frob.com>
22282 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22283 [$(build-shared = yes].
22285 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22287 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22288 (__mul): Reduce iterations for calculating mantissa.
22290 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22292 (__mpranred): Likewise.
22295 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22296 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22298 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22300 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22301 Define __attribute__.
22303 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22305 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22307 * posix/regex_internal.h (__attribute): Remove.
22308 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22309 (re_string_context_at): Likewise.
22310 (bitset_not): Use __attribute__ and mark function as possibly
22312 (bitset_merge): Likewise.
22313 (bitset_mask): Likewise.
22314 (re_string_char_size_at): Likewise.
22315 (re_string_wchar_at): Likewise.
22316 (re_string_elem_size_at): Likewise.
22318 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22320 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22324 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22328 (denorm): Likewise.
22329 (__dbl_mp): Likewise.
22330 (add_magnitudes): Likewise.
22331 (sub_magnitudes): Likewise.
22335 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22338 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22341 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22345 up changes with default code.
22346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22349 2013-02-24 Allan McRae <allan@archlinux.org>
22351 * manual/socket.texi (The Internet Namespace): Order menu items
22352 to match that in the file.
22354 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22355 node listing of the info page menu.
22357 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22360 * sysdeps/i386/bp-asm.h: Remove file.
22361 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22362 (PARMS): Do not use macros from bp-asm.h.
22366 (__mpn_add_n): Do not use BP_SYM
22367 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22369 (PARMS): Do not use macros from bp-asm.h.
22372 (__mpn_addmul_1): Do not use BP_SYM
22373 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22375 (PARMS): Do not use macros from bp-asm.h.
22376 (SIGMSK): Likewise.
22377 (_setjmp): Likewise. Do not use BP_SYM.
22378 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22380 (PARMS): Do not use macros from bp-asm.h.
22381 (SIGMSK): Likewise.
22382 (setjmp): Likewise. Do not use BP_SYM.
22383 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22385 (PARMS): Do not use macros from bp-asm.h.
22386 (__frexp): Do not use BP_SYM.
22388 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22390 (PARMS): Do not use macros from bp-asm.h.
22391 (__frexpf): Do not use BP_SYM.
22392 (frexpf): Likewise.
22393 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22395 (PARMS): Do not use macros from bp-asm.h.
22396 (__frexpl): Do not use BP_SYM.
22397 (frexpl): Likewise.
22398 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22400 (PARMS): Do not use macros from bp-asm.h.
22401 (__remquo): Do not use BP_SYM.
22402 (remquo): Likewise.
22403 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22405 (PARMS): Do not use macros from bp-asm.h.
22406 (__remquof): Do not use BP_SYM.
22407 (remquof): Likewise.
22408 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22410 (PARMS): Do not use macros from bp-asm.h.
22411 (__remquol): Do not use BP_SYM.
22412 (remquol): Likewise.
22413 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22415 (PARMS): Do not use macros from bp-asm.h.
22418 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22419 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22421 (PARMS): Do not use macros from bp-asm.h.
22422 (strlen): Do not use BP_SYM.
22423 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22425 (PARMS): Do not use macros from bp-asm.h.
22429 (__mpn_add_n): Do not use BP_SYM.
22430 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22432 (PARMS): Do not use macros from bp-asm.h.
22435 (__mpn_addmul_1): Do not use BP_SYM.
22436 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22439 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22441 (PARMS): Do not use macros from bp-asm.h.
22444 (__mpn_lshift): Do not use BP_SYM.
22445 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22447 (PARMS): Do not use macros from bp-asm.h.
22451 (memcpy): Likewise. Do not use BP_SYM.
22452 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22453 libc_hidden_def and weak_alias.
22454 (mempcpy): Do not use BP_SYM in weak_alias.
22455 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22457 (PARMS): Do not use macros from bp-asm.h.
22460 [!BZERO_P] (CHR): Likewise.
22461 (memset): Likewise. Do not use BP_SYM.
22462 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22464 (PARMS): Do not use macros from bp-asm.h.
22467 (__mpn_mul_1): Do not use BP_SYM.
22468 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22470 (PARMS): Do not use macros from bp-asm.h.
22473 (__mpn_rshift): Do not use BP_SYM.
22474 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22476 (PARMS): Do not use macros from bp-asm.h.
22479 (strchr): Likewise. Do not use BP_SYM.
22480 (index): Do not use BP_SYM in weak_alias.
22481 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22483 (PARMS): Do not use macros from bp-asm.h.
22486 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22487 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22489 (PARMS): Do not use macros from bp-asm.h.
22490 (strlen): Do not use BP_SYM.
22491 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22493 (PARMS): Do not use macros from bp-asm.h.
22497 (__mpn_sub_n): Do not use BP_SYM.
22498 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22500 (PARMS): Do not use macros from bp-asm.h.
22503 (__mpn_submul_1): Do not use BP_SYM.
22504 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22506 (PARMS): Do not use macros from bp-asm.h.
22510 (__mpn_add_n): Do not use BP_SYM.
22511 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22514 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22516 (PARMS): Do not use macros from bp-asm.h.
22519 (memcmp): Do not use BP_SYM.
22520 (bcmp): Do not use BP_SYM in weak_alias.
22521 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22523 (PARMS): Do not use macros from bp-asm.h.
22527 (memcpy): Likewise. Do not use BP_SYM.
22528 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22530 (PARMS): Do not use macros from bp-asm.h.
22534 (memmove): Likewise. Do not use BP_SYM.
22535 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22537 (PARMS): Do not use macros from bp-asm.h.
22541 (__mempcpy): Likewise. Do not use BP_SYM.
22542 (mempcpy): Do not use BP_SYM in weak_alias.
22543 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22545 (PARMS): Do not use macros from bp-asm.h.
22548 [!BZERO_P] (CHR): Likewise.
22549 (memset): Likewise. Do not use BP_SYM.
22550 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22552 (PARMS): Do not use macros from bp-asm.h.
22554 (strcmp): Do not use BP_SYM.
22555 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22557 (PARMS): Do not use macros from bp-asm.h.
22560 [USE_AS_STRTOK_R] (SAVE): Likewise.
22561 (FUNCTION): Likewise. Do not use BP_SYM.
22562 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22564 (strtok_r): Likewise.
22565 (__GI___strtok_r): Likewise.
22566 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22567 (PARMS): Do not use macros from bp-asm.h.
22570 (__mpn_lshift): Do not use BP_SYM.
22571 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22572 (PARMS): Do not use macros from bp-asm.h.
22575 (__memchr): Do not use BP_SYM.
22576 (memchr): Do not use BP_SYM in weak_alias.
22577 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22578 (PARMS): Do not use macros from bp-asm.h.
22581 (memcmp): Do not use BP_SYM.
22582 (bcmp): Do not use BP_SYM in weak_alias.
22583 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22584 (PARMS): Do not use macros from bp-asm.h.
22587 (__mpn_mul_1): Do not use BP_SYM.
22588 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22590 (PARMS): Do not use macros from bp-asm.h.
22593 (__rawmemchr): Do not use BP_SYM.
22594 (rawmemchr): Do not use BP_SYM in weak_alias.
22595 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22596 (PARMS): Do not use macros from bp-asm.h.
22599 (__mpn_rshift): Do not use BP_SYM.
22600 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22601 (PARMS): Do not use macros from bp-asm.h.
22602 (SIGMSK): Likewise.
22603 (__sigsetjmp): Likewise. Do not use BP_SYM.
22604 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22605 (_start): Do not use BP_SYM.
22606 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22607 (PARMS): Do not use macros from bp-asm.h.
22610 (__stpcpy): Likewise. Do not use BP_SYM.
22611 (stpcpy): Do not use BP_SYM in weak_alias.
22612 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22614 (PARMS): Do not use macros from bp-asm.h.
22618 (__stpncpy): Likewise. Do not use BP_SYM.
22619 (stpncpy): Do not use BP_SYM in weak_alias.
22620 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22621 (PARMS): Do not use macros from bp-asm.h.
22624 (strchr): Likewise. Do not use BP_SYM.
22625 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22627 (PARMS): Do not use macros from bp-asm.h.
22630 (__strchrnul): Likewise. Do not use BP_SYM.
22631 (strchrnul): Do not use BP_SYM in weak_alias.
22632 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22634 (PARMS): Do not use macros from bp-asm.h.
22636 (strcspn): Do not use BP_SYM.
22637 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22639 (PARMS): Do not use macros from bp-asm.h.
22642 (strpbrk): Likewise. Do not use BP_SYM.
22643 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22645 (PARMS): Do not use macros from bp-asm.h.
22648 (strrchr): Likewise. Do not use BP_SYM.
22649 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22650 (PARMS): Do not use macros from bp-asm.h.
22652 (strspn): Do not use BP_SYM.
22653 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22654 (PARMS): Do not use macros from bp-asm.h.
22658 (FUNCTION): Likewise. Do not use BP_SYM.
22659 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22661 (strtok_r): Likewise.
22662 (__GI___strtok_r): Likewise.
22663 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22664 (PARMS): Do not use macros from bp-asm.h.
22668 (__mpn_sub_n): Do not use BP_SYM.
22669 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22671 (PARMS): Do not use macros from bp-asm.h.
22674 (__mpn_submul_1): Do not use BP_SYM.
22675 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22677 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22679 (PARMS): Do not use macros from bp-asm.h.
22684 (__clone): Do not use BP_SYM.
22685 (clone): Do not use BP_SYM in weak_alias.
22686 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22688 (PARMS): Do not use macros from bp-asm.h.
22690 (__mmap64): Do not use BP_SYM.
22691 (mmap64): Do not use BP_SYM in weak_alias.
22692 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22693 <bp-sym.h> and <bp-asm.h>.
22694 (PARMS): Do not use macros from bp-asm.h.
22695 (__posix_fadvise64_l64): Do not use BP_SYM.
22696 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22697 (PARMS): Do not use macros from bp-asm.h.
22699 (semtimedop): Do not use BP_SYM.
22700 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22703 2013-02-21 Allan McRae <allan@archlinux.org>
22705 * manual/message.texi (Charset conversion in gettext):
22706 Move @end statement to beginning of line.
22708 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22715 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22716 (denorm): Likewise.
22717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22720 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22722 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22723 tail-call to the resolved function if pltexit isn't needed.
22725 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22728 or Y being zero as being unlikely.
22729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22732 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22734 * manual/nss.texi (System Databases and Name Service Switch):
22735 Remove frobnicate @pxref.
22737 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22739 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22740 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22742 2013-02-20 Petr Machata <pmachata@redhat.com>
22744 * elf/elf.h (R_ARM_TARGET1): New macro.
22745 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22746 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22747 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22748 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22749 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22750 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22751 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22752 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22753 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22754 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22755 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22756 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22757 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22758 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22759 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22760 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22761 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22762 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22763 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22764 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22765 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22766 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22767 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22768 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22769 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22770 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22771 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22772 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22773 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22774 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22775 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22776 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22777 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22778 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22779 (R_ARM_THM_GOT_BREL12): Likewise.
22780 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22781 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22782 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22783 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22784 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22785 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22786 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22787 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22788 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22790 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22792 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22793 __attribute_used__ to __attribute__ ((unused)).
22795 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22797 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22800 comment formatting.
22801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22803 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22808 (ENTER): Remove both macro definitions.
22810 (CHECK_BOUNDS_LOW): Likewise.
22811 (CHECK_BOUNDS_HIGH): Likewise.
22812 (CHECK_BOUNDS_BOTH): Likewise.
22813 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22814 (RETURN_BOUNDED_POINTER): Likewise.
22815 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22816 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22817 (POP_ERRNO_LOCATION_RETURN): Likewise.
22818 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22819 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22820 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22822 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22823 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22824 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22825 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22826 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22827 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22828 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22829 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22830 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22831 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22832 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22833 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22834 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22835 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22837 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22838 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22840 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22841 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22842 * sysdeps/i386/i586/memset.S (memset): Likewise.
22843 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22845 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22847 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22848 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22849 Change uses of L(2) to L(out).
22850 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22851 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22852 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22853 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22854 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22856 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22857 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22859 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22860 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22861 (RETURN): Do not use macro LEAVE.
22862 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22863 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22864 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22865 * sysdeps/i386/i686/memset.S (memset): Likewise.
22866 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22867 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22868 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22869 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22871 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22872 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22873 L(1_2) and L(1_3) into L(1).
22874 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22875 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22876 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22877 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22878 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22879 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22880 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22881 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22882 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22884 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22885 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22886 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22887 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22888 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22889 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22890 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22891 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22892 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22893 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22894 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22895 * sysdeps/i386/strspn.S (strspn): Likewise.
22896 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22898 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22899 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22900 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22901 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22902 L(1_3) into L(1_1).
22903 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22904 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22905 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22907 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22909 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22911 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22914 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22916 * math/atest-exp.c (exp_mpn): Remove ROUND.
22917 * math/atest-exp2.c (exp_mpn): Likewise.
22918 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22920 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22921 * stdlib/tst-tls-atexit-lib.c: Likewise.
22922 * stdlib/tst-tls-atexit.c: Likewise.
22924 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22926 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22927 and __attribute_alloc_size__.
22929 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22931 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22932 __attribute_alloc_size__.
22933 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22934 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22936 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22938 * include/programs/xmalloc.h: New file.
22939 * catgets/gencat.c: Include it.
22940 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22941 * elf/pldd.c: Likewise.
22942 * iconv/iconv_charmap.c: Likewise.
22943 * iconv/iconvconfig.c: Likewise.
22944 * iconv/strtab.c: Likewise.
22945 * locale/programs/locale.c: Likewise.
22946 * locale/programs/localedef.h: Likewise.
22947 * locale/programs/simple-hash.c: Likewise.
22948 * nscd/nscd.h: Likewise.
22949 * nss/makedb.c: Likewise.
22950 * sysdeps/generic/ldconfig.h: Likewise.
22952 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22954 * Versions.def: Add GLIBC_2.18.
22955 * include/link.h (struct link_map): New member l_tls_dtor_count.
22956 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22957 (__call_tls_dtors): Likewise.
22958 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22959 __cxa_thread_atexit_impl.
22960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22976 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22977 (tests): Add test case tst-tls-atexit.
22978 (modules-names): Add shared library for tst-tls-atexit.
22979 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22980 (GLIBC_PRIVATE): Add __call_tls_dtors.
22981 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22983 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22984 * stdlib/tst-tls-atexit.c: New test case.
22985 * stdlib/tst-tls-atexit-lib.c: New test case.
22987 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22989 * elf/Versions (ld): Add _dl_find_dso_for_object.
22990 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22991 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22992 (dl_open_worker): Use _dl_find_dso_for_object.
22993 * elf/dl-sym.c (do_sym): Likewise.
22994 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22996 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22998 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22999 Syntactic changes only.
23000 (_dl_runtime_profile): Do a tail-call to the resolved function.
23002 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23005 * sysdeps/x86_64/bp-asm.h: Remove file.
23006 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23007 <bp-sym.h> and <bp-asm.h>.
23008 (__clone): Do not use BP_SYM.
23009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23010 <bp-sym.h> and <bp-asm.h>.
23011 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23012 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23014 (_setjmp): Do not use BP_SYM.
23015 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23017 (setjmp): Do not use BP_SYM.
23018 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23020 (mempcpy): Do not use BP_SYM in weak_alias.
23021 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23023 (strchr): Do not use BP_SYM.
23024 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23026 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23027 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23028 (_start): Do not use BP_SYM.
23029 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23031 (strcat): Do not use BP_SYM.
23032 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23034 (STRCMP): Do not use BP_SYM.
23035 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23037 (STRCPY): Do not use BP_SYM.
23038 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23040 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23042 (FUNCTION): Do not use BP_SYM.
23043 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23045 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23047 2013-02-17 Andreas Jaeger <aj@suse.de>
23049 * time/Versions: Sort entries.
23050 * string/Versions: Likewise.
23051 * resolv/Versions: Likewise.
23052 * posix/Versions: Likewise.
23053 * iconv/Versions: Likewise.
23054 * elf/Versions: Likewise.
23055 * wcsmbs/Versions: Likewise.
23057 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23060 loop termination condition.
23062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23063 variable to calculate EZ.
23066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23067 the lower precision input.
23069 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23072 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23073 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23074 (run-via-rtld-prefix): Do not handle %-bp tests.
23075 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23076 (all-object-suffixes): Remove .ob.
23077 (bppfx): Remove variable.
23078 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23079 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23080 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23081 [$(build-bounded) = yes] (libtype.ob): Likewise.
23082 * Makerules (elide-routines.ob): Remove variable.
23083 (do-tests-clean): Do not handle *-bp.out.
23084 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23085 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23086 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23087 (tests): Do not include $(tests-bp.out).
23088 (xtests): Do not include $(xtests-bp.out).
23089 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23090 [$(build-bounded) = yes] ($(addprefix
23091 $(objpfx),$(binaries-bounded))): Remove rule.
23092 ($(objpfx)%-bp.out): Remove rule.
23093 * config.make.in (build-bounded): Remove variable.
23094 * crypt/Makefile [$(build-bounded) = yes]
23095 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23096 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23097 append to variable.
23098 [$(build-bounded) = yes] (install-lib): Likewise.
23099 [$(build-bounded) = yes] (generated): Likewise.
23100 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23102 * intl/Makefile [$(build-bounded) = yes]
23103 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23104 * math/Makefile [$(build-bounded) = yes]
23105 ($(tests:%=$(objpfx)%-bp): Likewise.
23106 * misc/Makefile [$(build-bounded) = yes]
23107 ($(objpfx)tst-tsearch-bp): Likewise.
23108 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23109 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23111 * string/Makefile (o-objects.ob): Remove variable.
23112 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23113 (CFLAGS-.ob): Remove variable.
23114 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23115 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23116 both definitions of variable.
23117 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23118 (ASFLAGS-.ob): Remove variable.
23120 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23123 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23124 Remove __BOUNDED_POINTERS__ from condition.
23125 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23126 * string/bits/string2.h [!__NO_STRING_INLINES &&
23127 !__BOUNDED_POINTERS__]: Likewise.
23128 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23130 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23131 Remove conditional code.
23132 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23133 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23134 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23138 * csu/libc-start.c: Do not include <bp-sym.h>.
23139 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23140 * elf/dl-open.c: Do not include <bp-sym.h>.
23141 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23142 * math/fegetenv.c: Do not include <bp-sym.h>.
23143 (fegetenv): Do not use BP_SYM in versioned symbols.
23144 * nptl/sysdeps/pthread/bits/libc-lockP.h
23145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23148 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23150 (__pthread_mutex_destroy): Likewise.
23151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23152 (__pthread_mutex_lock): Likewise.
23153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23154 (__pthread_mutex_trylock): Likewise.
23155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23156 (__pthread_mutex_unlock): Likewise.
23157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23158 (__pthread_mutexattr_init): Likewise.
23159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23160 (__pthread_mutexattr_destroy): Likewise.
23161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23162 (__pthread_mutexattr_settype): Likewise.
23163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23164 (__pthread_rwlock_init): Likewise.
23165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23166 (__pthread_rwlock_destroy): Likewise.
23167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23168 (__pthread_rwlock_rdlock): Likewise.
23169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23170 (__pthread_rwlock_tryrdlock): Likewise.
23171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23172 (__pthread_rwlock_wrlock): Likewise.
23173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23174 (__pthread_rwlock_trywrlock): Likewise.
23175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23176 (__pthread_rwlock_unlock): Likewise.
23177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23178 (__pthread_key_create): Likewise.
23179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23180 (__pthread_setspecific): Likewise.
23181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23182 (__pthread_getspecific): Likewise.
23183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23186 (_pthread_cleanup_push_defer): Likewise.
23187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23188 (_pthread_cleanup_pop_restore): Likewise.
23189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23190 (pthread_setcancelstate): Likewise.
23191 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23193 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23194 (memchr): Do not use BP_SYM in weak_alias.
23195 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23196 (fegetenv): Do not use BP_SYM in versioned symbols.
23197 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23198 (fesetenv): Do not use BP_SYM in versioned symbols.
23199 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23200 (feupdateenv): Do not use BP_SYM in versioned symbols.
23201 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23202 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23203 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23204 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23205 (open64): Do not use BP_SYM in weak_alias.
23206 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23207 (fegetenv): Do not use BP_SYM in versioned symbols.
23208 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23209 (fesetenv): Do not use BP_SYM in versioned symbols.
23210 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23211 (feupdateenv): Do not use BP_SYM in versioned symbols.
23212 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23213 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23214 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23215 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23216 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23217 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23218 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23220 (__libc_start_main): Do not use BP_SYM.
23222 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23225 redundant return line.
23227 (denorm): Likewise.
23228 (dbl_mp): Likewise.
23229 (sub_magnitudes): Likewise.
23235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23237 (denorm): Likewise.
23238 (dbl_mp): Likewise.
23239 (sub_magnitudes): Likewise.
23246 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23248 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23249 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23252 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23253 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23255 of __mul for squares.
23256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23260 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23263 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23266 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23268 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23269 prototype or function definition. Rename ubp_* variables and
23270 parameters. Remove argv definitions conditional on
23271 [__BOUNDED_POINTERS__].
23272 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23273 * elf/dl-runtime.c (_dl_fixup): Likewise.
23274 * include/set-hooks.h (RUN_HOOK): Likewise.
23275 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23277 * string/strcpy.c (strcpy): Do not use __unbounded.
23278 * sysdeps/generic/frame.h (struct layout): Likewise.
23279 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23280 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23281 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23282 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23283 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23284 (__backtrace): Likewise.
23285 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23287 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23289 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23291 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23292 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23293 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23294 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23295 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23296 Do not use __unbounded.
23297 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23298 Rename __unboundedrlimits parameter to rlimits in prototype.
23299 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23300 Do not use __unbounded.
23301 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23302 not use __ptrvalue.
23303 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23304 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23305 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23306 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23307 __ptrvalue or __unbounded.
23308 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23309 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23311 (__new_msgctl): Do not use __ptrvalue.
23312 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23314 (__libc_msgrcv): Do not use __ptrvalue.
23315 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23316 startup_info): Do not use __unbounded.
23317 (__libc_start_main): Likewise. Rename ubp_* variables and
23318 parameters. Remove argv definitions conditional on
23319 [__BOUNDED_POINTERS__].
23320 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23322 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23326 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23328 (__new_shmctl): Do not use __ptrvalue.
23329 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23330 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23332 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23334 (__libc_sigaction): Likewise.
23335 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23336 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23338 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23340 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23342 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23344 * string/mempcpy.c: Implement by calling memcpy.
23346 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23354 values in the mantissa.
23356 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23357 minimize writes to Z.
23358 (sub_magnitudes): Simplify code a bit.
23360 2013-02-12 Roland McGrath <roland@hack.frob.com>
23362 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23363 from the message. The linker prefixes all warnings with that already.
23365 2013-02-12 Andreas Schwab <schwab@suse.de>
23368 * posix/regexec.c (extend_buffers): Add parameter min_len.
23369 (check_matching): Pass minimum needed length.
23370 (clean_state_log_if_needed): Likewise.
23371 (get_subexp): Likewise.
23372 * posix/Makefile (tests): Add bug-regex34.
23373 (bug-regex34-ENV): Define.
23374 * posix/bug-regex34.c: New file.
23377 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23378 elements compare against the byte sequence of it, not its name.
23379 * posix/Makefile (tests): Add bug-regex35.
23380 (bug-regex35-ENV): Define.
23381 * posix/bug-regex35.c: New file.
23383 2013-02-11 Tom de Vries <tom@codesourcery.com>
23385 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23387 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23388 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23389 (CHECK_EOL): Add undef.
23391 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23393 * bits/stdlib-bsearch.h: New file.
23394 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23395 * stdlib/stdlib.h: Likewise.
23397 2013-02-11 Roland McGrath <roland@hack.frob.com>
23399 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23400 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23402 * manual/search.texi (Array Search Function): Add missing const in
23404 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23405 declaration to use rlim_t.
23406 (Basic Scheduling Functions): Remove erroneous const from
23407 sched_getparam prototype. Remove erroneous * from
23408 sched_get_priority_max and sched_get_priority_min prototypes.
23409 (Resource Usage): Fix summary @comment on vtimes to refer to
23410 sys/vtimes.h rather than vtimes.h.
23411 Add missing *s in vtimes prototype.
23412 (Limits on Resources): Fix ulimit prototype to return long int.
23413 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23414 prototypes to use long int rather than double.
23415 (BSD Random): Fix initstate and setstate to use char *, not void *.
23416 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23417 prototype to make second argument 'struct aiocb64 *const[]'.
23418 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23419 (Status of AIO Operations): Remove erroneous const in aio_return and
23420 aio_return64 prototypes.
23421 (Synchronizing I/O): Fix sync prototype to return void.
23422 * manual/startup.texi (Suboptions): Remove an erroneous const in
23423 getsubopt prototype.
23424 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23425 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23426 use size_t rather than int.
23427 (Scanning All Users): Likewise for getpwent_r.
23428 (Setting Groups): Add missing const to setgroups prototype.
23429 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23430 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23431 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23432 'const void *' rather than 'const char *'.
23433 (Host Address Functions): Likewise for inet_ntop.
23434 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23435 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23436 ssize_t for return value.
23437 (Sending Data): Likewise for send, sendto, sendmsg.
23438 (Socket Option Functions): Add a missing const in setsockopt prototype.
23439 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23440 use wchar_t for the argument.
23441 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23442 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23444 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23445 double/float/long double for second argument.
23446 Fix return types of significand, significandf, significandl.
23447 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23448 argument in fchmod prototype.
23449 (File Owner): Use uid_t and gid_t in fchown prototype.
23450 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23451 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23452 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23453 use 'const struct dirent **' as argument types to CMP function pointer
23455 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23456 (File Times): Fix summary magic @comment for struct utimbuf and utime
23457 to refer to utime.h, not time.h.
23458 * manual/string.texi (Argz Functions): Add missing const in
23459 argz_extract and argz_next prototypes.
23460 (Finding Tokens in a String): Likewise for basename.
23461 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23462 (Copying and Concatenation): Fix typo in wmemmove prototype.
23463 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23464 (Signal Stack): Remove erroneous const in sigstack prototype.
23465 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23467 (Simple Calendar Time): Likewise for stime.
23468 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23470 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23471 say sys/sysctl.h instead.
23472 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23473 and vsyslog prototypes.
23475 2013-02-11 Tom de Vries <tom@codesourcery.com>
23477 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23480 2013-02-11 Roland McGrath <roland@hack.frob.com>
23482 * misc/sys/mman.h: Fix typo in mremap comment.
23484 2013-02-08 Roland McGrath <roland@hack.frob.com>
23486 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23487 the '\0' terminator.
23489 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23492 * debug/segfault.c: Don't include <bp-checks.h>.
23493 * sysdeps/generic/bp-checks.h: Remove file.
23494 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23495 (__GETDENTS): Don't use CHECK_N.
23496 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23497 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23498 (__getgroups): Don't use CHECK_N.
23499 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23500 (setgroups): Don't use CHECK_N.
23501 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23502 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23503 (__libc_msgrcv): Don't use CHECK_N.
23504 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23505 (__libc_msgsnd): Don't use CHECK_N.
23506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23508 (__libc_pread): Don't use CHECK_N.
23509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23510 include <bp-checks.h>.
23511 (__libc_pread64): Don't use CHECK_N.
23512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23513 include <bp-checks.h>.
23514 (__libc_pwrite): Don't use CHECK_N.
23515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23516 include <bp-checks.h>.
23517 (__libc_pwrite64): Don't use CHECK_N.
23518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23520 (__libc_pread): Don't use CHECK_N.
23521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23522 include <bp-checks.h>.
23523 (__libc_pread64): Don't use CHECK_N.
23524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23525 include <bp-checks.h>.
23526 (__libc_pwrite): Don't use CHECK_N.
23527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23528 include <bp-checks.h>.
23529 (__libc_pwrite64): Don't use CHECK_N.
23530 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23531 (do_pread): Don't use CHECK_N.
23532 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23533 (do_pread64): Don't use CHECK_N.
23534 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23535 (do_pwrite): Don't use CHECK_N.
23536 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23537 (do_pwrite64): Don't use CHECK_N.
23538 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23539 (__libc_readv): Don't use CHECK_N.
23540 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23541 (semop): Don't use CHECK_N.
23542 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23544 (semtimedop): Don't use CHECK_N.
23545 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23546 (__libc_pread): Don't use CHECK_N.
23547 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23549 (__libc_pread64): Don't use CHECK_N.
23550 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23552 (__libc_pwrite): Don't use CHECK_N.
23553 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23555 (__libc_pwrite64): Don't use CHECK_N.
23556 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23558 (__libc_msgrcv): Don't use CHECK_N.
23559 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23560 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23561 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23562 (__libc_writev): Don't use CHECK_N.
23564 2013-02-08 Roland McGrath <roland@hack.frob.com>
23566 * string/strcpy.c: Removed unused variable.
23568 * Makeconfig (+sysdep-includes): Define with := rather than =.
23569 Use an existing include/ subdir of each sysdeps dir before it.
23571 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23573 * nscd/connection.c (register_traced_file): Comment function.
23574 [HAVE_INOTIFY] (union __inev): Define.
23575 [HAVE_INOTIFY] (inotify_check_files): New function.
23576 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23577 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23579 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23581 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23583 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23584 loaded if not already and that a failure is permanent.
23586 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23589 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23590 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23592 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23595 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23596 (CHECK_1_NULL_OK): Likewise.
23597 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23598 (__fxstat): Do not use CHECK_1.
23599 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23601 (___fxstat64): Do not use CHECK_1.
23602 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23604 (__fxstatat): Do not use CHECK_1.
23605 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23607 (__fxstatat64): Do not use CHECK_1.
23608 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23610 (__fxstat): Do not use CHECK_1.
23611 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23613 (__fxstatat): Do not use CHECK_1.
23614 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23616 (__getresgid): Do not use CHECK_1.
23617 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23619 (__getresuid): Do not use CHECK_1.
23620 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23622 (__lxstat): Do not use CHECK_1.
23623 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23625 (__old_msgctl): Do not use CHECK_1.
23626 (__new_msgctl): Likewise.
23627 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23629 (__new_setrlimit): Do not use CHECK_1.
23630 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23632 (__old_shmctl): Do not use CHECK_1.
23633 (__new_shmctl): Likewise.
23634 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23636 (__xstat): Do not use CHECK_1.
23637 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23638 (__lxstat): Do not use CHECK_1.
23639 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23641 (___lxstat64): Do not use CHECK_1.
23642 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23643 (__old_msgctl): Do not use CHECK_1.
23644 (__new_msgctl): Likewise.
23645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23647 (__gettimeofday): Do not use CHECK_1.
23648 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23649 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23650 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23652 (__gettimeofday): Do not use CHECK_1.
23653 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23654 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23655 (__new_shmctl): Do not use CHECK_1.
23656 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23658 (do_sigtimedwait): Do not use CHECK_1.
23659 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23661 (do_sigwaitinfo): Do not use CHECK_1.
23662 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23664 (msgctl): Do not use CHECK_1.
23665 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23667 (shmctl): Do not use CHECK_1.
23668 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23669 (ustat): Do not use CHECK_1.
23670 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23672 (__fxstat): Do not use CHECK_1.
23673 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23675 (__fxstatat): Do not use CHECK_1.
23676 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23678 (__lxstat): Do not use CHECK_1.
23679 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23681 (__xstat): Do not use CHECK_1.
23682 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23683 (__xstat): Do not use CHECK_1.
23684 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23685 (___xstat64): Do not use CHECK_1.
23688 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23690 (CHECK_BOUNDS_HIGH): Likewise.
23691 * string/strcpy.c: Do not include <bp-checks.h>.
23692 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23694 2013-02-07 Roland McGrath <roland@hack.frob.com>
23696 * nscd/nscd-client.h (__nscd_drop_map_ref):
23697 Add __attribute__ ((unused)).
23698 * nis/nss-nisplus.h (niserr2nss): Likewise.
23700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23701 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23703 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23704 Remove inline keyword.
23705 * include/rounding-mode.h (round_away): Likewise.
23706 * libio/wfileops.c (adjust_wide_data): Likewise.
23707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23708 (__m128i_strloadu_tolower): Likewise.
23709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23710 (__m128i_strloadu_tolower): Likewise.
23711 * time/mktime.c (ydhms_diff): Likewise.
23712 * locale/elem-hash.h (elem_hash): Likewise.
23713 * locale/setlocale.c (setdata): Likewise.
23714 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23715 (re_string_wchar_at): Likewise.
23716 (bitset_not, bitset_merge, bitset_mask): Likewise.
23717 [!(__GNUC__ > 3)] (inline): Remove macro.
23718 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23719 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23720 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23721 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23722 * string/memcmp.c (memcmp_bytes): Likewise.
23723 * locale/programs/locarchive.c (compute_hashval): Likewise.
23724 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23725 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23726 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23727 * nss/getent.c (print_rpc, print_protocols): Likewise.
23728 (print_passwd, print_group, print_aliases): Likewise.
23729 * nis/nss-nisplus.h (niserr2nss): Likewise.
23730 * nscd/connections.c (restart_p): Likewise.
23731 Change return type to bool.
23733 2013-02-05 Roland McGrath <roland@hack.frob.com>
23735 * Makeconfig (all-Depend-files): Add existing
23736 $(sorted-subdirs:=/Depend) files.
23737 (all-subdirs): Remove nss.
23738 * sysdeps/unix/inet/Subdirs: Add it here instead.
23739 * hesiod/Depend: New file.
23741 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23742 instead of calling alloca.
23744 * io/lseek.c (__lseek): Rename to __libc_lseek.
23745 Define __lseek as an alias.
23747 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23749 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23751 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23752 else clause and remove check for non-standard endianness.
23754 2013-02-04 David S. Miller <davem@davemloft.net>
23756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23758 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23761 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23762 (__ubp_memchr): Remove prototype.
23763 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23764 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23765 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23766 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23767 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23769 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23770 (__ubp_memchr): Likewise.
23771 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23772 (__ubp_memchr): Likewise.
23773 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23774 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23775 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23776 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23778 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23779 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23780 (__getcwd): Do not use CHECK_STRING.
23781 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23783 (__real_chown): Do not use CHECK_STRING.
23784 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23786 (fchownat): Do not use CHECK_STRING.
23787 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23789 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23791 (__lchown): Do not use CHECK_STRING.
23792 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23793 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23794 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23795 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23797 include <bp-checks.h>.
23798 (truncate64): Do not use CHECK_STRING.
23799 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23801 (__real_chown): Do not use CHECK_STRING.
23802 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23804 (__lchown): Do not use CHECK_STRING.
23805 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23807 (__chown): Do not use CHECK_STRING.
23808 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23810 (truncate64): Do not use CHECK_STRING.
23811 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23813 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23814 (__xmknod): Do not use CHECK_STRING.
23815 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23817 (__xmknodat): Do not use CHECK_STRING.
23818 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23819 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23821 2013-02-04 Andreas Schwab <schwab@suse.de>
23824 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23825 * include/netdb.h: Likewise for h_errno.
23826 * elf/tst-stackguard1.c: Include <tls.h>.
23828 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23830 * elf/link.h (struct link_map): Extend the l_addr comment.
23831 * include/link.h (struct link_map): Likewise.
23833 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23836 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23837 (BOUNDED_1): Remove macro.
23838 * debug/backtrace.c: Don't include <bp-checks.h>.
23839 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23840 (__backtrace): Likewise.
23841 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23843 (__backtrace): Don't use BOUNDED_1.
23844 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23846 (__backtrace): Don't use BOUNDED_1.
23847 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23848 (__backtrace): Don't use BOUNDED_1.
23849 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23850 (shmat): Don't use BOUNDED_N.
23852 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23855 * sysdeps/generic/bp-start.h: Remove file.
23856 * csu/libc-start.c: Don't include <bp-start.h>.
23857 (LIBC_START_MAIN): Set up __environ directly instead of using
23858 INIT_ARGV_and_ENVIRON.
23859 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23863 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23865 (CHECK_FCNTL): Likewise.
23866 (CHECK_N_PAGES): Likewise.
23869 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23871 (CHECK_SIGSET_NULL_OK): Likewise.
23872 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23874 (sigpending): Don't use CHECK_SIGSET.
23875 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23877 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23878 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23880 (do_sigsuspend): Don't use CHECK_SIGSET.
23881 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23883 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23884 (do_sigwait): Don't use CHECK_SIGSET.
23885 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23887 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23888 include <bp-checks.h>.
23889 (sigpending): Don't use CHECK_SIGSET.
23890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23891 include <bp-checks.h>.
23892 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23893 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23895 (sigpending): Don't use CHECK_SIGSET.
23896 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23901 * sysdeps/generic/bp-semctl.h: Remove file.
23902 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23903 <bp-checks.h> and <bp-semctl.h>.
23904 (__old_semctl): Don't use CHECK_SEMCTL.
23905 (__new_semctl): Likewise.
23906 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23908 (__old_semctl): Don't use CHECK_SEMCTL.
23909 (__new_semctl): Likewise.
23910 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23911 <bp-checks.h> and <bp-semctl.h>.
23912 (__old_semctl): Don't use CHECK_SEMCTL.
23913 (__new_semctl): Likewise.
23914 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23915 <bp-checks.h> and <bp-semctl.h>.
23916 (semctl): Don't use CHECK_SEMCTL.
23919 * Makerules (elide-bp-thunks): Remove variable.
23920 (elide-routines.oS): Don't use $(elide-bp-thunks).
23921 (elide-routines.os): Likewise.
23922 (elide-routines.o): Likewise.
23923 (elide-routines.op): Likewise.
23924 (elide-routines.og): Likewise.
23925 (objects): Don't use $(bp-thunks).
23926 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23928 (common-generated): Do not add s-proto-bp.d.
23929 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23932 Do not generate makefile rules for bounded-pointer thunks.
23933 * sysdeps/generic/bp-thunks.h: Remove file.
23934 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23935 * sysdeps/unix/s-proto-bp.S: Likewise.
23938 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23939 parts of result separately when argument is not close to line from
23940 -i to i and one part of argument is small.
23941 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23942 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23943 * math/libm-test.inc (cacos_test): Add more tests.
23944 (casin_test): Likewise.
23945 (casinh_test): Likewise.
23946 * sysdeps/i386/fpu/libm-test-ulps: Update.
23947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23949 2013-01-31 David S. Miller <davem@davemloft.net>
23951 * po/de.po: Update from translation team.
23953 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23955 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23957 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23959 * configure.in (_AC_PROG_CC_C89): New definition.
23960 * configure: Regenerate.
23962 * configure.in (AC_PROG_CPP): New definition.
23963 * configure: Regenerate.
23965 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23967 * debug/tst-backtrace.h: New file.
23968 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23969 (ret): Remove variable.
23971 (FAIL): Remove macro.
23972 (NO_INLINE): Likewise.
23973 (fn1): Use match function instead of strstr.
23974 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23975 (ret): Remove variable.
23977 (FAIL): Remove macro.
23978 (NO_INLINE): Likewise.
23979 (fn): Use match function instead of strstr.
23980 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23981 (ret): Remove variable.
23983 (FAIL): Remove macro.
23984 (NO_INLINE): Likewise.
23985 (handle_signal): Use match function instead of strstr.
23986 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23987 (ret): Remove variable.
23989 (FAIL): Remove macro.
23990 (NO_INLINE): Likewise.
23991 (handle_signal): Use match function instead of strstr.
23993 2013-01-23 Roland McGrath <roland@hack.frob.com>
23995 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23997 2013-01-23 David S. Miller <davem@davemloft.net>
23999 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24000 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24001 argument of CAS if possible.
24002 * sysdeps/sparc/sparc64/bits/atomic.h
24003 (__arch_compare_and_exchange_val_32_acq): Likewise.
24004 (__arch_compare_and_exchange_val_64_acq): Likewise.
24006 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24008 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24009 * sysdeps/posix/ulimit.c: ... this.
24010 Include <limits.h>.
24011 * sysdeps/unix/bsd/ulimit.c: Remove file.
24013 2013-01-23 Adam Conrad <adconrad@0c3.net>
24015 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24016 (LDFLAGS-tst-array5): Likewise.
24018 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24021 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24022 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24023 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24024 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24026 2013-01-21 David S. Miller <davem@davemloft.net>
24028 * sysdeps/sparc/backtrace.c: New file.
24029 * sysdeps/sparc/sparc32/backtrace.h: New file.
24030 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24031 * sysdeps/sparc/sparc64/backtrace.h: New file.
24032 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24033 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24036 2013-01-21 Andreas Schwab <schwab@suse.de>
24039 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24042 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24048 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24049 Mark Mitchell <mark@codesourcery.com>
24050 Tom de Vries <tom@codesourcery.com>
24051 Paul Pluzhnikov <ppluzhnikov@google.com>
24053 * debug/tst-backtrace2.c: New file.
24054 * debug/tst-backtrace3.c: Likewise.
24055 * debug/tst-backtrace4.c: Likewise.
24056 * debug/tst-backtrace5.c: Likewise.
24057 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24058 (CFLAGS-tst-backtrace3.c): Likewise.
24059 (CFLAGS-tst-backtrace4.c): Likewise.
24060 (CFLAGS-tst-backtrace5.c): Likewise.
24061 (LDFLAGS-tst-backtrace2): Likewise.
24062 (LDFLAGS-tst-backtrace3): Likewise.
24063 (LDFLAGS-tst-backtrace4): Likewise.
24064 (LDFLAGS-tst-backtrace5): Likewise.
24065 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24066 tst-backtrace4 and tst-backtrace5.
24068 2013-01-18 Anton Blanchard <anton@samba.org>
24069 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24071 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24072 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24073 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24074 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24076 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24077 "+r" and remove output regs list as redundant. Add explicit inline
24078 asm to specify register of return val to work around compiler codegen
24079 bug. Remove (int) cast on return value. Add return type parameter to
24080 use in macro so that this macro does not truncate return value for
24082 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24083 pass to INTERNAL_VSYSCALL_NCS.
24084 (INLINE_VSYSCALL): Add 'long int' as return type to
24085 INTERNAL_VSYSCALL_NCS macro invocation.
24086 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24087 INTERNAL_VSYSCALL_NCS macro invocation.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24090 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24093 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24094 Fix application of SIMD FP exception mask.
24096 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24097 mp_no from a power of two.
24098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24099 __mpexp_twomm1. Use __pow_mp.
24101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24104 2013-01-17 David S. Miller <davem@davemloft.net>
24106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24108 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24111 * include/complex.h: Condition contents on [!_COMPLEX_H].
24112 (__kernel_casinhf): New prototype.
24113 (__kernel_casinh): Likewise.
24114 (__kernel_casinhl): Likewise.
24115 * math/Makefile (libm_calls): Add k_casinh.
24116 * math/k_casinh.c: New file.
24117 * math/k_casinhf.c: Likewise.
24118 * math/k_casinhl.c: Likewise.
24119 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24120 finite nonzero arguments.
24121 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24122 finite nonzero arguments.
24123 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24124 finite nonzero arguments.
24125 * math/s_casinh.c: Do not include <float.h>.
24126 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24127 * math/s_casinhf.c: Do not include <float.h>.
24128 (__casinhf): Move code for finite nonzero arguments to
24130 * math/s_casinhl.c: Do not include <float.h>.
24131 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24133 (__casinhl): Move code for finite nonzero arguments to
24135 * math/libm-test.inc (cacos_test): Add more tests.
24136 * sysdeps/i386/fpu/libm-test-ulps: Update.
24137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24139 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24141 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24142 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24143 [!HAVE_MREMAP]: Remove [defined linux] case.
24144 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24146 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24148 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24150 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24152 * elf/elf.h (R_386_SIZE32): New relocation.
24153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24155 (elf_machine_rela): Likewise.
24156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24157 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24159 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24161 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24162 (FP_FAST_FMA): Do not define.
24163 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24164 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24165 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24166 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24167 !_SOFT_FLOAT]: Likewise.
24168 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24169 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24171 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24172 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24174 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24175 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24176 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24179 2013-01-16 Andreas Schwab <schwab@suse.de>
24182 * include/stdlib.h (__mktemp): Add declaration.
24183 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24184 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24186 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24188 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24190 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24191 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24192 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24194 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24195 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24197 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24199 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24200 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24201 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24203 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24204 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24206 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24208 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24210 2013-01-15 David S. Miller <davem@davemloft.net>
24212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24213 trunc{,f} to libm-sysdep_routes.
24214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24224 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24226 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24227 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24228 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24229 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24232 nearbyint{,f} to libm-sysdep_routes.
24233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24244 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24246 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24247 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24250 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24251 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24254 libc_feholdexcept and libc_fesetenv.
24256 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24258 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24260 2013-01-14 David S. Miller <davem@davemloft.net>
24262 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24263 (SPARC_ASM_VIS2_IFUNC): Likewise.
24264 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24266 use of 'siam' instruction.
24267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24300 routines to libm-sysdep_routines.
24301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24304 fdim/fdimf to libm-sysdep_routines.
24305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24313 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24314 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24315 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24316 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24318 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24320 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24321 to optimize copies.
24323 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24328 local variable MPTWO.
24329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24332 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24334 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24337 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24339 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24341 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24343 * manual/pattern.texi (glob_t): Document gl_flags.
24344 (glob64_t): Likewise.
24346 2013-01-11 David S. Miller <davem@davemloft.net>
24348 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24349 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24350 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24351 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24352 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24353 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24354 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24355 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24356 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24357 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24359 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24360 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24362 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24363 sparc V9 rather than using V8 code.
24364 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24365 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24369 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24372 2013-01-11 Roland McGrath <roland@hack.frob.com>
24374 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24375 not in the main loop.
24376 * configure: Regenerated.
24378 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24380 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24381 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24383 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24384 [!__GLIBC_HAVE_LONG_LONG] case.
24385 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24386 condition to just #else.
24387 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24388 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24389 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24390 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24392 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24393 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24394 #elif condition to just #else.
24395 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24396 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24397 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24398 #elif condition to just #else.
24400 2013-01-11 Steve Ellcey <sellcey@mips.com>
24402 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24403 (EF_MIPS_ARCH_64): Fix value.
24404 (EF_MIPS_ARCH_32R2): New.
24405 (EF_MIPS_ARCH_64R2): New.
24407 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24409 * Makeconfig (+link-pie-before-libc): New.
24410 (+link-pie-after-libc): Likewise.
24411 (+link-pie-tests): Likewise.
24412 (+link-pie): Rewritten.
24413 (link-before-libc): Remove $(config-LDFLAGS).
24414 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24415 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24416 (config-LDFLAGS): Renamed to ...
24417 (rtld-LDFLAGS): This.
24418 (rtld-tests-LDFLAGS): New macro.
24419 (link-libc-rpath-link): Likewise.
24420 (link-libc-tests-rpath-link): Likewise.
24421 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24422 (link-libc): Prepand $(link-libc-rpath-link).
24423 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24424 (test-program-prefix): New macro.
24425 (test-via-rtld-prefix): Likewise.
24426 (test-program-cmd): Likewise.
24427 (host-test-program-cmd): Likewise.
24428 * Makefile ($(common-objpfx)testrun.sh): Replace
24429 $(run-program-prefix) with $(test-program-prefix).
24430 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24432 ($(common-objpfx)shlib.lds): Likewise.
24433 (build-module-helper): Likewise.
24434 ($(common-objpfx)format.lds): Likewise.
24435 * Rules (binaries-pie-tests): New.
24436 (binaries-pie-notests): Likewise.
24437 (binaries-pie): Rewritten.
24438 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24439 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24440 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24441 (make-test-out): Replace $(host-built-program-cmd) with
24442 $(host-test-program-cmd).
24443 * config.make.in (build-hardcoded-path-in-tests): New variable.
24444 * configure.in (--enable-hardcoded-path-in-tests): New configure
24446 (hardcoded_path_in_tests): New AC_SUBST.
24447 * configure: Regenerated.
24448 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24449 $(built-program-cmd) with $(test-program-cmd).
24450 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24451 (test_program_cmd): This.
24452 * elf/Makefile ($(objpfx)order.out): Run test with
24453 $(test-program-prefix).
24454 ($(objpfx)order2.out): Likewise.
24455 ($(objpfx)tst-initorder.out): Likewise.
24456 ($(objpfx)tst-initorder2.out): Likewise.
24457 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24458 $(test-program-cmd).
24459 ($(objpfx)tst-array1-static.out): Likewise.
24460 ($(objpfx)tst-array2.out): Likewise.
24461 ($(objpfx)tst-array3.out): Likewise.
24462 ($(objpfx)tst-array4.out): Likewise.
24463 ($(objpfx)tst-array5.out): Likewise.
24464 ($(objpfx)tst-array5-static.out): Likewise.
24465 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24466 $(test-program-cmd).
24467 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24468 $(run-program-prefix) with $(test-program-prefix).
24469 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24470 (test_program_prefix): This.
24471 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24472 $(run-program-prefix) with $(test-program-prefix).
24473 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24474 (test_program_prefix): This.
24475 * iconvdata/tst-tables.sh: Likewise.
24476 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24477 $(run-program-prefix) with $(test-program-prefix).
24478 ($(objpfx)tst-translit.out): Likewise.
24479 ($(objpfx)tst-gettext2.out): Likewise.
24480 ($(objpfx)tst-gettext4.out): Likewise.
24481 ($(objpfx)tst-gettext6.out): Likewise.
24482 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24483 (test_program_prefix): This.
24484 * intl/tst-gettext2.sh: Likewise.
24485 * intl/tst-gettext4.sh Likewise.
24486 * intl/tst-gettext6.sh: Likewise.
24487 * intl/tst-translit.sh: Likewise.
24488 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24489 with $(test-program-cmd).
24490 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24491 $(run-program-prefix) with $(test-program-prefix).
24492 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24493 (test_program_prefix): This.
24494 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24495 $(run-program-prefix) with $(test-program-prefix).
24496 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24497 (test_program_prefix): This.
24498 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24499 * posix/Makefile ($(objpfx)globtest.out): Replace
24500 $(run-via-rtld-prefix) and $(test-wrapper) with
24501 $(test-program-prefix) and $(test-via-rtld-prefix).
24502 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24503 $(test-program-prefix).
24504 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24505 $(host-test-program-cmd).
24506 (tst-spawn-ARGS): Likewise.
24507 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24508 $(test-program-prefix).
24509 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24510 (test_via_rtld_prefix): This.
24511 (test_wrapper): Renamed to ...
24512 (test_program_prefix): This.
24513 (run_program_prefix): Replaced by test_program_prefix.
24514 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24515 (test_program_prefix): This.
24516 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24517 with $(host-test-program-cmd).
24518 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24519 $(run-program-prefix) with $(test-program-prefix).
24520 ($(objpfx)tst-printf.out): Likewise.
24521 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24522 $(test-program-cmd).
24523 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24524 (test_program_prefix): This.
24525 * stdio-common/tst-unbputc.sh: Likewise.
24526 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24527 $(run-program-prefix) with $(test-program-prefix).
24528 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24529 (test_program_prefix): This.
24530 * string/Makefile ($(objpfx)tst-svc.out): Replace
24531 $(built-program-cmd) with $(test-program-cmd).
24533 2013-01-11 Andreas Jaeger <aj@suse.de>
24536 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24537 value. Sync with Linux 3.7.
24539 2013-01-10 David S. Miller <davem@davemloft.net>
24541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24545 2013-01-10 Roland McGrath <roland@hack.frob.com>
24547 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24549 * configure: Regenerated.
24551 2013-01-10 David S. Miller <davem@davemloft.net>
24553 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24554 sparc V9 rather than using V8 code.
24555 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24556 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24558 2013-01-10 Roland McGrath <roland@hack.frob.com>
24560 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24561 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24562 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24563 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24564 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24565 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24566 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24567 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24568 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24569 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24570 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24571 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24572 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24573 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24574 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24575 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24576 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24577 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24578 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24579 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24580 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24581 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24582 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24583 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24584 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24585 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24586 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24588 2013-01-10 David S. Miller <davem@davemloft.net>
24590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24592 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24594 * posix/Makefile (tests-static): New variable.
24595 (tests): Add $(tests-static).
24596 (tst-exec-static-ARGS): New variable.
24597 (tst-spawn-static-ARGS): Likewise.
24598 * posix/tst-exec-static.c: New file.
24599 * posix/tst-spawn-static.c: Likewise.
24600 * posix/tst-exec.c: Support run directly.
24601 * posix/tst-spawn.c: Likewise.
24603 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24605 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24607 * math/bits/mathcalls.h (llrint): Likewise.
24608 (llround): Likewise.
24609 * stdlib/stdlib.h (struct drand48_data): Likewise.
24610 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24611 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24612 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24614 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24616 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24617 (elf_greg_t): Likewise.
24618 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24619 (__jmp_buf): Likewise.
24620 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24622 (llrint): Likewise, for all definitions.
24623 (llrintl): Likewise.
24625 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24626 Remove [__GNUC__] condition.
24627 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24628 condition to just [__USE_ISOC99].
24629 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24631 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24634 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24635 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24637 (_POSIX_V6_ILP32_OFF32): Likewise.
24638 (_XBS5_ILP32_OFF32): Likewise.
24639 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24640 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24642 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24644 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24647 doubles __mpexp_twomm1. Adjust usage.
24648 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24651 2013-01-10 Andreas Schwab <schwab@suse.de>
24654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24655 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24657 2013-01-09 David S. Miller <davem@davemloft.net>
24660 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24661 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24662 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24663 (TCP_FASTOPEN): Define.
24664 (tcp_repair_opt): New structure.
24665 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24667 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24668 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24669 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24670 (tcp_cookie_transactions): New structure.
24672 2013-01-09 Anton Blanchard <anton@samba.org>
24674 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24675 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24676 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24677 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24679 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24681 * include/features.h (__USE_ANSI): Remove.
24683 2013-01-09 Roland McGrath <roland@hack.frob.com>
24685 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24687 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24689 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24691 * sysdeps/s390/fpu/libm-test-ulps: Update.
24693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24695 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24699 (denorm): Likewise.
24700 (__mp_dbl): Likewise.
24701 (__dbl_mp): Likewise.
24702 (add_magnitudes): Likewise.
24703 (sub_magnitudes): Likewise.
24709 * sysdeps/powerpc/powerpc32/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.
24723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24727 (denorm): Likewise.
24728 (__mp_dbl): Likewise.
24729 (__dbl_mp): Likewise.
24730 (add_magnitudes): Likewise.
24731 (sub_magnitudes): Likewise.
24738 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24740 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24741 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24742 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24743 2 && __USE_EXTERN_INLINES]: Likewise.
24745 2013-01-08 Andreas Jaeger <aj@suse.de>
24748 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24750 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24751 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24753 2013-01-07 Anton Blanchard <anton@samba.org>
24755 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24756 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24757 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24758 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24759 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24760 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24761 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24762 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24765 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24766 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24767 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24768 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24770 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24772 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24773 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24774 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24776 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24778 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24780 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24782 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24784 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24785 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24787 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24788 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24789 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24791 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24792 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24793 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24794 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24795 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24799 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24801 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24802 (__MALLOC_PMT): Likewise.
24803 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24804 [__GNUC__], only on [_LIBC].
24805 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24806 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24807 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24808 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24809 forward declaration.
24810 (realloc_hook_ini): Likewise.
24811 (memalign_hook_ini): Likewise.
24812 (__libc_memalign): Do not use __MALLOC_PMT in variable
24814 (__libc_valloc): Likewise.
24815 (__libc_pvalloc): Likewise.
24816 (__libc_calloc): Likewise.
24817 (__posix_memalign): Likewise.
24820 * math/s_casinh.c: Include <float.h>.
24821 (__casinh): Do not do computation with squaring and square root
24822 for large arguments.
24823 * math/s_casinhf.c: Include <float.h>.
24824 (__casinhf): Do not do computation with squaring and square root
24825 for large arguments.
24826 * math/s_casinhl.c: Include <float.h>.
24827 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24828 (__casinhl): Do not do computation with squaring and square root
24829 for large arguments.
24830 * math/libm-test.inc (casin_test): Add more tests.
24831 (casinh_test): Likewise.
24832 * sysdeps/i386/fpu/libm-test-ulps: Update.
24833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24835 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24837 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24838 (__x86_64_raw_data_cache_size): Likewise.
24839 (__x86_64_data_cache_size_half): Likewise.
24840 (__x86_64_raw_data_cache_size_half): Likewise.
24841 (__x86_64_shared_cache_size): Likewise.
24842 (__x86_64_raw_shared_cache_size): Likewise.
24843 (__x86_64_shared_cache_size_half): Likewise.
24844 (__x86_64_raw_shared_cache_size_half): Likewise.
24845 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24847 (__x86_data_cache_size): This.
24848 (__x86_64_raw_data_cache_size): Renamed to ...
24849 (__x86_raw_data_cache_size): This.
24850 (__x86_64_data_cache_size_half): Renamed to ...
24851 (__x86_data_cache_size_half): This.
24852 (__x86_64_raw_data_cache_size_half): Renamed to ...
24853 (__x86_raw_data_cache_size_half): This.
24854 (__x86_64_shared_cache_size): Renamed to ...
24855 (__x86_shared_cache_size): This.
24856 (__x86_64_raw_shared_cache_size): Renamed to ...
24857 (__x86_raw_shared_cache_size): This.
24858 (__x86_64_shared_cache_size_half): Renamed to ...
24859 (__x86_shared_cache_size_half): This.
24860 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24861 (__x86_raw_shared_cache_size_half): This.
24862 * sysdeps/x86_64/memcpy.S: Updated.
24863 * sysdeps/x86_64/memset.S: Likewise.
24864 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24865 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24866 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24868 2013-01-04 David S. Miller <davem@davemloft.net>
24870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24872 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24874 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24875 1 to avoid redefinition warning.
24876 (__USE_GNU): Don't define.
24877 (init_signaling_nan): Protoize.
24879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24881 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24883 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24885 (__cpymn): Likewise.
24886 (norm): Remove commented code.
24887 (denorm): Likewise.
24888 (__mp_dbl): Likewise.
24890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24891 (__cpymn): Likewise.
24892 (norm): Remove commented code.
24893 (denorm): Likewise.
24894 (__mp_dbl): Likewise.
24897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24898 mp_no value for 1.0 and 2.0.
24899 (norm): Use RADIXI instead of radixi.d.
24900 (denorm): Likewise.
24901 (__mul): Use 0.0 instead of zero.d.
24902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24903 mp_no value for 1.0 and 2.0.
24904 (norm): Use RADIXI instead of radixi.d.
24905 (denorm): Likewise.
24906 (__mul): Use 0.0 instead of zero.d.
24908 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24911 * math/s_casinh.c (__casinh): Reduce finite argument to first
24912 quadrant then set signs of results at the end.
24913 * math/s_casinhf.c (__casinhf): Likewise.
24914 * math/s_casinhl.c (__casinhl): Likewise.
24915 * math/libm-test.inc (casin_test): Add more tests.
24916 (casinh_test): Likewise.
24917 * sysdeps/i386/fpu/libm-test-ulps: Update.
24918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24920 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24922 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24924 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24926 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24928 (denorm): Likewise.
24929 (__mp_dbl): Likewise.
24932 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24933 and adjust the header comment.
24935 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24936 variable name from declaration.
24938 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24941 Initialize COMMON_CPUID_INDEX_7 element.
24942 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24943 (CPUID_RTM): Likewise.
24944 (HAS_RTM): Likewise.
24945 (COMMON_CPUID_INDEX_7): New enum.
24947 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24950 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24951 size is zero, record memory as freed.
24953 2013-01-03 Andreas Jaeger <aj@suse.de>
24955 * po/ia.po: Add new Interlingua translation.
24957 2012-01-03 Allan McRae <allan@archlinux.org>
24959 * locale/programs/localedef.c: Fix description of '--posix' flag.
24961 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24963 * NEWS: Update dates in second copyright notice.
24964 * README: Update copyright dates in example.
24965 * manual/libc.texinfo: Update copyright dates.
24966 * scripts/test-installation.pl: Update copyright date in --version
24969 * hurd/ctty-input.c: Fix copyright notice formatting.
24970 * hurd/ctty-output.c: Likewise.
24971 * hurd/dtable.c: Likewise.
24972 * hurd/hurd-raise.c: Likewise.
24973 * hurd/hurdprio.c: Likewise.
24974 * hurd/msgportdemux.c: Likewise.
24975 * misc/sys/file.h: Likewise.
24976 * misc/sys/ioctl.h: Likewise.
24977 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24978 * sysdeps/mach/hurd/chdir.c: Likewise.
24979 * sysdeps/mach/hurd/fchdir.c: Likewise.
24980 * sysdeps/mach/hurd/rename.c: Likewise.
24981 * sysdeps/mach/hurd/rmdir.c: Likewise.
24982 * sysdeps/mach/hurd/seekdir.c: Likewise.
24983 * sysdeps/mach/hurd/setsid.c: Likewise.
24984 * sysdeps/posix/wait3.c: Likewise.
24986 * All files with FSF copyright notices: Update copyright dates
24987 using scripts/update-copyrights.
24988 * intl/plural.c: Regenerated.
24989 * locale/programs/charmap-kw.h: Likewise.
24990 * locale/programs/locfile-kw.h: Likewise.
24992 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24994 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24998 calculation loop and add branch prediction.
25000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25001 check access beyond bounds of m1np.
25003 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25005 (__inv): Remove local variable MPTWO to use the global
25007 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25008 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25011 MP3HALFS static const.
25013 2013-01-01 David S. Miller <davem@davemloft.net>
25015 * po/ca.po: Update from translation team.
25017 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25019 * scripts/update-copyrights: New file.
25020 * Makeconfig: Reformat copyright notice.
25021 * ctype/ctype.h: Likewise.
25022 * debug/swprintf_chk.c: Likewise.
25023 * elf/dl-cache.c: Likewise.
25024 * elf/dl-debug.c: Likewise.
25025 * elf/dl-object.c: Likewise.
25026 * grp/initgroups.c: Likewise.
25027 * hurd/Makefile: Likewise.
25028 * hurd/hurd/signal.h: Likewise.
25029 * hurd/hurdfault.c: Likewise.
25030 * hurd/hurdioctl.c: Likewise.
25031 * hurd/hurdlookup.c: Likewise.
25032 * hurd/intr-msg.c: Likewise.
25033 * iconv/gconv_open.c: Likewise.
25034 * libio/swprintf.c: Likewise.
25035 * locale/lc-ctype.c: Likewise.
25036 * locale/nl_langinfo.c: Likewise.
25037 * mach/Machrules: Likewise.
25038 * mach/Makefile: Likewise.
25039 * malloc/obstack.h: Likewise.
25040 * manual/Makefile: Likewise.
25041 * manual/tsort.awk: Likewise.
25042 * misc/bits/stab.def: Likewise.
25043 * nis/nis_print_group_entry.c: Likewise.
25044 * nis/nis_table.c: Likewise.
25045 * nis/nss_compat/compat-pwd.c: Likewise.
25046 * nis/nss_compat/compat-spwd.c: Likewise.
25047 * po/Makefile: Likewise.
25048 * posix/fnmatch.c: Likewise.
25049 * posix/regex.h: Likewise.
25050 * resolv/Makefile: Likewise.
25051 * resolv/nss_dns/dns-network.c: Likewise.
25052 * resolv/res_hconf.c: Likewise.
25053 * scripts/gen-sorted.awk: Likewise.
25054 * soft-fp/soft-fp.h: Likewise.
25055 * stdio-common/printf.h: Likewise.
25056 * stdlib/monetary.h: Likewise.
25057 * stdlib/random.c: Likewise.
25058 * stdlib/random_r.c: Likewise.
25059 * sysdeps/generic/Makefile: Likewise.
25060 * sysdeps/gnu/Makefile: Likewise.
25061 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25068 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25069 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25071 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25072 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25073 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25074 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25075 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25076 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25077 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25079 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25081 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25082 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25083 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25084 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25089 * sysdeps/mach/hurd/errnos.awk: Likewise.
25090 * sysdeps/mach/hurd/fork.c: Likewise.
25091 * sysdeps/mach/hurd/getcwd.c: Likewise.
25092 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25093 * sysdeps/mach/hurd/mmap.c: Likewise.
25094 * sysdeps/mach/hurd/utimes.c: Likewise.
25095 * sysdeps/mach/hurd/xmknod.c: Likewise.
25096 * sysdeps/posix/profil.c: Likewise.
25097 * sysdeps/posix/readdir_r.c: Likewise.
25098 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25099 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25100 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25101 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25103 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25104 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25105 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25107 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25109 * sysdeps/pthread/lio_listio.c: Likewise.
25110 * sysdeps/sparc/dl-procinfo.h: Likewise.
25111 * sysdeps/unix/i386/sysdep.S: Likewise.
25112 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25113 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25114 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25115 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25117 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25118 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25119 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25120 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25121 * sysdeps/wordsize-32/divdi3.c: Likewise.
25122 * time/sys/time.h: Likewise.
25123 * wcsmbs/Makefile: Likewise.
25125 2013-01-01 David S. Miller <davem@davemloft.net>
25127 * po/fr.po: Update from translation team.
25129 * catgets/gencat.c: Update copyright year.
25130 * csu/version.c: Likewise.
25131 * debug/catchsegv.sh: Likewise.
25132 * debug/pcprofiledump.c: Likewise.
25133 * debug/xtrace.sh: Likewise.
25134 * elf/ldconfig.c: Likewise.
25135 * elf/ldd.bash.in: Likewise.
25136 * elf/pldd.c: Likewise.
25137 * elf/sotruss.ksh: Likewise.
25138 * elf/sprof.c: Likewise.
25139 * iconv/iconv_prog.c: Likewise.
25140 * iconv/iconvconfig.c: Likewise.
25141 * locale/programs/locale.c: Likewise.
25142 * locale/programs/localedef.c: Likewise.
25143 * login/programs/pt_chown.c: Likewise.
25144 * malloc/memusage.sh: Likewise.
25145 * malloc/memusagestat.c: Likewise.
25146 * malloc/mtrace.pl: Likewise.
25147 * nscd/nscd.c: Likewise.
25148 * nss/getent.c: Likewise.
25149 * nss/makedb.c: Likewise.
25150 * posix/getconf.c: Likewise.
25152 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25154 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25157 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25159 * math/bits/mathcalls.h (modf): Use __nonnull.
25161 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25163 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25164 (split): Use macro CN instead of the bare value.
25165 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25168 instead of the bare value.
25169 (power1): Likewise.
25171 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25173 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25175 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25177 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25179 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25181 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25182 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25184 2012-12-28 Andreas Jaeger <aj@suse.de>
25186 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25187 values are from Linux 3.7.
25189 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25190 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25192 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25194 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25199 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25200 variables with preprocessor constants.
25201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25202 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25205 2012-12-27 Bruno Haible <bruno@clisp.org>
25208 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25211 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25214 and use variable directly.
25215 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25217 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25219 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25220 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25222 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25224 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25225 include directive. Remove local variable MPONE.
25226 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25227 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25228 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25230 2012-12-25 David S. Miller <davem@davemloft.net>
25232 * version.h (RELEASE): Set to "development".
25233 (VERSION): Set to "2.17.90".
25234 * NEWS: Add 2.18 section.
25236 2012-12-21 David S. Miller <davem@davemloft.net>
25238 * po/hr.po: Update from translation team.
25240 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25242 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25244 2012-12-19 Steve Ellcey <sellcey@mips.com>
25246 * NEWS: Mention new memcpy for MIPS.
25248 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25250 * manual/contrib.texi (Contributors): Spelling correction.
25252 2012-12-15 David S. Miller <davem@davemloft.net>
25254 * po/ru.po: Update from translation team.
25256 2012-12-13 David S. Miller <davem@davemloft.net>
25258 * NEWS: Mention IFUNC testsuite enhancements.
25260 * po/pl.po: Update from translation team.
25261 * po/bg.po: Likewise.
25263 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25264 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25266 2012-12-11 David S. Miller <davem@davemloft.net>
25268 * po/sv.po: Update from translation team.
25270 * po/vi.po: Update from translation team.
25272 * po/cs.po: Update from translation team.
25274 * po/de.po: Update from translation team.
25275 * po/eo.po: Likewise.
25276 * po/nl.po: Likewise.
25278 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25281 * manual/argp.texi (Argp Helper Functions): Move node to follow
25282 Argp Parsing State.
25285 * manual/conf.texi (Limits on File System Capacity): Mention if
25286 terminating null is included in the max size.
25288 2012-12-10 Andreas Jaeger <aj@suse.de>
25290 * po/cs.po: Update from translation team.
25292 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25294 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25295 void pointer and cast to uintptr_t.
25296 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25298 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25299 * sysdeps/s390/s390-64/memset.S: Likewise.
25301 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25304 * menual/message.texi (Message Translation): Fix typos.
25305 (Helper programs for gettext): Likewise.
25307 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25310 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25313 2012-12-07 David S. Miller <davem@davemloft.net>
25315 * po/libc.pot: Update.
25317 2012-12-07 Richard Henderson <rth@redhat.com>
25320 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25321 normal/normal case to before the switch.
25322 (_FP_DIV): Likewise.
25324 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25325 Mike Frysinger <vapier@gentoo.org>
25327 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25328 check for __NR_fadvise64_64.
25330 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25332 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25333 0, not just to plain "0" as a statement.
25334 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25337 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25339 * NEWS: Use sourceware.org in Bugzilla URL.
25341 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25344 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25346 * stdio-common/tst-put-error.c (do_test): Add newline to the
25347 padded test to ensure flush.
25349 2012-12-05 Jeff Law <law@redhat.com>
25351 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25353 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25355 * README: Don't refer to ports add-on as distributed separately.
25356 Mention AArch64 in list of systems supported in the ports add-on.
25358 * LICENSES: Add more non-FSF copyright and license notices.
25360 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25363 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25365 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25366 10000 as width of padded output.
25368 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25370 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25372 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25373 variable LX with __attribute__ ((unused)).
25374 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25377 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25379 with __attribute__ ((unused)).
25381 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25383 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25385 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25387 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25388 (CFLAGS-nldbl-acos.c): New variable.
25389 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25390 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25391 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25392 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25393 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25394 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25395 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25396 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25397 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25398 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25399 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25400 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25401 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25402 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25403 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25404 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25405 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25406 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25425 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25426 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25427 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25428 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25429 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25430 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25431 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25432 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25433 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25434 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25435 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25436 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25437 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25438 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25439 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25440 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25441 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25442 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25443 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25444 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25445 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25446 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25447 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25448 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25449 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25450 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25451 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25452 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25453 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25454 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25455 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25456 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25457 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25458 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25459 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25460 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25461 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25462 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25463 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25464 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25465 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25466 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25467 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25468 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25469 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25470 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25471 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25472 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25473 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25474 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25475 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25476 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25477 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25478 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25479 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25480 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25481 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25482 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25483 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25484 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25485 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25488 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25492 whole low double instead of just low 47 bits when splitting values
25495 2012-12-03 Allan McRae <allan@archlinux.org>
25497 * manual/stdio.texi (Predefined Printf Handlers): Remove
25498 @hsep and @vsep usage.
25500 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25502 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25503 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25505 2012-12-03 Jeff Law <law@redhat.com>
25507 * time/sys/time.h (settimeofday): Do not mark TV argument
25510 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25512 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25513 when currently writing and seek to current position when not.
25514 * libio/Makefile (tests): Remove bug-fclose1.
25515 * libio/bug-fclose1.c: Delete.
25517 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25519 * manual/arith.texi (feenableexcept): Fix typo.
25520 (fedisableexcept): Likewise.
25522 2012-11-30 Roland McGrath <roland@hack.frob.com>
25524 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25525 second, differently-typed declaration, rather than a cast.
25527 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25529 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25530 * include/rpc/svc.h: ... here.
25532 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25535 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25536 depending n and resplen2 to catch cases where answer
25539 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25541 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25542 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25544 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25548 2012-11-29 Roland McGrath <roland@hack.frob.com>
25550 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25552 2012-11-28 Jeff Law <law@redhat.com>
25555 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25556 dataset_temporary. Track alloca usage into alloca_used.
25557 If dataset is large allocate and release it via malloc/free.
25559 2012-06-04 Florian Weimer <fweimer@redhat.com>
25562 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25564 2012-11-28 David S. Miller <davem@davemloft.net>
25566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25568 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25571 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25572 of pi/2 rounded to nearest to 64 bits.
25573 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25574 nearest to 64 bits.
25575 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25578 2012-11-28 Jeff Law <law@redhat.com>
25579 Martin Osvald <mosvald@redhat.com>
25582 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25583 * sunrpc/svc.c: Include time.h.
25584 (__svc_accept_failed): New function.
25585 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25586 any reason other than EINTR, call __svc_accept_failed.
25587 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25588 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25590 2012-11-28 Andreas Schwab <schwab@suse.de>
25592 * scripts/abilist.awk: Also handle indirect functions in .opd
25595 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25598 * sysdeps/x86/fpu/powl_helper.c: New file.
25599 * sysdeps/x86/fpu/Makefile: Likewise.
25600 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25602 (__ieee754_powl): Use __powl_helper for finite arguments except
25603 integer exponents below 8.
25604 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25606 (__ieee754_powl): Use __powl_helper for finite arguments except
25607 integer exponents below 8.
25608 * math/libm-test.inc (pow_test): Add more tests and enable some
25609 previously disabled tests.
25610 * sysdeps/i386/fpu/libm-test-ulps: Update.
25611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25613 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25614 Carlos O'Donell <carlos_odonell@mentor.com>
25616 * nss/makedb.c (is_prime): Assert that input is odd and greater
25617 than 4. Note that fact in a comment too.
25618 (next_prime): Add 4 to input.
25620 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25623 * libio/Makefile (tests): Add test case tst-fwrite-error.
25624 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25625 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25626 * libio/tst-fwrite-error.c: New test case.
25628 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25630 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25631 before casting to void *.
25632 * include/libc-internal.h (__pointer_type): New macro.
25633 (__integer_if_pointer_type_sub): Likewise.
25634 (__integer_if_pointer_type): Likewise.
25635 (cast_to_integer): Likewise.
25636 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25637 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25638 before casting to atomic64_t.
25639 (atomic_exchange_acq): Likewise.
25640 (__arch_exchange_and_add_body): Likewise.
25641 (__arch_add_body): Likewise.
25642 (atomic_add_negative): Likewise.
25643 (atomic_add_zero): Likewise.
25645 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25647 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25648 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25649 (add_fdes): Likewise.
25650 (linear_search_fdes): Likewise.
25651 (binary_search_unencoded_fdes): Likewise.
25653 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25655 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25657 2012-11-24 Adam Conrad <adconrad@0c3.net>
25659 * configure.in: Autodetect C++ header directories.
25660 * configure: Regenerated.
25662 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25664 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25666 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25670 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25672 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25673 LDBL_MANT_DIG == 106]: Disable some tests.
25674 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25676 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25680 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25681 input for small inputs. Return +/- pi/2 for large inputs.
25682 * math/libm-test.inc (atan_test): Add more tests.
25684 * sysdeps/generic/unwind-dw2-fde-glibc.c
25685 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25686 __attribute__ ((unused)).
25689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25690 x * y if x and y are nonzero and z is zero.
25693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25694 nonzero exponents with absolute value below 0x1p-117 to +/-
25698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25699 up arguments below 2**-450, not just those below 2**-500.
25700 * math/libm-test.inc (hypot_test): Add another test.
25703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25704 Return a+b for ratio over 2**120, not 2**60.
25705 * math/libm-test.inc (hypot_test): Add another test.
25707 * math/libm-test.inc (clog_test): Use
25708 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25709 (clog10_test): Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25714 2012-11-22 Andreas Schwab <schwab@suse.de>
25716 * sysdeps/i386/fpu/libm-test-ulps: Update.
25718 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25720 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25721 printf output with newline.
25723 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25726 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25727 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25728 -z nodlopen, -z initfirst and -z execstack support.
25729 * configure: Regenerated.
25731 * elf/elf.h (DF_1_NODIRECT): New macro.
25732 (DF_1_IGNMULDEF): Likewise.
25733 (DF_1_NOKSYMS): Likewise.
25734 (DF_1_NOHDR): Likewise.
25735 (DF_1_EDITED): Likewise.
25736 (DF_1_NORELOC): Likewise.
25737 (DF_1_SYMINTPOSE): Likewise.
25738 (DF_1_GLOBAUDIT): Likewise.
25739 (DF_1_SINGLETON): Likewise.
25740 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25741 DT_1_SUPPORTED_MASK bits.
25742 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25744 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25746 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25748 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25750 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25753 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25754 (sendmmsg): Move declarations...
25755 * socket/sys/socket.h: ... here.
25756 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25757 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25759 * socket/recvmmsg.c: ... this new file.
25760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25761 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25762 definition of __sendmmsg hidden.
25763 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25764 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25765 Move ENOSYS stub into and include it from...
25766 * socket/sendmmsg.c: ... this new file.
25767 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25768 (sysdep_routines): Move recvmmsg and sendmmsg...
25769 * socket/Makefile (routines): ... here.
25770 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25771 (GLIBC_PRIVATE): Add __sendmmsg.
25772 * include/sys/socket.h (__sendmmsg): Add declarations.
25773 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25776 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25779 variable I1 with __attribute__ ((unused)).
25780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25782 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25784 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25785 DUMMY variables with __attribute__ ((unused)).
25787 * bits/byteswap.h: Include <bits/types.h>.
25788 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25790 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25792 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25793 string_t. Do not manually set errno.
25794 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25795 length with __strnlen. Make sure to both set errno and return it on
25798 2012-11-19 David S. Miller <davem@davemloft.net>
25800 With help from Joseph Myers.
25801 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25802 very large arguments properly.
25803 * math/libm-test.inc (atan_test): New tests.
25804 (atan2_test): New tests.
25805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25808 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25811 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25814 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25815 [POSIX] (EADDRNOTAVAIL): Likewise.
25816 [POSIX] (EAFNOSUPPORT): Likewise.
25817 [POSIX] (EALREADY): Likewise.
25818 [POSIX] (ECONNABORTED): Likewise.
25819 [POSIX] (ECONNREFUSED): Likewise.
25820 [POSIX] (ECONNRESET): Likewise.
25821 [POSIX] (EDESTADDRREQ): Likewise.
25822 [POSIX] (EDQUOT): Likewise.
25823 [POSIX] (EHOSTUNREACH): Likewise.
25824 [POSIX] (EIDRM): Likewise.
25825 [POSIX] (EISCONN): Likewise.
25826 [POSIX] (ELOOP): Likewise.
25827 [POSIX] (EMULTIHOP): Likewise.
25828 [POSIX] (ENETDOWN): Likewise.
25829 [POSIX] (ENETUNREACH): Likewise.
25830 [POSIX] (ENOBUFS): Likewise.
25831 [POSIX] (ENODATA): Likewise.
25832 [POSIX] (ENOLINK): Likewise.
25833 [POSIX] (ENOMSG): Likewise.
25834 [POSIX] (ENOPROTOOPT): Likewise.
25835 [POSIX] (ENOSR): Likewise.
25836 [POSIX] (ENOSTR): Likewise.
25837 [POSIX] (ENOTCONN): Likewise.
25838 [POSIX] (ENOTSOCK): Likewise.
25839 [POSIX] (EOPNOTSUPP): Likewise.
25840 [POSIX] (EOVERFLOW): Likewise.
25841 [POSIX] (EPROTO): Likewise.
25842 [POSIX] (EPROTONOSUPPORT): Likewise.
25843 [POSIX] (EPROTOTYPE): Likewise.
25844 [POSIX] (ESTALE): Likewise.
25845 [POSIX] (ETIME): Likewise.
25846 [POSIX] (ETXTBSY): Likewise.
25847 [POSIX] (EWOULDBLOCK): Likewise.
25848 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25849 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25850 [POSIX] (SEEK_CUR): Likewise.
25851 [POSIX] (SEEK_END): Likewise.
25852 [POSIX || UNIX98] (mode_t): Do not require.
25853 [POSIX] (off_t): Likewise.
25854 [POSIX] (pid_t): Likewise.
25855 [POSIX] (sys/stat.h): Do not allow header.
25856 [POSIX] (unistd.h): Likewise.
25857 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25858 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25859 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25860 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25862 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25863 sigevent): Specify elements.
25864 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25866 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25867 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25869 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25870 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25871 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25872 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25873 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25874 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25875 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25876 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25877 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25878 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25879 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25881 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25882 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25884 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25890 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25891 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25892 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25895 Specify lower bound on value.
25896 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25902 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25903 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25905 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25907 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25924 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25926 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25933 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25938 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25939 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25941 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25945 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25946 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25947 specify as optional.
25948 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25951 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25952 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25953 [XPG3] (NL_LANGMAX): Likewise.
25954 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25955 [POSIX || XPG3] (NL_NMAX): Likewise.
25956 [POSIX || XPG3] (NL_SETMAX): Likewise.
25957 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25958 [XPG3] (NZERO): Likewise.
25959 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25960 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25961 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25962 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25963 (REG_ERANGE): Expect.
25964 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25966 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25967 Use (void) in prototype.
25968 [POSIX] (*_t): Allow.
25969 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25970 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25971 (WRDE_BADVAL): Expect.
25973 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25975 [XPG3 || XPG4] (O_RSYNC): Likewise.
25976 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25978 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25979 [XPG3 || XPG4] (sigqueue): Likewise.
25980 [XPG3 || XPG4] (sigtimedwait): Likewise.
25981 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25982 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25983 [XPG3 || XPG4] (vsnprintf): Likewise.
25984 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25986 [XPG3 || XPG4] (blksize_t): Likewise.
25987 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25989 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25990 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25991 [XPG3 || XPG4] (struct itimerspec): Likewise.
25992 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25993 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25994 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25995 [XPG3 || XPG4] (clockid_t): Likewise.
25996 [XPG3 || XPG4] (timer_t): Likewise.
25997 [XPG3 || XPG4] (clock_getres): Likewise.
25998 [XPG3 || XPG4] (clock_gettime): Likewise.
25999 [XPG3 || XPG4] (clock_settime): Likewise.
26000 [XPG3 || XPG4] (nanosleep): Likewise.
26001 [XPG3 || XPG4] (timer_create): Likewise.
26002 [XPG3 || XPG4] (timer_delete): Likewise.
26003 [XPG3 || XPG4] (timer_gettime): Likewise.
26004 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26005 [XPG3 || XPG4] (timer_settime): Likewise.
26006 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26007 [XPG3 || XPG4] (getlogin_r): Likewise.
26008 [XPG3 || XPG4] (pread): Likewise.
26009 [XPG3 || XPG4] (pthread_atfork): Likewise.
26010 [XPG3 || XPG4] (pwrite): Likewise.
26013 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26016 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26018 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26019 finalizing MALLSTREAM.
26021 * sysdeps/mach/hurd/syncfs.c: New file.
26023 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26027 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26028 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26029 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26030 (_nss_dns_gethostbyname4_r): Likewise.
26031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26032 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26034 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26037 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26039 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26041 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26042 * elf/cache.c (print_entry): Print ",AArch64" for
26045 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26046 * elf/cache.c (print_entry): Print ",hard-float" for
26049 2012-11-18 David S. Miller <davem@davemloft.net>
26051 With help from Joseph Myers.
26052 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26054 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26056 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26057 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26059 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26060 * math/libm-test.inc (y0_test): New tests.
26061 (y1_test): New tests.
26062 * sysdeps/i386/fpu/libm-test-ulps: Update.
26063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26066 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26068 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26070 * configure: Regenerated.
26072 2012-11-17 David S. Miller <davem@davemloft.net>
26075 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26076 nonzero exponents with absolute value below 0x1p-128 to +/-
26079 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26081 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26083 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26085 * posix/getconf-speclist.c: New file.
26086 * posix/posix-envs.def: Likewise.
26087 * posix/confstr.c (START_ENV_GROUP): New macro.
26088 (END_ENV_GROUP): Likewise.
26089 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26090 (KNOWN_PRESENT_ENV_STRING): Likewise.
26091 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26092 (UNKNOWN_ENVIRONMENT): Likewise.
26093 (confstr): Include posix-envs.def instead of handling
26094 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26095 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26096 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26097 (END_ENV_GROUP): Likewise.
26098 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26099 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26100 (UNKNOWN_ENVIRONMENT): Likewise.
26101 (__sysconf): Include posix-envs.def instead of handling associated
26102 cases directly here.
26103 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26104 preprocessing getconf-speclist.c rather than running getconf or
26105 generating empty file.
26107 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26109 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26111 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26114 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26116 2012-11-16 David S. Miller <davem@davemloft.net>
26118 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26119 smaller than LDBL_EPSILON/2.0L, just return xm1.
26121 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26123 * elf/tst-array1.c (init): Set constructor priority to 1000.
26124 (fini): Set destructor priority to 1000.
26125 * elf/tst-array2dep.c: Likewise.
26127 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26130 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26131 (_IO_new_file_xsputn): Also return EOF if none of the input
26132 data was written when overflow failed.
26133 * libio/iopadn.c (_IO_padn): Likewise.
26134 * libio/iowpadn.c (_IO_wpadn): Likewise.
26135 * stdio-common/tst-put-error.c: Add copyright notice.
26136 (do_test): Add case for printing padded string.
26137 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26138 _IO_padn returned error.
26139 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26140 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26143 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26145 * libio/libioP.h: Add comment note that the references to C++
26146 bits are now obsolete.
26148 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26150 * math/libm-test.inc (check_complex): Use asprintf.
26152 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26154 * debug/pcprofiledump.c (print_version): Update copyright year.
26155 * malloc/memusagestat.c (print_version): Likewise.
26157 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26160 * elf/Makefile (tests): Add tst-audit8.
26161 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26162 ($(objpfx)tst-audit8.out): New target.
26163 (tst-audit8-ENV): New variable.
26164 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26165 audit if l_reloc_result is NULL.
26166 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26167 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26168 * elf/tst-audit8.c: New file.
26170 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26172 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26173 * misc/Makefile (CFLAGS-select.c): Define.
26174 * posix/Makefile (CFLAGS-pause.c): Define.
26176 2012-11-13 David S. Miller <davem@davemloft.net>
26178 * crypt/Makefile: Move test targets after toplevel Rules
26179 inclusion. Grab any necessary sysdep routines when linking.
26180 * crypt/md5.c (md5_process_block): Remove define, we will always
26181 name it __md5_process_block.
26182 (md5_finish_ctx): Update md5_process_block call.
26183 (md5_stream): Likewise.
26184 (md5_process_bytes): Likewise.
26185 (md5_process_block): Rename to __md5_process_block and move to ...
26186 * crypt/md5-block.c: ... here.
26187 * crypt/sha256.c (sha256_process_block): Move to ...
26188 * crypt/sha256-block.c: ... here.
26189 * crypt/sha512.c (sha512_process_block): Move to ...
26190 * crypt/sha512-block.c: ... here.
26191 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26193 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26194 * sysdeps/sparc/sparc64/multiarch/Makefile
26195 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26197 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26198 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26200 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26201 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26202 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26203 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26204 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26205 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26206 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26207 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26208 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26210 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26211 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26215 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26217 * timezone/tzselect.ksh: Update from tzcode git revision
26218 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26219 * timezone/zdump.c: Likewise.
26220 * timezone/zic.c: Likewise.
26221 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26222 in TZVERSION setting, not $(PKGVERSION).
26223 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26224 REPORT_BUGS_TO settings.
26227 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26230 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26232 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26233 detection to immediately after _FP_ROUND().
26234 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26237 2012-11-11 David S. Miller <davem@davemloft.net>
26239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26241 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26242 __close rather than their public counterparts.
26244 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26246 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26248 [UNIX98] (sem_timedwait): Do not expect.
26249 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26250 [XPG4 || UNIX98] (sockatmark): Do not expect.
26251 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26252 (clock_getcpuclockid): Do not expect.
26253 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26254 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26256 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26257 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26258 [UNIX98] (vwscanf): Likewise.
26259 [UNIX98] (vswscanf): Likewise.
26261 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26263 * timezone/version.h: Remove file.
26264 * timezone/README: Do not refer to version.h.
26265 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26266 $(objpfx)version.h.
26267 ($(objpfx)zdump.o): Likewise.
26268 ($(objpfx)version.h): New target.
26270 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26272 * timezone/README: Don't mention modification to tzselect.ksh.
26273 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26274 work on unmodified tzselect.ksh. Substitute version numbers in
26277 * Makefile (format-me): Remove.
26278 (INSTALL): Adjust indentation. Use commands directly instead of
26279 using $(format-me).
26281 * aclocal.m4 (ACX_PKGVERSION): New macro.
26282 (ACX_BUGURL): Likewise.
26283 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26284 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26285 (REPORT_BUGS_TO): Likewise.
26286 * configure: Regenerated.
26287 * config.h.in (PKGVERSION): New macro.
26288 (REPORT_BUGS_TO): Likewise.
26289 * config.make.in (PKGVERSION): New variable.
26290 (PKGVERSION_TEXI): Likewise.
26291 (REPORT_BUGS_TO): Likewise.
26292 (REPORT_BUGS_TEXI): Likewise.
26293 * Makefile (format-me): Use -I$(common-objpfx)manual.
26294 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26295 ($(common-objpfx)manual/%): New target.
26296 (manual/%): Remove target.
26297 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26298 (print_version): Use PKGVERSION.
26299 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26300 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26301 and REPORT_BUGS_TO.
26302 ($(objpfx)xtrace): Likewise.
26303 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26304 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26305 (print_version): Use PKGVERSION.
26306 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26307 (do_version): Use PKGVERSION.
26308 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26310 (common-ldd-rewrite): Likewise.
26311 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26312 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26313 (print_version): Use PKGVERSION.
26314 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26315 * elf/pldd.c (argp_program_bug_address): Remove variable.
26316 (more_help): New function.
26317 (argp): Use more_help.
26318 (print_version): Use PKGVERSION.
26319 * elf/sln.c (main): Use PKGVERSION.
26320 (usage): Use REPORT_BUGS_TO.
26321 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26322 (top level): Use PKGVERSION.
26323 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26324 (print_version): Use PKGVERSION.
26325 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26326 (print_version): Use PKGVERSION.
26327 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26328 (print_version): Use PKGVERSION.
26329 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26330 (print_version): Use PKGVERSION.
26331 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26332 (print_version): Use PKGVERSION.
26333 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26334 (print_version): Use PKGVERSION.
26335 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26337 ($(objpfx)memusage): Likewise.
26338 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26339 (do_version): Use PKGVERSION.
26340 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26341 (print_version): Use PKGVERSION.
26342 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26343 ($PKGVERSION): New variable.
26344 ($REPORT_BUGS_TO): Likewise.
26345 (usage): Use $REPORT_BUGS_TO.
26346 (top level): Use $PKGVERSION.
26347 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26348 ($(objpfx)pkgvers.texi): New rule.
26349 ($(objpfx)stamp-pkgvers): Likewise.
26350 * manual/install.texi: Include pkgvers.texi.
26351 (--with-pkgversion): Document new configure option.
26352 (--with-bugurl): Likewise.
26353 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26354 than necessarily for this particular distribution. Use
26355 REPORT_BUGS_TO for where to report bugs.
26356 * INSTALL: Regenerated.
26357 * manual/libc.texinfo: Include pkgvers.texi.
26358 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26359 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26360 (print_version): Use PKGVERSION.
26361 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26362 (print_version): Use PKGVERSION.
26363 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26364 (print_version): Use PKGVERSION.
26365 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26366 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26368 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26369 (print_version): Use PKGVERSION.
26370 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26371 (print_version): Use PKGVERSION.
26372 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26375 * timezone/checktab.awk: Update from tzcode 2012i.
26376 * timezone/ialloc.c: Likewise.
26377 * timezone/private.h: Likewise.
26378 * timezone/scheck.c: Likewise.
26379 * timezone/tzfile.h: Likewise.
26380 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26381 (TZVERSION): Hardcode tzcode version number.
26382 * timezone/zdump.c: Update from tzcode 2012i.
26383 * timezone/zic.c: Likewise.
26384 * timezone/version.h: New file.
26385 * timezone/README: Describe version.h. Update upstream location.
26388 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26389 (mktemp): Enable declaration.
26390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26407 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26408 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26409 for copies of such integer values.
26410 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26411 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26413 2012-11-09 Andreas Jaeger <aj@suse.de>
26415 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26416 definitions and declarations that are provided by
26417 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26419 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26421 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26422 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26423 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26426 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26428 * elf/elf.h: Update comment before AArch64 relocations.
26430 2012-11-07 David S. Miller <davem@davemloft.net>
26432 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26433 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26434 (__start_context): Declare.
26435 (__makecontext_ret): Delete.
26436 (__makecontext): Hook up __start_context instead of
26438 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26439 (sysdep_routines): Add __start_context when in stdlib.
26441 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26443 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26444 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26445 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26447 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26448 (READELF): New variable. Use it instead of hardcoded "readelf".
26450 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26452 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26453 * sysdeps/x86/Makefile: Here.
26454 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26455 * sysdeps/x86/tst-xmmymm.sh: This.
26457 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26459 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26461 [UNIX98] (pthread_barrier_t): Do not expect.
26462 [UNIX98] (pthread_barrierattr_t): Likewise.
26463 [UNIX98] (pthread_spinlock_t): Likewise.
26464 [UNIX98] (pthread_barrier_destroy): Likewise.
26465 [UNIX98] (pthread_barrier_init): Likewise.
26466 [UNIX98] (pthread_barrier_wait): Likewise.
26467 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26468 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26469 [UNIX98] (pthread_barrierattr_init): Likewise.
26470 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26471 [UNIX98] (pthread_getcpuclockid): Likewise.
26472 [UNIX98] (pthread_mutex_timedlock): Likewise.
26473 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26474 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26475 [UNIX98] (pthread_sigmask): Likewise.
26476 [UNIX98] (pthread_spin_destroy): Likewise.
26477 [UNIX98] (pthread_spin_init): Likewise.
26478 [UNIX98] (pthread_spin_lock): Likewise.
26479 [UNIX98] (pthread_spin_trylock): Likewise.
26480 [UNIX98] (pthread_spin_unlock): Likewise.
26481 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26483 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26484 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26485 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26486 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26487 [XPG3 || XPG4] (pthread_key_t): Likewise.
26488 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26489 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26490 [XPG3 || XPG4] (pthread_once_t): Likewise.
26491 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26492 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26493 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26494 [XPG3 || XPG4] (pthread_t): Likewise.
26496 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26498 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26500 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26501 Change function return type to int.
26503 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26504 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26505 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26506 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26507 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26508 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26509 [!POSIX] (posix_madvise): Likewise.
26510 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26512 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26513 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26514 (mode_t): Likewise.
26515 (posix_mem_offset): Likewise.
26516 (posix_typed_mem_get_info): Likewise.
26517 (posix_typed_mem_open): Likewise.
26519 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26520 Change condition to [XOPEN2K8].
26522 * conform/conformtest.pl: Preprocess allow-header data with -x c
26523 instead of from stdin.
26524 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26525 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26526 [C99-based standards] (cerfc): Likewise.
26527 [C99-based standards] (cexp2): Likewise.
26528 [C99-based standards] (cexpm1): Likewise.
26529 [C99-based standards] (clog10): Likewise.
26530 [C99-based standards] (clog1p): Likewise.
26531 [C99-based standards] (clog2): Likewise.
26532 [C99-based standards] (clgamma): Likewise.
26533 [C99-based standards] (ctgamma): Likewise.
26534 [C99-based standards] (cerff): Likewise.
26535 [C99-based standards] (cerfcf): Likewise.
26536 [C99-based standards] (cexp2f): Likewise.
26537 [C99-based standards] (cexpm1f): Likewise.
26538 [C99-based standards] (clog10f): Likewise.
26539 [C99-based standards] (clog1pf): Likewise.
26540 [C99-based standards] (clog2f): Likewise.
26541 [C99-based standards] (clgammaf): Likewise.
26542 [C99-based standards] (ctgammaf): Likewise.
26543 [C99-based standards] (cerfl): Likewise.
26544 [C99-based standards] (cerfcl): Likewise.
26545 [C99-based standards] (cexp2l): Likewise.
26546 [C99-based standards] (cexpm1l): Likewise.
26547 [C99-based standards] (clog10l): Likewise.
26548 [C99-based standards] (clog1pl): Likewise.
26549 [C99-based standards] (clog2l): Likewise.
26550 [C99-based standards] (clgammal): Likewise.
26551 [C99-based standards] (ctgammal): Likewise.
26552 * conform/data/inttypes.h-data [C99-based standards]: Include
26553 stdint.h-data. Remove all expectations for stdint.h contents.
26554 [C99-based standards] (PRI*): Do not allow.
26555 [C99-based standards] (SCN*): Likewise.
26556 [C99-based standards] (*_t): Likewise.
26557 [C99-based-standards] (PRId8): Expect macro.
26558 [C99-based-standards] (PRIi8): Likewise.
26559 [C99-based-standards] (PRIo8): Likewise.
26560 [C99-based-standards] (PRIu8): Likewise.
26561 [C99-based-standards] (PRIx8): Likewise.
26562 [C99-based-standards] (PRIX8): Likewise.
26563 [C99-based-standards] (SCNd8): Likewise.
26564 [C99-based-standards] (SCNi8): Likewise.
26565 [C99-based-standards] (SCNo8): Likewise.
26566 [C99-based-standards] (SCNu8): Likewise.
26567 [C99-based-standards] (SCNx8): Likewise.
26568 [C99-based-standards] (PRIdLEAST8): Likewise.
26569 [C99-based-standards] (PRIiLEAST8): Likewise.
26570 [C99-based-standards] (PRIoLEAST8): Likewise.
26571 [C99-based-standards] (PRIuLEAST8): Likewise.
26572 [C99-based-standards] (PRIxLEAST8): Likewise.
26573 [C99-based-standards] (PRIXLEAST8): Likewise.
26574 [C99-based-standards] (SCNdLEAST8): Likewise.
26575 [C99-based-standards] (SCNiLEAST8): Likewise.
26576 [C99-based-standards] (SCNoLEAST8): Likewise.
26577 [C99-based-standards] (SCNuLEAST8): Likewise.
26578 [C99-based-standards] (SCNxLEAST8): Likewise.
26579 [C99-based-standards] (PRIdFAST8): Likewise.
26580 [C99-based-standards] (PRIiFAST8): Likewise.
26581 [C99-based-standards] (PRIoFAST8): Likewise.
26582 [C99-based-standards] (PRIuFAST8): Likewise.
26583 [C99-based-standards] (PRIxFAST8): Likewise.
26584 [C99-based-standards] (PRIXFAST8): Likewise.
26585 [C99-based-standards] (SCNdFAST8): Likewise.
26586 [C99-based-standards] (SCNiFAST8): Likewise.
26587 [C99-based-standards] (SCNoFAST8): Likewise.
26588 [C99-based-standards] (SCNuFAST8): Likewise.
26589 [C99-based-standards] (SCNxFAST8): Likewise.
26590 [C99-based-standards] (PRId16): Likewise.
26591 [C99-based-standards] (PRIi16): Likewise.
26592 [C99-based-standards] (PRIo16): Likewise.
26593 [C99-based-standards] (PRIu16): Likewise.
26594 [C99-based-standards] (PRIx16): Likewise.
26595 [C99-based-standards] (PRIX16): Likewise.
26596 [C99-based-standards] (SCNd16): Likewise.
26597 [C99-based-standards] (SCNi16): Likewise.
26598 [C99-based-standards] (SCNo16): Likewise.
26599 [C99-based-standards] (SCNu16): Likewise.
26600 [C99-based-standards] (SCNx16): Likewise.
26601 [C99-based-standards] (PRIdLEAST16): Likewise.
26602 [C99-based-standards] (PRIiLEAST16): Likewise.
26603 [C99-based-standards] (PRIoLEAST16): Likewise.
26604 [C99-based-standards] (PRIuLEAST16): Likewise.
26605 [C99-based-standards] (PRIxLEAST16): Likewise.
26606 [C99-based-standards] (PRIXLEAST16): Likewise.
26607 [C99-based-standards] (SCNdLEAST16): Likewise.
26608 [C99-based-standards] (SCNiLEAST16): Likewise.
26609 [C99-based-standards] (SCNoLEAST16): Likewise.
26610 [C99-based-standards] (SCNuLEAST16): Likewise.
26611 [C99-based-standards] (SCNxLEAST16): Likewise.
26612 [C99-based-standards] (PRIdFAST16): Likewise.
26613 [C99-based-standards] (PRIiFAST16): Likewise.
26614 [C99-based-standards] (PRIoFAST16): Likewise.
26615 [C99-based-standards] (PRIuFAST16): Likewise.
26616 [C99-based-standards] (PRIxFAST16): Likewise.
26617 [C99-based-standards] (PRIXFAST16): Likewise.
26618 [C99-based-standards] (SCNdFAST16): Likewise.
26619 [C99-based-standards] (SCNiFAST16): Likewise.
26620 [C99-based-standards] (SCNoFAST16): Likewise.
26621 [C99-based-standards] (SCNuFAST16): Likewise.
26622 [C99-based-standards] (SCNxFAST16): Likewise.
26623 [C99-based-standards] (PRId32): Likewise.
26624 [C99-based-standards] (PRIi32): Likewise.
26625 [C99-based-standards] (PRIo32): Likewise.
26626 [C99-based-standards] (PRIu32): Likewise.
26627 [C99-based-standards] (PRIx32): Likewise.
26628 [C99-based-standards] (PRIX32): Likewise.
26629 [C99-based-standards] (SCNd32): Likewise.
26630 [C99-based-standards] (SCNi32): Likewise.
26631 [C99-based-standards] (SCNo32): Likewise.
26632 [C99-based-standards] (SCNu32): Likewise.
26633 [C99-based-standards] (SCNx32): Likewise.
26634 [C99-based-standards] (PRIdLEAST32): Likewise.
26635 [C99-based-standards] (PRIiLEAST32): Likewise.
26636 [C99-based-standards] (PRIoLEAST32): Likewise.
26637 [C99-based-standards] (PRIuLEAST32): Likewise.
26638 [C99-based-standards] (PRIxLEAST32): Likewise.
26639 [C99-based-standards] (PRIXLEAST32): Likewise.
26640 [C99-based-standards] (SCNdLEAST32): Likewise.
26641 [C99-based-standards] (SCNiLEAST32): Likewise.
26642 [C99-based-standards] (SCNoLEAST32): Likewise.
26643 [C99-based-standards] (SCNuLEAST32): Likewise.
26644 [C99-based-standards] (SCNxLEAST32): Likewise.
26645 [C99-based-standards] (PRIdFAST32): Likewise.
26646 [C99-based-standards] (PRIiFAST32): Likewise.
26647 [C99-based-standards] (PRIoFAST32): Likewise.
26648 [C99-based-standards] (PRIuFAST32): Likewise.
26649 [C99-based-standards] (PRIxFAST32): Likewise.
26650 [C99-based-standards] (PRIXFAST32): Likewise.
26651 [C99-based-standards] (SCNdFAST32): Likewise.
26652 [C99-based-standards] (SCNiFAST32): Likewise.
26653 [C99-based-standards] (SCNoFAST32): Likewise.
26654 [C99-based-standards] (SCNuFAST32): Likewise.
26655 [C99-based-standards] (SCNxFAST32): Likewise.
26656 [C99-based-standards] (PRId64): Likewise.
26657 [C99-based-standards] (PRIi64): Likewise.
26658 [C99-based-standards] (PRIo64): Likewise.
26659 [C99-based-standards] (PRIu64): Likewise.
26660 [C99-based-standards] (PRIx64): Likewise.
26661 [C99-based-standards] (PRIX64): Likewise.
26662 [C99-based-standards] (SCNd64): Likewise.
26663 [C99-based-standards] (SCNi64): Likewise.
26664 [C99-based-standards] (SCNo64): Likewise.
26665 [C99-based-standards] (SCNu64): Likewise.
26666 [C99-based-standards] (SCNx64): Likewise.
26667 [C99-based-standards] (PRIdLEAST64): Likewise.
26668 [C99-based-standards] (PRIiLEAST64): Likewise.
26669 [C99-based-standards] (PRIoLEAST64): Likewise.
26670 [C99-based-standards] (PRIuLEAST64): Likewise.
26671 [C99-based-standards] (PRIxLEAST64): Likewise.
26672 [C99-based-standards] (PRIXLEAST64): Likewise.
26673 [C99-based-standards] (SCNdLEAST64): Likewise.
26674 [C99-based-standards] (SCNiLEAST64): Likewise.
26675 [C99-based-standards] (SCNoLEAST64): Likewise.
26676 [C99-based-standards] (SCNuLEAST64): Likewise.
26677 [C99-based-standards] (SCNxLEAST64): Likewise.
26678 [C99-based-standards] (PRIdFAST64): Likewise.
26679 [C99-based-standards] (PRIiFAST64): Likewise.
26680 [C99-based-standards] (PRIoFAST64): Likewise.
26681 [C99-based-standards] (PRIuFAST64): Likewise.
26682 [C99-based-standards] (PRIxFAST64): Likewise.
26683 [C99-based-standards] (PRIXFAST64): Likewise.
26684 [C99-based-standards] (SCNdFAST64): Likewise.
26685 [C99-based-standards] (SCNiFAST64): Likewise.
26686 [C99-based-standards] (SCNoFAST64): Likewise.
26687 [C99-based-standards] (SCNuFAST64): Likewise.
26688 [C99-based-standards] (SCNxFAST64): Likewise.
26689 [C99-based-standards] (PRIdMAX): Likewise.
26690 [C99-based-standards] (PRIiMAX): Likewise.
26691 [C99-based-standards] (PRIoMAX): Likewise.
26692 [C99-based-standards] (PRIuMAX): Likewise.
26693 [C99-based-standards] (PRIxMAX): Likewise.
26694 [C99-based-standards] (PRIXMAX): Likewise.
26695 [C99-based-standards] (SCNdMAX): Likewise.
26696 [C99-based-standards] (SCNiMAX): Likewise.
26697 [C99-based-standards] (SCNoMAX): Likewise.
26698 [C99-based-standards] (SCNuMAX): Likewise.
26699 [C99-based-standards] (SCNxMAX): Likewise.
26700 [C99-based-standards] (PRIdPTR): Likewise.
26701 [C99-based-standards] (PRIiPTR): Likewise.
26702 [C99-based-standards] (PRIoPTR): Likewise.
26703 [C99-based-standards] (PRIuPTR): Likewise.
26704 [C99-based-standards] (PRIxPTR): Likewise.
26705 [C99-based-standards] (PRIXPTR): Likewise.
26706 [C99-based-standards] (SCNdPTR): Likewise.
26707 [C99-based-standards] (SCNiPTR): Likewise.
26708 [C99-based-standards] (SCNoPTR): Likewise.
26709 [C99-based-standards] (SCNuPTR): Likewise.
26710 [C99-based-standards] (SCNxPTR): Likewise.
26711 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26713 * conform/data/stdint.h-data: Update comments to clarify
26715 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26717 [C99-based standards] (INT8_MAX): Likewise.
26718 [C99-based standards] (INT16_MIN): Likewise.
26719 [C99-based standards] (INT16_MAX): Likewise.
26720 [C99-based standards] (INT32_MIN): Likewise.
26721 [C99-based standards] (INT32_MAX): Likewise.
26722 [C99-based standards] (INT64_MIN): Likewise.
26723 [C99-based standards] (INT64_MAX): Likewise.
26724 [C99-based standards] (UINT8_MAX): Likewise.
26725 [C99-based standards] (UINT16_MAX): Likewise.
26726 [C99-based standards] (UINT32_MAX): Likewise.
26727 [C99-based standards] (UINT64_MAX): Likewise.
26728 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26729 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26730 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26731 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26732 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26733 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26734 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26735 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26736 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26737 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26738 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26739 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26740 [C99-based standards] (INT_FAST8_MIN): Likewise.
26741 [C99-based standards] (INT_FAST8_MAX): Likewise.
26742 [C99-based standards] (INT_FAST16_MIN): Likewise.
26743 [C99-based standards] (INT_FAST16_MAX): Likewise.
26744 [C99-based standards] (INT_FAST32_MIN): Likewise.
26745 [C99-based standards] (INT_FAST32_MAX): Likewise.
26746 [C99-based standards] (INT_FAST64_MIN): Likewise.
26747 [C99-based standards] (INT_FAST64_MAX): Likewise.
26748 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26749 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26750 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26751 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26752 [C99-based standards] (INTPTR_MIN): Likewise.
26753 [C99-based standards] (INTPTR_MAX): Likewise.
26754 [C99-based standards] (UINTPTR_MAX): Likewise.
26755 [C99-based standards] (INTMAX_MIN): Likewise.
26756 [C99-based standards] (INTMAX_MAX): Likewise.
26757 [C99-based standards] (UINTMAX_MAX): Likewise.
26758 [C99-based standards] (PTRDIFF_MIN): Likewise.
26759 [C99-based standards] (PTRDIFF_MAX): Likewise.
26760 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26761 [C99-based standards] (SIZE_MAX): Likewise.
26762 [C99-based standards] (WCHAR_MAX): Likewise.
26763 [C99-based standards] (WINT_MAX): Likewise.
26764 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26765 constraint on value.
26766 [C99-based standards] (WCHAR_MIN): Likewise.
26767 [C99-based standards] (WINT_MIN): Likewise.
26768 [C99-based standards] (*_t): Allow.
26769 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26770 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26771 Include math.h-data and complex.h-data. Remove all expectations
26772 of math.h and complex.h contents.
26773 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26775 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26776 (struct tm): Expect tag.
26777 [C99-based-standards] (wcstof): Expect function.
26778 [C99-based-standards] (wcstold): Likewise.
26779 [C99-based-standards] (wcstoll): Likewise.
26780 [C99-based-standards] (wcstoull): Likewise.
26781 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26782 macro-int-constant. Specify type.
26783 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26784 constraint on value.
26785 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26787 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26789 [ISO C standards]: Do not allow headers.
26790 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26791 wcs[abcdefghijklmnopqrstuvwxyz]*.
26792 [ISO C standards] (*_t): Do not allow.
26793 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26795 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26796 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26798 [ISO C standards]: Do not allow headers.
26799 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26800 is[abcdefghijklmnopqrstuvwxyz]*.
26801 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26802 to[abcdefghijklmnopqrstuvwxyz]*.
26803 [ISO C standards] (*_t): Do not allow.
26804 * conform/data/stdalign.h-data: New file.
26805 * conform/data/stdbool.h-data: Likewise.
26806 * conform/data/stdnoreturn.h-data: Likewise.
26808 2012-11-07 Roland McGrath <roland@hack.frob.com>
26811 * manual/filesys.texi (Directory Entries): Typo fix.
26812 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26814 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26816 * elf/elf.h (EM_AARCH64): New macro.
26817 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26818 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26819 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26820 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26821 (R_AARCH64_TLSDESC): Likewise.
26822 (NT_ARM_TLS): Likewise.
26823 (NT_ARM_HW_BREAK): Likewise.
26824 (NT_ARM_HW_WATCH): Likewise.
26826 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26829 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26830 (__ieee754_powl): Saturate nonzero exponents with absolute value
26831 below 0x1p-79 to +/- 0x1p-79.
26832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26833 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26834 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26835 nonzero exponents with absolute value below 0x1p-32 to +/-
26837 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26838 (__ieee754_powl): Saturate nonzero exponents with absolute value
26839 below 0x1p-79 to +/- 0x1p-79.
26840 * math/libm-test.inc (pow_test): Add more tests.
26842 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26844 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26845 _dl_s390_cap_flags with kernel. Increase string length.
26846 (_dl_s390_platforms): Add z196 and zEC12.
26848 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26850 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26851 Change XOPEN21K to XOPEN2K.
26853 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26855 * string/memmove.c: Use memcpy when possible.
26857 2012-11-06 Andreas Jaeger <aj@suse.de>
26859 * po/eo.po: Update from translation team.
26861 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26865 exponent and small x and y exponents, scale x or y up. Increase
26866 by 2 the exponent used in scaling up.
26867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26869 * math/libm-test.inc (fma_test): Add more tests.
26870 (fma_test_towardzero): Likewise.
26871 (fma_test_downward): Likewise.
26872 (fma_test_upward): Likewise.
26874 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26877 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26881 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26882 namespace for names of struct fields.
26883 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26885 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26886 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26888 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26891 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26893 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26895 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26899 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26902 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26906 definitely overflow as x * y not x * y + z.
26907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26909 * math/libm-test.inc (fma_test): Add more tests.
26910 (fma_test_towardzero): Likewise.
26911 (fma_test_downward): Likewise.
26912 (fma_test_upward): Likewise.
26914 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26918 * include/stub-tag.h: Remove file.
26919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26921 * manual/maint.texi (Porting): Don't reference it.
26922 * Makerules ($(objpfx)stubs): Likewise.
26923 * dirent/closedir.c: Don't include <stub-tag.h>.
26924 * dirent/dirfd.c: Likewise.
26925 * dirent/fdopendir.c: Likewise.
26926 * dirent/getdents.c: Likewise.
26927 * dirent/getdents64.c: Likewise.
26928 * dirent/opendir.c: Likewise.
26929 * dirent/readdir.c: Likewise.
26930 * dirent/readdir64.c: Likewise.
26931 * dirent/readdir64_r.c: Likewise.
26932 * dirent/readdir_r.c: Likewise.
26933 * dirent/rewinddir.c: Likewise.
26934 * dirent/seekdir.c: Likewise.
26935 * dirent/telldir.c: Likewise.
26936 * gmon/profil.c: Likewise.
26937 * grp/setgroups.c: Likewise.
26938 * inet/if_index.c: Likewise.
26939 * io/access.c: Likewise.
26940 * io/chdir.c: Likewise.
26941 * io/chmod.c: Likewise.
26942 * io/chown.c: Likewise.
26943 * io/close.c: Likewise.
26944 * io/dup.c: Likewise.
26945 * io/dup2.c: Likewise.
26946 * io/dup3.c: Likewise.
26947 * io/euidaccess.c: Likewise.
26948 * io/faccessat.c: Likewise.
26949 * io/fchdir.c: Likewise.
26950 * io/fchmod.c: Likewise.
26951 * io/fchmodat.c: Likewise.
26952 * io/fchown.c: Likewise.
26953 * io/fchownat.c: Likewise.
26954 * io/fcntl.c: Likewise.
26955 * io/flock.c: Likewise.
26956 * io/fstatfs.c: Likewise.
26957 * io/fstatfs64.c: Likewise.
26958 * io/fstatvfs.c: Likewise.
26959 * io/fstatvfs64.c: Likewise.
26960 * io/futimens.c: Likewise.
26961 * io/fxstat.c: Likewise.
26962 * io/fxstat64.c: Likewise.
26963 * io/fxstatat.c: Likewise.
26964 * io/fxstatat64.c: Likewise.
26965 * io/getcwd.c: Likewise.
26966 * io/isatty.c: Likewise.
26967 * io/lchmod.c: Likewise.
26968 * io/lchown.c: Likewise.
26969 * io/link.c: Likewise.
26970 * io/linkat.c: Likewise.
26971 * io/lseek.c: Likewise.
26972 * io/lseek64.c: Likewise.
26973 * io/lxstat64.c: Likewise.
26974 * io/mkdir.c: Likewise.
26975 * io/mkdirat.c: Likewise.
26976 * io/mkfifo.c: Likewise.
26977 * io/mkfifoat.c: Likewise.
26978 * io/open.c: Likewise.
26979 * io/open64.c: Likewise.
26980 * io/openat.c: Likewise.
26981 * io/openat64.c: Likewise.
26982 * io/pipe.c: Likewise.
26983 * io/pipe2.c: Likewise.
26984 * io/poll.c: Likewise.
26985 * io/posix_fadvise.c: Likewise.
26986 * io/posix_fadvise64.c: Likewise.
26987 * io/posix_fallocate.c: Likewise.
26988 * io/posix_fallocate64.c: Likewise.
26989 * io/read.c: Likewise.
26990 * io/readlink.c: Likewise.
26991 * io/readlinkat.c: Likewise.
26992 * io/rmdir.c: Likewise.
26993 * io/sendfile.c: Likewise.
26994 * io/sendfile64.c: Likewise.
26995 * io/statfs.c: Likewise.
26996 * io/statfs64.c: Likewise.
26997 * io/statvfs.c: Likewise.
26998 * io/statvfs64.c: Likewise.
26999 * io/symlink.c: Likewise.
27000 * io/symlinkat.c: Likewise.
27001 * io/ttyname.c: Likewise.
27002 * io/ttyname_r.c: Likewise.
27003 * io/umask.c: Likewise.
27004 * io/unlink.c: Likewise.
27005 * io/unlinkat.c: Likewise.
27006 * io/utime.c: Likewise.
27007 * io/utimensat.c: Likewise.
27008 * io/write.c: Likewise.
27009 * io/xmknod.c: Likewise.
27010 * io/xmknodat.c: Likewise.
27011 * io/xstat.c: Likewise.
27012 * io/xstat64.c: Likewise.
27013 * login/getpt.c: Likewise.
27014 * login/grantpt.c: Likewise.
27015 * login/unlockpt.c: Likewise.
27016 * math/e_acoshl.c: Likewise.
27017 * math/e_acosl.c: Likewise.
27018 * math/e_asinl.c: Likewise.
27019 * math/e_atan2l.c: Likewise.
27020 * math/e_atanhl.c: Likewise.
27021 * math/e_coshl.c: Likewise.
27022 * math/e_expl.c: Likewise.
27023 * math/e_fmodl.c: Likewise.
27024 * math/e_gammal_r.c: Likewise.
27025 * math/e_hypotl.c: Likewise.
27026 * math/e_j0l.c: Likewise.
27027 * math/e_j1l.c: Likewise.
27028 * math/e_jnl.c: Likewise.
27029 * math/e_lgammal_r.c: Likewise.
27030 * math/e_log10l.c: Likewise.
27031 * math/e_log2l.c: Likewise.
27032 * math/e_logl.c: Likewise.
27033 * math/e_powl.c: Likewise.
27034 * math/e_rem_pio2l.c: Likewise.
27035 * math/e_sinhl.c: Likewise.
27036 * math/e_sqrtl.c: Likewise.
27037 * math/fclrexcpt.c: Likewise.
27038 * math/fedisblxcpt.c: Likewise.
27039 * math/feenablxcpt.c: Likewise.
27040 * math/fegetenv.c: Likewise.
27041 * math/fegetexcept.c: Likewise.
27042 * math/fegetround.c: Likewise.
27043 * math/feholdexcpt.c: Likewise.
27044 * math/fesetenv.c: Likewise.
27045 * math/fesetround.c: Likewise.
27046 * math/feupdateenv.c: Likewise.
27047 * math/fgetexcptflg.c: Likewise.
27048 * math/fraiseexcpt.c: Likewise.
27049 * math/fsetexcptflg.c: Likewise.
27050 * math/ftestexcept.c: Likewise.
27051 * math/k_cosl.c: Likewise.
27052 * math/k_rem_pio2l.c: Likewise.
27053 * math/k_sinl.c: Likewise.
27054 * math/k_tanl.c: Likewise.
27055 * math/s_asinhl.c: Likewise.
27056 * math/s_atanl.c: Likewise.
27057 * math/s_cbrtl.c: Likewise.
27058 * math/s_erfl.c: Likewise.
27059 * math/s_expm1l.c: Likewise.
27060 * math/s_log1pl.c: Likewise.
27061 * math/s_tanhl.c: Likewise.
27062 * misc/acct.c: Likewise.
27063 * misc/brk.c: Likewise.
27064 * misc/chflags.c: Likewise.
27065 * misc/chroot.c: Likewise.
27066 * misc/fchflags.c: Likewise.
27067 * misc/fgetxattr.c: Likewise.
27068 * misc/flistxattr.c: Likewise.
27069 * misc/fremovexattr.c: Likewise.
27070 * misc/fsetxattr.c: Likewise.
27071 * misc/fsync.c: Likewise.
27072 * misc/ftruncate.c: Likewise.
27073 * misc/futimes.c: Likewise.
27074 * misc/futimesat.c: Likewise.
27075 * misc/getdomain.c: Likewise.
27076 * misc/getdtsz.c: Likewise.
27077 * misc/gethostid.c: Likewise.
27078 * misc/gethostname.c: Likewise.
27079 * misc/getloadavg.c: Likewise.
27080 * misc/getpagesize.c: Likewise.
27081 * misc/getsysstats.c: Likewise.
27082 * misc/getxattr.c: Likewise.
27083 * misc/gtty.c: Likewise.
27084 * misc/ioctl.c: Likewise.
27085 * misc/lgetxattr.c: Likewise.
27086 * misc/listxattr.c: Likewise.
27087 * misc/llistxattr.c: Likewise.
27088 * misc/lremovexattr.c: Likewise.
27089 * misc/lsetxattr.c: Likewise.
27090 * misc/lutimes.c: Likewise.
27091 * misc/madvise.c: Likewise.
27092 * misc/mincore.c: Likewise.
27093 * misc/mlock.c: Likewise.
27094 * misc/mlockall.c: Likewise.
27095 * misc/mmap.c: Likewise.
27096 * misc/mprotect.c: Likewise.
27097 * misc/msync.c: Likewise.
27098 * misc/munlock.c: Likewise.
27099 * misc/munlockall.c: Likewise.
27100 * misc/munmap.c: Likewise.
27101 * misc/preadv.c: Likewise.
27102 * misc/preadv64.c: Likewise.
27103 * misc/ptrace.c: Likewise.
27104 * misc/pwritev.c: Likewise.
27105 * misc/pwritev64.c: Likewise.
27106 * misc/readv.c: Likewise.
27107 * misc/reboot.c: Likewise.
27108 * misc/remap_file_pages.c: Likewise.
27109 * misc/removexattr.c: Likewise.
27110 * misc/revoke.c: Likewise.
27111 * misc/select.c: Likewise.
27112 * misc/setdomain.c: Likewise.
27113 * misc/setegid.c: Likewise.
27114 * misc/seteuid.c: Likewise.
27115 * misc/sethostid.c: Likewise.
27116 * misc/sethostname.c: Likewise.
27117 * misc/setregid.c: Likewise.
27118 * misc/setreuid.c: Likewise.
27119 * misc/setxattr.c: Likewise.
27120 * misc/sstk.c: Likewise.
27121 * misc/stty.c: Likewise.
27122 * misc/swapoff.c: Likewise.
27123 * misc/swapon.c: Likewise.
27124 * misc/sync.c: Likewise.
27125 * misc/syncfs.c: Likewise.
27126 * misc/syscall.c: Likewise.
27127 * misc/truncate.c: Likewise.
27128 * misc/ualarm.c: Likewise.
27129 * misc/usleep.c: Likewise.
27130 * misc/ustat.c: Likewise.
27131 * misc/utimes.c: Likewise.
27132 * misc/vhangup.c: Likewise.
27133 * misc/writev.c: Likewise.
27134 * posix/_exit.c: Likewise.
27135 * posix/alarm.c: Likewise.
27136 * posix/execve.c: Likewise.
27137 * posix/fexecve.c: Likewise.
27138 * posix/fork.c: Likewise.
27139 * posix/fpathconf.c: Likewise.
27140 * posix/getaddrinfo.c: Likewise.
27141 * posix/getegid.c: Likewise.
27142 * posix/geteuid.c: Likewise.
27143 * posix/getgid.c: Likewise.
27144 * posix/getgroups.c: Likewise.
27145 * posix/getlogin.c: Likewise.
27146 * posix/getlogin_r.c: Likewise.
27147 * posix/getpgid.c: Likewise.
27148 * posix/getpid.c: Likewise.
27149 * posix/getppid.c: Likewise.
27150 * posix/getresgid.c: Likewise.
27151 * posix/getresuid.c: Likewise.
27152 * posix/getsid.c: Likewise.
27153 * posix/getuid.c: Likewise.
27154 * posix/glob64.c: Likewise.
27155 * posix/nanosleep.c: Likewise.
27156 * posix/pathconf.c: Likewise.
27157 * posix/pause.c: Likewise.
27158 * posix/posix_madvise.c: Likewise.
27159 * posix/pread.c: Likewise.
27160 * posix/pread64.c: Likewise.
27161 * posix/pwrite.c: Likewise.
27162 * posix/pwrite64.c: Likewise.
27163 * posix/sched_getaffinity.c: Likewise.
27164 * posix/sched_getp.c: Likewise.
27165 * posix/sched_gets.c: Likewise.
27166 * posix/sched_primax.c: Likewise.
27167 * posix/sched_primin.c: Likewise.
27168 * posix/sched_rr_gi.c: Likewise.
27169 * posix/sched_setaffinity.c: Likewise.
27170 * posix/sched_setp.c: Likewise.
27171 * posix/sched_sets.c: Likewise.
27172 * posix/sched_yield.c: Likewise.
27173 * posix/setgid.c: Likewise.
27174 * posix/setlogin.c: Likewise.
27175 * posix/setpgid.c: Likewise.
27176 * posix/setresgid.c: Likewise.
27177 * posix/setresuid.c: Likewise.
27178 * posix/setsid.c: Likewise.
27179 * posix/setuid.c: Likewise.
27180 * posix/sleep.c: Likewise.
27181 * posix/spawni.c: Likewise.
27182 * posix/sysconf.c: Likewise.
27183 * posix/times.c: Likewise.
27184 * posix/wait.c: Likewise.
27185 * posix/wait3.c: Likewise.
27186 * posix/wait4.c: Likewise.
27187 * posix/waitpid.c: Likewise.
27188 * resolv/gai_sigqueue.c: Likewise.
27189 * resource/getpriority.c: Likewise.
27190 * resource/getrlimit.c: Likewise.
27191 * resource/getrusage.c: Likewise.
27192 * resource/nice.c: Likewise.
27193 * resource/setpriority.c: Likewise.
27194 * resource/setrlimit.c: Likewise.
27195 * resource/ulimit.c: Likewise.
27196 * rt/aio_cancel.c: Likewise.
27197 * rt/aio_fsync.c: Likewise.
27198 * rt/aio_read.c: Likewise.
27199 * rt/aio_sigqueue.c: Likewise.
27200 * rt/aio_suspend.c: Likewise.
27201 * rt/aio_write.c: Likewise.
27202 * rt/clock_getres.c: Likewise.
27203 * rt/clock_gettime.c: Likewise.
27204 * rt/clock_nanosleep.c: Likewise.
27205 * rt/clock_settime.c: Likewise.
27206 * rt/lio_listio.c: Likewise.
27207 * rt/mq_close.c: Likewise.
27208 * rt/mq_getattr.c: Likewise.
27209 * rt/mq_notify.c: Likewise.
27210 * rt/mq_open.c: Likewise.
27211 * rt/mq_receive.c: Likewise.
27212 * rt/mq_send.c: Likewise.
27213 * rt/mq_setattr.c: Likewise.
27214 * rt/mq_timedreceive.c: Likewise.
27215 * rt/mq_timedsend.c: Likewise.
27216 * rt/mq_unlink.c: Likewise.
27217 * rt/shm_open.c: Likewise.
27218 * rt/shm_unlink.c: Likewise.
27219 * rt/timer_create.c: Likewise.
27220 * rt/timer_delete.c: Likewise.
27221 * rt/timer_getoverr.c: Likewise.
27222 * rt/timer_gettime.c: Likewise.
27223 * rt/timer_settime.c: Likewise.
27224 * setjmp/__longjmp.c: Likewise.
27225 * setjmp/setjmp.c: Likewise.
27226 * signal/kill.c: Likewise.
27227 * signal/killpg.c: Likewise.
27228 * signal/raise.c: Likewise.
27229 * signal/sigaction.c: Likewise.
27230 * signal/sigaltstack.c: Likewise.
27231 * signal/sigblock.c: Likewise.
27232 * signal/sigignore.c: Likewise.
27233 * signal/sigintr.c: Likewise.
27234 * signal/signal.c: Likewise.
27235 * signal/sigpause.c: Likewise.
27236 * signal/sigpending.c: Likewise.
27237 * signal/sigqueue.c: Likewise.
27238 * signal/sigreturn.c: Likewise.
27239 * signal/sigset.c: Likewise.
27240 * signal/sigsetmask.c: Likewise.
27241 * signal/sigstack.c: Likewise.
27242 * signal/sigsuspend.c: Likewise.
27243 * signal/sigtimedwait.c: Likewise.
27244 * signal/sigvec.c: Likewise.
27245 * signal/sigwait.c: Likewise.
27246 * signal/sigwaitinfo.c: Likewise.
27247 * signal/sysv_signal.c: Likewise.
27248 * socket/accept.c: Likewise.
27249 * socket/accept4.c: Likewise.
27250 * socket/bind.c: Likewise.
27251 * socket/connect.c: Likewise.
27252 * socket/getpeername.c: Likewise.
27253 * socket/getsockname.c: Likewise.
27254 * socket/getsockopt.c: Likewise.
27255 * socket/isfdtype.c: Likewise.
27256 * socket/listen.c: Likewise.
27257 * socket/recv.c: Likewise.
27258 * socket/recvfrom.c: Likewise.
27259 * socket/recvmsg.c: Likewise.
27260 * socket/send.c: Likewise.
27261 * socket/sendmsg.c: Likewise.
27262 * socket/sendto.c: Likewise.
27263 * socket/setsockopt.c: Likewise.
27264 * socket/shutdown.c: Likewise.
27265 * socket/sockatmark.c: Likewise.
27266 * socket/socket.c: Likewise.
27267 * socket/socketpair.c: Likewise.
27268 * stdio-common/ctermid.c: Likewise.
27269 * stdio-common/cuserid.c: Likewise.
27270 * stdio-common/remove.c: Likewise.
27271 * stdio-common/rename.c: Likewise.
27272 * stdio-common/renameat.c: Likewise.
27273 * stdio-common/tempname.c: Likewise.
27274 * stdlib/getcontext.c: Likewise.
27275 * stdlib/makecontext.c: Likewise.
27276 * stdlib/setcontext.c: Likewise.
27277 * stdlib/swapcontext.c: Likewise.
27278 * stdlib/system.c: Likewise.
27279 * streams/fattach.c: Likewise.
27280 * streams/fdetach.c: Likewise.
27281 * streams/getmsg.c: Likewise.
27282 * streams/getpmsg.c: Likewise.
27283 * streams/putmsg.c: Likewise.
27284 * streams/putpmsg.c: Likewise.
27285 * sysdeps/unix/bsd/getpt.c: Likewise.
27286 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27287 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27288 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27291 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27292 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27293 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27294 * sysvipc/msgctl.c: Likewise.
27295 * sysvipc/msgget.c: Likewise.
27296 * sysvipc/msgrcv.c: Likewise.
27297 * sysvipc/msgsnd.c: Likewise.
27298 * sysvipc/semctl.c: Likewise.
27299 * sysvipc/semget.c: Likewise.
27300 * sysvipc/semop.c: Likewise.
27301 * sysvipc/semtimedop.c: Likewise.
27302 * sysvipc/shmat.c: Likewise.
27303 * sysvipc/shmctl.c: Likewise.
27304 * sysvipc/shmdt.c: Likewise.
27305 * sysvipc/shmget.c: Likewise.
27306 * termios/tcdrain.c: Likewise.
27307 * termios/tcflow.c: Likewise.
27308 * termios/tcflush.c: Likewise.
27309 * termios/tcgetattr.c: Likewise.
27310 * termios/tcgetpgrp.c: Likewise.
27311 * termios/tcsendbrk.c: Likewise.
27312 * termios/tcsetattr.c: Likewise.
27313 * termios/tcsetpgrp.c: Likewise.
27314 * time/adjtime.c: Likewise.
27315 * time/clock.c: Likewise.
27316 * time/getitimer.c: Likewise.
27317 * time/gettimeofday.c: Likewise.
27318 * time/setitimer.c: Likewise.
27319 * time/settimeofday.c: Likewise.
27320 * time/stime.c: Likewise.
27321 * time/time.c: Likewise.
27323 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27325 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27328 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27330 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27332 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27336 FE_TONEAREST before applying Dekker multiplication and Knuth
27337 addition. Clear inexact exceptions and check for exact zero
27338 results afterwards.
27339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27342 * math/libm-test.inc (fma_test): Add more tests.
27343 (fma_test_towardzero): Likewise.
27344 (fma_test_downward): Likewise.
27345 (fma_test_upward): Likewise.
27346 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27348 (libc_fesetround): New macro.
27349 (libc_fesetroundf): Likewise.
27350 (libc_fesetroundl): Likewise.
27351 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27353 (libc_fesetround_387): Likewise.
27354 (libc_fesetroundf): New macro.
27355 (libc_fesetround): Likewise.
27356 (libc_fesetroundl): Likewise.
27357 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27359 (libc_fesetroundf): New macro.
27360 (libc_fesetround): Likewise.
27361 (libc_fesetroundl): Likewise.
27362 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27363 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27364 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27366 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27367 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27369 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27370 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27372 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27376 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27377 integer constant usable in #if and use that to give value to enum
27379 (FE_DIVBYZERO): Likewise.
27380 (FE_UNDERFLOW): Likewise.
27381 (FE_OVERFLOW): Likewise.
27382 (FE_INVALID): Likewise.
27383 (FE_INVALID_SNAN): Likewise.
27384 (FE_INVALID_ISI): Likewise.
27385 (FE_INVALID_IDI): Likewise.
27386 (FE_INVALID_ZDZ): Likewise.
27387 (FE_INVALID_IMZ): Likewise.
27388 (FE_INVALID_COMPARE): Likewise.
27389 (FE_INVALID_SOFTWARE): Likewise.
27390 (FE_INVALID_SQRT): Likewise.
27391 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27392 (FE_TONEAREST): Likewise.
27393 (FE_TOWARDZERO): Likewise.
27394 (FE_UPWARD): Likewise.
27395 (FE_DOWNWARD): Likewise.
27396 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27397 (FE_DIVBYZERO): Likewise.
27398 (FE_OVERFLOW): Likewise.
27399 (FE_UNDERFLOW): Likewise.
27400 (FE_INEXACT): Likewise.
27401 (FE_TONEAREST): Likewise.
27402 (FE_DOWNWARD): Likewise.
27403 (FE_UPWARD): Likewise.
27404 (FE_TOWARDZERO): Likewise.
27405 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27406 (FE_UNDERFLOW): Likewise.
27407 (FE_OVERFLOW): Likewise.
27408 (FE_DIVBYZERO): Likewise.
27409 (FE_INVALID): Likewise.
27410 (FE_TONEAREST): Likewise.
27411 (FE_TOWARDZERO): Likewise.
27412 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27413 (FE_OVERFLOW): Likewise.
27414 (FE_UNDERFLOW): Likewise.
27415 (FE_DIVBYZERO): Likewise.
27416 (FE_INEXACT): Likewise.
27417 (FE_TONEAREST): Likewise.
27418 (FE_TOWARDZERO): Likewise.
27419 (FE_UPWARD): Likewise.
27420 (FE_DOWNWARD): Likewise.
27421 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27422 (FE_DIVBYZERO): Likewise.
27423 (FE_OVERFLOW): Likewise.
27424 (FE_UNDERFLOW): Likewise.
27425 (FE_INEXACT): Likewise.
27426 (FE_TONEAREST): Likewise.
27427 (FE_DOWNWARD): Likewise.
27428 (FE_UPWARD): Likewise.
27429 (FE_TOWARDZERO): Likewise.
27431 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27433 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27435 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27437 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27438 commands. Quote $PWD.
27439 (blacklist_exports): Don't use remove_newlines. Replace "declare
27441 (remove_newlines): Remove.
27443 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27445 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27446 * stdlib/stdlib.h (atof): Moved to ...
27447 * include/bits/stdlib-float.h: Here. New file.
27448 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27449 * stdlib/bits/stdlib-float.h: New file.
27450 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27455 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27457 * conform/conformtest.pl (@headers): Add fenv.h.
27458 * conform/data/fenv.h-data: New file.
27459 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27460 include of <math/fenv.h>.
27462 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27463 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27464 && !UNIX98]. Enables tests for XOPEN2K8.
27465 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27466 POSIX2008]: Likewise.
27468 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27469 (struct rusage): Do not expect type or its members.
27472 * math/math.h (FP_NAN): Define macro to integer constant usable in
27473 #if and use that to give value to enum constant.
27474 (FP_INFINITE): Likewise.
27475 (FP_ZERO): Likewise.
27476 (FP_SUBNORMAL): Likewise.
27477 (FP_NORMAL): Likewise.
27479 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27481 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27482 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27485 2012-11-02 Roland McGrath <roland@hack.frob.com>
27487 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27488 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27489 autoconf-time if not.
27490 * configure.in: Remove AC_PREREQ.
27492 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27494 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27495 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27496 of the internal implementation.
27498 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27500 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27501 except include of <misc/sys/syslog.h>.
27503 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27506 function returns with a NULL context exit with zero.
27508 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27510 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27512 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27514 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27515 (run_program_cmd): This.
27516 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27517 (tst_langinfo): New variable. Use it.
27519 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27521 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27522 floating point opcodes.
27524 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27526 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27529 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27531 * sysdeps/mach/hurd/powerpc: Remove directory.
27532 * sysdeps/mach/powerpc: Likewise.
27534 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27536 * scripts/check-local-headers.sh: Ignore c++ headers.
27538 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27540 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27541 __libc_cleanup_region_start argument.
27543 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27548 x * y using scaling, not as x * y + z.
27549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27551 * math/libm-test.inc (fma_test): Add more tests.
27552 (fma_test_towardzero): Likewise.
27553 (fma_test_downward): Likewise.
27554 (fma_test_upward): Likewise.
27556 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27558 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27560 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27562 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27565 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27567 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27569 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27576 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27579 Fix the order of the list for glibc 2.17.
27580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27583 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27587 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27591 for low part of x being zero before using __atanl (y).
27592 * math/libm-test.inc (atan2_test): Add another test.
27594 * manual/install.texi (Configuring and compiling): Document
27595 general use of test-wrapper and test-wrapper-env.
27596 * INSTALL: Regenerated.
27598 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27599 (__fma): Do not extract and scale down low bits on after-rounding
27600 systems when result rounded to normal precision would have normal
27602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27603 (__fmal): Do not extract and scale down low bits on after-rounding
27604 systems when result rounded to normal precision would have normal
27606 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27607 (__fmal): Do not extract and scale down low bits on after-rounding
27608 systems when result rounded to normal precision would have normal
27610 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27612 (fma_test): Add more tests.
27613 (fma_test_towardzero): Likewise.
27614 (fma_test_downward): Likewise.
27615 (fma_test_upward): Likewise.
27617 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27619 * sysdeps/i386/tininess.h: Renamed to ...
27620 * sysdeps/x86/tininess.h: This.
27621 * sysdeps/x86_64/tininess.h: Removed.
27623 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27625 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27626 input. Use $(build-program-cmd).
27627 ($(objpfx)tst-array1-static.out): Likewise.
27628 ($(objpfx)tst-array2.out): Likewise.
27629 ($(objpfx)tst-array3.out): Likewise.
27630 ($(objpfx)tst-array4.out): Likewise.
27631 ($(objpfx)tst-array5.out): Likewise.
27632 ($(objpfx)tst-array5-static.out): Likewise.
27634 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27636 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27639 * nss/nsswitch.h (nss_interface_function): Provide new
27640 macro for use with NSS functions.
27641 * grp/initgroups.c: Use new macro.
27642 * nss/getXXbyYY.c: Likewise.
27643 * nss/getXXbyYY_r.c: Likewise.
27644 * nss/getXXent.c: Likewise.
27645 * nss/getXXent_r.c: Likewise.
27646 * sysdeps/posix/getaddrinfo.c: Likewise.
27648 2012-10-30 Andreas Jaeger <aj@suse.de>
27650 * po/ru.po: Update Russion translation from translation project.
27652 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27657 result and shift together with sticky bit instead of replicating
27658 round-to-nearest rounding.
27659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27661 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27662 missing underflow exceptions.
27663 (fma_test_towardzero): Add more tests.
27664 (fma_test_downward): Likewise.
27665 (fma_test_upward): Likewise.
27668 * sysdeps/generic/tininess.h: New file.
27669 * sysdeps/i386/tininess.h: Likewise.
27670 * sysdeps/sh/tininess.h: Likewise.
27671 * sysdeps/x86_64/tininess.h: Likewise.
27672 * stdlib/tst-strtod-underflow.c: Likewise.
27673 * stdlib/tst-tininess.c: Likewise.
27674 * stdlib/strtod_l.c: Include <tininess.h>.
27675 (round_and_return): Do not set errno for exact underflow cases.
27676 Force an underflow exception when setting errno for underflow.
27677 Determine underflow based on rounding to normal precision if
27678 TININESS_AFTER_ROUNDING.
27679 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27680 ERANGE for exact underflow cases.
27681 * stdlib/Makefile (tests): Add tst-tininess and
27682 tst-strtod-underflow.
27683 ($(objpfx)tst-tininess): Use $(link-libm).
27684 ($(objpfx)tst-strtod-underflow): Likewise.
27686 2012-10-30 Andreas Jaeger <aj@suse.de>
27689 * elf/Makefile (tests): Remove conditional for have-initfini-array
27690 since this is now always required and the variable does not exist
27692 (tests-static): Likewise.
27693 (modules-names): Likewise.
27695 * po/eo.po: Add Esperanto translation from translation project.
27697 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27698 merged with constructor/destructor.
27699 (init_array): Likewise.
27700 * elf/tst-array2dep.c (fini_array): Likewise.
27701 (init_array): Likewise.
27703 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27705 * manual/message.texi: Delete @cartouche tags.
27707 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27709 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27711 * sysdeps/mach/hurd/fsync.c: Likewise.
27713 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27714 [_POSIX_REALTIME_SIGNALS]: Change condition to
27715 [_POSIX_REALTIME_SIGNALS > 0].
27717 2012-10-27 Andreas Jaeger <aj@suse.de>
27719 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27720 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27722 [__WORDSIZE != 64]: Likewise.
27724 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27726 * iconvdata/tst-table.sh: Remove ${SHELL}.
27727 * iconvdata/tst-tables.sh: Likewise.
27729 2012-10-25 David S. Miller <davem@davemloft.net>
27731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27732 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27738 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27739 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27742 2012-10-25 Roland McGrath <roland@hack.frob.com>
27744 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27745 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27748 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27749 Jim Blandy <jimb@codesourcery.com>
27751 * scripts/cross-test-ssh.sh: New file.
27752 * manual/install.texi (Configuring and compiling): Document use of
27754 * INSTALL: Regenerated.
27756 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27758 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27761 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27763 * Makeconfig (run-program-prefix): Fix comment.
27765 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27766 Jim Blandy <jimb@codesourcery.com>
27768 * Makeconfig (test-wrapper): New variable,
27769 (test-wrapper-env): Likewise.
27770 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27771 (run-built-tests): Define to yes.
27772 (run-program-prefix): Use $(test-wrapper).
27773 (built-program-cmd): Likewise.
27774 * Rules (make-test-out): Use $(test-wrapper-env) and
27775 $(host-built-program-cmd).
27776 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27777 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27779 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27780 $(test-wrapper-env) to tst-rtld-load-self.sh.
27781 ($(objpfx)order2.out): Use $(test-wrapper).
27782 ($(objpfx)tst-initorder.out): Likewise.
27783 ($(objpfx)tst-initorder2.out): Likewise.
27784 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27785 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27786 (test_wrapper_env): New variable. Use it to run ld.so.
27787 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27788 Use it to run ld.so.
27789 (test_wrapper_env): Likewise.
27790 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27791 $(test-wrapper) to run-iconv-test.sh.
27792 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27793 (ICONV): Use $test_wrapper.
27794 * posix/Makefile ($(objpfx)globtest.out): Pass
27795 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27796 globtest.sh, not $(run-program-prefix).
27797 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27798 (test_wrapper): Likewise.
27799 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27800 set together with run_via_rtld_prefix.
27801 (run_program_prefix): Define in terms of test_wrapper and
27802 run_via_rtld_prefix.
27804 2012-10-24 Roland McGrath <roland@hack.frob.com>
27806 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27807 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27811 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27812 Declare __clock_getres, __clock_gettime, __clock_settime,
27813 __clock_nanosleep, and __clock_getcpuclockid.
27814 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27815 Remove librt_hidden_def (clock_gettime).
27816 * sysdeps/unix/clock_gettime.c: Likewise.
27817 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27819 * rt/clock_getres.c: Define __clock_getres as an alias.
27820 * sysdeps/posix/clock_getres.c: Likewise.
27821 * rt/clock_settime.c: Define __clock_settime as an alias.
27822 * sysdeps/unix/clock_settime.c: Likewise.
27823 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27824 * sysdeps/unix/clock_nanosleep.c: Likewise.
27825 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27826 * rt/clock-compat.c: New file.
27827 * rt/Makefile (librt-routines): Add clock-compat and move
27828 $(clock-routines) to ...
27829 (routines): ... here, new variable.
27830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27831 Don't add get_clockfreq here.
27832 * rt/Versions (libc: GLIBC_2.17): New version set.
27833 Add clock_* symbols here.
27834 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27836 (GLIBC_2.17): Add clock_* symbols.
27837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27848 * NEWS: Mention the move.
27850 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27851 Use __open, __read, __close rather than their public counterparts.
27852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27853 (__get_clockfreq_via_cpuinfo): Likewise.
27854 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27855 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27857 * config.h.in (HAVE_IFUNC): New #undef.
27858 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27860 * configure: Regenerated.
27862 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27864 * configure.in: Move READELF check to start of file.
27865 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27866 libc_cv_asm_gnu_indirect_function in the process.
27867 * configure: Regenerated.
27869 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27871 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27872 send the output to /dev/null.
27873 (libc_cv_cc_with_libunwind): Likewise.
27874 (libc_cv_as_noexecstack): Likewise.
27875 * configure: Regenerate.
27877 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27879 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27881 * posix/globtest.sh (TMPDIR): Do not set.
27882 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27883 (testout): Likewise.
27885 2012-10-24 Andreas Jaeger <aj@suse.de>
27887 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27888 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27889 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27890 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27891 posix_fadvise64, posix_fallocate64.
27893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27894 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27895 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27897 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27899 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27902 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27903 <bits/fcntl-linux.h>.
27904 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27907 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27908 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27909 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27910 [__WORDSIZE != 64]: Likewise.
27912 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27914 * Makeconfig (run-built-tests): New variable.
27915 * Rules [$(cross-compiling) = yes]: Change condition to
27916 [$(run-built-tests) = no].
27917 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27918 to [$(run-built-tests) = yes].
27919 * elf/Makefile [$(cross-compiling) = no]: Likewise
27920 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27921 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27922 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27923 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27924 * io/Makefile [$(cross-compiling) = no]: Likewise.
27925 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27926 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27927 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27928 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27929 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27930 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27931 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27932 * string/Makefile [$(cross-compiling) = no]: Likewise.
27934 * posix/Makefile ($(objpfx)globtest.out): Pass
27935 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27936 $(rtld-installed-name).
27937 * posix/globtest.sh (elf_objpfx): Remove variable.
27938 (rtld_installed_name): Likewise.
27939 (library_path): Likewise.
27940 (run_program_prefix): New variable. Use for running globtest
27943 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27944 Joseph Myers <joseph@codesourcery.com>
27946 * Makeconfig (host-built-program-cmd): New variable.
27947 * elf/Makefile (tst-stackguard1-ARGS): Use
27948 $(host-built-program-cmd).
27949 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27950 (tst-spawn-ARGS): Likewise.
27951 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27953 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27954 Jim Blandy <jimb@codesourcery.com>
27956 * Makeconfig (run-via-rtld-prefix): New variable.
27957 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27958 (built-program-cmd): Likewise.
27960 2012-10-22 Andreas Jaeger <aj@suse.de>
27962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27963 __O_RSYNC if it exists, otherwise to O_SYNC.
27965 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27966 Joseph Myers <joseph@codesourcery.com>
27968 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27970 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27972 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27975 2012-10-22 Andreas Jaeger <aj@suse.de>
27977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27982 bits/fcntl-linux.h.
27984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27985 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27992 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27993 Joseph Myers <joseph@codesourcery.com>
27995 * config.make.in (NM): New variable.
27997 2012-10-21 Andreas Jaeger <aj@suse.de>
27999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28000 definitions and declarations that are provided by
28001 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28003 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28006 * elf/Makefile (tests-static): Add tst-leaks1-static.
28007 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28008 ($(objpfx)tst-leaks1-static): New rule.
28009 ($(objpfx)tst-leaks1-static-mem): Likewise.
28010 (tst-leaks1-static-ENV): New macro.
28011 * elf/dl-open.c (dl_open_worker): Check the main application
28012 only if SHARED is defined.
28013 * elf/tst-leaks1-static.c: New file.
28015 2012-10-20 Andreas Jaeger <aj@suse.de>
28017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28018 generic values for Linux.
28019 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28020 and declarations that are provided by <bits/fcntl-linux.h> and
28021 include <bits/fcntl-linux.h>.
28022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28025 2012-10-20 Roland McGrath <roland@hack.frob.com>
28027 * io/fcntl.h: Move include of <bits/types.h> to the top and
28028 include it unconditionally.
28030 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28032 * wcsmbs/Makefile (tests-ifunc): New variable.
28033 (tests): Add $(tests-ifunc).
28034 * wcsmbs/test-wcschr-ifunc.c: New file.
28035 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28036 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28037 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28038 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28039 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28041 * string/Makefile (tests-ifunc): New variable.
28042 (tests): Add $(tests-ifunc).
28043 * string/test-memccpy.c (TEST_NAME): New macro.
28044 * string/test-memchr.c (TEST_NAME): Likewise.
28045 * string/test-memcmp.c (TEST_NAME): Likewise.
28046 * string/test-memcpy.c (TEST_NAME): Likewise.
28047 * string/test-memmem.c (TEST_NAME): Likewise.
28048 * string/test-memmove.c (TEST_NAME): Likewise.
28049 * string/test-memset.c (TEST_NAME): Likewise.
28050 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28051 * string/test-stpcpy.c (TEST_NAME): Likewise.
28052 * string/test-stpncpy.c (TEST_NAME): Likewise.
28053 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28054 * string/test-strcasestr.c (TEST_NAME): Likewise.
28055 * string/test-strcat.c (TEST_NAME): Likewise.
28056 * string/test-strchr.c (TEST_NAME): Likewise.
28057 * string/test-strcmp.c(TEST_NAME): Likewise.
28058 * string/test-strcpy.c (TEST_NAME): Likewise.
28059 * string/test-strcspn.c (TEST_NAME): Likewise.
28060 * string/test-strlen.c (TEST_NAME): Likewise.
28061 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28062 * string/test-strncmp.c (TEST_NAME): Likewise.
28063 * string/test-strncpy.c (TEST_NAME): Likewise.
28064 * string/test-strnlen.c (TEST_NAME): Likewise.
28065 * string/test-strpbrk.c (TEST_NAME): Likewise.
28066 * string/test-strrchr.c (TEST_NAME): Likewise.
28067 * string/test-strspn.c (TEST_NAME): Likewise.
28068 * string/test-strstr.c (TEST_NAME): Likewise.
28069 * string/test-bcopy-ifunc.c: New file.
28070 * string/test-bzero-ifunc.c: Likewise.
28071 * string/test-memccpy-ifunc.c: Likewise.
28072 * string/test-memchr-ifunc.c: Likewise.
28073 * string/test-memcmp-ifunc.c: Likewise.
28074 * string/test-memcpy-ifunc.c: Likewise.
28075 * string/test-memmem-ifunc.c: Likewise.
28076 * string/test-memmove-ifunc.c: Likewise.
28077 * string/test-mempcpy-ifunc.c: Likewise.
28078 * string/test-memset-ifunc.c: Likewise.
28079 * string/test-rawmemchr-ifunc.c: Likewise.
28080 * string/test-stpcpy-ifunc.c: Likewise.
28081 * string/test-stpncpy-ifunc.c: Likewise.
28082 * string/test-strcasecmp-ifunc.c: Likewise.
28083 * string/test-strcasestr-ifunc.c: Likewise.
28084 * string/test-strcat-ifunc.c: Likewise.
28085 * string/test-strchr-ifunc.c: Likewise.
28086 * string/test-strchrnul-ifunc.c: Likewise.
28087 * string/test-strcmp-ifunc.c: Likewise.
28088 * string/test-strcpy-ifunc.c: Likewise.
28089 * string/test-strcspn-ifunc.c: Likewise.
28090 * string/test-strlen-ifunc.c: Likewise.
28091 * string/test-strncasecmp-ifunc.c: Likewise.
28092 * string/test-strncat-ifunc.c: Likewise.
28093 * string/test-strncmp-ifunc.c: Likewise.
28094 * string/test-strncpy-ifunc.c: Likewise.
28095 * string/test-strnlen-ifunc.c: Likewise.
28096 * string/test-strpbrk-ifunc.c: Likewise.
28097 * string/test-strrchr-ifunc.c: Likewise.
28098 * string/test-strspn-ifunc.c: Likewise.
28099 * string/test-strstr-ifunc.c: Likewise.
28101 * debug/Makefile (tests-ifunc): New variable.
28102 (tests): Add $(tests-ifunc).
28103 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28104 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28105 * debug/test-stpcpy_chk-ifunc.c: New file.
28106 * debug/test-strcpy_chk-ifunc.c: Likewise.
28108 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28111 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28112 header is not read in.
28114 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28116 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28117 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28118 directly. Pass built executable to script as
28119 $(built-program-cmd).
28120 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28121 $testprogram without using LD_LIBRARY_PATH and $ldso.
28123 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28124 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28125 $(rtld-installed-name).
28126 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28127 (rtld_installed_name): Likewise.
28128 (library_path): Likewise.
28129 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28131 $(run-program-prefix) to tst-tables.sh.
28132 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28133 it to run tst-table-from and tst-table-to.
28134 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28135 Pass it to tst-table.sh.
28136 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28137 $(run-program-prefix) to tst-gettext.sh.
28138 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28140 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28142 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28143 to run tst-gettext.
28144 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28145 to run tst-gettext2.
28146 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28147 to run tst-translit.
28148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28149 $(run-program-prefix) to tst-mtrace.sh.
28150 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28152 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28153 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28154 $(rtld-installed-name).
28155 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28156 (rtld_installed_name): Likewise.
28157 (run_program_prefix): New variable. Use it to run wordexp-test.
28159 * Makeconfig (ARCH): Remove all definitions.
28160 (machine): Likewise.
28161 [ARCH]: Remove conditional code.
28162 [!objdir]: Give error.
28163 [!objdir] (objpfx): Remove.
28164 [!objdir] (common-objpfx): Likewise.
28165 [!objdir] (common-objdir): Likewise.
28166 * configure.in (config_makefile): Remove. Hardcode Makefile in
28167 AC_CONFIG_FILES call.
28168 * configure: Regenerated.
28171 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28173 (testout): Likewise.
28175 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28176 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28177 $(rtld-installed-name).
28178 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28179 (rtld_installed_name): Likwise.
28180 (runit): Remove function.
28181 (run_getconf): New variable, Use it for running getconf binary.
28183 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28186 * string/test-memmem.c (check_result): New function.
28187 (do_one_test): Use it.
28188 (check1): New function.
28189 (test_main): Use it.
28191 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28193 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28195 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28197 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28198 (_G_LSEEK64): Likewise.
28199 (_G_MMAP64): Likewise.
28200 (_G_FSTAT64): Likewise.
28201 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28202 (_G_LSEEK64): Likewise.
28203 (_G_MMAP64): Likewise.
28204 (_G_FSTAT64): Likewise.
28205 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28206 unconditional. Call __mmap64 directly.
28207 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28208 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28209 __lseek64 directly.
28210 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28211 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28213 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28214 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28215 __lseek64 directly.
28216 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28217 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28218 __lseek64 directly.
28219 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28220 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28221 __lseek64 directly.
28222 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28223 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28224 __fxstat64 directly.
28225 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28226 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28228 (freopen64) [!_G_OPEN64]: Remove conditional code.
28229 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28231 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28232 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28234 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28235 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28237 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28238 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28240 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28241 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28243 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28244 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28246 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28247 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28249 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28251 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28254 * manual/memory.texi (Malloc Tunable Parameters): Add note
28255 about free list pointers overwriting some perturb bytes.
28256 Wording suggested by Roland McGrath.
28258 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28260 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28261 (lgamma_test): Likewise.
28262 (tgamma_test): Likewise.
28264 2012-10-16 Florian Weimer <fweimer@redhat.com>
28267 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28268 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28270 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28272 * NEWS: Mention BZ #14716.
28273 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28274 when removing AVAILABLE1_USES_J macro.
28276 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28278 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28279 (__bswap_64): __uint64_t for unsigned 64-bit int.
28281 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28283 * include/string.h (memmem): Declare libc hidden alias.
28284 * string/memmem.c (memmem): Define libc hidden alias.
28285 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28286 __read, __close instead of open, read, close.
28288 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28291 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28293 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28294 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28295 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28297 (__rawmemchr_sse2): Likewise.
28298 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28299 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28300 (__strchr_sse2): Likewise.
28301 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28302 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28303 (__strcasecmp_sse2): Likewise.
28304 (__strncasecmp_sse2): Likewise.
28305 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28306 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28307 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28308 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28309 (__strrchr_sse2): Likewise.
28310 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28312 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28313 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28314 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28316 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28317 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28318 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28319 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28320 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28321 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28322 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28324 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28325 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28326 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28327 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28328 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28329 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28330 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28331 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28332 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28333 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28334 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28335 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28336 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28337 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28338 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28340 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28341 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28343 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28345 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28346 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28347 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28348 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28350 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28352 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28353 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28354 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28355 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28360 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28361 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28375 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28377 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28391 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28392 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28393 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28394 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28395 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28396 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28397 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28399 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28400 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28401 * include/ifunc-impl-list.h: New file.
28402 * misc/ifunc-impl-list.c: Likewise.
28403 * misc/Makefile (routines): Add ifunc-impl-list.
28404 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28405 * string/test-string.h: Include <ifunc-impl-list.h>.
28406 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28407 TEST_NAME]: New variables.
28408 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28410 (test_init): Call __libc_ifunc_impl_list to initialize
28411 func_list if TEST_IFUNC and TEST_NAME are defined.
28413 * string/Makefile (strop-tests): Add bcopy and bzero.
28414 * string/test-bcopy.c: New file.
28415 * string/test-bzero.c: Likewise.
28416 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28418 * string/test-memset.c: Support bzero test if TEST_BZERO is
28420 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28422 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28424 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28427 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28429 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28430 * configure: Regenerated.
28432 * Makeconfig (+link-static-before-libc): Don't include
28433 $(link-static-libc).
28435 * libio/libio.h (_IO_pos_t): Remove.
28437 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28439 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28442 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28444 * crypt/crypt-entry.c: Include fips-private.h.
28445 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28446 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28447 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28448 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28450 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28452 * crypt/crypt-private.h: Include stdbool.h.
28453 (_ufc_setup_salt_r): Return bool.
28454 * crypt/crypt-entry.c: Include errno.h.
28455 (__crypt_r): Return NULL with EINVAL for bad salt.
28456 * crypt/crypt_util.c (bad_for_salt): New.
28457 (_ufc_setup_salt_r): Check that salt is long enough and within
28458 the specified alphabet.
28459 * crypt/badsalttest.c: New file.
28460 * crypt/Makefile (tests): Add it.
28461 ($(objpfx)badsalttest): New.
28463 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28465 * NEWS: Add entry for BZ #14602.
28467 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28469 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28471 * math/libm-test.inc: Update comment listing what functions and
28473 (isgreater_test): New function.
28474 (isgreaterequal_test): Likewise.
28475 (isless_test): Likewise.
28476 (islessequal_test): Likewise.
28477 (islessgreater_test): Likewise.
28478 (isunordered_test): Likewise.
28479 (main): Call the new functions.
28481 2012-10-09 Roland McGrath <roland@hack.frob.com>
28483 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28484 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28485 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28486 * sysdeps/i386/configure: Regenerated.
28487 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28488 * sysdeps/mach/configure: Regenerated.
28489 * sysdeps/mach/hurd/configure: Regenerated.
28490 * sysdeps/powerpc/configure: Regenerated.
28491 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28492 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28493 * sysdeps/s390/s390-32/configure: Regenerated.
28494 * sysdeps/s390/s390-64/configure: Regenerated.
28495 * sysdeps/sh/configure: Regenerated.
28496 * sysdeps/sparc/configure: Regenerated.
28497 * sysdeps/unix/sysv/linux/configure: Regenerated.
28498 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28499 * sysdeps/x86_64/configure: Regenerated.
28501 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28502 defined. Don't check if MAP is NULL.
28504 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28506 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28507 (_G_stat64): Likewise.
28508 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28509 (_G_stat64): Likewise.
28510 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28511 instead of struct _G_stat64.
28512 * libio/fileops.c (mmap_remap_check): Likewise.
28513 (decide_maybe_mmap): Likewise.
28514 (_IO_new_file_seekoff): Likewise.
28515 (_IO_file_stat): Likewise.
28516 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28518 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28519 instead of struct _G_stat64.
28520 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28522 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28525 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28527 (CHECK_EOL): New macro.
28528 (two_way_short_needle): Check beginning of haystack for EOL. Use
28530 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28531 Replace with CHECK_EOL.
28532 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28533 Replace with CHECK_EOL.
28535 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28537 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28539 * math/libm-test.inc: Update comment listing what functions and
28541 (finite_test): New function.
28542 (isinf_test): Likewise.
28543 (isnan_test): Likewise.
28544 (fpclassify_test): Test subnormal input.
28545 (isfinite_test): Likewise.
28546 (isnormal_test): Likewise.
28547 (main): Call the new functions.
28549 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28552 * Makerules (%.dynsym): Force C locale when running
28553 $(OBJDUMP) --dynamic-syms.
28555 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28557 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28560 2012-10-06 David S. Miller <davem@davemloft.net>
28562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28563 upper 32-bits of the length value in %o2 since we use branch-on-register
28564 tests which consider the entire 64-bit register.
28566 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28568 * string/test-strstr.c (check2): Add a test for page boundary.
28570 2012-10-05 David S. Miller <davem@davemloft.net>
28572 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28573 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28575 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28578 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28579 and bzero when HWCAP_SPARC_CRYPTO is present.
28581 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28584 * string/test-strstr.c (check2): New function.
28585 (test_main): Call check2.
28587 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28589 * string/bug-strcasestr1.c (do_test): Moved to ...
28590 * string/test-strcasestr.c (check1): Here. New function.
28591 (do_one_test): Break out result checking code into ...
28592 (check_result): This. New function.
28593 (do_one_test): Call check_result.
28594 (test_main): Call check1.
28595 * string/bug-strchr1.c (do_test): Moved to ...
28596 * string/test-strchr.c (check1): Here. New function.
28597 (do_one_test): Break out result checking code into ...
28598 (check_result): This. New function.
28599 (do_one_test): Call check_result.
28600 (test_main): Call check1.
28601 * string/bug-strstr1.c (main): Moved to ...
28602 * string/test-strstr.c (check1): Here. New function.
28603 (do_one_test): Break out result checking code into ...
28604 (check_result): This. New function.
28605 (do_one_test): Call check_result.
28606 (test_main): Call check1.
28607 * string/bug-strcasestr1.c: Removed.
28608 * string/bug-strchr1.c: Likewise.
28609 * string/bug-strstr1.c: Likewise.
28611 * elf/Makefile (dl-routines): Add hwcaps.
28612 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28613 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28614 (_dl_important_hwcaps): Moved to ...
28615 * elf/dl-hwcaps.c: Here. New file.
28616 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28619 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28620 if IS_IN_rtld isn't defined.
28622 * elf/dl-support.c (_dl_sysinfo_map): New.
28623 Include "get-dynamic-info.h" and "setup-vdso.h".
28624 (_dl_non_dynamic_init): Call setup_vdso.
28625 * elf/dynamic-link.h: Don't include <assert.h>.
28626 (elf_get_dynamic_info): Moved to ...
28627 * elf/get-dynamic-info.h: Here. New file.
28628 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28629 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28630 * elf/setup-vdso.h: Here. New file.
28631 * elf/rtld.c: Include "setup-vdso.h".
28632 (dl_main): Call setup_vdso.
28634 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28636 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28637 creal in comment listing functions tested. List finite, isinf,
28638 isnan, isless, islessequal, isgreater, isgreaterequal,
28639 islessgreater, isunordered, lgamma_r and pow10 as functions and
28640 macros not tested. Mention which functions not tested are aliases
28641 for other functions. Fix typo. Note that signs of NaNs are not
28644 * scripts/config.guess: Update from config.git.
28645 * scripts/config.sub: Likewise.
28647 2012-10-04 Roland McGrath <roland@hack.frob.com>
28649 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28650 * misc/madvise.c (madvise): Renamed to __madvise.
28651 Make madvise a weak alias.
28652 * include/sys/mman.h: Declare __madvise.
28653 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28654 * sysdeps/unix/syscalls.list
28655 (madvise): Make __madvise the strong name, and madvise a weak alias.
28656 * sysdeps/unix/sysv/linux/syscalls.list
28657 (madvise, mmap): Remove redundant entries.
28658 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28659 * malloc/malloc.c (mtrim): Likewise.
28660 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28662 2012-10-03 Roland McGrath <roland@hack.frob.com>
28664 * sysdeps/mach/hurd/dl-cache.c: File removed.
28665 * config.h.in (USE_LDCONFIG): New #undef.
28666 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28667 * configure: Regenerated.
28668 * elf/Makefile (dl-routines): Add dl-cache only under
28669 [$(use-ldconfig) = yes].
28670 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28671 cache on [USE_LDCONFIG].
28672 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28674 * elf/rtld.c (dl_main): Likewise.
28676 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28678 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28679 _SC_LEVEL4_CACHE_LINESIZE.
28681 2012-10-03 Roland McGrath <roland@hack.frob.com>
28683 * sysdeps/unix/bsd/confstr.h: File removed.
28685 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28687 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28690 2012-10-02 Roland McGrath <roland@hack.frob.com>
28692 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28693 Make 'mapoff' field ElfW(Off) rather than off_t.
28695 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28697 * nscd/Makefile: Remove nscd-cflags and all its users.
28698 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28699 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28702 * malloc.c (malloc_printerr): Clarify error message.
28704 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28708 Set bit_FMA_Usable if FMA is supported.
28709 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28711 (bit_FMA4_Usable): Updated.
28712 (index_FMA_Usable): New macro.
28713 (CPUID_FMA): Likewise
28714 (HAS_FMA): Defined with bit_FMA_Usable.
28716 2012-10-01 Roland McGrath <roland@hack.frob.com>
28718 * bits/types.h (__swblk_t): Type removed.
28719 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28720 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28722 (__SWBLK_T_TYPE): Likewise.
28723 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28724 (__SWBLK_T_TYPE): Likewise.
28725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28726 (__SWBLK_T_TYPE): Likewise.
28727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28728 (__SWBLK_T_TYPE): Likewise.
28730 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28731 Honza Horak <hhorak@redhat.com>
28733 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28734 (xdr_mapname): Use YPMAXMAP as maxsize.
28735 (xdr_peername): Use YPMAXPEER as maxsize.
28736 (xdr_keydat): Use YPAXRECORD as maxsize.
28737 (xdr_valdat): Use YPMAXRECORD as maxsize.
28739 2012-10-01 Roland McGrath <roland@hack.frob.com>
28741 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28743 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28744 * csu/init-first.c: ... here.
28745 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28746 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28749 * sysdeps/i386/init-first.c: File removed.
28750 * sysdeps/sh/init-first.c: File removed.
28752 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28756 if x * y might underflow to zero and z is zero.
28757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28759 * math/libm-test.inc (min_subnorm_value): New variable.
28760 (fma_test): Add more tests.
28761 (fma_test_towardzero): Likewise.
28762 (fma_test_downward): Likewise
28763 (fma_test_upward): Likewise.
28764 (initialize): Set min_subnorm_value.
28766 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28771 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28772 mode for addition resulting in exact zero.
28773 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28776 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28778 * math/libm-test.inc (fma_test): Add more tests.
28779 (fma_test_towardzero): New function.
28780 (fma_test_downward): Likewise.
28781 (fma_test_upward): Likewise.
28782 (main): Call the new functions.
28784 2012-09-28 David S. Miller <davem@davemloft.net>
28786 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28788 2012-09-28 Roland McGrath <roland@hack.frob.com>
28790 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28791 instead of SIGALRM.
28793 * sysdeps/gnu/_G_config.h: Moved to ...
28794 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28795 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28796 * sysdeps/generic/_G_config.h: ... here.
28798 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28800 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28802 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28803 Conditionalize target on [libnss_test1.so-version].
28805 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28807 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28808 (elfobjdir): Move out of conditionals.
28810 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28811 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28812 (__nss_lookup_function): Conditionalize label remove_from_tree on
28813 [!DO_STATIC_NSS || SHARED], matching its only use.
28815 2012-09-28 David S. Miller <davem@davemloft.net>
28817 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28820 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28822 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28824 when HWCAP_SPARC_CRYPTO is present.
28826 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28828 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28830 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28833 * stdio-common/vfprintf.c (process_string_arg): Revert
28836 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28838 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28840 * stdio-common/tst-sprintf.c: Include <locale.h>
28841 (main): Test sprintf's handling of incomplete multibyte
28844 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28846 * elf/dl-runtime.c (VERSYMIDX): Removed.
28847 * elf/dl-version.c (VERSYMIDX): Likewise.
28848 * elf/do-rel.h (VERSYMIDX): Likewise.
28849 (VALIDX): Likewise.
28850 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28851 * elf/rtld.c (VALIDX): Likewise.
28852 (ADDRIDX): Likewise.
28853 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28854 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28855 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28856 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28857 (VALIDX): Likewise.
28858 (ADDRIDX): Likewise.
28860 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28862 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28864 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28867 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28869 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28870 addresses are in the same scope as 192.0.2/24.
28871 * posix/gai.conf: Document new scope table defaults.
28873 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28876 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28877 for ftell. Compute offsets from write pointers instead.
28878 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28880 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28883 * libio/Makefile (tests): New test case tst-fseek.
28884 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28885 combination works in wide mode.
28886 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28887 state when the external buffer state changes.
28889 2012-09-27 David S. Miller <davem@davemloft.net>
28892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28893 pass reloc->r_addend in as the 'high' argument to
28894 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28898 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28900 * rt/tst-aio2.c: Include <pthread.h>.
28901 * rt/tst-aio3.c: Likewise.
28903 2012-09-27 Steve Ellcey <sellcey@mips.com>
28905 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28907 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28909 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28910 contents on [SHARED].
28912 2012-09-26 Marek Polacek <polacek@redhat.com>
28916 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28917 for C++ and GCC <4.3 as well as for non GCC compilers.
28919 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28923 2012-09-25 Roland McGrath <roland@hack.frob.com>
28925 * Makefile.in (all, install): Declare with .PHONY.
28926 Reported by Michael Hope <michael.hope@linaro.org>.
28928 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28930 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28931 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28933 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28935 (sydep_routines): Add the new and the internal functions.
28936 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28937 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28939 (GLIBC_2.17): Add the new function.
28940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28941 (GLIBC_2.17): Likewise.
28942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28943 (GLIBC_2.17): Likewise.
28944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28945 (GLIBC_2.17): Likewise.
28946 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28948 2012-09-25 Alan Modra <amodra@gmail.com>
28950 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28951 Add release barrier before setting once_control to say
28952 initialisation is done. Add hints on lwarx. Use macro in
28954 (clear_once_control): Add release barrier.
28956 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28959 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28961 * math/s_clog10.c (__clog10): Likewise.
28962 * math/s_clog10f.c (__clog10f): Likewise.
28963 * math/s_clog10l.c (__clog10l): Likewise.
28964 * math/s_clogf.c (__clogf): Likewise.
28965 * math/s_clogl.c (__clogl): Likewise.
28966 * math/Makefile (libm-calls): Add x2y2m1.
28967 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28968 (__x2y2m1): Likewise.
28969 (__x2y2m1l): Likewise.
28970 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28971 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28974 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28975 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28976 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28977 * sysdeps/i386/fpu/libm-test-ulps: Update.
28978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28981 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28982 int as type of variable DEPTH.
28983 (glob): Use size_t instead of int as type of variables NEWCOUNT
28986 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28988 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28989 Add s_sincosf-sse2.
28990 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28991 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28992 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28993 macros for using routine as __sincosf_ia32.
28994 Use macro for function declaration and weak_alias.
28995 * sysdeps/i386/fpu/libm-test-ulps: Update.
28997 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29000 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29001 subnormal argument.
29002 * math/s_cexpf.c (__cexpf): Likewise.
29003 * math/s_csinf.c (__csinf): Likewise.
29004 * math/s_csinhf.c (__csinhf): Likewise.
29005 * math/s_ctanf.c (__ctanf): Likewise.
29006 * math/s_ctanhf.c (__ctanhf): Likewise.
29007 * math/s_ccosh.c (__ccoshf): Likewise.
29008 * math/s_cexp.c (__cexpl): Likewise.
29009 * math/s_csin.c (__csin): Likewise.
29010 * math/s_csinh.c (__csinh): Likewise.
29011 * math/s_ctan.c (__ctan): Likewise.
29012 * math/s_ctanh.c (ctanh): Likewise.
29013 * math/s_ccoshl.c (__ccoshl): Likewise.
29014 * math/s_cexpl.c (__cexpl): Likewise.
29015 * math/s_csinl.c (__csinl): Likewise.
29016 * math/s_csinhl.c (__csinhl): Likewise.
29017 * math/s_ctanl.c (__ctanl): Likewise.
29018 * math/s_ctanhl.c (__ctanhl): Likewise.
29020 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29022 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29023 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29024 (_IO_off_t): Define to __off_t, not _G_off_t.
29025 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29026 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29027 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29028 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29029 type of __dummy and __dummy2 fields.
29030 * sysdeps/generic/_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.
29037 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29038 (_G_ssize_t): Likewise.
29039 (_G_off_t): Likewise.
29040 (_G_pid_t): Likewise.
29041 (_G_uid_t): Likewise.
29042 (_G_wchar_t): Likewise.
29043 (_G_wint_t): Likewise.
29044 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29045 (_G_ssize_t): Likewise.
29046 (_G_off_t): Likewise.
29047 (_G_pid_t): Likewise.
29048 (_G_uid_t): Likewise.
29049 (_G_wchar_t): Likewise.
29050 (_G_wint_t): Likewise.
29052 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29054 * malloc/arena.c: Include malloc-sysdep.h.
29055 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29056 is sufficient to shrink the heap or an unmap is needed.
29057 * sysdeps/generic/malloc-sysdep.h: New file. Define
29058 new function check_may_shrink_heap.
29059 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29060 new function check_may_shrink_heap.
29062 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29064 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29067 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29069 * catgets/test-gencat.sh: Add "set -e".
29070 * elf/tst-pathopt.sh: Likewise.
29071 * grp/tst_fgetgrent.sh: Likewise.
29072 * iconvdata/run-iconv-test.sh: Likewise.
29073 * intl/tst-gettext.sh: Likewise.
29074 * intl/tst-gettext2.sh: Likewise.
29075 * intl/tst-gettext4.sh: Likewise.
29076 * intl/tst-gettext6.sh: Likewise.
29077 * intl/tst-translit.sh: Likewise.
29078 * io/ftwtest-sh: Likewise.
29079 * libio/test-freopen.sh: Likewise.
29080 * malloc/tst-mtrace.sh: Likewise.
29081 * posix/globtest.sh: Likewise.
29082 * posix/tst-getconf.sh: Likewise.
29083 * posix/wordexp-tst.sh: Likewise.
29084 * stdio-common/tst-printf.sh: Likewise.
29085 * stdio-common/tst-unbputc.sh: Likewise.
29086 * stdlib/tst-fmtmsg.sh: Likewise.
29087 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29088 * catgets/Makefile: Do not specify -e option when running
29089 testsuite shell scripts.
29090 * elf/Makefile: Likewise.
29091 * grp/Makefile: Likewise.
29092 * iconvdata/Makefile: Likewise.
29093 * intl/Makefile: Likewise.
29094 * io/Makefile: Likewise.
29095 * libio/Makefile: Likewise.
29096 * malloc/Makefile: Likewise.
29097 * posix/Makefile: Likewise.
29098 * stdio-common/Makefile: Likewise.
29099 * stdlib/Makefile: Likewise.
29100 * sysdeps/x86_64/Makefile: Likewise.
29102 * io/ftwtest-sh: Add copyright header.
29103 * posix/globtest.sh: Likewise.
29104 * posix/tst-getconf.sh: Likewise.
29105 * posix/wordexp-tst.sh: Likewise.
29106 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29108 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29111 * Makeconfig (+link): Defined as $(+link-static) if
29112 $(build-shared) isn't yes.
29113 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29115 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29117 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29120 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29121 new chunk size with MALLOC_ALIGN_MASK.
29123 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29126 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29128 (__printf_fphex): Determine rounding using get_rounding_mode and
29130 * stdio-common/tst-printf-round.c (struct hex_test): New
29132 (hex_tests): New variable.
29133 (test_hex_in_one_mode): New function.
29134 (do_test): Also run tests for hex float output.
29136 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29138 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29139 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29140 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29141 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29142 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29143 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29144 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29145 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29147 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29149 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29150 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29151 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29152 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29154 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29157 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29159 * elf/tst-rtld-load-self.sh: New test.
29160 * elf/Makefile: Run it.
29162 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29164 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29165 (tst-writev-ENV): Remove.
29166 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29168 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29170 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29172 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29174 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29176 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29178 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29179 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29180 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29183 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29186 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29187 * config.make.in (have-cpp-asm-debuginfo): Removed.
29188 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29189 * configure: Regenerated.
29191 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29194 * stdio-common/printf_fp.c: Include <stdbool.h> and
29196 (___printf_fp): Determine rounding using get_rounding_mode and
29198 * stdio-common/tst-printf-round.c: New file.
29199 * stdio-common/Makefile (tests): Add tst-printf-round.
29200 (link-libm): New variable.
29201 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29203 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29206 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29207 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29209 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29212 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29214 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29215 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29216 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29217 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29219 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29222 * include/rounding-mode.h: New file.
29223 * sysdeps/generic/get-rounding-mode.h: Likewise.
29224 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29225 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29226 (MAX_VALUE): New macro.
29227 (MIN_VALUE): Likewise.
29228 (overflow_value): New function.
29229 (underflow_value): Likewise.
29230 (round_and_return): Use overflow_value and underflow_value to
29231 determine return values in overflow and underflow cases. Use
29232 round_away to determine rounding depending on rounding mode.
29233 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29234 determine return values in overflow and underflow cases.
29235 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29236 (struct test_results): New structure.
29237 (struct test): Use struct test_results to store expected results
29238 for all rounding modes.
29239 (TEST): Include expected results for all rounding modes.
29240 (test_in_one_mode): New function.
29241 (do_test): Use test_in_one_mode to compute and check results.
29242 Check results for all rounding modes.
29243 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29246 2012-12-09 Allan McRae <allan@archlinux.org>
29248 * sysdeps/i386/fpu/libm-test-ulps: Update
29250 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29252 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29253 (_G_int32_t): Likewise.
29254 (_G_uint16_t): Likewise.
29255 (_G_uint32_t): Likewise.
29256 (_G_HAVE_BOOL): Likewise.
29257 (_G_HAVE_ATEXIT): Likewise.
29258 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29259 (_G_HAVE_IO_FILE_OPEN): Likewise.
29260 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29261 (_G_int32_t): Likewise.
29262 (_G_uint16_t): Likewise.
29263 (_G_uint32_t): Likewise.
29264 (_G_HAVE_BOOL): Likewise.
29265 (_G_HAVE_ATEXIT): Likewise.
29266 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29267 (_G_HAVE_IO_FILE_OPEN): Likewise.
29268 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29269 (_G_int32_t): Likewise.
29270 (_G_uint16_t): Likewise.
29271 (_G_uint32_t): Likewise.
29272 (_G_HAVE_BOOL): Likewise.
29273 (_G_HAVE_ATEXIT): Likewise.
29274 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29275 (_G_HAVE_IO_FILE_OPEN): Likewise.
29277 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29279 * csu/libc-tls.c: Update copyright years.
29281 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29283 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29284 [!_G_USING_THUNKS]: Remove conditional code.
29285 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29286 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29288 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29289 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29290 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29291 (_G_VTABLE_LABEL_PREFIX): Likewise.
29292 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29293 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29294 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29295 (_G_VTABLE_LABEL_PREFIX): Likewise.
29296 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29297 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29298 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29299 (_G_VTABLE_LABEL_PREFIX): Likewise.
29300 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29302 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29304 * libio/Makefile: Include ../Makeconfig before tests.
29305 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29306 only if $(build-shared) is yes.
29308 * iconv/gconv_db.c: Update copyright years.
29310 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29312 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29313 unwind info if defined PIC. Fix special cases description.
29314 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29316 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29318 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29320 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29322 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29324 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29327 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29328 (LDLIBS-tst-chk4): This.
29329 (LDFLAGS-tst-chk5): Renamed to ...
29330 (LDLIBS-tst-chk5): This.
29331 (LDFLAGS-tst-chk6): Renamed to ...
29332 (LDLIBS-tst-chk6): This.
29333 (LDFLAGS-tst-lfschk4): Renamed to ...
29334 (LDLIBS-tst-lfschk4): This.
29335 (LDFLAGS-tst-lfschk5): Renamed to ...
29336 (LDLIBS-tst-lfschk5): This.
29337 (LDFLAGS-tst-lfschk6): Renamed to ...
29338 (LDLIBS-tst-lfschk6): This.
29340 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29341 on $(common-objpfx)soversions.mk.
29343 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29346 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29349 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29351 * malloc/arena.c (arena_get_retry): New function that gets
29352 another arena for the caller to try its request on.
29353 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29354 current arena cannot fulfill the request.
29355 (__libc_memalign): Likewise.
29356 (__libc_memalign): Likewise.
29357 (__libc_pvalloc): Likewise.
29358 (__libc_calloc): Likewise.
29360 2012-09-05 John Tobey <john.tobey@gmail.com>
29363 * manual/arith.texi (Operations on Complex): Fix description
29364 of carg branch cut.
29366 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29369 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29373 * manual/memory.texi (Memory): Make order of menu items match
29376 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29378 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29379 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29380 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29382 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29384 * csu/libc-tls.c (static_dtv): Renamed to ...
29385 (_dl_static_dtv): This. Make it global.
29386 (_dl_initial_dtv): Removed.
29387 (__libc_setup_tls): Updated.
29388 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29389 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29392 2012-09-06 Petr Machata <pmachata@redhat.com>
29394 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29395 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29396 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29397 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29402 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29403 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29406 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29409 * Makeconfig (link-static-before-libc): Replace $(+prector)
29411 (link-static-after-libc): Replace $(+postctor) with
29413 (link-bounded): Replace $(+prector)/$(+postctor) with
29414 $(+prectorT)/$(+postctorT).
29415 (+prectorT): New macro.
29416 (+postctorT): Likewise.
29418 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29420 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29421 (round_str): Handle values above the maximum for IBM long double
29423 * stdlib/tst-strtod-round.c (tests): Regenerated.
29425 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29427 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29429 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29430 zarch_nohighgprs around the zarch optimized routines.
29431 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29432 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29433 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29436 2012-09-05 David S. Miller <davem@davemloft.net>
29438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29440 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29441 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29442 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29443 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29446 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29448 * malloc/arena.c: Fold copyright years.
29449 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29451 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29453 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29455 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29457 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29459 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29461 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29462 change internal state upon failure.
29464 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29466 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29467 * malloc/memusage.c (mmap): Likewise.
29468 (mmap64, mremap): Likewise. Adjust name in comment.
29470 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29472 * libio/fileops.c: Fix typos in comments.
29473 * libio/oldfileops.c: Likewise.
29474 * libio/wfileops.c: Likewise.
29476 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29479 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29480 (tst-malloc-usable-ENV): Set environment for test case.
29481 * malloc/hooks.c (malloc_check_get_size): New function to get
29483 * malloc/malloc.c (musable): Use malloc_check_get_size.
29484 * malloc/tst-malloc-usable.c: New test case.
29486 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29488 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29490 2012-09-05 Allan McRae <allan@archlinux.org>
29493 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29494 determine header location.
29495 * configure: Regenerated.
29497 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29499 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29501 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29502 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29504 (test): Regenerate.
29506 2012-09-04 David S. Miller <davem@davemloft.net>
29508 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29509 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29510 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29512 2012-09-04 Florian Weimer <fweimer@redhat.com>
29514 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29517 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29519 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29522 * libio/iogetdelim.c: Include <limits.h>.
29523 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29524 + len + 1 would overflow.
29526 2012-09-03 Andreas Jaeger <aj@suse.de>
29528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29529 * sysdeps/i386/fpu/libm-test-ulps: Update.
29531 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29533 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29534 Add s_sinf-sse2, s_conf-sse2.
29536 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29537 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29538 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29539 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29541 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29542 for using routine as __sinf_ia32.
29543 Use macro for function declaration and weak_alias.
29544 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29545 for using routine as __cosf_ia32.
29546 Use macro for function declaration and weak_alias.
29548 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29549 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29551 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29552 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29555 * math/libm-test.inc (cos_test): Add more test cases.
29556 (sin_test): Likewise.
29557 (sincos_test): Likewise.
29559 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29562 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29564 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29566 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29569 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29570 first element of the GOT.
29571 (elf_machine_load_address): Return the difference between
29572 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29574 2012-09-01 Allan McRae <allan@archlinux.org>
29577 * configure.in (AWK): Require gawk version 3.0 or later.
29578 * configure: Regenerated.
29580 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29582 * sysdeps/unix/sysv/linux/kernel-features.h
29583 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29584 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29585 [__NR_clock_getres]: Make code unconditional.
29586 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29587 (clock_getcpuclockid): Remove code left unreachable by removal of
29589 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29590 code unconditional.
29591 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29592 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29593 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29594 Make code unconditional.
29595 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29596 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29597 * sysdeps/unix/sysv/linux/clock_settime.c
29598 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29600 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29601 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29603 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29606 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29607 scripts/test-installation.pl.
29609 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29610 and $ld_so_version if it is set.
29612 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29615 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29616 failure if reading from procfs failed.
29617 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29619 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29621 * sysdeps/unix/sysv/linux/kernel-features.h
29622 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29623 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29624 Remove conditional code.
29625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29626 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29627 Remove conditional code.
29628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29629 * sysdeps/unix/sysv/linux/i386/fxstat.c
29630 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29632 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29633 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29635 * sysdeps/unix/sysv/linux/i386/lxstat.c
29636 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29638 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29639 Remove conditional code.
29640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29641 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29642 Remove conditional code.
29643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29644 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29645 <kernel-features.h>.
29646 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29648 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29649 Remove conditional code.
29650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29651 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29652 Remove conditional.
29654 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29657 * NEWS: Add fixed bug number.
29659 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29662 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29663 underflowing exponent in case of negative sign.
29664 * stdlib/tst-strtod-round-data: Add more tests.
29665 * stdlib/tst-strtod-round.c (tests): Regenerated.
29668 * stdlib/strtod_l.c (NDIG): Remove.
29669 (HEXNDIG): Likewise.
29670 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29671 smallest representable value.
29672 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29673 lie within an exact representation of 1/2 ulp of the result.
29674 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29676 (TENS_P9_IDX): Define unconditionally.
29677 (TENS_P9_SIZE): Likewise.
29678 (TENS_P10_IDX): Likewise.
29679 (TENS_P10_SIZE): Likewise.
29680 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29681 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29682 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29683 entries for 10^2^13 and 10^2^14.
29684 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29685 (TENS_P13_IDX): Define.
29686 (TENS_P13_SIZE): Likewise.
29687 (TENS_P14_IDX): Likewise.
29688 (TENS_P14_SIZE): Likewise.
29689 (_fpioconst_pow10): Change array size to
29690 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29692 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29693 1024]: Add entries for 10^2^13 and 10^2^14.
29694 [LAST_POW10 > _LAST_POW10]: Remove #error.
29695 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29696 (_fpioconst_pow10): Change array size to
29697 FPIOCONST_POW10_ARRAY_SIZE.
29698 * stdlib/gen-fpioconst.c: New file.
29699 * stdlib/gen-tst-strtod-round.c: Likewise.
29700 * stdlib/tst-strtod-round-data: Likewise.
29701 * stdlib/tst-strtod-round.c: Likewise.
29702 * stdlib/Makefile (tests): Add tst-strtod-round.
29705 * stdlib/strtod_l.c: Include <stdint.h>.
29706 (NDEBUG): Do not define.
29707 (round_and_return): Change EXPONENT parameter to type intmax_t.
29708 Rearrange calculations to avoid internal overflow possibilities.
29709 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29710 Rearrange calculations to avoid internal overflow possibilities.
29711 Assert that number fits inside MPNSIZE limbs.
29712 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29713 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29714 calculations and add assertions to avoid internal overflow
29715 possibilities. Add casts to avoid signed/unsigned operations.
29716 * stdlib/tst-strtod-overflow.c: New file.
29717 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29719 2012-08-25 Marek Polacek <polacek@redhat.com>
29721 * time/time.h: Fix some typos in comments.
29723 2012-08-23 Roland McGrath <roland@hack.frob.com>
29725 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29726 * posix/tst-rfc3484-2.c: Likewise.
29727 * posix/tst-rfc3484-3.c: Likewise.
29729 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29731 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29732 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29734 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29736 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29737 #include of fxstatat64.c.
29739 2012-08-22 Roland McGrath <roland@hack.frob.com>
29741 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29742 * shadow/getspent_r.c: Likewise.
29743 * shadow/getspnam.c: Likewise.
29744 * shadow/getspnam_r.c: Likewise.
29745 * gshadow/getsgent.c: Likewise.
29746 * gshadow/getsgent_r.c: Likewise.
29747 * gshadow/getsgnam.c: Likewise.
29748 * gshadow/getsgnam_r.c: Likewise.
29749 * inet/getnetbyad.c: Likewise.
29750 * inet/getnetbyad_r.c: Likewise.
29751 * inet/getnetbynm.c: Likewise.
29752 * inet/getnetbynm_r.c: Likewise.
29753 * inet/getnetent.c: Likewise.
29754 * inet/getnetent_r.c: Likewise.
29755 * inet/getproto.c: Likewise.
29756 * inet/getproto_r.c: Likewise.
29757 * inet/getprtent.c: Likewise.
29758 * inet/getprtent_r.c: Likewise.
29759 * inet/getprtname.c: Likewise.
29760 * inet/getprtname_r.c: Likewise.
29761 * inet/getrpcbyname.c: Likewise.
29762 * inet/getrpcbyname_r.c: Likewise.
29763 * inet/getrpcbynumber.c: Likewise.
29764 * inet/getrpcbynumber_r.c: Likewise.
29765 * inet/getrpcent.c: Likewise.
29766 * inet/getrpcent_r.c: Likewise.
29767 * inet/getaliasent.c: Likewise.
29768 * inet/getaliasent_r.c: Likewise.
29769 * inet/getaliasname.c: Likewise.
29770 * inet/getaliasname_r.c: Likewise.
29771 * nscd/getgrgid_r.c: Likewise.
29772 * nscd/getgrnam_r.c: Likewise.
29773 * nscd/gethstbyad_r.c: Likewise.
29774 * nscd/gethstbynm3_r.c: Likewise.
29775 * nscd/getpwnam_r.c: Likewise.
29776 * nscd/getpwuid_r.c: Likewise.
29777 * nscd/getsrvbynm_r.c: Likewise.
29778 * nscd/getsrvbypt_r.c: Likewise.
29779 * nscd/gai.c: Likewise.
29781 * configure.in (build_nscd): New substituted variable, set
29782 by --disable-build-nscd and defaults to $use_nscd.
29783 * configure: Regenerated.
29784 * config.make.in (build-nscd): New substituted variable.
29785 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29786 Change conditional to require [$(build-nscd) = yes] as well.
29787 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29790 * configure.in (use_nscd): New substituted variable, set by
29791 --disable-nscd. If enabled, define USE_NSCD.
29792 * configure: Regenerated.
29793 * config.h.in: Add USE_NSCD.
29794 * config.make.in (use-nscd): New substituted variable.
29795 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29796 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29797 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29798 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29799 (CFLAGS-getgrnam_r.c): Likewise.
29800 (CFLAGS-initgroups.c): Likewise.
29801 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29802 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29804 * inet/getnetgrent_r.c
29805 (nscd_setnetgrent): New function, broken out of ...
29806 (setnetgrent): ... here. Call it.
29807 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29808 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29809 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29810 * nscd/Makefile (routines, aux): Move definitions after include of
29811 Makeconfig. Conditionalize on [$(use-nscd) != no].
29812 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29813 Conditionalize on [USE_NSCD].
29814 (is_nscd, nscd_init_cb): Likewise.
29815 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29816 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29817 * nss/nss_db/db-init.c: Likewise.
29818 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29820 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29821 (make_request): Use it.
29822 (cache_valid_p): New function.
29823 (__check_pf): Use it.
29824 * NEWS: Add item for --disable-nscd.
29826 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29828 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29829 to support sed >= 4.2.1-20-ga9bf076.
29830 * configure: Regenerated.
29832 2012-08-22 Roland McGrath <roland@hack.frob.com>
29834 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29835 Conditionalize whole body on [IREL].
29837 2012-08-22 Jeff Law <law@redhat.com>
29840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29841 if the family is PF_UNSPEC.
29843 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29845 * Makerules (lib-version): Rename from V.
29846 (install-lib-nosubdir): Change V to lib-version.
29848 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29851 * powerpc32/power6/wcschr.c: New file.
29852 * powerpc32/power6/wcscpy.c: New file.
29853 * powerpc32/power6/wcsrchr.c: New file.
29854 * powerpc64/power6/wcschr.c: New file.
29855 * powerpc64/power6/wcscpy.c: New file.
29856 * powerpc64/power6/wcsrchr.c: New file.
29858 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29860 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29861 (two_way_short_needle): Use it.
29862 * string/strstr.c (AVAILABLE1_USES_J): Define.
29863 * string/strcasestr.c: Likewise.
29865 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29867 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29870 * NEWS: Add an entry.
29871 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29872 define their defaults.
29873 (two_way_short_needle): Detect end-of-string on-the-fly.
29874 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29875 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29876 * string/bug-strcasestr1.c: New test.
29877 * string/Makefile: Run it.
29879 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29882 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29883 the first character.
29885 2012-08-21 Roland McGrath <roland@hack.frob.com>
29887 * csu/elf-init.c (__libc_csu_irel): Function removed.
29888 * csu/libc-start.c (apply_irel): New function.
29889 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29891 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29893 * sysdeps/unix/sysv/linux/kernel-features.h
29894 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29895 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29896 <kernel-features.h>.
29897 [__NR_fadvise64_64]: Make code unconditional.
29898 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29899 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29900 !__NR_fadvise64_64)]: Likewise.
29901 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29902 !__NR_fadvise64_64))]: Likewise.
29903 [__NR_fadvise64]: Make code unconditional.
29904 [!__NR_fadvise64]: Remove conditional code.
29905 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29906 <kernel-features.h>.
29907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29912 not include <kernel-features.h>.
29913 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29915 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29917 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29918 include <kernel-features.h>.
29919 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29921 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29924 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29926 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29927 slight instruction rearrangements per scrollpipe analysis.
29928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29930 2012-08-20 Roland McGrath <roland@hack.frob.com>
29932 * manual/syslog.texi (syslog; vsyslog, closelog):
29933 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29934 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29936 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29937 DSOCAPS to match condition on defining it.
29939 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29941 * sysdeps/unix/sysv/linux/kernel-features.h
29942 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29944 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29945 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29947 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29948 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29950 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29951 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29953 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29954 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29956 * sysdeps/unix/sysv/linux/kernel-features.h
29957 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29958 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29960 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29961 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29964 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29965 Make code unconditional.
29966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29967 (__mmap64) [!__NR_mmap2]: Likewise.
29968 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29969 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29970 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29971 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29972 [__NR_mmap2]: Make code unconditional.
29973 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29974 (__mmap64) [!__NR_mmap2]: Likewise.
29976 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29978 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29980 2012-08-18 Andreas Jaeger <aj@suse.de>
29982 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29984 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29986 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29987 * include/unistd.h (__have_sock_cloexec): Likewise.
29988 (__have_pipe2): Likewise.
29989 (__have_dup3): Likewise.
29991 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29994 * include/unistd.h (__have_pipe2): Change define into an extern int.
29995 (__have_dup3): Likewise.
29996 * socket/have_sock_cloexec.c: Include fcntl.h.
29997 (__have_pipe2): New variable.
29998 (__have_dup3): Likewise.
30000 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30002 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30004 2012-08-17 Marek Polacek <polacek@redhat.com>
30006 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30007 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30009 2012-08-17 Roland McGrath <roland@hack.frob.com>
30011 * configure.in: Add AC_SUBST for sysheaders.
30012 * configure: Regenerated.
30013 * config.make.in (sysheaders): New substituted variable.
30015 * sysdeps/unix/mkfifo.c: Moved ...
30016 * sysdeps/posix/mkfifo.c: ... here.
30017 * sysdeps/unix/mkfifoat.c: Moved ...
30018 * sysdeps/posix/mkfifoat.c: ... here.
30020 * sysdeps/unix/utime.c: Moved ...
30021 * sysdeps/posix/utime.c: ... here.
30023 * sysdeps/unix/time.c: Moved ...
30024 * sysdeps/posix/time.c: ... here.
30025 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30026 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30028 * sysdeps/unix/nice.c: Moved ...
30029 * sysdeps/posix/nice.c: ... here.
30031 * sysdeps/unix/alarm.c: Moved ...
30032 * sysdeps/posix/alarm.c: ... here.
30034 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30036 2012-08-17 Jeff Law <law@redhat.com>
30038 * intl/Makefile (codeset_mo): New variable.
30039 ($(codeset_mo)): New target.
30040 (tst-codeset.out): Depend on that. Remove explicit rule.
30041 (tst-gettext3.out, tst-gettext5.out): Likewise.
30042 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30043 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30044 * intl/tst-codeset.sh: Remove.
30045 * intl/tst-gettext3.sh: Likewise.
30046 * intl/tst-gettext5.sh: Likewise.
30048 2012-08-17 Roland McGrath <roland@hack.frob.com>
30050 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30051 * sysdeps/unix/syscalls.list: ... here.
30053 * sysdeps/posix/getaddrinfo.c
30054 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30055 (gaiconf_init, gaiconf_reload): Use them.
30056 [!_STATBUF_ST_NSEC]
30057 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30058 Define using time_t rather than struct timespec.
30060 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30061 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30063 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30065 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30066 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30069 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30070 __libc_cleanup_push argument.
30072 * bits/param.h: New file.
30073 * misc/sys/param.h: New file.
30074 * include/sys/param.h: New file.
30075 * misc/Makefile (headers): Add bits/param.h.
30076 * sysdeps/generic/sys/param.h: File removed.
30077 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30078 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30079 * sysdeps/mach/hurd/bits/param.h: New file.
30080 * sysdeps/mach/hurd/sys/param.h: File removed.
30082 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30085 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30087 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30088 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30091 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30092 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30093 rather than -D_IO_MTSAFE_IO conditionally.
30094 * stdio-common/Makefile (CPPFLAGS): Likewise.
30095 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30096 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30097 Use $(libio-mtsafe).
30098 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30099 of -D_IO_MTSAFE_IO.
30100 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30101 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30102 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30103 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30104 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30105 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30106 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30107 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30108 (CFLAGS-fread_u_chk.c): Likewise.
30109 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30110 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30111 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30112 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30113 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30114 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30115 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30116 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30117 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30119 * libio/Makefile: Test [$(libc-reentrant) = yes]
30120 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30123 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30124 * sysdeps/pthread/configure: File removed.
30125 * sysdeps/pthread/Makeconfig: New file.
30126 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30127 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30129 2012-08-16 Gary Benson <gbenson@redhat.com>
30131 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30132 unmapping the first object in a namespace.
30134 2012-08-16 Roland McGrath <roland@hack.frob.com>
30136 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30137 (__internal_setnetgrent): ... this. Add internal_function to
30138 definition. Add libc_hidden_def.
30139 (setnetgrent): Update caller.
30140 (internal_endnetgrent): Renamed to ...
30141 (__internal_endnetgrent): ... this. Add internal_function to
30142 definition. Add libc_hidden_def.
30143 (endnetgrent): Update caller.
30144 (internal_getnetgrent_r): Renamed to ...
30145 (__internal_getnetgrent_r): ... this. Add internal_function to
30146 definition. Add libc_hidden_def.
30147 (__getnetgrent_r): Update caller.
30148 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30150 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30152 * stdlib/longlong.h: Update from GCC.
30154 2012-08-16 Roland McGrath <roland@hack.frob.com>
30156 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30157 on _QL, which is set by umul_ppmm but never used.
30158 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30159 variables, which are set by GMP macros but never used.
30160 * stdio-common/_itowa.c (_itowa): Likewise.
30161 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30162 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30164 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30166 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30167 struct La_sh_regs is not constant.
30168 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30169 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30170 and struct La_sparc64_regs are not constant.
30172 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30174 * sysdeps/unix/sysv/linux/kernel-features.h
30175 (__ASSUME_POSIX_TIMERS): Remove.
30176 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30178 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30179 Make code unconditional.
30180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30181 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30182 Make code unconditional.
30183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30184 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30185 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30186 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30187 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30188 Make code unconditional.
30189 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30190 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30191 (__libc_missing_posix_timers): Remove.
30193 2012-08-15 Roland McGrath <roland@hack.frob.com>
30195 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30196 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30198 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30200 * elf/dl-sym.c: Include <stdlib.h>.
30202 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30203 constants, which avoids warnings in 32-bit builds.
30205 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30206 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30208 * misc/lseek.c: File moved to ...
30209 * io/lseek.c: ... here.
30211 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30213 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30214 shifting LEN more than 31 bits at once.
30216 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30219 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30220 segmentation fault for a case of two empty input strings.
30221 * string/test-strncasecmp.c (check1): Renamed to...
30222 (bz12205): ...this.
30223 (bz14195): Add new testcase for two empty input strings and N > 0.
30224 (test_main): Call new testcase, adapt for renamed function.
30226 2012-08-15 Andreas Jaeger <aj@suse.de>
30229 * crypt/md5test2.c: New test, based on test supplied by Serge
30230 Belyshev <belyshev@depni.sinp.msu.ru>.
30231 * crypt/Makefile (xtests): Add md5test-giant..
30232 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30234 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30237 * crypt/md5.c (md5_process_block): Don't assume the buffer
30238 length is less than 2**32.
30239 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30240 length is less than 2**64.
30242 2012-08-15 Roland McGrath <roland@hack.frob.com>
30244 * string/str-two-way.h: Include <sys/param.h>.
30245 (MAX): Macro removed.
30247 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30248 Move #define and #undef of memmove to just before and after
30249 including <string.h>.
30251 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30252 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30253 and after including <string.h>. Move declarations of
30254 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30255 to before #include "string/memmove.c".
30257 * include/dirent.h: Declare __getdirentries.
30259 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30260 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30262 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30264 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30265 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30266 * sysdeps/i386/configure: Regenerated.
30267 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30268 STABS_CURRENT_FILE, and STABS_FUN.
30269 (END): Remove call to STABS_FUN_END.
30270 (STABS_CURRENT_FILE1): Delete.
30271 (STABS_CURRENT_FILE): Likewise.
30272 (STABS_FUN): Likewise.
30273 (STABS_FUN_END): Likewise.
30274 (STABS_FUN2): Likewise.
30275 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30276 * sysdeps/x86_64/configure: Regenerated.
30278 2012-08-14 Roland McGrath <roland@hack.frob.com>
30280 * elf/dl-open.c: Include <atomic.h>.
30281 * elf/dl-lookup.c: Likewise.
30283 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30285 * sysdeps/unix/sysv/linux/kernel-features.h
30286 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30287 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30289 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30291 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30292 condition on __ASSUME_CLONE_THREAD_FLAGS.
30294 2012-08-14 Andreas Jaeger <aj@suse.de>
30296 * sysdeps/i386/fpu/libm-test-ulps: Update.
30298 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30300 * include/atomic.h (atomic_exchange_and_add): Split into ...
30301 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30304 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30308 2012-08-13 Jeff Law <law@redhat.com>
30310 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30311 null byte in the output string.
30313 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30315 * sysdeps/unix/sysv/linux/kernel-features.h
30316 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30317 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30318 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30320 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30321 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30322 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30324 2012-08-09 Jeff Law <law@redhat.com>
30327 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30328 When avoid_arena is set, don't retry in the that arena. Pick the
30329 next one, whatever it might be.
30330 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30331 (arena_lock): Pass in new parameter to arena_get2.
30332 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30334 (__libc_malloc): Unify retrying after main arena failure with
30335 __libc_memalign version.
30336 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30338 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30341 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30342 to __redirect_strstr.
30343 (__strstr_sse42): Use typeof __redirect_strstr.
30344 (__strstr_ia32): Likewise.
30345 (__libc_strstr): New prototype.
30346 (strstr): Renamed to ...
30347 (__libc_strstr): This.
30348 (strstr): New strong alias of __libc_strstr.
30349 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30350 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30353 (__libc_time): New prototype.
30354 (time_ifunc): Replace time with __libc_time.
30355 (time): New strong alias and hidden definition of __libc_time.
30356 (__GI_time): Remove strong alias.
30357 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30358 Include <stddef.h>.
30359 (memmove): Redefined to __redirect_memmove.
30360 (__memmove_sse2): Use typeof __redirect_memmove.
30361 (__memmove_ssse3): Likewise.
30362 (__memmove_ssse3_back): Likewise.
30363 (__libc_memmove): New prototype.
30364 (memmove): Renamed to ...
30365 (__libc_memmove): This.
30366 (memmove): New strong alias of __libc_memmove.
30368 2012-08-08 Mark Salter <msalter@redhat.com>
30371 (R_MN10300_TLS_GD): Define.
30372 (R_MN10300_TLS_LD): Likewise.
30373 (R_MN10300_TLS_LDO): Likewise.
30374 (R_MN10300_TLS_GOTIE): Likewise.
30375 (R_MN10300_TLS_IE): Likewise.
30376 (R_MN10300_TLS_LE): Likewise.
30377 (R_MN10300_TLS_DTPMOD): Likewise.
30378 (R_MN10300_TLS_DTPOFF): Likewise.
30379 (R_MN10300_TLS_TPOFF): Likewise.
30380 (R_MN10300_SYM_DIFF): Likewise.
30381 (R_MN10300_ALIGN): Likewise.
30382 (R_MN10300_NUM): Update.
30384 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30386 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30389 2012-08-08 Roland McGrath <roland@hack.frob.com>
30391 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30393 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30394 sysdeps/unix -> sysdeps/posix move.
30395 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30397 2012-08-07 Allan McRae <allan@archlinux.org>
30400 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30401 (SUNOS_CPP): Likewise.
30402 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30404 (open_input): Call CPP using execvp.
30406 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30408 * sysdeps/unix/sysv/linux/kernel-features.h
30409 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30410 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30411 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30412 (__ASSUME_WAITID_SYSCALL): Likewise.
30413 * sysdeps/unix/sysv/linux/dl-execstack.c
30414 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30415 code unconditional.
30416 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30418 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30419 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30420 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30422 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30424 [__ASSUME_WAITID_SYSCALL]: Likewise.
30425 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30427 2012-08-07 Roland McGrath <roland@hack.frob.com>
30429 * sysdeps/unix/closedir.c: Renamed to ...
30430 * sysdeps/posix/closedir.c: ... here.
30431 * sysdeps/unix/dirfd.c: Renamed to ...
30432 * sysdeps/posix/dirfd.c: ... here.
30433 * sysdeps/unix/dirstream.h: Renamed to ...
30434 * sysdeps/posix/dirstream.h: ... here.
30435 * sysdeps/unix/fdopendir.c: Renamed to ...
30436 * sysdeps/posix/fdopendir.c: ... here.
30437 * sysdeps/unix/opendir.c: Renamed to ...
30438 * sysdeps/posix/opendir.c: ... here.
30439 * sysdeps/unix/readdir.c: Renamed to ...
30440 * sysdeps/posix/readdir.c: ... here.
30441 * sysdeps/unix/readdir_r.c: Renamed to ...
30442 * sysdeps/posix/readdir_r.c: ... here.
30443 * sysdeps/unix/rewinddir.c: Renamed to ...
30444 * sysdeps/posix/rewinddir.c: ... here.
30445 * sysdeps/unix/seekdir.c: Renamed to ...
30446 * sysdeps/posix/seekdir.c: ... here.
30447 * sysdeps/unix/telldir.c: Renamed to ...
30448 * sysdeps/posix/telldir.c: ... here.
30449 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30450 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30451 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30452 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30454 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30455 * bits/fcntl.h: ... here.
30457 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30459 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30460 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30461 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30462 (struct flock): Move l_start, l_len to the beginning.
30463 Use __pid_t for l_pid.
30464 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30465 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30466 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30467 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30468 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30469 [__USE_LARGEFILE64] (struct flock64): New type.
30470 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30472 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30473 * bits/dirent.h: ... here.
30475 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30476 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30478 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30481 Change from 2.6.0 to 2.6.16.
30482 * sysdeps/unix/sysv/linux/configure: Regenerated.
30483 * sysdeps/unix/sysv/linux/kernel-features.h
30484 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30485 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30487 (__ASSUME_UTIMES): Likewise.
30488 (__ASSUME_CLONE_STOPPED): Remove.
30489 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30490 architectures, not kernel version.
30491 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30492 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30493 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30494 (__ASSUME_WAITID_SYSCALL): Likewise.
30495 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30496 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30497 * README: State 2.6.16 as minimum Linux kernel version. Do not
30498 refer to older versions.
30500 2012-08-06 Roland McGrath <roland@hack.frob.com>
30502 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30503 Define alphasort64 as an alias.
30504 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30505 Define versionsort64 as an alias.
30506 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30507 Define scandir64 as an alias.
30508 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30509 Define scandirat64 as an alias.
30510 * dirent/alphasort64.c (alphasort64):
30511 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30512 * dirent/versionsort64.c: Likewise.
30513 * dirent/scandir64.c: Likewise.
30514 * dirent/scandirat64.c: Likewise.
30515 * sysdeps/wordsize-64/alphasort.c: File removed.
30516 * sysdeps/wordsize-64/alphasort64.c: File removed.
30517 * sysdeps/wordsize-64/scandir.c: File removed.
30518 * sysdeps/wordsize-64/scandir64.c: File removed.
30519 * sysdeps/wordsize-64/scandirat.c: File removed.
30520 * sysdeps/wordsize-64/scandirat64.c: File removed.
30521 * sysdeps/wordsize-64/versionsort.c: File removed.
30522 * sysdeps/wordsize-64/versionsort64.c: File removed.
30523 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30524 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30529 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30532 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30534 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30536 [defined __arch64__ || defined __sparcv9]
30537 (__INO_T_MATCHES_INO64_T): New macro.
30538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30539 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30540 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30541 * sysdeps/unix/sysv/linux/bits/dirent.h
30542 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30543 (_DIRENT_MATCHES_DIRENT64): New macro.
30545 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30546 Define lockf64 as an alias.
30547 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30548 Define fseeko64 as an alias.
30549 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30550 Define ftello64 as an alias.
30551 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30552 Define _IO_fgetpos64 and fgetpos64 as aliases.
30553 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30554 Define _IO_fsetpos64 and fsetpos64 as aliases.
30555 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30556 Conditionalize body on this.
30557 * libio/fseeko64.c: Likewise.
30558 * libio/ftello64.c: Likewise.
30559 * libio/iofgetpos64.c: Likewise.
30560 * libio/iofsetpos64.c: Likewise.
30561 * sysdeps/wordsize-64/lockf.c: File removed.
30562 * sysdeps/wordsize-64/lockf64.c: File removed.
30563 * sysdeps/wordsize-64/fseeko.c: File removed.
30564 * sysdeps/wordsize-64/fseeko64.c: File removed.
30565 * sysdeps/wordsize-64/ftello.c: File removed.
30566 * sysdeps/wordsize-64/ftello64.c: File removed.
30567 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30568 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30569 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30570 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30571 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30572 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30582 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30584 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30586 [defined __arch64__ || defined __sparcv9]
30587 (__OFF_T_MATCHES_OFF64_T): New macro.
30588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30589 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30591 (__OFF_T_MATCHES_OFF64_T): New macro.
30593 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30595 * stdlib/secure-getenv.c (__secure_getenv): Replace
30596 GLIBC_2_16 with GLIBC_2_17.
30598 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30603 2012-08-03 David S. Miller <davem@davemloft.net>
30605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30607 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30611 (__ASSUME_CORRECT_SI_PID): Likewise.
30612 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30613 (__ASSUME_TMPFS_NAME): Likewise.
30614 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30615 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30616 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30617 (HAVE_AUX_SECURE): Make definition unconditional.
30618 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30619 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30621 2012-08-03 Roland McGrath <roland@hack.frob.com>
30623 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30624 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30625 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30626 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30627 __eloop_threshold instead of SYMLOOP_MAX.
30629 * sysdeps/generic/eloop-threshold.h: New file.
30630 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30632 * elf/chroot_canon.c (chroot_canon): Likewise.
30634 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30638 Change to 2.6.0 everywhere.
30639 * sysdeps/unix/sysv/linux/configure: Regenerated.
30640 * sysdeps/unix/sysv/linux/kernel-features.h
30641 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30642 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30644 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30645 (__ASSUME_FUTEX_REQUEUE): Remove.
30646 (__ASSUME_STATFS64): Define unconditionally.
30647 (__ASSUME_AT_SECURE): Likewise.
30648 (__ASSUME_CORRECT_SI_PID): Likewise.
30649 (__ASSUME_TGKILL): Define without depending on kernel version for
30651 (__ASSUME_UTIMES): Likewise.
30652 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30654 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30655 (__ASSUME_TMPFS_NAME): Likewise.
30656 * README: Update reference to Linux kernel versions.
30658 2012-08-02 Marek Polacek <polacek@redhat.com>
30661 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30662 libc_cv_asm_type_prefix with %.
30663 * configure: Regenerated.
30664 * include/libc-symbols.h: Remove comment about
30665 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30666 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30667 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30668 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30669 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30670 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30671 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30672 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30673 * elf/tst-unique2mod1.c: Likewise.
30674 * elf/tst-unique1mod2.c: Likewise.
30675 * elf/tst-unique1mod1.c: Likewise.
30676 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30677 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30678 Replace ASM_TYPE_DIRECTIVE with .type.
30679 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30680 * sysdeps/i386/sysdep.h: Likewise.
30681 * sysdeps/x86_64/sysdep.h: Likewise.
30682 * sysdeps/sh/sysdep.h: Likewise.
30683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30684 Do not define ASM_TYPE_DIRECTIVE.
30685 * sysdeps/powerpc/sysdep.h: Likewise.
30686 * sysdeps/powerpc/powerpc32/sysdep.h:
30687 Replace ASM_TYPE_DIRECTIVE with .type.
30688 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30690 * sysdeps/i386/fpu/e_powf.S: Likewise.
30691 * sysdeps/i386/fpu/e_expl.S: Likewise.
30692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30693 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30694 * sysdeps/i386/fpu/e_pow.S: Likewise.
30695 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30696 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30697 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30698 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30699 * sysdeps/i386/fpu/e_log2.S: Likewise.
30700 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30702 * sysdeps/i386/fpu/e_powl.S: Likewise.
30703 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30704 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30705 * sysdeps/i386/fpu/e_logl.S: Likewise.
30706 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30707 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30708 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30709 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30710 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30711 * sysdeps/i386/fpu/e_log.S: Likewise.
30712 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30713 * sysdeps/i386/fpu/e_logf.S: Likewise.
30714 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30715 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30717 * sysdeps/i386/fpu/e_log10.S: Likewise.
30718 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30720 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30721 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30725 * sysdeps/i386/i686/strtok.S: Likewise.
30726 * sysdeps/i386/i386-mcount.S: Likewise.
30727 * sysdeps/i386/strtok.S: Likewise.
30728 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30729 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30731 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30732 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30734 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30735 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30737 * sysdeps/x86_64/_mcount.S: Likewise.
30738 * sysdeps/x86_64/strtok.S: Likewise.
30739 * sysdeps/sh/_mcount.S: Likewise.
30741 2012-08-01 Roland McGrath <roland@hack.frob.com>
30743 * libio/iofopen.c: Include <fcntl.h>.
30744 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30745 (_IO_fopen64, fopen64): Define as aliases.
30746 * libio/iofopen64.c: Include <fcntl.h>.
30747 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30748 Conditionalize body on this.
30749 * sysdeps/wordsize-64/iofopen.c: File removed.
30750 * sysdeps/wordsize-64/iofopen64.c: File removed.
30752 2012-08-01 Marek Polacek <polacek@redhat.com>
30754 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30755 Use dlfcn directly instead of a variable.
30756 (binfmt-subdir): Do not define.
30759 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30762 Remove all definitions.
30763 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30764 <kernel-features.h>.
30765 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30766 (miss_F_GETOWN_EX): Remove all definitions.
30767 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30769 [!__ASSUME_FCNTL64]: Remove conditional code.
30770 [__ASSUME_FCNTL64]: Make code unconditional.
30771 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30772 <kernel-features.h>.
30773 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30774 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30775 (lockf64) [__NR_fcntl64]: Make code unconditional.
30776 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30778 * sysdeps/unix/sysv/linux/kernel-features.h
30779 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30780 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30781 Make code unconditional.
30782 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30783 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30785 [__NR_vfork]: Make code unconditional.
30786 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30787 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30789 [__NR_vfork]: Make code unconditional.
30790 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30791 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30793 2012-08-01 Roland McGrath <roland@hack.frob.com>
30795 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30796 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30798 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30799 Define mkstemp64 as an alias.
30800 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30801 Define mkstemps64 as an alias.
30802 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30803 Define mkostemp64 as an alias.
30804 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30805 Define mkostemps64 as an alias.
30806 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30807 Conditionalize body on this.
30808 * misc/mkostemp64.c: Likewise.
30809 * misc/mkostemps64.c: Likewise.
30810 * misc/mkstemps64.c: Likewise.
30811 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30812 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30813 * sysdeps/wordsize-64/mkostemp.c: File removed.
30814 * sysdeps/wordsize-64/mkstemp.c: File removed.
30815 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30821 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30822 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30823 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30824 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30826 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30827 compat_symbol macros from <shlib-compat.h> rather than the underlying
30828 default_symbol_version and symbol_version macros, so that DEFAULT
30829 lines in shlib-versions are respected.
30830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30832 2012-08-01 Florian Weimer <fweimer@redhat.com>
30834 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30835 Declare with warn_unused_result.
30836 (setgid, setregid, setegid, setresgid): Likewise.
30837 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30839 * WUR-REPORT: Remove set*id functions.
30841 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30843 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30845 2012-07-31 Roland McGrath <roland@hack.frob.com>
30848 * include/sys/socket.h (__libc_accept, __libc_accept4):
30849 Add attribute_hidden.
30850 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30852 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30854 * inet/getnetgrent_r.c (setup): Likewise.
30856 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30858 2012-07-31 David S. Miller <davem@davemloft.net>
30860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30862 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30865 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30866 value between 1.0 and 2.0 and smaller part has absolute value less
30868 * math/s_clog10.c (__clog10): Likewise.
30869 * math/s_clog10f.c (__clog10f): Likewise.
30870 * math/s_clog10l.c (__clog10l): Likewise.
30871 * math/s_clogf.c (__clogf): Likewise.
30872 * math/s_clogl.c (__clogl): Likewise.
30873 * math/libm-test.inc (clog_test): Add more tests.
30874 (clog10_test): Likewise.
30875 * sysdeps/i386/fpu/libm-test-ulps: Update.
30876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30878 2012-07-31 Florian Weimer <fweimer@redhat.com>
30880 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30881 Exit with zero in case no suitable GID is found, and write a
30882 message to standard error.
30884 2012-07-30 Roland McGrath <roland@hack.frob.com>
30886 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30888 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30889 (MAXPATHLEN): Removed.
30890 (NOGROUP, NODEV): New macros.
30891 (setbit, clrbit, isset, isclr): New macros.
30892 (howmany, roundup, powerof2): New macros.
30893 (DEV_BSIZE): New macro.
30895 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30896 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30898 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30899 definition on [!__NO_LONG_DOUBLE_MATH].
30901 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30902 PTR_MANGLE and PTR_DEMANGLE.
30904 * socket/accept4.c (accept4): Rename to __libc_accept4.
30905 Define accept4 as a weak alias.
30907 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30908 on [_DIRENT_HAVE_D_TYPE].
30909 * io/ftw.c (ftw_dir): Likewise.
30911 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30913 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30915 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30916 Use the BSD numbers rather than the arbitrary ones we had.
30917 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30918 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30919 (SIGXCPU, SIGXFSZ): New macros.
30922 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30923 initializer on [_LIBC_REENTRANT].
30925 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30926 definitions inside [_POSIX_MAPPED_FILES].
30928 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30930 * dirent/opendir.c: Include <fcntl.h>.
30932 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30933 (__libc_getspecific): Likewise.
30934 (__libc_key_create): Likewise.
30936 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30937 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30938 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30939 (tmpfile64): Define as alias.
30940 * sysdeps/wordsize-64/tmpfile.c: File removed.
30941 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30942 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30943 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30945 * stdio-common/vfscanf.c: Include <stdbool.h>.
30946 * nss/makedb.c: Likewise.
30947 * stdio-common/_i18n_number.h: Likewise.
30948 * argp/argp-help.c: Likewise.
30949 * posix/wordexp.c: Likewise.
30950 * sysdeps/posix/spawni.c: Likewise.
30951 * nss/nss_files/files-initgroups.c: Likewise.
30952 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30953 * nss/nss_files/files-initgroups.c: Likewise.
30954 * nss/nss_db/db-netgrp.c: Likewise.
30955 * nss/nss_db/db-initgroups.c: Likewise.
30956 * io/fchmodat.c: Include <sys/stat.h>.
30958 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30959 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30961 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30964 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30965 Add multiple inclusion protection.
30967 2012-07-27 David S. Miller <davem@davemloft.net>
30969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30971 2012-07-27 Gary Benson <gbenson@redhat.com>
30974 * elf/rtld.c: Include <stap-probe.h>.
30975 (dl_main): Added static probes "init_start" and "init_complete".
30976 * elf/dl-load.c: Include <stap-probe.h>.
30977 (lose): Take new parameter "nsid".
30978 Added static probe "map_failed".
30979 (_dl_map_object_from_fd): Pass namespace id to lose.
30980 Added static probe "map_start".
30981 (open_verify): Pass namespace id to lose.
30982 * elf/dl-open.c: Include <stap-probe.h>.
30983 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30984 and "reloc_complete".
30985 * elf/dl-close.c: Include <stap-probe.h>.
30986 (_dl_close_worker): Added static probes "unmap_start" and
30988 * elf/rtld-debugger-interface.txt: New file documenting the above.
30990 2012-07-26 Roland McGrath <roland@hack.frob.com>
30992 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30993 rather than a string variable.
30994 * sunrpc/rpc_main.c (h_output): Likewise.
30995 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30997 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30999 * inet/check_native.c: New file.
31001 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31004 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31005 if larger part has absolute value 1.0.
31006 * math/s_clog10.c (__clog10): Likewise.
31007 * math/s_clog10f.c (__clog10f): Likewise.
31008 * math/s_clog10l.c (__clog10l): Likewise.
31009 * math/s_clogf.c (__clogf): Likewise.
31010 * math/s_clogl.c (__clogl): Likewise.
31011 * math/libm-test.inc (clog_test): Add more tests.
31012 (clog10_test): Likewise.
31013 * sysdeps/i386/fpu/libm-test-ulps: Update.
31014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31016 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31017 (pltexit): Likewise.
31018 (La_regs): Likewise.
31019 (La_retval): Likewise.
31020 (int_retval): Likewise.
31021 Update #error for removed macros to refer only to definitions in
31023 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31025 (pltexit): Likewise.
31026 (La_regs): Likewise.
31027 (La_retval): Likewise.
31028 (int_retval): Likewise.
31029 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31031 (pltexit): Likewise.
31032 (La_regs): Likewise.
31033 (La_retval): Likewise.
31034 (int_retval): Likewise.
31035 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31037 (pltexit): Likewise.
31038 (La_regs): Likewise.
31039 (La_retval): Likewise.
31040 (int_retval): Likewise.
31041 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31043 (pltexit): Likewise.
31044 (La_regs): Likewise.
31045 (La_retval): Likewise.
31046 (int_retval): Likewise.
31047 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31049 (pltexit): Likewise.
31050 (La_regs): Likewise.
31051 (La_retval): Likewise.
31052 (int_retval): Likewise.
31053 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31055 (pltexit): Likewise.
31056 (La_regs): Likewise.
31057 (La_retval): Likewise.
31058 (int_retval): Likewise.
31059 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31060 macro definitions in tst-audit.h.
31061 * sysdeps/i386/tst-audit.h: New file.
31062 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31063 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31064 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31065 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31066 * sysdeps/sh/tst-audit.h: Likewise.
31067 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31068 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31069 * sysdeps/x86_64/tst-audit.h: Likewise.
31071 2012-07-26 Andreas Jaeger <aj@suse.de>
31073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31076 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31077 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31078 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31080 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31081 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31082 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31084 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31087 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31089 (si_call_addr, si_syscall, si_arch): Define new macro.
31090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31092 (si_call_addr, si_syscall, si_arch): Define new marcro.
31093 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31095 (si_call_addr, si_syscall, si_arch): Define new macro.
31096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31098 (si_call_addr, si_syscall, si_arch): Define new macro.
31100 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31104 Change to 2.4.21 where previously 2.4.1.
31105 * sysdeps/unix/sysv/linux/configure: Regenerated.
31106 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31107 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31108 Linux kernel version.
31109 (__ASSUME_STD_AUXV): Remove.
31110 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31112 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31113 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31114 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31115 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31116 (__ASSUME_NETLINK_SUPPORT): Likewise.
31117 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31118 (__no_netlink_support): Remove conditional definition.
31119 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31121 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31122 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31123 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31124 (if_nameindex_ioctl): Remove.
31125 (if_nameindex_netlink): Do not handle __no_netlink_support.
31126 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31128 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31129 Remove conditional code.
31130 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31132 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31134 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31135 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31136 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31138 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31139 [!__ASSUME_STD_AUXV]: Remove conditional code.
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31141 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31142 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31144 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31145 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31147 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31149 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31150 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31152 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31154 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31157 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31160 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31161 code unconditional.
31162 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31164 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31166 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31169 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31171 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31174 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31175 code unconditional.
31176 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31178 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31180 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31183 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31184 code unconditional.
31185 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31187 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31189 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31192 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31194 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31196 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31197 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31198 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31199 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31200 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31201 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31202 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31203 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31204 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31205 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31206 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31207 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31208 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31209 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31210 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31212 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31214 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31215 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31218 2012-07-25 Florian Weimer <fweimer@redhat.com>
31220 * Versions.def: Add GLIBC_2.17.
31221 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31222 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31223 Introduce __libc_secure_getenv.
31224 * stdlib/Versions (2.17): Add secure_getenv
31225 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31226 * stdlib/secure-getenv.c: Rename __secure_getenv to
31227 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31228 symbol __secure_getenv for GLIBC_2.0.
31229 * stdlib/tst-secure-getenv.c: New.
31230 * stdlib/Makefile (tests): Add testcase.
31231 * manual/startup.texi (Environment Access): Document
31233 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31234 __libc_secure_getenv.
31235 * inet/ruserpass.c (ruserpass): Likewise.
31236 * malloc/mtrace.c (mtrace): Likewise.
31237 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31238 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31239 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31240 * sysdeps/posix/tempname.c: Likewise. Evaluate
31241 HAVE_SECURE_GETENV.
31242 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31243 __secure_getenv to __libc_secure_getenv.
31244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31257 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31259 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31260 (struct La_i86_retval): Likewise.
31261 (struct La_x86_64_regs): Likewise.
31262 (struct La_x86_64_retval): Likewise.
31263 (struct La_x32_regs): Likewise.
31264 (struct La_x32_retval): Likewise.
31265 (struct La_ppc32_regs): Likewise.
31266 (struct La_ppc32_retval): Likewise.
31267 (struct La_ppc64_regs): Likewise.
31268 (struct La_ppc64_retval): Likewise.
31269 (struct La_sh_regs): Likewise.
31270 (struct La_sh_retval): Likewise.
31271 (struct La_s390_32_regs): Likewise.
31272 (struct La_s390_32_retval): Likewise.
31273 (struct La_s390_64_regs): Likewise.
31274 (struct La_s390_64_retval): Likewise.
31275 (struct La_sparc32_regs): Likewise.
31276 (struct La_sparc32_retval): Likewise.
31277 (struct La_sparc64_regs): Likewise.
31278 (struct La_sparc64_retval): Likewise.
31279 (struct audit_ifaces): Remove architecture-specific pltenter and
31281 * sysdeps/i386/ldsodefs.h: New file.
31282 * sysdeps/powerpc/ldsodefs.h: Likewise.
31283 * sysdeps/s390/ldsodefs.h: Likewise.
31284 * sysdeps/sh/ldsodefs.h: Likewise.
31285 * sysdeps/sparc/ldsodefs.h: Likewise.
31286 * sysdeps/x86_64/ldsodefs.h: Likewise.
31288 2012-07-25 Marek Polacek <polacek@redhat.com>
31291 * math/libm-test.inc (yn_test): Add another test.
31292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31293 to ERANGE when the result is +-Inf.
31294 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31295 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31296 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31297 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31299 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31301 * conform/data/time.h-data (NULL): Use macro-constant. Require
31303 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31305 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31307 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31309 * configure.in <sysdeps resolving>: Correct printing
31311 * configure: Regenerate.
31313 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31315 * math/w_ilogb.c: Include <limits.h>.
31316 * math/w_ilogbl.c: Likewise.
31318 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31320 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31321 va_copy. Document allowing for unavailable va_copy only as
31322 pre-C99 compatibility.
31323 * manual/string.texi (Copying and Concatenation): Use va_copy
31324 instead of __va_copy in concat example.
31326 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31328 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31329 (__sendto): Use create_address_port. Initialize APORT and deallocate
31332 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31333 with O_NOLINK passed to __file_name_lookup.
31335 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31336 with O_NOLINK passed to __file_name_lookup.
31338 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31339 negative N or less than NGIDS.
31341 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31342 type to string_t. Set ERANGE as errno and return it if NAME is not big
31343 enough. Use memcpy instead of strncpy.
31345 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31347 * elf/Makefile (check-data): Remove.
31348 (localplt.data): New vpath directive.
31349 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31350 instead of $(check-data).
31351 * scripts/data/localplt-generic.data: Move to ...
31352 * sysdeps/generic/localplt.data: ... here.
31353 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31354 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31355 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31358 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31361 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31364 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31367 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31370 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31374 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31376 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31377 PPC32 and PPC64 files.
31378 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31379 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31381 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31383 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31384 __makecontext_ret to ...
31385 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31386 ... here and call exit if uc_link is NULL. New file.
31387 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31388 __makecontext_ret.S.
31389 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31390 __makecontext_ret to ...
31391 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31392 ... here and call exit if uc_link is NULL. New file.
31393 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31394 __makecontext_ret.S.
31396 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31398 * elf/elf.h (R_390_IRELATIVE): New definition.
31399 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31400 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31401 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31402 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31403 (elf_machine_lazy_rel): Likewise.
31404 * sysdeps/s390/dl-irel.h: New file.
31405 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31406 * sysdeps/s390/s390-64/memset.S: New asm code.
31407 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31408 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31409 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31410 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31411 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31412 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31413 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31414 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31415 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31416 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31417 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31418 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31419 * sysdeps/s390/s390-32/memset.S: New asm code.
31420 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31422 2012-07-17 Marek Polacek <polacek@redhat.com>
31425 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31426 * sysdeps/s390/s390-64/configure.in: Likewise.
31427 * sysdeps/sparc/configure.in: Likewise.
31428 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31429 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31430 * sysdeps/i386/configure.in: Likewise.
31431 * sysdeps/x86_64/configure.in: Likewise.
31432 * sysdeps/sh/configure.in: Likewise.
31433 * sysdeps/s390/s390-32/configure: Regenerated.
31434 * sysdeps/s390/s390-64/configure: Likewise.
31435 * sysdeps/x86_64/configure: Likewise.
31436 * sysdeps/sh/configure: Likewise.
31437 * sysdeps/powerpc/powerpc64/configure: Likewise.
31438 * sysdeps/powerpc/powerpc32/configure: Likewise.
31439 * sysdeps/sparc/configure: Likwise.
31440 * sysdeps/i386/configure: Likewise.
31442 * elf/dl-open.c: Comment fixes.
31444 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31446 * Makefile [CXX] (check-data): Remove.
31447 [CXX] (c++-types.data): New vpath directive.
31448 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31449 vpath. Do not allow for C++ type data being missing.
31450 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31451 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31452 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31453 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31454 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31455 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31456 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31459 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31462 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31465 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31468 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31471 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31474 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31477 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31480 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31481 definitions to architecture-specific files.
31482 (TLS_IE): Likewise.
31483 (TLS_LD): Likewise.
31484 (TLS_GD): Likewise.
31485 * sysdeps/i386/tls-macros.h: New file.
31486 * sysdeps/powerpc/tls-macros.h: Likewise.
31487 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31488 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31489 * sysdeps/sh/tls-macros.h: Likewise.
31490 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31491 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31492 * sysdeps/x86_64/tls-macros.h: Likewise.
31494 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31496 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31497 zero value for regular exit case.
31499 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31500 (__start_context): Preserve zero value for regular exit case.
31502 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31503 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31505 * manual/setjmp.texi (setcontext): Clarify normal process
31506 termination when uc_link is the null pointer.
31507 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31510 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31512 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31513 preprocessor. Test for each exception mask separately.
31515 2012-07-16 Andreas Jaeger <aj@suse.de>
31517 * po/ru.po: Update from translation team.
31519 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31521 * conform/data/string.h-data (NULL): Use macro-constant. Require
31523 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31524 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31525 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31526 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31529 2012-07-13 Andreas Jaeger <aj@suse.de>
31531 * po/fr.po: Update from translation team.
31533 2012-07-12 Marek Polacek <polacek@redhat.com>
31536 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31537 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31540 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31544 Change to 2.4.1 where previously 2.4.0.
31545 * sysdeps/unix/sysv/linux/configure: Regenerated.
31546 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31547 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31549 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31550 (__ASSUME_AT_CLKTCK): Remove.
31551 (__ASSUME_AT_PAGESIZE): Likewise.
31552 (__ASSUME_AT_XID): Likewise.
31553 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31554 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31555 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31557 (HAVE_AUX_PAGESIZE): Likewise.
31558 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31559 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31560 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31562 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31566 the temporary buffer used to invoke __gethostbyname2_r,
31567 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31568 host_data / struct gaih_addrtuple.
31569 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31570 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31571 header file nss/nsswitch.h.
31572 * nss/nsswitch.h (global scope): Add definition of implementation
31573 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31574 resolv/nss_dns/dns-host.c).
31576 2012-07-11 Andreas Jaeger <aj@suse.de>
31578 * po/fr.po: Update from translation team.
31580 * po/sv.po: Update from translation team
31581 * po/fr.po: Another update from translation team.
31583 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31586 for subnormals or multiply small sinh result by itself.
31587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31590 2012-07-11 David S. Miller <davem@davemloft.net>
31592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31594 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31597 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31598 (INTERNAL_MARK): Shift it here.
31600 2012-07-10 Marek Polacek <polacek@redhat.com>
31603 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31604 libc_cv_asm_global_directive with .globl.
31605 * configure: Regenerated.
31606 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31608 * sysdeps/i386/configure: Regenerated.
31609 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31611 * sysdeps/x86_64/configure: Regenerated.
31612 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31613 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31614 * elf/tst-unique2mod2.c: Likewise.
31615 * elf/tst-unique2mod1.c: Likewise.
31616 * elf/tst-unique1mod2.c: Likewise.
31617 * elf/tst-unique1mod1.c: Likewise.
31618 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31619 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31621 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31622 * sysdeps/mach/sysdep.h: Likewise.
31623 * sysdeps/i386/sysdep.h: Likewise.
31624 * sysdeps/i386/i386-mcount.S: Likewise.
31625 * sysdeps/x86_64/_mcount.S: Likewise.
31626 * sysdeps/x86_64/sysdep.h: Likewise.
31627 * sysdeps/sh/_mcount.S: Likewise.
31628 * sysdeps/sh/sysdep.h: Likewise.
31629 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31630 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31631 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31633 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31634 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31635 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31636 * locale/localeinfo.h: Likewise.
31637 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31638 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31640 2012-07-09 Roland McGrath <roland@hack.frob.com>
31643 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31645 * manual/message.texi (The Uniforum approach): Likewise.
31646 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31647 (glibc iconv Implementation): Likewise.
31649 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31652 * math/s_clog.c (__clog): Avoid scaling a value down where that
31653 could result in underflow.
31654 * math/s_clog10.c (__clog10): Likewise.
31655 * math/s_clog10f.c (__clog10f): Likewise.
31656 * math/s_clog10l.c (__clog10l): Likewise.
31657 * math/s_clogf.c (__clogf): Likewise.
31658 * math/s_clogl.c (__clogl): Likewise.
31659 * math/libm-test.inc (clog_test): Add more tests.
31660 (clog10_test): Likewise.
31661 * sysdeps/i386/fpu/libm-test-ulps: Update.
31662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31664 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31667 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31668 by 7 not 8 to examine high bit of fractional part.
31671 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31672 for call to __mcount_internal.
31673 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31674 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31675 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31677 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31680 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31681 approximation for values within 0x1p-13f of an odd multiple of
31683 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31684 exception. Add more tests.
31685 * sysdeps/i386/fpu/libm-test-ulps: Update.
31688 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31689 inputs and return -1 for them. Do not check for +Inf in case not
31690 reachable for +Inf.
31691 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31692 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31693 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31694 and return -1 for them. Do not check for +Inf in case not
31695 reachable for +Inf.
31696 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31698 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31699 and return -1 for them. Do not check for +Inf in case not
31700 reachable for +Inf.
31701 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31702 spurious underflow.
31703 * sysdeps/i386/fpu/libm-test-ulps: Update.
31704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31706 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31708 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31710 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31714 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31715 could result in spurious underflow. Scale down values above
31716 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31717 * math/s_csqrtf.c (__csqrtf): Likewise.
31718 * math/s_csqrtl.c (__csqrtl): Likewise.
31719 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31720 spurious underflow.
31721 * sysdeps/i386/fpu/libm-test-ulps: Update.
31722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31724 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31726 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31728 * catgets/xopen-msg.awk: New file.
31729 * catgets/xopen-msg.sed: Removed.
31731 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31733 * intl/po2test.awk: New file.
31734 * intl/po2test.sed: Removed.
31736 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31739 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31740 or multiply small sinh result by itself.
31741 * math/s_ctanf.c (__ctanf): Likewise.
31742 * math/s_ctanh.c (__ctanh): Likewise.
31743 * math/s_ctanhf.c (__ctanhf): Likewise.
31744 * math/s_ctanhl.c (__ctanhl): Likewise.
31745 * math/s_ctanl.c (__ctanl): Likewise.
31746 * math/libm-test.inc (ctan_test_tonearest): New function.
31747 (ctan_test_towardzero): Likewise.
31748 (ctan_test_downward): Likewise.
31749 (ctan_test_upward): Likewise.
31750 (ctanh_test_tonearest): Likewise.
31751 (ctanh_test_towardzero): Likewise.
31752 (ctanh_test_downward): Likewise.
31753 (ctanh_test_upward): Likewise.
31754 (main): Call these new functions.
31755 * sysdeps/i386/fpu/libm-test-ulps: Update.
31756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31758 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31760 * .gitignore: Delete /ports entry.
31762 2012-07-03 Andreas Jaeger <aj@suse.de>
31764 * po/bg.po: Update from translation team.
31765 * po/cs.po: Likewise.
31766 * po/de.po: Likewise.
31767 * po/hr.po: Likewise.
31768 * po/nl.pl: Likewise.
31769 * po/pl.po: Likewise.
31770 * po/vi.po: Likewise.
31772 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31774 * Makeconfig [!+link] (+link-before-libc): New variable.
31775 [!+link] (+link-after-libc): Likewise.
31776 [!+link] (+link-tests): Likewise.
31777 [!+link] (+link): Define in terms of $(+link-before-libc) and
31778 $(+link-after-libc).
31779 [!+link-static] (+link-static-before-libc): New variable.
31780 [!+link-static] (+link-static-after-libc): Likewise.
31781 [!+link-static] (+link-static-tests): Likewise.
31782 [!+link-static] (+link-static): Define in terms of
31783 $(+link-static-before-libc) and $(+link-static-after-libc).
31784 [build-shared] (link-libc-before-gnulib): New variable.
31785 [build-shared] (link-libc-tests): Likewise.
31786 [build-shared] (link-libc): Define in terms of
31787 $(link-libc-before-gnulib).
31788 [!build-shared] (link-libc-tests): New variable.
31789 (link-libc-static-tests): New variable.
31790 [!gnulib] (gnulib-arch): New variable.
31791 [!gnulib] (gnulib-tests): Likewise.
31792 [!gnulib] (static-gnulib-arch): Likewise.
31793 [!gnulib] (static-gnulib-tests): Likewise.
31794 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31795 Define with "=" instead of ":=".
31796 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31797 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31798 * Rules (binaries-all-notests): New variable.
31799 (binaries-all-tests): Likewise.
31800 (binaries-static-notests): Likewise.
31801 (binaries-static-tests): Likewise.
31802 (binaries-all): Define using $(binaries-all-notests) and
31803 $(binaries-all-tests).
31804 (binaries-static): Define using $(binaries-static-notests) and
31805 $(binaries-static-tests).
31806 (binaries-shared-tests): New variable.
31807 (binaries-shared-notests): Likewise.
31808 (binaries-shared): Remove variable.
31809 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31810 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31811 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31812 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31813 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31814 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31815 * elf/Makefile (sln-modules): New variable.
31816 (extra-objs): Add $(sln-modules:=.o).
31817 (ldconfig-modules): Add static-stubs.
31818 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31819 * elf/static-stubs.c: New file.
31822 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31823 by 7 not 8 to examine high bit of fractional part. Use volatile
31824 variables when splitting into final array of floats if
31825 __FLT_EVAL_METHOD__ != 0.
31826 * math/libm-test.inc (cos_test): Add another test.
31827 (sin_test): Likewise.
31828 * sysdeps/i386/fpu/libm-test-ulps: Update.
31831 * math/libm-test.inc (cosh_test): Add more tests.
31833 * version.h (RELEASE): Set to "development".
31834 (VERSION): Set to "2.16.90".
31836 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31838 * NEWS: Update copyright. Remove last-updated date.
31839 Mention math library bug fixes and timezone data changes.
31840 * README: Mention GNU/Hurd, x32, and HPPA support status.
31842 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31844 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31846 2012-06-27 Andreas Jaeger <aj@suse.de>
31848 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31850 2012-06-25 Andreas Jaeger <aj@suse.de>
31852 * sysdeps/s390/fpu/libm-test-ulps: Update.
31854 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31855 Thomas Schwinge <thomas@codesourcery.com>
31857 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31858 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31862 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31864 * sysdeps/mach/start.c: Remove file.
31865 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31866 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31867 * sysdeps/sh/init-first.c: Likewise.
31869 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31870 registers for frame unwinding purposes, add CFI directives.
31871 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31873 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31876 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31877 __fortify_fail returning.
31878 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31880 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31881 sysdeps/sh/____longjmp_chk.S.
31882 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31883 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31884 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31885 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31887 * sysdeps/sh/abort-instr.h: New file.
31888 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31889 process in case exit returns.
31891 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31892 initialize the GOT register before use.
31894 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31895 calculation of ARGC > 4.
31897 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31898 meaningful names to some local labels.
31900 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31901 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31903 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31904 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31905 (__arch_compare_and_exchange_val_16_acq): Likewise.
31906 (__arch_compare_and_exchange_val_32_acq): Likewise.
31907 (atomic_exchange_and_add): Fix gUSA sequence.
31908 (atomic_add): Likewise.
31909 (atomic_add_negative): Likewise.
31910 (atomic_add_zero): Likewise.
31911 (atomic_bit_test_set): Likewise.
31913 2012-06-22 Andreas Schwab <schwab@redhat.com>
31916 * include/link.h (struct link_map): Add l_free_initfini.
31917 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31919 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31920 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31921 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31924 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31926 * configure.in: Use AC_LANG_SOURCE.
31927 * configure: Regenerate.
31929 2012-06-22 Roland McGrath <roland@hack.frob.com>
31931 * configure.in (libc_cv_localstatedir): New substituted variable.
31932 * configure: Regenerated.
31933 * config.make.in (localstatedir): New variable, substituted from
31934 libc_cv_localstatedir.
31935 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31936 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31937 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31938 * sysdeps/gnu/configure: Regenerated.
31940 2012-06-21 Jeff Law <law@redhat.com>
31943 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31944 free. Simplify list management for _LIBC case.
31946 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31949 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31950 Clear sign bit of 64-bit integer value before comparing against
31953 * sysdeps/mach/configure: Regenerated.
31955 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31958 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31960 2012-06-21 Jeff Law <law@redhat.com>
31963 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31964 uint16_t for elements in the "seen" array to avoid char overflows.
31965 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31966 * elf/dl-open.c (dl_open_worker): Likewise.
31968 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31970 * scripts/list-sources.sh: Scan PORTS for translations.
31971 * po/libc.pot: Regenerated.
31973 2012-06-21 Andreas Jaeger <aj@suse.de>
31976 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31978 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31979 * bits/byteswap-16.h (__bswap_16): Likewise.
31980 * bits/byteswap.h (__bswap_constant_16): Likewise.
31982 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31985 * sysdeps/i386/fpu_control.h: Removed.
31986 * sysdeps/x86_64/fpu_control.h: Moved to ...
31987 * sysdeps/x86/fpu_control.h: Here.
31989 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31990 (_FPU_SETCW): Likewise.
31992 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31995 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31996 * sysdeps/x86/fpu/bits/mathinline.h: This.
31997 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32001 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32002 functions if __x86_64__ is defined.
32004 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32006 * string/endian.h: Add !__ASSEMBLER__ condition for including
32007 conversion interfaces.
32009 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32013 of ABS(x) in calculating zero to negative powers other than odd
32015 * math/libm-test.inc (pow_test): Add more tests.
32017 2012-06-15 Andreas Jaeger <aj@suse.de>
32019 * manual/contrib.texi (Contributors): Update entry of Liubov
32020 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32023 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32025 * string/string.h: Add __wur to GNU version of strerror_r.
32027 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32030 * string/Makefile (tests): Add tst-strtok_r.
32031 * string/tst-strtok_r.c: New file.
32032 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32033 RAX_LP/RDX_LP on SAVE_PTR.
32035 2012-06-14 Roland McGrath <roland@hack.frob.com>
32037 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32039 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32041 * libm_test.inc (csqrt_test): Allow more spurious underflow
32043 (j0_test): Likewise.
32044 (j1_test): Likewise.
32045 (y0_test): Likewise.
32046 (y1_test): Likewise.
32048 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32050 * po/Makefile (libc.pot): Use UTF-8 charset.
32052 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32055 Suppress sign-conversion warning from FD_SET.
32056 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32057 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32058 not unsigned long int.
32059 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32061 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32065 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32066 __extern_always_inline instead of __extern_inline.
32067 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32068 (__signbit): Likewise.
32069 (__signbitl): Support C++ namespace.
32070 (lrintf): New inline function.
32072 (llrintf): Likewise.
32073 (llrint): Likewise.
32083 (floorf): Likewise.
32084 (nearbyint): Likewise.
32085 (nearbyintf): Likewise.
32087 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32090 non-default versions.
32092 2012-06-11 Roland McGrath <roland@hack.frob.com>
32095 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32097 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32099 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32100 (FE_UPWARD, FE_DOWNWARD): Don't define.
32101 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32102 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32104 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32106 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32109 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32111 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32114 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32116 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32119 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32120 * sysdeps/i386/fpu/Implies: New file.
32121 * sysdeps/x86_64/fpu/Implies: Likewise.
32122 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32123 * sysdeps/x86/fpu/bits/fenv.h: This.
32125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32128 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32131 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32132 character 0xffff that matches the last element of the
32135 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32140 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32143 values higher than 25.6283.
32145 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32148 subnormal exponent extraction and add some __builtin_expect.
32149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32150 Fix for subnormal mantissa calculation.
32152 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32154 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32155 cpu2 is -1 and errno is not ENOSYS.
32157 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32160 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32161 * sysdeps/x86/bits/string.h: This.
32162 * sysdeps/x86_64/bits/string.h: Removed.
32164 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32165 if not compiling for x86-64, but compiling for >= i486.
32167 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32168 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32170 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32171 New macro from Linux kernel 3.4.0.
32172 (FP_XSTATE_MAGIC2): Likewise.
32173 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32174 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32175 (struct _fpx_sw_bytes): New struct.
32176 (struct _xsave_hdr): Likewise.
32177 (struct _ymmh_state): Likewise.
32178 (struct _xstate): Likewise.
32180 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32181 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32183 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32184 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32185 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32187 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32189 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32190 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32191 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32192 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32194 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32197 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32198 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32199 (sysdep_headers): Include sys/platform/ppc.h.
32200 * sysdeps/powerpc/test-gettimebase.c: Test for
32201 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32202 * manual/Makefile (appendices): Include platform.texi.
32203 * manual/contrib.texi (Contributors): Update @node pointers.
32204 * manual/maint.texi (Maintenance): Likewise.
32205 (Platform): New node.
32206 * manual/platform.texi: New file. Document the new features.
32208 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32209 Jakub Jelinek <jakub@redhat.com>
32212 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32213 where __builtin_expect is unavailable.
32215 2012-06-03 David S. Miller <davem@davemloft.net>
32217 * stdlib/longlong.h: Updated from GCC.
32219 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32222 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32223 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32226 (GLIBC_2.16): Likewise.
32228 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32230 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32232 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32235 (default-abi): New variable.
32236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32239 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32241 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32243 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32246 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32247 definition. Document in comment.
32249 2012-06-01 David S. Miller <davem@davemloft.net>
32251 * stdlib/longlong.h: Updated from GCC.
32253 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32256 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32257 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32258 sys/debugreg.h sys/io.h here.
32259 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32260 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32262 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32263 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32264 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32265 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32266 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32267 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32270 Define only if __x86_64__ is defined.
32272 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32276 Use int64_t for variable i.
32277 * math/libm-test.inc (fmod_test): Add more tests.
32279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32280 z computation is not scheduled after fetestexcept.
32281 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32282 Use math_force_eval instead of asm to ensure calculation scheduled
32283 before exception test.
32284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32285 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32287 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32290 computation is not scheduled after fetestexcept.
32292 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32295 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32296 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32298 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32300 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32301 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32303 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32306 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32308 (__WCHAR_MIN): Support __WORDSIZE == 64.
32309 (__WCHAR_MAX): Likewise.
32311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32316 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32319 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32322 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32323 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32325 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32326 Defined to 1 if __x86_64__ isn't defined.
32327 (_STAT_VER_LINUX_OLD): New.
32328 (st_atime): Remove duplicate.
32329 (st_mtime): Likewise.
32330 (st_ctime): Likewise.
32332 2012-05-31 David S. Miller <davem@davemloft.net>
32334 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32337 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32339 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32343 * elf/dl-reloc.c: Include <_itoa.h>.
32344 (_dl_reloc_bad_type): Remove use of INTUSE.
32345 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32346 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32347 * stdio-common/psiginfo.c (psiginfo): Likewise.
32348 * stdio-common/psignal.c (psignal): Likewise.
32349 * string/strsignal.c (strsignal): Likewise.
32350 * include/signal.h (_sys_siglist): Declare hidden proto.
32351 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32352 INTVARDEF with libc_hidden_data_def.
32353 * stdio-common/itoa-udigits.c: Likewise.
32354 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32355 (_itoa_lower_digits_internal): Remove declaration.
32356 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32357 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32358 (_sys_sigabbrev_internal): Remove aliases.
32359 (_sys_siglist): Define hidden alias.
32361 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32366 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32369 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32370 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32372 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32373 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32374 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32375 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32377 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32379 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32380 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32381 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32383 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32391 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32393 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32395 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32396 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32398 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32399 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32400 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32402 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32403 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32406 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32412 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32413 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32415 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32417 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32418 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32419 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32421 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32423 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32425 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32427 * math/math.h (M_El): Use two more decimal places.
32428 (M_LOG2El): Likewise.
32429 (M_LOG10El): Likewise.
32430 (M_LN2l): Likewise.
32431 (M_LN10l): Likewise.
32433 (M_PI_2l): Likewise.
32434 (M_PI_4l): Likewise.
32435 (M_1_PIl): Likewise.
32436 (M_2_PIl): Likewise.
32437 (M_2_SQRTPIl): Likewise.
32438 (M_SQRT2l): Likewise.
32439 (M_SQRT1_2l): Likewise.
32441 2012-05-31 David S. Miller <davem@davemloft.net>
32443 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32444 values between float registers.
32445 * sysdeps/sparc/sparc64/memset.S: Likewise.
32446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32448 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32450 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32451 -D_FORTIFY_SOURCE=1.
32452 (CPPFLAGS-tst-longjmp_chk.c): Define.
32453 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32454 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32455 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32456 CFLAGS-tst-wchar-h.c.
32458 2012-05-31 Marek Polacek <polacek@redhat.com>
32461 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32462 __endmntent_internal): Remove declaration.
32463 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32464 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32465 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32467 2012-05-30 David S. Miller <davem@davemloft.net>
32469 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32470 (___Q_simulate_exceptions): Use real FP ops rather than writing
32472 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32475 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32478 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32479 * sysdeps/x86/bits/xtitypes.h: This.
32481 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32482 * sysdeps/x86/bits/wordsize.h: This.
32484 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32485 * sysdeps/x86/bits/huge_vall.h: This.
32487 * sysdeps/i386/bits/select.h: Removed.
32488 * sysdeps/x86_64/bits/select.h: Renamed to ...
32489 * sysdeps/x86/bits/select.h: This.
32491 * sysdeps/i386/bits/setjmp.h: Removed.
32492 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32493 * sysdeps/x86/bits/setjmp.h: This.
32495 * sysdeps/i386/bits/mathdef.h: Removed.
32496 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32497 * sysdeps/x86/bits/mathdef.h: This.
32499 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32502 * include/sys/socket.h (__connect_internal)
32503 (__libc_sa_len_internal): Remove declaration.
32504 (__connect, __libc_sa_len): Declare hidden_proto.
32505 (SA_LEN): Remove use of INTUSE.
32506 * socket/connect.c: Add libc_hidden_def.
32507 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32508 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32509 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32511 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32512 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32513 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32514 of adding _internal alias.
32516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32519 * sysdeps/i386/bits/link.h: Removed.
32520 * sysdeps/i386/bits/linkmap.h: Likewise.
32521 * sysdeps/x86_64/bits/link.h: Renamed to ...
32522 * sysdeps/x86/bits/link.h: This.
32523 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32524 * sysdeps/x86/bits/linkmap.h: This.
32526 * sysdeps/i386/bits/endian.h: Removed.
32527 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32528 * sysdeps/x86/bits/endian.h: This.
32530 * sysdeps/i386/bits/byteswap.h: Removed.
32531 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32532 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32533 * sysdeps/x86/bits/byteswap.h: This.
32534 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32535 * sysdeps/x86/bits/byteswap-16.h: This.
32536 * sysdeps/i386/Implies: Add x86.
32537 * sysdeps/x86_64/Implies: Likewise.
32539 2012-05-30 David S. Miller <davem@davemloft.net>
32541 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32542 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32543 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32544 (FP_TRAPPING_EXCEPTIONS): Define.
32545 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32546 (FP_TRAPPING_EXCEPTIONS): Define.
32547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32548 subnormals only when inexact has been signalled or underflow
32549 exceptions are enabled.
32550 (_FP_PACK_CANONICAL): Likewise.
32552 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32556 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32558 2012-05-30 Richard Henderson <rth@twiddle.net>
32560 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32561 with #ifndef NOT_IN_libc.
32563 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32564 marked to avoid plt entry.
32566 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32569 * Makeconfig (default-abi): New macro.
32570 (abi-includes): Likewise.
32571 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32572 $(abi-$(default-abi)-lib-soname) for soname if defined.
32573 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32575 * Makefile (installed-stubs): Likewise.
32576 * include/stubs-biarch.h: Removed.
32577 * scripts/lib-names.awk: Only handle one library at a time.
32578 * scripts/soversions.awk: Remove WORDSIZE support.
32579 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32581 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32583 (syscall-list-default-condition): Likewise.
32584 (syscall-list-default-condition): Likewise.
32585 (syscall-list-includes): Likewise.
32586 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32587 syscall-list-* with abi-*. Handle undefined abi-variants.
32588 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32589 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32590 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32591 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32592 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32593 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32595 (syscall-list-32-options): Likewise.
32596 (syscall-list-32-condition): Likewise.
32597 (syscall-list-64-options): Likewise.
32598 (syscall-list-64-condition): Likewise.
32599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32601 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32604 (abi-64-ld-soname): New macro.
32605 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32606 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32609 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32610 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32612 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32614 * sysdeps/unix/sysv/linux/kernel-features.h
32615 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32616 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32617 include <kernel-features.h>.
32618 [!__NR_ftruncate64]: Remove conditional code.
32619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32620 [__NR_ftruncate64]: Make code unconditional.
32621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32622 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32623 include <kernel-features.h>.
32624 [!__NR_ftruncate64]: Remove conditional code.
32625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32626 [__NR_ftruncate64]: Make code unconditional.
32627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32629 include <kernel-features.h>.
32630 [!__NR_ftruncate64]: Remove conditional code.
32631 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32632 [__NR_ftruncate64]: Make code unconditional.
32633 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32635 include <kernel-features.h>.
32636 [!__NR_ftruncate64]: Remove conditional code.
32637 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32638 [__NR_ftruncate64]: Make code unconditional.
32639 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32641 * configure.in (libc_cv_fpie): Weaken to a compile test using
32642 LIBC_TRY_CC_OPTION.
32643 * configure: Regenerated.
32645 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32660 2012-05-27 David S. Miller <davem@davemloft.net>
32662 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32664 (__Q_simulate_exceptions): Return void. Change to simulate
32665 exceptions by writing into the %fsr.
32666 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32667 (__Qp_handle_exceptions): Likewise.
32669 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32670 __Qp_handle_exceptions.
32671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32672 __Qp_handle_exceptions.
32673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32674 as unused and give dummy FP_RND_NEAREST initializer.
32675 (FP_INHIBIT_RESULTS): Define.
32676 (___Q_simulate_exceptions): Update declaration.
32677 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32680 as unused and give dummy FP_RND_NEAREST initializer.
32681 (__Qp_handle_exceptions): Update declaration.
32682 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32685 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32687 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32688 the temporary FPU control word.
32689 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32690 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32691 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32692 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32694 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32695 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32697 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32698 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32699 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32701 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32703 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32706 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32708 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32709 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32710 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32711 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32713 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32714 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32717 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32719 * po/h.po: Update from translation team.
32721 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32723 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32725 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32726 handling of denormals.
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32728 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32729 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32730 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32736 2012-05-26 Marek Polacek <polacek@redhat.com>
32739 * math/libm-test.inc (fma_test): Don't always expect underflow
32742 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32745 * elf/tst-execstack.c: Include stackinfo.h.
32746 (do_test): Adjust test case to ensure that pthread_getattr_np
32747 behaviour remains the same after marking stack executable.
32749 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32751 * sysdeps/unix/sysv/linux/kernel-features.h
32752 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32753 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32755 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32756 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32757 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32759 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32760 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32762 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32764 * configure.in: Define the default includes to being none.
32765 * configure: Regenerated.
32767 2012-05-25 Roland McGrath <roland@hack.frob.com>
32769 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32770 * sysdeps/x86_64/setjmp.S: Likewise.
32771 * sysdeps/i386/bsd-setjmp.S: Likewise.
32772 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32773 * sysdeps/i386/setjmp.S: Likewise.
32774 * sysdeps/i386/__longjmp.S: Likewise.
32775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32776 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32778 * include/stap-probe.h: New file.
32779 * configure.in: Handle --enable-systemtap.
32780 * configure: Regenerated.
32781 * config.h.in (USE_STAP_PROBE): New #undef.
32782 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32783 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32784 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32786 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32790 to 2.4.0 where earlier.
32791 * sysdeps/unix/sysv/linux/configure: Regenerated.
32792 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32793 <kernel-features.h>.
32794 [__ASSUME_32BITUIDS]: Make code unconditional.
32795 [!__ASSUME_32BITUIDS]: Remove conditional code.
32796 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32797 <kernel-features.h>.
32798 [__ASSUME_32BITUIDS]: Make code unconditional.
32799 [!__ASSUME_32BITUIDS]: Remove conditional code.
32800 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32801 [__ASSUME_32BITUIDS]: Make code unconditional.
32802 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32803 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32804 <kernel-features.h>.
32805 [__ASSUME_32BITUIDS]: Make code unconditional.
32806 [!__ASSUME_32BITUIDS]: Remove conditional code.
32807 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32808 <kernel-features.h>.
32809 [__ASSUME_32BITUIDS]: Make code unconditional.
32810 [!__ASSUME_32BITUIDS]: Remove conditional code.
32811 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32812 <kernel-features.h>.
32813 [__ASSUME_32BITUIDS]: Make code unconditional.
32814 [!__ASSUME_32BITUIDS]: Remove conditional code.
32815 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32816 <kernel-features.h>.
32817 [__ASSUME_32BITUIDS]: Make code unconditional.
32818 [!__ASSUME_32BITUIDS]: Remove conditional code.
32819 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32820 <kernel-features.h>.
32821 [__ASSUME_32BITUIDS]: Make code unconditional.
32822 [!__ASSUME_32BITUIDS]: Remove conditional code.
32823 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32824 <kernel-features.h>.
32825 [__ASSUME_32BITUIDS]: Make code unconditional.
32826 [!__ASSUME_32BITUIDS]: Remove conditional code.
32827 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32828 <kernel-features.h>.
32829 [__ASSUME_32BITUIDS]: Make code unconditional.
32830 [!__ASSUME_32BITUIDS]: Remove conditional code.
32831 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32832 <kernel-features.h>.
32833 [__ASSUME_32BITUIDS]: Make code unconditional.
32834 [!__ASSUME_32BITUIDS]: Remove conditional code.
32835 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32836 <kernel-features.h>.
32837 [__ASSUME_32BITUIDS]: Make code unconditional.
32838 [!__ASSUME_32BITUIDS]: Remove conditional code.
32839 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
32844 <kernel-features.h>.
32845 [__NR_setresgid] (__setresgid): Do not declare.
32846 [__ASSUME_32BITUIDS]: Make code unconditional.
32847 [!__ASSUME_32BITUIDS]: Remove conditional code.
32848 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32849 <kernel-features.h>.
32850 [__NR_setresuid] (__setresuid): Do not declare.
32851 [__ASSUME_32BITUIDS]: Make code unconditional.
32852 [!__ASSUME_32BITUIDS]: Remove conditional code.
32853 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32854 <kernel-features.h>.
32855 [__ASSUME_32BITUIDS]: Make code unconditional.
32856 [!__ASSUME_32BITUIDS]: Remove conditional code.
32857 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32858 <kernel-features.h>.
32859 [__ASSUME_32BITUIDS]: Make code unconditional.
32860 [!__ASSUME_32BITUIDS]: Remove conditional code.
32861 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32862 <kernel-features.h>.
32863 [__ASSUME_32BITUIDS]: Make code unconditional.
32864 [!__ASSUME_32BITUIDS]: Remove conditional code.
32865 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32866 <kernel-features.h>.
32867 [__ASSUME_32BITUIDS]: Make code unconditional.
32868 [!__ASSUME_32BITUIDS]: Remove conditional code.
32869 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32870 <kernel-features.h>.
32871 [__ASSUME_32BITUIDS]: Make code unconditional.
32872 [!__ASSUME_32BITUIDS]: Remove conditional code.
32873 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32874 <kernel-features.h>.
32875 [__ASSUME_32BITUIDS]: Make code unconditional.
32876 [!__ASSUME_32BITUIDS]: Remove conditional code.
32877 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32878 <kernel-features.h>.
32879 [__ASSUME_32BITUIDS]: Make code unconditional.
32880 [!__ASSUME_32BITUIDS]: Remove conditional code.
32881 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32882 <kernel-features.h>.
32883 [__ASSUME_32BITUIDS]: Make code unconditional.
32884 [!__ASSUME_32BITUIDS]: Remove conditional code.
32885 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32886 <kernel-features.h>.
32887 [__ASSUME_32BITUIDS]: Make code unconditional.
32888 [!__ASSUME_32BITUIDS]: Remove conditional code.
32889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32890 <kernel-features.h>.
32891 [__ASSUME_32BITUIDS]: Make code unconditional.
32892 [!__ASSUME_32BITUIDS]: Remove conditional code.
32893 * sysdeps/unix/sysv/linux/kernel-features.h
32894 (__ASSUME_SETRESUID_SYSCALL): Remove.
32895 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32896 (__ASSUME_32BITUIDS): Likewise.
32897 (__ASSUME_LDT_WORKS): Likewise.
32898 (__ASSUME_O_DIRECTORY): Likewise.
32899 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32900 architecture but not kernel version.
32901 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32902 (__ASSUME_MMAP2_SYSCALL): Likewise.
32903 (__ASSUME_STAT64_SYSCALL): Likewise.
32904 (__ASSUME_IPC64): Likewise.
32905 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32906 <kernel-features.h>.
32907 [__ASSUME_32BITUIDS]: Make code unconditional.
32908 [!__ASSUME_32BITUIDS]: Remove conditional code.
32909 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32910 <kernel-features.h>.
32911 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32912 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32913 132096]: Remove conditional code.
32914 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32916 <kernel-features.h>.
32917 [__ASSUME_32BITUIDS]: Make code unconditional.
32918 [!__ASSUME_32BITUIDS]: Remove conditional code.
32919 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32920 <kernel-features.h>.
32921 [__ASSUME_32BITUIDS]: Make code unconditional.
32922 [!__ASSUME_32BITUIDS]: Remove conditional code.
32923 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32924 <kernel-features.h>.
32925 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32927 (__setresgid): Do not declare.
32928 [__ASSUME_32BITUIDS]: Make code unconditional.
32929 [!__ASSUME_32BITUIDS]: Remove conditional code.
32930 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32931 <kernel-features.h>.
32932 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32934 (__setresuid): Do not declare.
32935 [__ASSUME_32BITUIDS]: Make code unconditional.
32936 [!__ASSUME_32BITUIDS]: Remove conditional code.
32937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32938 <kernel-features.h>.
32939 [__ASSUME_32BITUIDS]: Make code unconditional.
32940 [!__ASSUME_32BITUIDS]: Remove conditional code.
32941 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32942 <kernel-features.h>.
32943 [__ASSUME_32BITUIDS]: Make code unconditional.
32944 [!__ASSUME_32BITUIDS]: Remove conditional code.
32946 2012-05-25 Richard Henderson <rth@twiddle.net>
32948 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32949 dl_hwcap to ifunc resolver.
32950 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32952 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32953 dl_hwcap to ifunc resolver.
32954 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32956 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32959 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32960 for |x| <= 2**-26, not 2**-57.
32961 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32964 2012-05-24 Jeff Law <law@redhat.com>
32966 * stdio-common/Makefile (tests): Add bug25.
32967 * stdio-common/bug25.c: New test.
32969 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32972 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32973 multiple of MALLOC_ALIGNMENT in size.
32974 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32976 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32978 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32980 (FILENAME_MAX): Use macro-int-constant.
32981 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32982 (_IOFBF): Use macro-int-constant.
32983 (_IOLBF): Likewise.
32984 (_IONBF): Likewise.
32985 (SEEK_CUR): Likewise.
32986 (SEEK_END): Likewise.
32987 (SEEK_SET): Likewise.
32988 (TMP_MAX): Likewise.
32989 (EOF): Use macro-int-constant. Require < 0.
32990 (NULL): Use macro-constant. Require == 0.
32991 (stdin): Require type to be FILE *.
32992 (stdout): Likewise.
32993 (stderr): Likewise.
32994 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32995 macro-int-constant.
32996 (EXIT_SUCCESS): Likewise.
32997 (NULL): Use macro-constant. Require == 0.
32998 (RAND_MAX): Use macro-int-constant.
32999 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33000 [C99-based standards] (strtof): Require function.
33001 [C99-based standards] (strtold): Likewise.
33002 [C99-based standards] (strtoll): Likewise.
33003 [C99-based standards] (strtoull): Likewise.
33004 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33005 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33006 [ISO || ISO99 || ISO11] (math.h): Likewise.
33007 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33008 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33011 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33014 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33015 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33016 * intl/dgettext.c (DCGETTEXT): Likewise.
33017 * intl/gettext.c (DCGETTEXT): Likewise.
33018 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33019 * posix/regex_internal.h (gettext): Likewise.
33020 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33021 Remove declaration.
33022 * include/argz.h (__argz_count_internal)
33023 (__argz_stringify_internal): Remove declaration.
33024 (__argz_count, __argz_stringify): Declare hidden proto.
33025 * intl/dcgettext.c: Remove use of INTDEF.
33026 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33027 * string/argz-stringify.c: Likewise.
33028 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33029 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33030 Declare hidden proto.
33031 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33032 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33033 Declare hidden proto.
33034 * include/stdio.h (__asprintf_internal): Don't declare.
33035 (__asprintf): Don't define as macro. Declare hidden proto.
33036 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33037 (__fsetlocking): Declare hidden proto.
33038 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33039 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33041 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33042 (_IO_setlinebuf): Remove use of INTUSE.
33043 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33044 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33045 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33046 Remove declaration.
33047 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33048 (_IO_do_flush): Remove use of INTUSE.
33049 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33050 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33051 (_IO_adjust_column, _IO_least_wmarker)
33052 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33053 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33054 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33055 (_IO_default_doallocate, _IO_wdefault_doallocate)
33056 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33057 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33058 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33059 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33060 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33061 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33062 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33063 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33064 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33065 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33066 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33067 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33068 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33070 (_IO_flush_all_internal, _IO_adjust_column_internal)
33071 (_IO_default_uflow_internal, _IO_default_finish_internal)
33072 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33073 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33074 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33075 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33076 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33077 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33078 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33079 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33080 (_IO_file_close_internal, _IO_file_close_it_internal)
33081 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33082 (_IO_file_init_internal, _IO_file_attach_internal)
33083 (_IO_file_fopen_internal, _IO_file_read_internal)
33084 (_IO_file_sync_internal, _IO_file_seek_internal)
33085 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33086 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33087 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33088 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33089 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33090 (_IO_list_all_internal, _IO_link_in_internal)
33091 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33092 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33093 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33094 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33095 (_IO_do_write_internal, _IO_padn_internal)
33096 (_IO_getline_info_internal, _IO_getline_internal)
33097 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33098 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33099 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33100 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33101 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33102 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33103 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33104 with libc_hidden_ver, remove use of INTUSE.
33105 * libio/genops.c: Likewise.
33106 * libio/freopen.c: Likewise.
33107 * libio/freopen64.c: Likewise.
33108 * libio/iofclose.c: Likewise.
33109 * libio/iofdopen.c: Likewise.
33110 * libio/iofflush.c: Likewise.
33111 * libio/iofflush_u.c: Likewise.
33112 * libio/iofgets.c: Likewise.
33113 * libio/iofgets_u.c: Likewise.
33114 * libio/iofopen.c: Likewise.
33115 * libio/iofopncook.c: Likewise.
33116 * libio/iofread.c: Likewise.
33117 * libio/iofread_u.c: Likewise.
33118 * libio/ioftell.c: Likewise.
33119 * libio/iofwrite.c: Likewise.
33120 * libio/iogetline.c: Likewise.
33121 * libio/iogets.c: Likewise.
33122 * libio/iogetwline.c: Likewise.
33123 * libio/iopadn.c: Likewise.
33124 * libio/iopopen.c: Likewise.
33125 * libio/ioseekoff.c: Likewise.
33126 * libio/ioseekpos.c: Likewise.
33127 * libio/iosetbuffer.c: Likewise.
33128 * libio/iosetvbuf.c: Likewise.
33129 * libio/ioungetc.c: Likewise.
33130 * libio/ioungetwc.c: Likewise.
33131 * libio/iovdprintf.c: Likewise.
33132 * libio/iovsprintf.c: Likewise.
33133 * libio/iovsscanf.c: Likewise.
33134 * libio/memstream.c: Likewise.
33135 * libio/obprintf.c: Likewise.
33136 * libio/oldfileops.c: Likewise.
33137 * libio/oldiofclose.c: Likewise.
33138 * libio/oldiofdopen.c: Likewise.
33139 * libio/oldiofopen.c: Likewise.
33140 * libio/oldiopopen.c: Likewise.
33141 * libio/oldstdfiles.c: Likewise.
33142 * libio/putc.c: Likewise.
33143 * libio/setbuf.c: Likewise.
33144 * libio/setlinebuf.c: Likewise.
33145 * libio/stdfiles.c: Likewise.
33146 * libio/strops.c: Likewise.
33147 * libio/vasprintf.c: Likewise.
33148 * libio/vscanf.c: Likewise.
33149 * libio/vsnprintf.c: Likewise.
33150 * libio/vswprintf.c: Likewise.
33151 * libio/wfiledoalloc.c: Likewise.
33152 * libio/wfileops.c: Likewise.
33153 * libio/wgenops.c: Likewise.
33154 * libio/wmemstream.c: Likewise.
33155 * libio/wstrops.c: Likewise.
33156 * libio/__fpurge.c: Likewise.
33157 * libio/__fsetlocking.c: Likewise.
33158 * assert/assert.c: Likewise.
33159 * debug/fgets_chk.c: Likewise.
33160 * debug/fgets_u_chk.c: Likewise.
33161 * debug/fread_chk.c: Likewise.
33162 * debug/fread_u_chk.c: Likewise.
33163 * debug/gets_chk.c: Likewise.
33164 * debug/obprintf_chk.c: Likewise.
33165 * debug/vasprintf_chk.c: Likewise.
33166 * debug/vdprintf_chk.c: Likewise.
33167 * debug/vsnprintf_chk.c: Likewise.
33168 * debug/vsprintf_chk.c: Likewise.
33169 * malloc/mtrace.c: Likewise.
33170 * misc/error.c: Likewise.
33171 * misc/syslog.c: Likewise.
33172 * stdio-common/asprintf.c: Likewise.
33173 * stdio-common/fxprintf.c: Likewise.
33174 * stdio-common/getw.c: Likewise.
33175 * stdio-common/isoc99_fscanf.c: Likewise.
33176 * stdio-common/isoc99_scanf.c: Likewise.
33177 * stdio-common/isoc99_vfscanf.c: Likewise.
33178 * stdio-common/isoc99_vscanf.c: Likewise.
33179 * stdio-common/isoc99_vsscanf.c: Likewise.
33180 * stdio-common/printf-prs.c: Likewise.
33181 * stdio-common/printf_fp.c: Likewise.
33182 * stdio-common/printf_fphex.c: Likewise.
33183 * stdio-common/printf_size.c: Likewise.
33184 * stdio-common/putw.c: Likewise.
33185 * stdio-common/scanf.c: Likewise.
33186 * stdio-common/sprintf.c: Likewise.
33187 * stdio-common/tmpfile.c: Likewise.
33188 * stdio-common/vfprintf.c: Likewise.
33189 * stdio-common/vfscanf.c: Likewise.
33190 * stdlib/strfmon_l.c: Likewise.
33191 * sunrpc/openchild.c: Likewise.
33192 * sunrpc/xdr_stdio.c: Likewise.
33193 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33194 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33196 2012-05-24 Roland McGrath <roland@hack.frob.com>
33198 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33200 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33201 in the third column, to generate for the shared library an IFUNC
33202 that uses _dl_vdso_vsym.
33203 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33204 * Makeconfig (object-suffixes-noshared): New variable.
33206 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33207 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33208 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33209 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33212 * include/sys/time.h (__gettimeofday): Remove macro.
33213 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33214 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33216 (__gettimeofday): Add libc_hidden_def.
33217 (gettimeofday): Add libc_hidden_weak.
33218 * sysdeps/mach/gettimeofday.c: Likewise.
33219 * sysdeps/posix/gettimeofday.c: Likewise.
33220 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33221 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33223 (__gettimeofday_internal): Remove strong_alias.
33224 (__gettimeofday): Add libc_hidden_def.
33225 (gettimeofday): Add libc_hidden_weak.
33226 * sysdeps/unix/syscalls.list (gettimeofday):
33227 Remove __gettimeofday_internal alias.
33229 2012-05-24 Daniel Jacobowitz <drow@false.org>
33230 H.J. Lu <hongjiu.lu@intel.com>
33233 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33234 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33235 (largebin_index_32_big): New.
33236 (largebin_index): Use it for 16-byte alignment.
33237 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33238 correction with front_misalign.
33240 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33268 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33269 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33271 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33275 * math/libm-test.inc (exp_test): Add test from bug 14036.
33276 (pow_test): Add test from bug 10846.
33278 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33280 (special_function): Do not include flags in test name.
33281 (parse_args): Likewise.
33282 * sysdeps/i386/fpu/libm-test-ulps: Update.
33283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33288 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33290 * math/libm-test.inc ("Philosophy"): Update comment about
33292 (UNDERFLOW_EXCEPTION): New macro.
33293 (UNDERFLOW_EXCEPTION_OK): Likewise.
33294 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33295 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33296 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33297 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33298 (INVALID_EXCEPTION_OK): Update value.
33299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33300 (OVERFLOW_EXCEPTION_OK): Likewise.
33301 (IGNORE_ZERO_INF_SIGN): Likewise.
33302 (test_exceptions): Handle underflow exceptions.
33303 (acos_test): Update for underflow exception expectations.
33304 (cexp_test): Likewise.
33305 (clog_test): Likewise.
33306 (clog10_test): Likewise.
33307 (csqrt_test): Likewise.
33308 (ctan_test): Likewise.
33309 (ctanh_test): Likewise.
33310 (exp_test): Likewise.
33311 (exp10_test): Likewise.
33312 (exp2_test): Likewise.
33313 (expm1_test): Likewise.
33314 (fma_test): Likewise.
33315 (j0_test): Likewise.
33316 (jn_test): Likewise.
33317 (nexttoward_test): Likewise.
33318 (pow_test): Likewise.
33319 (scalbn_test): Likewise.
33320 (scalbln_test): Likewise.
33321 (tan_test): Likewise.
33322 (y1_test): Likewise.
33323 * sysdeps/i386/fpu/libm-test-ulps: Update.
33324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33326 2012-05-23 David S. Miller <davem@davemloft.net>
33328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33329 (__libc_sigaction): Remove unused local variables.
33331 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33333 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33335 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33337 mktime: avoid signed integer overflow
33338 * time/mktime.c (__mktime_internal): Do not mishandle the case
33339 where diff == INT_MIN.
33341 mktime: simplify computation of average
33342 * time/mktime.c (ranged_convert): Use new time_t_avg function
33343 instead of rolling our own (probably-slower) code.
33345 mktime: do not assume signed right shift propagates sign bit
33346 * time/mktime.c (isdst_differ): New static function.
33347 (__mktime_internal): No need to normalize tm_isdst now.
33348 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33351 mktime: merge another wrapv change from gnulib
33352 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33353 from some compilers.
33355 mktime: remove incorrect attempt at unusual arithmetics
33356 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33357 The code didn't really work on such machines anyway.
33358 (TYPE_MINIMUM): Assume two's complement.
33359 (twos_complement_arithmetic): Verify that long_int and time_t
33360 are two's complement (or unsigned, in the latter case).
33362 mktime: check signed shifts on long_int and time_t, too
33363 * time/mktime.c (SHR): Check that shifts work as desired
33364 on the types long_int and time_t too, as SHR is used on
33367 mktime: do not assume 'long' is wide enough
33368 * time/mktime.c (verify): Move decl up.
33369 (long_int): New type.
33370 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33371 to remove assumption in the code that 'long' is wide enough to
33372 store year values. This assumption is not true on x32 and on
33373 some non-glibc platforms.
33375 mktime: merge wrapv change from gnulib
33376 * time/mktime.c (WRAPV): New macro.
33377 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33378 (guess_time_tm, __mktime_internal): Do not assume that signed
33379 integer overflow wraps around; modern compilers generate code
33380 where this assumption is no longer valid.
33382 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33384 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33385 Replace "jmp L(pseudo_end)" with "ret".
33386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33389 2012-05-23 Andreas Jaeger <aj@suse.de>
33391 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33392 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33394 2012-05-23 Andreas Jaeger <aj@suse.de>
33395 Maximilian Attems <max@stro.at>
33397 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33400 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33403 code so that pseudo_end is just ret and the stack pointer is
33404 correct also for static library in error case.
33406 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33408 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33409 move to syscalls.list.
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33415 * manual/install.texi (Running make install): Do not mention Linux
33416 kernel version for which pt_chown is not needed.
33417 (Linux): Do not mention problems with nscd with 2.0 kernels.
33418 * INSTALL: Regenerated.
33420 2012-05-23 Andreas Jaeger <aj@suse.de>
33422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33423 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33425 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33427 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33429 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33433 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33435 * sysdeps/unix/sysv/linux/bits/in.h
33436 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33438 2012-05-22 Roland McGrath <roland@hack.frob.com>
33440 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33441 (PREPARE_VERSION): Just use assert instead, it will be elided
33442 under [NDEBUG] anyway.
33444 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33446 * sysdeps/unix/sysv/linux/Makefile: Include
33447 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33448 (sysdep_routines): Remove sysctl.
33449 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33450 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33451 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33452 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33453 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33455 2012-05-22 Andreas Jaeger <aj@suse.de>
33457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33458 that pseudo_end is just ret and the stack pointer is correct also
33459 for static library in error case.
33461 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33464 * nss/nsswitch.c (defconfig_entries): New variable.
33465 (__nss_database_lookup): Don't leak defconfig entries.
33466 (nss_parse_service_list): Don't leak on error paths.
33467 (free_database_entries): New function.
33468 (free_defconfig): New function.
33469 (free_mem): Move common code to free_database_entries.
33471 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33475 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33477 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33478 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33481 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33482 (INTERNAL_SYSCALL_TYPES): Likewise.
33483 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33484 (LOAD_REGS_TYPES_[1-6]): Likewise.
33485 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33486 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33488 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33490 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33491 copysignl for GLIBC_2_0.
33492 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33493 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33495 logbl for GLIBC_2_0.
33496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33497 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33499 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33501 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33504 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33507 * time/mktime.c: Update copyright years.
33509 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33511 mktime: merge comment-quoting-style change from gnulib
33512 * time/mktime.c: Quote 'like this' in comments.
33513 The GNU coding standards suggest that we no longer quote `like this',
33514 as "`" and "'" are typically rendered asymmetrically nowadays.
33515 The typical gnulib style is to quote 'like this' when quoting
33516 code, and "like this" when quoting English.
33518 * time/mktime.c (compile-command): Add "-I.".
33520 mktime: merge mktime-internal.h change from gnulib
33521 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33523 mktime: merge time_r change from gnulib
33524 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33526 mktime: merge DEBUG change from gnulib
33527 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33528 case system <time.h> has a #define.
33530 mktime: merge <sys/types.h> change from gnulib
33531 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33532 since <time.t> is now guaranteed to define time_t.
33534 mktime: merge HAVE_CONFIG_H change from gnulib
33535 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33537 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33542 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33544 (struct rusage): Use anonymous union to pad each field to
33547 2012-05-21 David S. Miller <davem@davemloft.net>
33549 * Makefules (o-iterator): Remove .s cases.
33550 (compile-command.s): Delete.
33551 (COMPILE.s): Delete.
33552 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33554 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33556 * configure.in (libc_cv_predef_stack_protector): Only consider
33557 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33558 * configure: Regenerated.
33560 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33563 New macro. Use R*LP on int and pointer.
33564 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33565 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33566 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33567 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33569 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33570 [__WORDSIZE_TIME64_COMPAT32] instead of
33571 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33572 (struct utmp): Likewise.
33573 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33574 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33576 (__WORDSIZE_TIME64_COMPAT32): This.
33577 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33578 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33579 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33580 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33581 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33582 (__WORDSIZE_TIME64_COMPAT32): New macro.
33584 2012-05-21 Andreas Jaeger <aj@suse.de>
33586 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33587 only if [SHARED]. Add prototype for __wcschr_ia32.
33589 2012-05-21 Roland McGrath <roland@hack.frob.com>
33591 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33592 of %rbp unmolested in the jmp_buf while mangling the low bits.
33593 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33594 unmolested high bits of %rbp while demangling the low bits.
33595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33597 2012-05-21 Andreas Jaeger <aj@suse.de>
33599 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33600 * sunrpc/svc_simple.c: Use it for registerrpc.
33601 * sunrpc/xcrypt.c: Use it for passwd2des.
33603 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33605 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33607 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33608 Don't define if [__SYSCALL_WORDSIZE != 32].
33609 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33612 2012-05-21 Bruno Haible <bruno@clisp.org>
33613 Andreas Jaeger <aj@suse.de>
33615 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33616 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33617 inptr and inend for must_buffer_ch.
33618 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33619 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33620 * stdio-common/Makefile (tests): Remove bug15.
33621 (bug15-ENV): Remove macro.
33622 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33625 2012-05-19 Andreas Jaeger <aj@suse.de>
33626 Roland McGrath <roland@hack.frob.com>
33628 * manual/contrib.texi: Completely rewritten. It contains now an
33629 alphabetical list of contributors and their contributions.
33631 2012-05-21 Richard Henderson <rth@twiddle.net>
33633 * misc/getauxval.c (__getauxval): Use unsigned long int.
33634 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33635 (getauxval): Use unsigned long int.
33637 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33639 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33641 2012-05-21 Roland McGrath <roland@hack.frob.com>
33643 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33644 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33645 __alignof__ (long double).
33647 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33651 2012-05-20 Richard Henderson <rth@twiddle.net>
33653 * misc/getauxval.c: New file.
33654 * misc/sys/auxv.h: New file.
33655 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33656 (routines): Add getauxval.
33657 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33659 * elf/dl-sysdep.c (_dl_auxv): Remove.
33660 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33661 * elf/dl-support.c (_dl_auxv): New variable.
33662 (_dl_aux_init): Initialize it.
33663 * manual/startup.texi (Auxiliary Vector): New node.
33664 * sysdeps/generic/bits/hwcap.h: New file.
33665 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33666 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33667 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33668 * sysdeps/sparc/sysdep.h: ... here. Include it.
33669 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33682 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33686 2012-05-19 David S. Miller <davem@davemloft.net>
33688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33690 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33693 * math/s_ccosh.c: Include <float.h>
33694 (__ccosh): Avoid internal overflow calculating sinh and cosh
33695 values before multiplying by sin and cos values.
33696 * math/s_ccoshf.c: Likewise.
33697 * math/s_ccoshl.c: Likewise.
33698 * math/s_csin.c: Likewise.
33699 * math/s_csinf.c: Likewise.
33700 * math/s_csinl.c: Likewise.
33701 * math/s_csinh.c: Likewise.
33702 * math/s_csinhf.c: Likewise.
33703 * math/s_csinhl.c: Likewise.
33704 * math/libm-test.inc (ccos_test): Add more tests.
33705 (ccosh_test): Likewise.
33706 (csin_test): Likewise.
33707 (csinh_test): Likewise.
33708 * sysdeps/i386/fpu/libm-test-ulps: Update.
33709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33711 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33713 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33714 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33716 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33718 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33720 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33721 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33722 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33723 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33724 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33725 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33726 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33727 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33728 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33729 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33730 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33731 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33732 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33733 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33734 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33735 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33736 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33737 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33738 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33739 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33740 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33741 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33742 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33743 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33744 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33745 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33746 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33747 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33748 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33749 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33750 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33752 2012-05-18 Andreas Jaeger <aj@suse.de>
33754 * csu/.gitignore: Delete.
33756 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33758 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33759 (timex): Use __syscall_slong_t.
33761 2012-05-18 Andreas Jaeger <aj@suse.de>
33762 Carlos O'Donell <carlos_odonell@mentor.com>
33764 * manual/install.texi (Configuring and compiling): Update
33765 description about files modified in the source directory.
33766 * INSTALL: Regenerated.
33768 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33770 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33771 value. Use "or" to set return value to -1.
33772 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33773 negate return value.
33775 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33777 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33778 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33779 failure if the compiler has Graphite support disabled.
33780 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33782 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33783 (CFLAGS-memmove.c): Likewise.
33784 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33787 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33789 * sysdeps/x86_64/x32/_itoa.h: New file.
33791 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33792 getdents system call only if kernel and user dirents have the
33793 same d_ino and d_off.
33795 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33796 LLONG_MAX != LONG_MAX.
33797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33798 (_fitoa_word): Likewise.
33800 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33804 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33806 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33807 include <bits/wordsize.h>. Check __x86_64__ instead of
33809 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33810 if __x86_64__ is defined. Use anonymous union on fpstate.
33812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33815 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33817 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33818 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33820 Refer to _rtld_local_ro instead of _rtld_global_ro.
33821 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33823 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33825 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33827 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33828 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33829 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33831 * sysdeps/powerpc/powerpc32/dl-machine.c
33832 (__elf_machine_runtime_setup) [PROF]: Don't reference
33835 2012-05-18 Andreas Jaeger <aj@suse.de>
33837 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33838 function only available for GCCs before 3.4 since GCC 3.4
33839 introduced a builtin.
33841 (llrintf): Likewise.
33842 (llrint): Likewise.
33849 (nearbyint): Likewise.
33850 (nearbyintf): Likewise.
33854 (floorf): Likewise.
33856 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33858 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33859 on both fields and cast pointer to __syscall_ulong_t.
33861 * bits/types.h (__fsword_t): New type.
33862 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33863 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33865 (__FSWORD_T_TYPE): Likewise.
33866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33867 (__FSWORD_T_TYPE): Likewise.
33868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33869 (__FSWORD_T_TYPE): Likewise.
33870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33871 (__FSWORD_T_TYPE): Likewise.
33872 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33873 __SWORD_TYPE with __fsword_t.
33874 (statfs64): Likewise.
33876 2012-05-17 David S. Miller <davem@davemloft.net>
33878 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33880 2012-05-17 Andreas Jaeger <aj@suse.de>
33882 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33885 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33887 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33889 2012-05-17 Andreas Jaeger <aj@suse.de>
33891 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33894 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33896 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33898 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33900 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33901 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33903 2012-05-17 Andreas Jaeger <aj@suse.de>
33904 Carlos O'Donell <carlos_odonell@mentor.com>
33907 * sysdeps/x86_64/multiarch/init-arch.h
33908 (bit_YMM_Usable): Rename to...
33909 (bit_AVX_Usable): ... this.
33910 (bit_FMA4_Usable): New macro.
33911 (bit_XMM_state): New macro.
33912 (bit_YMM_state): New macro.
33913 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33914 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33915 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33916 (CPUID_OSXSAVE): New macro.
33917 (CPUID_AVX): New macro.
33918 (CPUID_FMA4): New macro.
33919 (index_YMM_Usable): Rename to...
33920 (index_AVX_Usable): ... this.
33921 (HAS_AVX): Use HAS_ARCH_FEATURE.
33922 (HAS_FMA4): Likewise.
33923 (HAS_YMM_USABLE): Remove.
33924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33925 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33927 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33928 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33929 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33930 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33931 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33933 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33935 * math/libm-test.c: Support platforms without multiple rounding modes.
33936 * math/bug-nextafter.c: Support platforms without FP exceptions.
33937 * math/bug-nexttoward.c: Likewise.
33938 * math/test-fenv.c: Likewise.
33939 * math/test-misc.c: Likewise.
33940 * stdlib/bug-getcontext.c: Likewise.
33942 2012-05-17 Andreas Jaeger <aj@suse.de>
33944 * manual/examples/search.c (critter_cmp): Change signature to
33946 * manual/string.texi (Collation Functions): Likewise.
33948 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33950 * bits/types.h: Fold copyright years.
33951 * bits/typesizes.h: Likewise.
33952 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33956 * time/time.h: Likewise.
33958 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33961 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33962 in instead of returning them. Return void.
33963 (__libc_mallinfo): Accumulate over all arenas.
33964 (__malloc_stats): Adjust for change in int_mallinfo interface.
33966 2012-05-16 Roland McGrath <roland@hack.frob.com>
33969 * configure.in (NM): Add AC_CHECK_TOOL for it.
33970 (libc_extra_cflags): New substituted variable.
33971 Check for -fstack-protector being used implicitly.
33972 * configure: Regenerated.
33973 * config.make.in (config-extra-cflags): New variable,
33974 gets @libc_extra_cflags@.
33975 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33978 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33979 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33980 * configure: Regenerated.
33981 * config.make.in (CPPUNDEFS): New substituted variable.
33982 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33983 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33984 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33988 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33989 (mq_attr): Use __syscall_slong_t.
33991 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33994 Check __x86_64__ instead of __WORDSIZE.
33995 (_STAT_VER_LINUX): Likewise.
33996 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33997 __syscall_ulong_t and __syscall_slong_t.
33998 (stat64): Likewise.
34000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34006 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34008 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34014 include <bits/wordsize.h>. Check __x86_64__ instead of
34016 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34018 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34021 include <bits/wordsize.h>. Check __x86_64__ instead of
34023 (user_regs_struct): Use "__extension__ unsigned long long"
34024 instead of "unsigned long" if __x86_64__ is defined.
34025 (user): Likewise. Pad after pointer field if __ILP32__ is
34028 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34030 * configure.in (makeinfo): Require version 4.5 or later. Allow
34032 * configure: Regenerated.
34033 * manual/install.texi (texinfo): Increase version requirement to
34035 * INSTALL: Regenerated.
34037 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34039 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34041 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34043 * sysdeps/x86_64/x32/ffs.c: New file.
34045 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34047 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34048 defined. Use __syscall_ulong_t.
34049 (shminfo): Use __syscall_ulong_t.
34050 (shm_info): Likewise.
34052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34057 (msgqnum_t): Use __syscall_ulong_t.
34058 (msglen_t): Likewise.
34059 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34062 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34063 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34065 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34067 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34068 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34070 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34074 include <bits/wordsize.h>. Check __x86_64__ instead of
34077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34078 "unsigned long long int" if __x86_64__ is defined.
34079 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34081 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34082 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34083 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34085 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34087 (GET_PC): Cast to uintptr_t first.
34088 (GET_FRAME): Likewise.
34089 (GET_STACK): Likewise.
34091 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34093 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34095 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34097 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34098 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34099 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34101 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34104 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34109 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34110 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34111 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34112 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34113 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34121 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34123 * Makerules (+depfiles): Also collect depfiles from .oS in
34125 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34126 .oS, $(libnldbl-routines)).
34128 * Makerules (native-compile-mkdep-flags): Define.
34129 * sunrpc/Makefile (extra-objs): Add $(addprefix
34130 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34131 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34132 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34133 calling $(make-target-directory).
34135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34137 * bits/types.h (__snseconds_t): Removed.
34138 * time/time.h (struct timespec): Replace __snseconds_t with
34140 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34141 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34144 (__SNSECONDS_T_TYPE): Likewise.
34145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34146 (__SNSECONDS_T_TYPE): Likewise.
34147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34148 (__SNSECONDS_T_TYPE): Likewise.
34150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34152 * sysdeps/mach/hurd/bits/typesizes.h
34153 (__SYSCALL_SLONG_TYPE): New macro.
34154 (__SYSCALL_ULONG_TYPE): Likewise.
34156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34158 * bits/types.h (__syscall_slong_t): New type.
34159 (__syscall_ulong_t): Likewise.
34161 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34162 (__SYSCALL_ULONG_TYPE): Likewise.
34163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34164 (__SYSCALL_SLONG_TYPE): Likewise.
34165 (__SYSCALL_ULONG_TYPE): Likewise.
34166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34167 (__SYSCALL_SLONG_TYPE): Likewise.
34168 (__SYSCALL_ULONG_TYPE): Likewise.
34169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34170 (__SYSCALL_SLONG_TYPE): Likewise.
34171 (__SYSCALL_ULONG_TYPE): Likewise.
34173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34175 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34176 Add sigaltstack-offsets.sym.
34177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34178 <sigaltstack-offsets.h>.
34179 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34180 longjmp_msg pointer.
34181 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34182 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34184 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34186 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34188 * elf/stackguard-macros.h: Remove file.
34189 * sysdeps/generic/stackguard-macros.h: New file.
34190 * sysdeps/i386/stackguard-macros.h: Likewise.
34191 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34192 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34193 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34194 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34195 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34196 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34197 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34198 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34199 <elf/stackguard-macros.h>.
34202 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34203 __aligned__ in attribute.
34204 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34205 (gregset_t): Likewise.
34207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34209 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34210 * sysdeps/x86_64/64/Implies-after: Here. New file.
34211 * sysdeps/x86_64/x32/Implies-after: New file.
34213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34215 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34216 and access return value for _dl_profile_fixup. Use R10_LP to
34219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34221 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34225 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34226 * sysdeps/x86_64/x32/sysdep.h: New file.
34228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34230 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34231 * sysdeps/x86_64/setjmp.S: Likewise.
34233 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34237 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34238 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34239 remove unused global constant.
34241 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34243 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34244 include of <not-cancel.h>.
34246 2012-05-15 Roland McGrath <roland@hack.frob.com>
34248 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34250 2012-05-15 Jeff Law <law@redhat.com>
34251 Andreas Jaeger <aj@suse.de>
34254 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34256 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34257 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34258 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34259 code changing __hst_map_handle.map.
34261 2012-05-15 Roland McGrath <roland@hack.frob.com>
34263 * configure.in (sysnames): Look for Implies-before and Implies-after
34265 * configure: Regenerated.
34267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34269 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34270 8-byte data alignment with LP_SIZE alignment.
34272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34279 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34283 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34284 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34285 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34287 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34291 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34292 (stackinfo_sub_sp): Likewise.
34294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34311 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34315 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34316 into R11_LP and load __x86_64_shared_cache_size_half into
34319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34324 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34333 powerpc32/power7/fpu/s_logb.c via #include.
34334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34335 powerpc32/power7/fpu/s_logbf.c via #include.
34336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34337 powerpc32/power7/fpu/s_logbl.c via #include.
34339 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34341 * README.libm: Remove file.
34343 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34345 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34346 count for x32. Use R*_LP and omit operand-size suffix.
34348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34350 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34351 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34352 * sysdeps/x86_64/x32/shlib-versions: New file.
34354 2012-05-14 Roland McGrath <roland@hack.frob.com>
34356 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34357 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34358 Use _dl_fatal_printf instead.
34360 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34362 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34363 set if not set by the user. Do not allow for being unset.
34364 * sysdeps/unix/sysv/linux/configure: Regenerated.
34366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34368 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34369 the `q' suffix from lea and replace .quad with ASM_ADDR.
34371 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34374 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34376 (PTR_DEMANGLE): Likewise.
34378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34380 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34382 (ASM_ADDR): Likewise.
34383 (RAX_LP): Likewise.
34384 (RBP_LP): Likewise.
34385 (RBX_LP): Likewise.
34386 (RCX_LP): Likewise.
34387 (RDI_LP): Likewise.
34388 (RSI_LP): Likewise.
34389 (RSP_LP): Likewise.
34392 (R10_LP): Likewise.
34393 (R10_LP): Likewise.
34394 (R11_LP): Likewise.
34395 (R12_LP): Likewise.
34396 (R13_LP): Likewise.
34397 (R14_LP): Likewise.
34398 (R15_LP): Likewise.
34400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34402 * sysdeps/x86_64/x32/dl-machine.h: New file.
34404 2012-05-14 Andreas Jaeger <aj@suse.de>
34406 * manual/Makefile (subdir): Remove export of subdir.
34407 (all): Remove target.
34408 (.PHONY): Remove all from list.
34409 (mkinstalldirs): Remove.
34410 (.PHONY): Remove installdirs from list.
34411 ($(inst_infodir)/libc.info): Use make-target-directory.
34412 (installdirs): Remove.
34413 (subdir_%): Remove.
34414 (glibc-targets): Remove.
34417 ($(objpfx)stubs ../po/manual.pot): Remove.
34418 ($(objpfx)stamp%): Remove.
34419 (make-target-directory): Remove.
34420 (subdir_install): Remove.
34421 (routines): Remove.
34428 * manual/.gitignore: Remove, it's not needed anymore.
34429 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34431 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34433 (texis): Renamed to $(objpfx)texis.
34434 (texis-path): New, contains path to generated files.
34435 (chapters.%): Use texis-path for complete path, add extra argument
34437 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34438 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34439 (summary,texi, stamp-summary): Use complete path of
34440 files. Generate files in build dir.
34441 (dir-add.texi): Build in build dir.
34442 (libm-err.texi,stamp-libm-err): Likewise.
34443 (version.texi, stamp-version): Likewise.
34444 (.%c.texi): Likewise.
34445 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34446 (mostlyclean): Remove target.
34447 (realclean): Remove target.
34448 (generated): Add new variable with contents from mostlyclean and
34449 realclean, remove entries duplicated in common-mostlyclean, add
34450 stamp-libm-err and stamp-version.
34451 (generated-dirs): Add libc directory.
34452 ($(inst_infodir)/libc.info): Install files from build dir.
34454 * manual/install.texi (Configuring and compiling): Adjust since
34455 the info files are not part of the tar ball anymore.
34457 2012-05-14 Andreas Jaeger <aj@suse.de>
34459 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34462 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34466 to 2.2.0 where earlier.
34467 * sysdeps/unix/sysv/linux/configure: Regenerated.
34468 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34469 Remove conditional code.
34470 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34471 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34472 Remove conditional code.
34473 [!__NR_lchown]: Likewise.
34474 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34475 [__NR_lchown]: Likewise.
34476 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34477 comment referencing __ASSUME_LCHOWN_SYSCALL.
34478 * sysdeps/unix/sysv/linux/i386/sigaction.c
34479 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34480 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34481 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34482 Remove conditional code.
34483 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34484 (__protocol_available): Remove #if 0 code.
34485 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34487 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34488 * sysdeps/unix/sysv/linux/kernel-features.h
34489 (__ASSUME_GETCWD_SYSCALL): Don't define.
34490 (__ASSUME_REALTIME_SIGNALS): Likewise.
34491 (__ASSUME_PREAD_SYSCALL): Likewise.
34492 (__ASSUME_PWRITE_SYSCALL): Likewise.
34493 (__ASSUME_POLL_SYSCALL): Likewise.
34494 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34495 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34497 (__ASSUME_SIOCGIFNAME): Don't define.
34498 (__ASSUME_MSG_NOSIGNAL): Likewise.
34499 (__ASSUME_SENDFILE): Define unconditionally.
34500 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34501 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34503 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34504 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34505 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34506 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34507 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34508 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34509 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34523 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34526 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34534 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34535 Remove conditional code.
34536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34537 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34538 Remove conditional code.
34539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34540 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34541 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34542 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34543 Remove conditional code.
34544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34545 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34546 Remove conditional code.
34547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34548 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34549 Remove conditional code.
34550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34551 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34552 Remove conditional code.
34553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34554 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34555 Remove conditional code.
34556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34557 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34560 * sysdeps/unix/sysv/linux/sigaction.c
34561 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34562 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34563 * sysdeps/unix/sysv/linux/sigpending.c
34564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34566 * sysdeps/unix/sysv/linux/sigprocmask.c
34567 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34568 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34569 * sysdeps/unix/sysv/linux/sigsuspend.c
34570 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34571 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34572 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34573 (__libc_missing_rt_sigs): Remove.
34574 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34575 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34576 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34577 Remove conditional code.
34578 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34579 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34581 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34582 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34583 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34584 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34586 2012-05-14 Andreas Jaeger <aj@suse.de>
34588 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34589 it's not used in glibc.
34590 (__coshm1): Likewise.
34591 (__acosh1p): Likewise.
34594 * manual/string.texi (Copying and Concatenation): Add missing
34595 variable in concat example.
34596 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34598 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34602 __builtin_clzl with __builtin_clzll.
34604 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34607 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34610 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34612 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34613 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34614 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34615 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34617 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34619 * NEWS: Update ia64 info.
34621 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34623 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34626 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34628 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34629 * sysdeps/unix/syscalls.list (dup3): Likewise.
34630 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34631 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34633 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34635 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34636 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34638 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34640 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34642 (TLS_IE): Use mov/add instead of movq/addq to load thread
34644 (TLS_GD_PREFIX): New.
34647 2012-05-11 David S. Miller <davem@davemloft.net>
34649 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34650 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34651 (_FPU_SETCW): Likewise.
34653 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34655 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34656 is 32-byte aligned.
34658 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34661 * iconvdata/gb18030.c: Update tables.
34662 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34663 characters specially.
34664 (BODY for TO_LOOP): Add encoding of missing ranges.
34666 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34669 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34670 * sysdeps/mach/hurd/dup3.c: Likewise.
34671 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34672 * sysdeps/powerpc/memmove.c:: Likewise.
34674 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34677 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34679 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34681 * elf/elf.h (R_X86_64_RELATIVE64): New.
34682 (R_X86_64_NUM): Updated.
34683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34684 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34685 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34686 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34687 tst-quad1pie tst-quad2pie
34688 (modules-names): Add tst-quadmod1 tst-quadmod2.
34689 ($(objpfx)tst-quad1): New dependency.
34690 ($(objpfx)tst-quad2): Likewise.
34691 ($(objpfx)tst-quad1pie): Likewise.
34692 ($(objpfx)tst-quad2pie): Likewise.
34693 * sysdeps/x86_64/tst-quad1.c: New file.
34694 * sysdeps/x86_64/tst-quad1pie.c: New file.
34695 * sysdeps/x86_64/tst-quad2.c: Likewise.
34696 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34697 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34698 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34699 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34700 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34704 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34705 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34706 * streams/stropts.h (t_scalar_t): Define type.
34708 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34709 (_PATH_PRESERVE): Set to "/var/lib".
34710 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34712 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34715 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34716 if __dir_mkfile succeeded.
34718 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34719 checking for _hurd_dtablesize. Unlock it right after having
34720 finished _hurd_dtable allocation.
34722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34724 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34725 * sysdeps/mach/hurd/configure: Regenerated.
34726 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34727 special-casing to...
34728 * sysdeps/gnu/configure.in: ... this new file.
34729 * sysdeps/unix/sysv/linux/configure: Regenerated.
34730 * sysdeps/gnu/configure: New generated file.
34732 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34733 for Linux: use nsec instead of usec, as well as:
34734 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34735 members of type struct timespec.
34736 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34738 (struct stat64): Likewise.
34739 (_STATBUF_ST_NSEC): New macro.
34740 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34743 __strtoul_internal rather than strtoul.
34745 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34747 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34752 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34753 which preserves existing values.
34754 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34756 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34758 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34759 TIMEOUT values. Return EINVAL for NFDS values either negative or
34760 greater than FD_SETSIZE.
34762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34764 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34765 allocated, call __vm_protect to finish enabling the existing space, and
34766 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34767 allocate the remainder.
34769 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34771 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34772 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34776 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34777 sysdeps/mach/hurd/readlink.c.
34779 * posix/tst-sysconf.c (posix_options): Only use
34780 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34781 _POSIX_SYNCHRONIZED_IO when they are defined
34782 * sysdeps/mach/hurd/bits/posix_opt.h:
34783 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34784 (_XOPEN_REALTIME): Undefine macro.
34785 (_XOPEN_REALTIME_THREADS): Undefine macro.
34786 (_XOPEN_SHM): Undefine macro.
34787 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34789 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34791 (_POSIX_ASYNC_IO): Undefine macro.
34792 (_POSIX_PRIORITIZED_IO): Undefine macro.
34793 (_POSIX_SPIN_LOCKS): Define macro to -1.
34795 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34796 SA_NODEFER, SA_RESETHAND.
34797 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34798 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34803 * elf/Makefile (pldd-modules): Define unconditionally.
34805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34807 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34811 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34812 Return ENOENT when name is empty.
34813 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34817 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34819 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34821 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34823 Fix mlock in all cases except non-readable pages.
34824 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34825 instead of VM_PROT_ALL as parameter to __vm_wire function.
34827 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34828 (__mkdir): When path is `/', just fail with EEXIST.
34829 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34831 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34833 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34834 <sys/uio.h> (for writev).
34835 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34836 and <sys/param.h> (for MIN).
34838 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34840 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34841 REQUESTED_TIME. Properly set the remaining time and return EINTR
34844 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34846 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34847 Depend on against $(link-rpcuserlibs).
34849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34851 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34852 (__libc_stack_end): Do not use attribute_relro.
34853 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34854 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34855 to libthread-provided value.
34856 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34862 * bits/libc-lock.h (__libc_once_get): New macro.
34863 * sysdeps/mach/bits/libc-lock.h: Likewise.
34864 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34866 instead of using implementation details.
34868 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34869 * libio/freopen.c: Likewise.
34870 * libio/freopen64.c: Likewise.
34871 * misc/syslog.c: Likewise.
34872 * nscd/connections.c: Likewise.
34873 * nscd/netgroupcache.c: Likewise.
34874 * sysdeps/posix/getcwd.c: Likewise.
34876 2012-05-10 Roland McGrath <roland@hack.frob.com>
34878 * math/w_ilogbf.c: Add #include <limits.h>.
34880 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34882 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34883 path instead of returning without unlocking.
34885 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34886 immediate-write ioctls.
34887 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34889 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34891 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34892 __builtin_frame_address instead of making assumptions about the
34893 location of the return address relative to DATA. Force early load of
34894 the return address.
34895 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34896 __builtin_frame_address.
34899 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34900 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34901 implement dup3 and do some further code clean-ups.
34902 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34903 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34907 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34909 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34910 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34911 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34912 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34913 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34916 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34917 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34918 when handler == SIG_ERR, not when handler != SIG_ERR.
34920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34922 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34923 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34926 accept4 for GNU Hurd.
34927 * include/sys/socket.h (__libc_accept4): New prototype.
34928 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34929 to implement __libc_accept4.
34930 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34932 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34934 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34935 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34936 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34937 signal-defines.sym.
34939 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34941 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34945 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34946 assertion on O_CLOEXEC flag.
34947 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34948 * hurd/intern-fd.c: Likewise.
34949 * hurd/port2fd.c: Likewise.
34951 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34954 * bits/in.h (IPV6_PKTINFO): Define new macro.
34955 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34957 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34962 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34964 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34965 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34967 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34968 * math/libm-test.inc (logb_test) : Additional logb tests.
34970 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34971 Andreas Jaeger <aj@suse.de>
34973 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34974 * configure: Regenerated.
34975 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34976 * config.make.in (link-obsolete-rpc): New substituted variable.
34977 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34978 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34979 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34980 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34981 so that libc.a contains the symbols.
34982 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34983 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34984 * sunrpc/auth_none.c: Likewise.
34985 * sunrpc/auth_unix.c: Likewise.
34986 * sunrpc/authdes_prot.c: Likewise.
34987 * sunrpc/authuxprot.c: Likewise.
34988 * sunrpc/clnt_gen.c: Likewise.
34989 * sunrpc/clnt_perr.c: Likewise.
34990 * sunrpc/clnt_raw.c: Likewise.
34991 * sunrpc/clnt_simp.c: Likewise.
34992 * sunrpc/clnt_tcp.c: Likewise.
34993 * sunrpc/clnt_udp.c: Likewise.
34994 * sunrpc/clnt_unix.c: Likewise.
34995 * sunrpc/des_crypt.c: Likewise.
34996 * sunrpc/des_soft.c: Likewise.
34997 * sunrpc/get_myaddr.c: Likewise.
34998 * sunrpc/key_call.c: Likewise.
34999 * sunrpc/key_prot.c: Likewise.
35000 * sunrpc/netname.c: Likewise.
35001 * sunrpc/pm_getmaps.c: Likewise.
35002 * sunrpc/pm_getport.c: Likewise.
35003 * sunrpc/pmap_clnt.c: Likewise.
35004 * sunrpc/pmap_prot.c: Likewise.
35005 * sunrpc/pmap_prot2.c: Likewise.
35006 * sunrpc/pmap_rmt.c: Likewise.
35007 * sunrpc/publickey.c: Likewise.
35008 * sunrpc/rpc_cmsg.c: Likewise.
35009 * sunrpc/rpc_common.c: Likewise.
35010 * sunrpc/rpc_dtable.c: Likewise.
35011 * sunrpc/rpc_prot.c: Likewise.
35012 * sunrpc/rpc_thread.c: Likewise.
35013 * sunrpc/rtime.c: Likewise.
35014 * sunrpc/svc.c: Likewise.
35015 * sunrpc/svc_auth.c: Likewise.
35016 * sunrpc/svc_raw.c: Likewise.
35017 * sunrpc/svc_run.c: Likewise.
35018 * sunrpc/svc_tcp.c: Likewise.
35019 * sunrpc/svc_udp.c: Likewise.
35020 * sunrpc/svc_unix.c: Likewise.
35021 * sunrpc/svcauth_des.c: Likewise.
35022 * sunrpc/xcrypt.c: Likewise.
35023 * sunrpc/xdr.c: Likewise.
35024 * sunrpc/xdr_array.c: Likewise.
35025 * sunrpc/xdr_float.c: Likewise.
35026 * sunrpc/xdr_intXX_t.c: Likewise.
35027 * sunrpc/xdr_mem.c: Likewise.
35028 * sunrpc/xdr_rec.c: Likewise.
35029 * sunrpc/xdr_ref.c: Likewise.
35030 * sunrpc/xdr_sizeof.c: Likewise.
35031 * sunrpc/xdr_stdio.c: Likewise.
35033 2012-05-10 Roland McGrath <roland@hack.frob.com>
35035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35036 change. Update copyright years.
35038 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35040 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35042 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35043 Joseph Myers <joseph@codesourcery.com>
35044 Paul Pluzhnikov <ppluzhnikov@google.com>
35047 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35049 [cross-compiling] (extra-libs): Likewise.
35050 [cross-compiling] (extra-libs-others): Likewise.
35051 [cross-compiling] (librpcsvc-routines): Likewise.
35052 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35053 [cross-compiling] (omit-deps): Likewise.
35054 (sunrpc-CPPFLAGS): New variable.
35055 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35056 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35057 (cross-rpcgen-objs): New variable.
35058 (extra-objs): Append $(cross-rpcgen-objs).
35059 ($(cross-rpcgen-objs)): New rule.
35060 ($(objpfx)cross-rpcgen): Likewise.
35061 (rpcgen-cmd): Define to use $(built-program-file). Expand
35063 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35064 ($(objpfx)x%.stmp): Likewise.
35065 * sunrpc/proto.h [IS_IN_build] (_): Define.
35066 [IS_IN_build] (_libc_intl_domainname): Likewise.
35068 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35071 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35072 and R_X86_64_TPOFF64.
35074 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35076 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35077 sysdeps/unix/sysv/syscalls.list.
35080 * sysdeps/unix/sysv/syscalls.list: Remove file.
35082 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35085 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35086 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35087 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35088 (__LC_IDENTIFICATION): Make these macros useful in #if
35089 expressions, as required by C99.
35091 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35093 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35094 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35097 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35099 * stdlib/longlong.h: Updated from GCC.
35101 2012-05-09 Andreas Jaeger <aj@suse.de>
35103 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35104 default is first entry.
35105 (run_mode): Set type.
35106 (main): Remove informal message about syslog.
35107 (options): Fix typo.
35110 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35113 (llrintf): Likewise.
35114 (llrint): Likewise.
35117 (nearbyint): Likewise.
35118 (nearbyintf): Likewise.
35120 2012-05-09 Andreas Jaeger <aj@suse.de>
35121 Pedro Alves <palves@redhat.com>
35123 * nscd/nscd.c (run_mode): Use enum.
35124 (main): Cleanup coding style issue.
35126 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35127 Andreas Jaeger <aj@suse.de>
35129 * nscd/nscd.c (go_background): Replaced with...
35130 (run_mode): ... this.
35131 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35132 (options): Add -F --foreground.
35133 (main): Implement it.
35134 (parse_opt): Parse it.
35136 2012-05-09 Andreas Jaeger <aj@suse.de>
35139 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35140 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35141 -Wconversion warning.
35142 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35145 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35147 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35149 (LC_ALL): Use macro-int-constant.
35150 (LC_COLLATE): Likewise.
35151 (LC_CTYPE): Likewise.
35152 (LC_MESSAGES): Likewise.
35153 (LC_MONETARY): Likewise.
35154 (LC_NUMERIC): Likewise.
35155 (LC_TIME): Likewise.
35156 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35157 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35159 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35161 [C99-based standards] (float_t): Expect type.
35162 [C99-based standards] (double_t): Expect type.
35163 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35165 [C99-based standards] (HUGE_VALL): Likewise.
35166 [C99-based standards] (INFINITY): Likewise.
35167 [C99-based standards] (NAN): Likewise.
35168 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35169 [C99-based standards] (FP_NAN): Likewise.
35170 [C99-based standards] (FP_NORMAL): Likewise.
35171 [C99-based standards] (FP_SUBNORMAL): Likewise.
35172 [C99-based standards] (FP_ZERO): Likewise.
35173 [C99-based standards] (FP_FAST_FMA): Use
35174 optional-macro-int-constant. Specify type. Require == 1.
35175 [C99-based standards] (FP_FAST_FMAF): Likewise.
35176 [C99-based standards] (FP_FAST_FMAL): Likewise.
35177 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35178 [C99-based standards] (FP_ILOGBNAN): Likewise.
35179 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35181 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35182 [C99-based standards] (math_errhandling): Specify type.
35183 [ISO99 || ISO11] (signgam): Do not allow.
35184 [non-C99-based standards] (copysignf): Do not allow.
35185 [non-C99-based standards] (exp2f): Likewise.
35186 [non-C99-based standards] (log2f): Likewise.
35187 [non-C99-based standards] (modff): Allow.
35188 [non-C99-based standards] (erff): Do not allow.
35189 [non-C99-based standards] (erfcf): Likewise.
35190 [non-C99-based standards] (gammaf): Likewise.
35191 [non-C99-based standards] (hypotf): Likewise.
35192 [non-C99-based standards] (j0f): Likewise.
35193 [non-C99-based standards] (j1f): Likewise.
35194 [non-C99-based standards] (jnf): Likewise.
35195 [non-C99-based standards] (lgammaf): Likewise.
35196 [non-C99-based standards] (tgammaf): Likewise.
35197 [non-C99-based standards] (y0f): Likewise.
35198 [non-C99-based standards] (y1f): Likewise.
35199 [non-C99-based standards] (ynf): Likewise.
35200 [non-C99-based standards] (isnanf): Likewise.
35201 [non-C99-based standards] (acoshf): Likewise.
35202 [non-C99-based standards] (asinhf): Likewise.
35203 [non-C99-based standards] (atanhf): Likewise.
35204 [non-C99-based standards] (cbrtf): Likewise.
35205 [non-C99-based standards] (expm1f): Likewise.
35206 [non-C99-based standards] (ilogbf): Likewise.
35207 [non-C99-based standards] (log1pf): Likewise.
35208 [non-C99-based standards] (logbf): Likewise.
35209 [non-C99-based standards] (nextafterf): Likewise.
35210 [non-C99-based standards] (remainderf): Likewise.
35211 [non-C99-based standards] (rintf): Likewise.
35212 [non-C99-based standards] (scalbf): Likewise.
35213 [non-C99-based standards] (copysignl): Likewise.
35214 [non-C99-based standards] (exp2l): Likewise.
35215 [non-C99-based standards] (log2l): Likewise.
35216 [non-C99-based standards] (modfl): Allow.
35217 [non-C99-based standards] (erfl): Do not allow.
35218 [non-C99-based standards] (erfcl): Likewise.
35219 [non-C99-based standards] (gammal): Likewise.
35220 [non-C99-based standards] (hypotl): Likewise.
35221 [non-C99-based standards] (j0l): Likewise.
35222 [non-C99-based standards] (j1l): Likewise.
35223 [non-C99-based standards] (jnl): Likewise.
35224 [non-C99-based standards] (lgammal): Likewise.
35225 [non-C99-based standards] (tgammal): Likewise.
35226 [non-C99-based standards] (y0l): Likewise.
35227 [non-C99-based standards] (y1l): Likewise.
35228 [non-C99-based standards] (ynl): Likewise.
35229 [non-C99-based standards] (isnanl): Likewise.
35230 [non-C99-based standards] (acoshl): Likewise.
35231 [non-C99-based standards] (asinhl): Likewise.
35232 [non-C99-based standards] (atanhl): Likewise.
35233 [non-C99-based standards] (cbrtl): Likewise.
35234 [non-C99-based standards] (expm1l): Likewise.
35235 [non-C99-based standards] (ilogbl): Likewise.
35236 [non-C99-based standards] (log1pl): Likewise.
35237 [non-C99-based standards] (logbl): Likewise.
35238 [non-C99-based standards] (nextafterl): Likewise.
35239 [non-C99-based standards] (remainderl): Likewise.
35240 [non-C99-based standards] (rintl): Likewise.
35241 [non-C99-based standards] (scalbl): Likewise.
35242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35243 [non-C99-based standards] (FP_*): Do not allow.
35244 [C99-based standards] (FP_*): Change to
35245 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35246 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35248 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35249 (SIG_ERR): Likewise.
35250 [X/Open-based standards] (SIG_HOLD): Likewise.
35251 (SIG_IGN): Likewise.
35252 (SIGABRT): Use macro-int-constant. Specify type. Require
35254 (SIGFPE): Likewise.
35255 (SIGILL): Likewise.
35256 (SIGINT): Likewise.
35257 (SIGSEGV): Likewise.
35258 (SIGTER): Likewise.
35259 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35260 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35261 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35262 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35263 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35264 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35265 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35266 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35267 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35268 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35269 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35270 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35271 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35272 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35273 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35274 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35275 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35276 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35277 [X/Open-based standards] (SIGTRAP): Likewise.
35278 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35282 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35285 2012-05-08 Ian Wienand <ianw@vmware.com>
35288 * time/tzset.c (__tzset_parse_tz): Update default rules for
35289 daylight time changes in the Energy Policy Act of 2005.
35291 2012-05-09 Andreas Jaeger <aj@suse.de>
35294 * elf/ldconfig.c (parse_conf): Change string to make clear that
35295 ldconfig only issued a warning if ld.so.conf does not exist.
35297 2012-05-08 David S. Miller <davem@davemloft.net>
35299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35300 movxtod instead of popping the value on the stack.
35302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35304 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35306 * config.h.in: Add HAVE_ARM_PCS_VFP.
35308 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35311 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35312 checking but the checks are disabled for any reason.
35314 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35316 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35317 and ELF64_R_TYPE with ELFW(R_TYPE).
35319 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35321 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35322 (ulimit): Likewise.
35324 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35325 (settimeofday): Likewise.
35327 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35329 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35330 a struct th_u2 inside the union, and move tu_block/tu_code into
35331 a new th_u3 union of tu_block/tu_code inside of that. Move
35332 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35333 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35334 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35335 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35336 (th_stuff): Change to th_u1.tu_stuff.
35338 (th_msg): Change to th_u1.th_u2.tu_data.
35340 2012-05-07 David S. Miller <davem@davemloft.net>
35342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35345 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35346 (SETUP_PIC_REG): Use it.
35347 (SETUP_PIC_REG_LEAF): Use it.
35349 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35353 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35355 (EXPL_FINITE): Likewise.
35356 (FLDLOG): Likewise.
35357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35358 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35362 (EXPL_FINITE): Likewise.
35363 (FLDLOG): Likewise.
35364 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35365 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35367 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35368 test of -max_value argument for long double.
35369 * sysdeps/i386/fpu/libm-test-ulps: Update.
35370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35372 2012-05-06 David S. Miller <davem@davemloft.net>
35374 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35375 quad soft-float symbols whose references which are compiler
35377 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35379 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35383 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35385 (EXPL_FINITE): Likewise.
35386 (FLDLOG): Likewise.
35389 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35390 Adjust comments for base varying.
35391 (__expl_finite): Change alias to EXPL_FINITE.
35392 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35394 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35395 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35397 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35398 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35400 (EXPL_FINITE): Likewise.
35401 (FLDLOG): Likewise.
35404 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35405 Adjust comments for base varying.
35406 (__expl_finite): Change alias to EXPL_FINITE.
35407 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35412 * math/libm-test.inc (check_float_internal): Correct ulp
35413 calculation for subnormal expected results.
35415 2012-05-06 Andreas Jaeger <aj@suse.de>
35417 * Makeconfig (+math-flags): New, set to -frounding-math.
35418 (+cflags): Add +math-flags so that all of glibc gets compiled with
35421 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35423 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35425 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35431 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35432 (__ieee754_expl): Allow for and saturate large arguments.
35433 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35434 (u_threshold): Likewise.
35435 (__exp): Call __ieee754_exp before checking for overflow and
35437 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35438 (u_threshold): Likewise.
35439 (__expf): Call __ieee754_expf before checking for overflow and
35441 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35442 (u_threshold): Likewise.
35443 (__expl): Call __ieee754_expl before checking for overflow and
35445 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35446 (__ieee754_expl): Allow for and saturate large arguments.
35447 * math/libm-test.inc (exp_test): Add another test. Do not allow
35448 missing overflow exception on overflow.
35449 (expm1_test): Do not allow missing overflow exception on overflow.
35451 * sysdeps/i386/fpu/e_expl.c: Move to ...
35452 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35453 rather than using inline asm.
35454 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35455 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35456 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35458 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35461 (signal): Likewise.
35465 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35467 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35468 sysdeps/unix/common/syscalls.list.
35469 (fchmod): Likewise.
35470 (fchown): Likewise.
35471 (ftruncate): Likewise.
35472 (getrusage): Likewise.
35473 (gettimeofday): Likewise.
35474 (setpgid): Likewise.
35475 (setregid): Likewise.
35476 (setreuid): Likewise.
35477 (sigaction): Likewise.
35478 (truncate): Likewise.
35479 (vhangup): Likewise.
35480 * sysdeps/unix/common/syscalls.list: Remove file.
35481 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35482 * sysdeps/unix/sysv/linux/Implies: Likewise.
35484 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35486 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35488 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35492 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35495 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35501 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35504 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35507 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35510 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35514 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35518 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35521 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35525 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35529 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35531 * sysdeps/unix/common/bits/dirent.h: Remove file.
35532 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35534 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35535 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35536 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35537 * sysdeps/unix/bsd/isatty.c: Likewise.
35538 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35539 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35540 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35542 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35546 long double comparison inaccuracies.
35547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35550 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35552 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35555 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35559 nonzero digits before rounding a hex value.
35560 * stdlib/tst-strtod.c (tests): Add another test.
35562 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35564 * sysdeps/s390/fpu/libm-test-ulps: Update.
35566 2012-05-03 Andreas Jaeger <aj@suse.de>
35568 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35569 does not get optimized out.
35570 (malloc_opt_barrier): New.
35572 2012-05-03 Andreas Jaeger <aj@suse.de>
35573 Roland McGrath <roland@hack.frob.com>
35575 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35576 intermediate file deletion.
35577 (generated): Add .symlist files.
35579 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35582 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35583 Redirect under this condition.
35584 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35585 [__USE_GNU] (__dprintf_chk): Not under this condition.
35586 [__USE_GNU] (__vdprintf_chk): Likewise.
35587 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35588 under this condition.
35589 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35590 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35591 [__USE_XOPEN2K8] (vdprintf): Likewise.
35592 [__USE_GNU] (__dprintf_chk): Not under this condition.
35593 [__USE_GNU] (__vdprintf_chk): Likewise.
35594 [__USE_GNU] (dprintf): Likewise.
35595 [__USE_GNU] (vdprintf): Likewise.
35597 2012-05-03 Roland McGrath <roland@hack.frob.com>
35599 * elf/Makefile (common-generated): Set this instead of generated for
35600 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35601 $(all-built-dso)-derived lists.
35603 2012-05-03 Andreas Jaeger <aj@suse.de>
35605 * sysdeps/i386/fpu/libm-test-ulps: Update.
35608 * FAQ.in: Likewise.
35609 * scripts/gen-FAQ.pl: Likewise.
35610 * manual/install.texi (Installation): Point to online location of
35612 * Makefile (files-for-dist): Remove FAQ.
35615 2012-05-02 Allan McRae <allan@archlinux.org>
35617 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35618 (LDFLAGS-reldepmod5.so): Likewise.
35619 (LDFLAGS-reldep6mod1.so): Likewise.
35620 (LDFLAGS-reldep6mod4.so): Likewise.
35621 (LDFLAGS-reldep8mod3.so): Likewise.
35622 (LDFLAGS-unload4mod1.so): Likewise.
35623 (LDFLAGS-unload4mod2.so): Likewise.
35624 (LDFLAGS-tst-initorder): Likewise.
35625 (LDFLAGS-tst-initordera2.so): Likewise.
35626 (LDFLAGS-tst-initordera3.so): Likewise.
35627 (LDFLAGS-tst-initordera4.so): Likewise.
35628 (LDFLAGS-tst-initorderb2.so): Likewise.
35629 (LDFLAGS-noload): Likewise.
35630 (LDFLAGS-next): Likewise.
35631 (LDFLAGS-order2mod1.so): Likewise.
35632 (LDFLAGS-order2mod2.so): Likewise.
35633 (LDFLAGS-tst-initorder2): Likewise.
35634 (LDFLAGS-tst-initorder2a.so): Likewise.
35635 (LDFLAGS-tst-initorder2b.so): Likewise.
35636 (LDFLAGS-tst-initorder2c.so): Likewise.
35637 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35639 2012-05-02 David S. Miller <davem@davemloft.net>
35641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35643 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35646 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35648 2012-05-02 Andreas Jaeger <aj@suse.de>
35650 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35651 since we manipulate rounding mode.
35652 (CPPFLAGS-test-idouble.c): Likewise.
35653 (CPPFLAGS-test-ifloat.c): Likewise.
35654 (CFLAGS-test-ldouble.c): Likewise.
35655 (CFLAGS-test-double.c): Likewise.
35656 (CFLAGS-test-float.c): Likewise.
35657 (CFLAGS-test-misc.c): Likewise.
35658 (CFLAGS-test-test-fenv.c): Likewise.
35660 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35665 comparisons to determine direction to adjust input.
35667 2012-05-01 Roland McGrath <roland@hack.frob.com>
35669 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35670 output to the target.
35672 * scripts/localplt.awk: New file.
35673 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35674 (check-localplt-CFLAGS): Variable removed.
35675 ($(all-built-dso:=.jmprel)): New static pattern rule.
35676 (generated): Add those targets.
35677 (localplt-built-dso): New variable.
35678 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35680 * elf/check-localplt.c: File removed.
35682 * scripts/check-execstack.awk: New file.
35683 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35684 (check-execstack-CFLAGS): Variable removed.
35685 ($(objpfx)check-execstack.h): Target removed.
35686 ($(objpfx)execstack-default): New target.
35687 (generated): Add that instead of check-execstack.h.
35688 ($(all-built-dso:=.phdr)): New static pattern rule.
35689 (generated): Add those targets.
35690 * elf/check-execstack.c: File removed.
35692 * scripts/check-textrel.awk: New file.
35693 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35694 (check-textrel-CFLAGS): Variable removed.
35695 (all-built-dso): Use := to define.o
35696 ($(all-built-dso:=.dyn)): New static pattern rule.
35697 (generated): Add those targets.
35698 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35699 * config.make.in (READELF): New substituted variable.
35700 * elf/check-textrel.c: File removed.
35702 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35704 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35706 * conform/data/ctype.h-data [C99-based standards] (isblank):
35708 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35709 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35711 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35712 Specify type. Require positive value.
35713 (EILSEQ): Likewise.
35714 (ERANGE): Likewise.
35715 [ISO || POSIX] (EILSEQ): Do not expect.
35716 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35717 Specify type. Require positive value.
35718 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35721 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35723 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35724 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35725 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35726 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35727 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35728 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35729 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35730 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35731 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35732 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35733 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35734 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35735 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35736 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35737 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35738 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35739 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35740 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35746 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35747 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35752 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35754 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35755 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35761 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35762 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35765 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35766 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35767 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35768 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35769 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35770 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35772 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35773 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35774 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35775 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35776 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35777 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35778 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35779 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35780 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35781 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35782 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35783 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35784 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35785 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35786 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35787 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35788 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35789 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35790 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35791 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35792 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35793 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35794 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35796 (FLT_ROUNDS): Expect as macro, not constant.
35797 (FLT_MANT_DIG): Use macro-int-constant.
35798 (DBL_MANT_DIG): Likewise.
35799 (LDBL_MANT_DIG): Likewise.
35800 (FLT_DIG): Likewise.
35801 (DBL_DIG): Likewise.
35802 (LDBL_DIG): Likewise.
35803 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35804 (DBL_MIN_EXP): Likewise.
35805 (LDBL_MIN_EXP): Likewise.
35806 (FLT_MAX_EXP): Use macro-int-constant.
35807 (DBL_MAX_EXP): Likewise.
35808 (LDBL_MAX_EXP): Likewise.
35809 (FLT_MAX_10_EXP): Likewise.
35810 (DBL_MAX_10_EXP): Likewise.
35811 (LDBL_MAX_10_EXP): Likewise.
35812 (FLT_MAX): Use macro-constant.
35813 (DBL_MAX): Likewise.
35814 (LDBL_MAX): Likewise.
35815 (FLT_EPSILON): Use macro-constant. Give upper bound.
35816 (DBL_EPSILON): Likewise.
35817 (LDBL_EPSILON): Likewise.
35818 (FLT_MIN): Likewise.
35819 (DBL_MIN): Likewise.
35820 (LDBL_MIN): Likewise.
35821 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35822 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35823 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35824 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35825 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35826 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35827 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35828 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35829 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35830 [ISO11] (FLT_TRUE_MIN): Likewise.
35831 [ISO11] (LDBL_TRUE_MIN): Likewise.
35832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35833 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35834 (SCHAR_MIN): Use macro-int-constant. Specify type.
35835 (SCHAR_MAX): Likewise.
35836 (UCHAR_MAX): Likewise.
35837 (CHAR_MIN): Likewise.
35838 (CHAR_MAX): Likewise.
35839 (MB_LEN_MAX): Use macro-int-constant.
35840 (SHRT_MIN): Use macro-int-constant. Specify type.
35841 (SHRT_MAX): Likewise.
35842 (USHRT_MAX): Likewise.
35843 (INT_MAX): Likewise.
35844 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35846 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35848 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35850 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35851 bound negative. Suffix upper bound with "L".
35852 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35854 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35856 [C99-based standards] (LLONG_MAX): Likewise.
35857 [C99-based standards] (ULLONG_MAX): Likewise.
35858 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35860 [ISO11] (max_align_t): Require type.
35861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35863 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35864 from $CFLAGS, without defining away __attribute__ calls.
35865 (checknamespace): Use $CFLAGS_namespace.
35867 * conform/conformtest.pl (@keywords): Only include C99 keywords
35868 for standards based on C99 or C11.
35870 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35872 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35875 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35876 usability of symbols in #if.
35878 * conform/conformtest.pl: If macro or constant types start
35879 "promoted:", expect the symbol to be of the following type
35880 promoted by the integer promotions.
35882 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35883 in one place. Also handle "macro-constant".
35885 * conform/conformtest.pl: Only accept expected macro values with
35886 "==". Parse all "macro" lines in one place.
35887 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35889 * conform/conformtest.pl: Handle braced types on "constant" lines
35890 instead of handling "typed-constant".
35891 * conform/data/signal.h-data: Use "constant" instead of
35894 * conform/conformtest.pl: Handle "optional-" at start of lines in
35895 one place rather than duplicating several cases. Handle each
35896 format of "macro" line with initial "optional-".
35898 * conform/conformtest.pl: Only accept expected constant or
35899 optional-constant values with "==". Parse all "constant" lines in
35900 one place. Parse all "optional-constant" lines in one place.
35901 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35902 * conform/data/fmtmsg.h-data: Likewise.
35903 * conform/data/netinet/in.h-data: Likewise.
35904 * conform/data/tar.h-data: Likewise.
35905 * conform/data/limits.h-data: Use "==" form on "constant" and
35906 "optional-constant" lines.
35908 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35909 Use -std=c99 for XOPEN2K.
35910 (@knownproblems): Remove.
35911 (newtoken): Don't check %isknown.
35913 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35914 Do not expect macro.
35915 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35927 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35928 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35945 [XPG3] (acosh): Likewise.
35946 [XPG3] (asinh): Likewise.
35947 [XPG3] (atanh): Likewise.
35948 [XPG3] (cbrt): Likewise.
35949 [XPG3] (expm1): Likewise.
35950 [XPG3] (ilogb): Likewise.
35951 [XPG3] (log1p): Likewise.
35952 [XPG3] (logb): Likewise.
35953 [XPG3] (nextafter): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35956 [XPG3] (remainder): Likewise.
35957 [XPG3] (rint): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35965 [UNIX98 || XOPEN2K] (scalb): Expect.
35966 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35967 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36077 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36078 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36081 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36082 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36086 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36087 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36088 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36095 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36096 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36104 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36105 _XOPEN_SOURCE_EXTENDED for XPG4.
36107 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36109 * Makeconfig (localtime): Remove variable.
36110 (inst_localtime-file): Likewise.
36112 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36133 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36137 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36138 comparisons to determine direction to adjust input.
36139 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36140 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36143 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36147 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36148 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36150 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36152 * math/libm-test.inc (nexttoward_test): Add more tests.
36154 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36158 in version GLIBC_2.1, not GLIBC_2.0.
36159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36162 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36167 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36168 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36169 * math/libm-test.inc (acos_test): Add more tests.
36170 (asin_test): Likewise.
36171 * sysdeps/i386/fpu/libm-test-ulps: Update.
36172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36175 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36177 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36178 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36179 * math/libm-test.inc (acos_test_tonearest): New function.
36180 (acos_test_towardzero): Likewise.
36181 (acos_test_downward): Likewise.
36182 (acos_test_upward): Likewise.
36183 (asin_test_tonearest): Likewise.
36184 (asin_test_towardzero): Likewise.
36185 (asin_test_downward): Likewise.
36186 (asin_test_upward): Likewise.
36187 (main): Call the new functions.
36188 * sysdeps/i386/fpu/libm-test-ulps: Update.
36189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36193 * math/e_exp10.c: Include <float.h>.
36194 (__ieee754_exp10): Handle underflow here rather than multiplying
36195 large negative argument by M_LN10.
36196 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36198 * math/e_exp10l.c: Include <float.h>.
36199 (__ieee754_exp10l): Handle underflow here rather than multiplying
36200 large negative argument by M_LN10l.
36201 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36202 spurious overflow exception on underflow.
36204 2012-04-29 Marek Polacek <polacek@redhat.com>
36206 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36207 (__fortify_function): New macro.
36208 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36209 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36210 __extern_always_inline.
36211 * libio/bits/stdio2.h: Likewise.
36212 * libio/bits/stdio.h: Likewise.
36213 * string/string.h: Likewise.
36214 * string/bits/string3.h: Likewise.
36215 * include/stdio.h: Likewise.
36216 * stdlib/bits/stdlib.h: Likewise.
36217 * stdlib/stdlib.h: Likewise.
36218 * rt/bits/mqueue2.h: Likewise.
36219 * rt/mqueue.h: Likewise.
36220 * posix/bits/unistd.h: Likewise.
36221 * posix/unistd.h: Likewise.
36222 * io/bits/poll2.h: Likewise.
36223 * io/bits/fcntl2.h: Likewise.
36224 * io/fcntl.h: Likewise.
36225 * io/sys/poll.h: Likewise.
36226 * misc/bits/syslog.h: Likewise.
36227 * misc/bits/syslog-ldbl.h: Likewise.
36228 * misc/sys/syslog.h: Likewise.
36229 * socket/bits/socket2.h: Likewise.
36230 * socket/sys/socket.h: Likewise.
36231 * debug/tst-chk1.c: Likewise.
36232 * wcsmbs/bits/wchar2.h: Likewise.
36233 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36234 * wcsmbs/wchar.h: Likewise.
36236 2012-04-29 Andreas Jaeger <aj@suse.de>
36238 * Makerules (tests): Remove enable-check-abi protection.
36239 (check-abi-warn): Remove.
36240 (check-abi-%): Remove check-abi-warn usage.
36242 * configure.in: Remove check-abi configure option.
36243 * configure: Regenerated.
36244 * config.make.in (enable-check-abi): Remove.
36246 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36249 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36250 double functions to double *_finite functions.
36253 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36254 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36256 * stdio-common/Makefile (tests): Add tst-sprintf3.
36257 * stdio-common/tst-sprintf3.c: New file.
36259 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36260 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36262 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36264 * conform/conformtest.pl: Remove duplicate typed-constant
36267 2012-04-28 David S. Miller <davem@davemloft.net>
36269 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36270 (check-abi-%): Remove AWK script prerequisite and explicit
36272 (check-abi): Rewrite to just diff the symlist with the abilist.
36273 (config-tls, config-abi-config): Delete, no longer used.
36274 (update-abi-%): Remove AWK script and explicit abilist directory.
36275 (update-abi): Rewrite to simply compare and conditionally copy the
36276 symlist and the sysdep abilist file. Remove update-abi-config
36278 * abilist/ld.abilist: Remove.
36279 * abilist/libBrokenLocale.abilist: Remove.
36280 * abilist/libanl.abilist: Remove.
36281 * abilist/libcrypt.abilist: Remove.
36282 * abilist/libdl.abilist: Remove.
36283 * abilist/librt.abilist: Remove.
36284 * abilist/libthread_db.abilist: Remove.
36285 * abilist/libutil.abilist: Remove.
36286 * scripts/extract-abilist.awk: Remove.
36287 * scripts/merge-abilist.awk: Remove.
36288 * sysdeps/generic/libcidn.abilist: New file.
36289 * sysdeps/generic/libnss_compat.abilist: New file.
36290 * sysdeps/generic/libnss_db.abilist: New file.
36291 * sysdeps/generic/libnss_dns.abilist: New file.
36292 * sysdeps/generic/libnss_files.abilist: New file.
36293 * sysdeps/generic/libnss_hesiod.abilist: New file.
36294 * sysdeps/generic/libnss_nis.abilist: New file.
36295 * sysdeps/generic/libnss_nisplus.abilist: New file.
36296 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36297 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36298 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36300 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36301 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36302 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36303 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36304 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36305 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36306 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36307 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36308 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36310 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36311 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36312 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36313 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36315 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36316 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36317 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36318 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36319 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36320 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36322 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36323 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36324 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36326 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36429 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36430 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36431 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36434 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36435 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36436 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36437 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36438 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36439 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36440 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36441 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36442 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36494 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36496 * conform/conformtest.pl: Fix typo in handling typed-constant from
36499 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36501 * README: Cut down references to pre-2.6 Linux kernels and
36502 Linuxthreads. Update lists of configurations in libc and ports
36503 and sort alphabetically. Say "or newer" with Linux kernel version
36506 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36508 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36511 * math/libm-test.inc (logb_test_downward): New test to expose
36512 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36515 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36518 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36520 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36521 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36523 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36525 * sysdeps/unix/i386/brk.S: Remove file.
36526 * sysdeps/unix/i386/dl-brk.S: Likewise.
36527 * sysdeps/unix/i386/pipe.S: Likewise.
36528 * sysdeps/unix/i386/sigreturn.S: Likewise.
36529 * sysdeps/unix/i386/syscall.S: Likewise.
36530 * sysdeps/unix/i386/vfork.S: Likewise.
36531 * sysdeps/unix/i386/wait.S: Likewise.
36533 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36534 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36536 * configure.in (arm*-none*): Do not allow without
36537 --enable-hacker-mode.
36538 (netbsd*): Remove case setting base_os.
36539 (386bsd*): Likewise.
36540 (freebsd*): Likewise.
36543 (sunos*): Likewise.
36544 (ultrix*): Likewise.
36545 (newsos*): Likewise.
36546 (dynix*): Likewise.
36552 (minix*): Likewise.
36553 (irix4*): Likewise.
36554 (irix6*): Likewise.
36555 (solaris[2-9]*): Likewise.
36557 * configure: Regenerated.
36559 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36562 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36563 overflow or cancellation in calculating denominator.
36564 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36566 down expression to avoid unexpected rounding in newer GCCs.
36567 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36569 2012-04-26 David S. Miller <davem@davemloft.net>
36571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36572 long-double compat symbols.
36573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36587 2012-04-25 David S. Miller <davem@davemloft.net>
36589 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36590 HWCAP_* values only after the memory barriers have been defined.
36591 (atomic_full_barrier): Define.
36592 (atomic_read_barrier): Define.
36593 (atomic_write_barrier): Define.
36595 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36597 * shlib-versions: Add libgcc_s version information.
36598 * sysdeps/generic/libgcc_s.h: Remove.
36599 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36601 * sysdeps/gnu/unwind-resume.c: Likewise.
36602 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36604 2012-04-25 David S. Miller <davem@davemloft.net>
36606 * sysdeps/unix/sparc/brk.S: Delete.
36607 * sysdeps/unix/sparc/dl-brk.S: Delete.
36608 * sysdeps/unix/sparc/pipe.S: Delete.
36609 * sysdeps/unix/sparc/sysdep.S: Delete.
36610 * sysdeps/unix/sparc/sysdep.h: Delete.
36611 * sysdeps/unix/sparc/vfork.S: Delete.
36612 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36613 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36614 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36615 (ret_ERRVAL, r0, r1, MOVE): Define.
36616 (JUMPTARGET): Remove.
36617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36618 sysdeps/unix/sparc/sysdep.h
36619 (ENTRY, END): Remove.
36620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36622 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36624 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36625 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36628 * timezone/README: Update upstream location and email address for
36630 * timezone/zdump.c: Update from tzcode 2012b.
36631 * timezone/zic.c: Likewise.
36633 * configure.in (libc_cv_as_needed): Remove test.
36634 * configure: Regenerated.
36635 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36636 conditional definition.
36637 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36638 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36639 * config.make.in (have-as-needed): Remove variable.
36641 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36642 Paul Pluzhnikov <ppluzhnikov@google.com>
36644 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36647 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36649 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36650 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36651 * sysdeps/sh/strlen.S: Likewise.
36653 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36655 * sysdeps/unix/fork.S: Remove file.
36656 * sysdeps/unix/i386/fork.S: Likewise.
36657 * sysdeps/unix/sparc/fork.S: Likewise.
36659 * sysdeps/unix/system.c: Remove file.
36660 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36662 * sysdeps/unix/getegid.S: Remove file.
36663 * sysdeps/unix/geteuid.S: Likewise.
36665 2012-04-24 Roland McGrath <roland@hack.frob.com>
36667 * scripts/check-localplt.awk: New file.
36668 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36670 * scripts/data/localplt-generic.data: Add a comment.
36672 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36673 NODE when __dir_mkfile failed.
36674 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36675 Reported by Ludovic Courtès <ludo@gnu.org>.
36677 2012-04-24 Andreas Jaeger <aj@suse.de>
36679 * Makerules (common-clean): Also remove gen-as-const-headers
36682 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36684 * Makerules (native-compile): Do not change working directory for
36685 build. Use $(OUTPUT_OPTION) in command.
36686 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36688 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36691 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36692 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36693 * math/libm-test.inc (floor_test): Add more tests.
36694 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36696 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36698 * sysdeps/unix/getdents.c: Remove file.
36699 * sysdeps/unix/sysv/getdents.c: Likewise.
36700 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36702 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36703 sysdeps/unix/mman/syscalls.list.
36705 (mprotect): Likewise.
36707 (munmap): Likewise.
36708 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36709 * sysdeps/unix/mman/syscalls.list: Remove.
36710 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36712 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36713 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36714 * configure: Regenerated.
36715 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36716 $(libgcc_s_suffix).
36717 * config.make.in (libgcc_s_suffix): Remove variable.
36719 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36721 * sysdeps/unix/sysv/gethostname.c: Move to ...
36722 * sysdeps/posix/gethostname.c: ... here.
36724 * sysdeps/unix/execve.S: Remove file.
36726 * sysdeps/unix/_exit.S: Remove file.
36728 2012-04-23 Andreas Jaeger <aj@suse.de>
36731 * manual/Makefile: Remove make dist support, there's no
36732 need for a stand-alone documentation tar ball.
36733 (TEXI2DVI): Define always, it's not in Makeconfig.
36736 (edition): Removed.
36737 (glibc-doc-$(edition).tar): Removed
36741 (ETAGS): Remove, it's in Makeconfig.
36742 (move-if-change): Remove, it's in Makeconfig.
36744 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36747 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36748 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36749 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36750 (strtod_l, strtof_l, strtold_l): Remove __wur.
36751 It is not necessarily an error to ignore strtol's return value.
36752 One can reliably look at the stored endptr to decide whether
36753 the number had valid syntax.
36755 2012-04-21 Andreas Jaeger <aj@suse.de>
36758 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36760 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36762 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36763 * sysdeps/unix/sysv/Versions: Remove file.
36765 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36770 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36774 version from __vm86.
36776 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36778 * sysdeps/unix/common/lxstat.c: Remove file.
36779 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36781 * sysdeps/unix/sysv/Makefile: Remove file.
36783 * sysdeps/unix/sysv/direct.h: Remove file.
36785 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36786 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36787 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36788 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36789 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36790 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36791 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36793 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36795 * sysdeps/unix/xmknod.c: Remove file.
36796 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36798 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36800 * sysdeps/unix/sysv/i386/time.S: Remove file.
36802 * sysdeps/unix/fxstat.c: Remove file.
36803 * sysdeps/unix/xstat.c: Likewise.
36804 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36806 * sysdeps/unix/sysv/sigaction.c: Remove file.
36808 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36809 (sysdep_headers): Remove variable.
36810 [termio.h not in sysdep_headers] (generated): Likewise.
36811 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36812 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36813 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36814 * sysdeps/unix/sysv/tcflow.c: Likewise.
36815 * sysdeps/unix/sysv/tcflush.c: Likewise.
36816 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36817 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36818 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36819 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36820 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36822 * sysdeps/unix/siglist.c: Remove file.
36824 * sysdeps/unix/getppid.S: Remove file.
36826 * sysdeps/unix/mkdir.c: Remove file.
36827 * sysdeps/unix/rmdir.c: Likewise.
36829 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36831 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36833 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36834 errlist-compat value.
36836 2012-04-18 David S. Miller <davem@davemloft.net>
36838 * sysdeps/generic/memcopy.h (reg_char): Delete.
36839 * debug/strcat_chk.c: Use char, not reg_char.
36840 * debug/strcpy_chk.c: Likewise.
36841 * debug/strncat_chk.c: Likewise.
36842 * debug/strncpy_chk.c: Likewise.
36843 * string/memchr.c: Likewise.
36844 * string/memrchr.c: Likewise.
36845 * string/rawmemchr.c: Likewise.
36846 * string/strcat.c: Likewise.
36847 * string/strchr.c: Likewise.
36848 * string/strchrnul.c: Likewise.
36849 * string/strcmp.c: Likewise.
36850 * string/strcpy.c: Likewise.
36851 * string/strncat.c: Likewise.
36852 * string/strncmp.c: Likewise.
36853 * string/strncpy.c: Likewise.
36855 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36857 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36858 __builtin_memcopy is called when src and dest ranges are known to not
36861 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36863 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36864 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36865 fwd_align_merge macro call.
36866 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36867 bwd_align_merge macro call.
36868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36870 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36872 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36873 bwd_align_merge macros.
36874 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36875 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36876 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36878 2012-04-18 David S. Miller <davem@davemloft.net>
36880 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36882 2012-04-18 Andreas Jaeger <aj@suse.de>
36885 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36886 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36890 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36893 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36894 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36895 Adjust for changed ldbl-128 files.
36897 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36898 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36899 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36901 2012-04-17 David S. Miller <davem@davemloft.net>
36903 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36905 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36907 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36908 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36909 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36910 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36911 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36912 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36914 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36917 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36918 * math/libm-test.inc: Add ilogb errno and exception tests.
36919 * math/w_ilogb.c: New file: ilogb wrapper.
36920 * math/w_ilogbf.c: New file: ilogbf wrapper.
36921 * math/w_ilogbl.c: New file: ilogbl wrapper.
36922 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36923 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36924 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36925 exception being thrown with 0.0 as argument.
36926 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36927 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36928 exception being thrown with 0.0 as argument.
36929 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36930 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36931 exception being thrown with 0.0 as argument.
36932 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36933 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36934 exception being thrown with 0.0 as argument.
36935 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36936 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36937 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36938 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36939 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36940 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36941 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36942 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36943 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36945 2012-04-17 Petr Baudis <pasky@ucw.cz>
36947 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36950 2012-04-16 Marek Polacek <polacek@redhat.com>
36952 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36954 2012-04-16 Marek Polacek <polacek@redhat.com>
36956 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36957 operands of fdivp instruction.
36959 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36961 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36962 * elf/tst-auditmod3b.c: Likewise.
36963 * elf/tst-auditmod4b.c: Likewise.
36964 * elf/tst-auditmod5b.c: Likewise.
36965 * elf/tst-auditmod6b.c: Likewise.
36966 * elf/tst-auditmod6c.c: Likewise.
36967 * elf/tst-auditmod7b.c: Likewise.
36968 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36969 * sysdeps/x86_64/preconfigure.in: Likewise.
36970 * sysdeps/x86_64/preconfigure: Regenerated.
36972 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36974 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36977 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36980 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36982 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36985 * locale/iso-639.def: Fix gl language name. Spotted by
36988 2012-04-12 Roland McGrath <roland@hack.frob.com>
36991 * libio/libio.h (__io_write_fn): Update comment.
36993 2012-04-12 Petr Baudis <pasky@ucw.cz>
36996 * stdio.texi (Hook Functions): The user provided writer function
36997 is not allowed to return -1.
36999 2012-04-11 David S. Miller <davem@davemloft.net>
37001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37003 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37005 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37006 Add a leading slash to rtkaio.
37008 2012-04-11 Jim Meyering <meyering@redhat.com>
37011 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37012 It is not necessarily an error to ignore fwrite's return
37013 value. One can reliably use ferror to test for errors after
37016 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37018 * bits/types.h (__snseconds_t): New type.
37019 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37021 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37022 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37023 (__SNSECONDS_T_TYPE): Likewise.
37024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37025 (__SNSECONDS_T_TYPE): Likewise.
37026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37027 (__SNSECONDS_T_TYPE): Likewise.
37029 2012-04-10 Andreas Jaeger <aj@suse.de>
37032 * manual/time.texi (Processor Time): Return type of times is
37033 elapsed real time since an arbitrary point in the past.
37034 (CPU Time): Move CLK_TCK from here...
37035 (Processor Time): ...to here. Correct description.
37036 * manual/conf.texi (Constants for Sysconf): Correct description of
37039 2012-04-10 David S. Miller <davem@davemloft.net>
37042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37043 where the is a gap between DT_REL(A) and DT_JMPREL.
37045 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37047 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37048 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37049 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37051 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37053 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37054 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37055 (dl_main): Handle --inhibit-cache.
37056 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37058 * elf/dl-load.c (_dl_map_object): Use it.
37059 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37061 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37064 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37065 (__ieee754_powl): Saturate large exponents rather than testing for
37066 overflow of y*log2(x).
37067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37068 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37072 * math/s_ctan.c: Include <float.h>.
37073 (__ctan): Avoid internal overflow or cancellation in calculating
37075 * math/s_ctanf.c: Likewise.
37076 * math/s_ctanl.c: Likewise.
37077 * math/s_ctanh.c: Likewise.
37078 * math/s_ctanhf.c: Likewise.
37079 * math/s_ctanhl.c: Likewise.
37080 * math/libm-test.inc (ctan_test): Add more tests.
37081 (ctanh_test): Likewise.
37082 * sysdeps/i386/fpu/libm-test-ulps: Update.
37083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37085 2012-04-09 Andreas Jaeger <aj@suse.de>
37088 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37089 is an optional BSD extension.
37092 * manual/stdio.texi (Opening Streams): Document additional fopen
37095 2012-04-09 Roland McGrath <roland@hack.frob.com>
37097 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37098 %eax without telling the compiler.
37100 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37103 * manual/install.texi: Use sourceware.org.
37105 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37108 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37109 (__ieee754_pow): Generate overflow and underflow using huge*huge
37110 and tiny*tiny rather than just returning constant infinity or zero
37111 for large exponents.
37112 * math/libm-test.inc (pow_test): Require overflow exceptions for
37113 applicable cases of large exponents.
37116 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37117 (__ieee754_pow): Use iterative multiplication algorithm only for
37118 integer exponents with absolute value below 1024. Check for odd
37119 integer exponents when using algorithm for real exponents.
37120 * math/libm-test.inc (pow_test): Add more tests.
37121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37123 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37126 * math/libm-test.inc (exp_test): Do not allow overflow exception
37129 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37132 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37133 instead of __kernel_standard_f.
37135 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37137 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37138 * sysdeps/x86_64/memset_chk.S: Likewise.
37140 2012-04-08 Andreas Jaeger <aj@suse.de>
37143 * manual/startup.texi (Environment Access): Describe return value
37144 for putenv and setenv.
37147 * manual/filesys.texi (Directory Entries): Add description for
37151 * manual/filesys.texi (Directory Entries): Clarify that it's file
37152 system not operating system in the description of DT_UNKNOWN.
37155 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37157 2012-04-08 Stephen Compall <s11@member.fsf.org>
37160 * manual/llio.texi (Opening and Closing Files): Add cross
37161 reference to explain mode argument.
37163 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37165 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37166 * sysdeps/x86_64/memset_chk.S: Likewise.
37168 2012-04-07 David S. Miller <davem@davemloft.net>
37170 * elf/elf.h (R_SPARC_WDISP10): Define.
37171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37174 R_SPARC_SIZE64 and R_SPARC_H34.
37176 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37179 conditions and remove no longer applicable assertion.
37181 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37183 * bits/byteswap.h: Include <features.h>.
37184 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37185 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37187 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37189 * bits/byteswap.h (__bswap_16): Removed.
37190 Include <bits/byteswap-16.h> to get __bswap_16.
37191 * sysdeps/i386/bits/byteswap.h: Likewise.
37192 * sysdeps/s390/bits/byteswap.h: Likewise.
37193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37194 * bits/byteswap-16.h: New file.
37195 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37196 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37197 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37198 * string/Makefile (headers): Add bits/byteswap-16.h.
37200 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37203 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37205 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37206 * nss/tst-nss-static.c: New.
37208 2012-04-06 Robert Millan <rmh@gnu.org>
37211 * manual/llio.texi (File Position Primitive): lseek
37212 refers to WHENCE when it really means OFFSET.
37214 2012-04-06 Andreas Jaeger <aj@suse.de>
37216 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37217 strncmp declarations.
37219 * abilist/libc.abilist: Add __poll and __ppoll.
37221 2012-04-05 David S. Miller <davem@davemloft.net>
37223 * scripts/check-local-headers.sh: Accept a host triplet in the
37224 path matched by the exclude regexp.
37226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37228 * sysdeps/powerpc/powerpc32/dl-machine.h
37229 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37230 * sysdeps/s390/s390-32/dl-machine.h
37231 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37232 * sysdeps/sparc/sparc32/dl-machine.h
37233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37234 * sysdeps/sparc/sparc64/dl-machine.h
37235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37237 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37239 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37240 undefined symbol errors.
37242 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37245 2012-04-05 Michael Matz <matz@suse.de>
37248 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37250 2012-04-05 Andreas Jaeger <aj@suse.de>
37253 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37256 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37259 which ROUND is no valid rounding mode.
37261 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37265 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37267 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37269 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37270 an exception using FPU order intentionally.
37272 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37274 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37275 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37276 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37277 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37279 2012-04-05 Simon Josefsson <simon@josefsson.org>
37282 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37283 EINVAL when BUFLEN is too smal.
37285 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37288 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37289 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37291 2012-04-03 Andreas Jaeger <aj@suse.de>
37294 * manual/setjmp.texi (System V contexts): Fix sentence.
37297 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37298 New macro for this case.
37299 [!__GNUC__] (__bswap_64): New inline function for this case.
37300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37301 * bits/byteswap.h: Likewise.
37302 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37303 ull, guard with __GLIBC_HAVE_LONG_LONG.
37305 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37306 __GLIBC_HAVE_LONG_LONG.
37308 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37309 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37311 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37314 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37315 inptr and inend, rather than using last_ch.
37317 2012-04-02 David S. Miller <davem@davemloft.net>
37319 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37320 * stdio-common/printf-parse.h (read_int): Change return type to
37321 'int', return -1 on INT_MAX overflow.
37322 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37323 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37324 overflows INT_MAX. Check for overflow of in-format-string precision
37325 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37326 SIZE_MAX not INT_MAX for integer overflow test.
37327 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37328 skip the construct in the format string but do not record anything.
37329 * stdio-common/bug22.c: Adjust to test both width/prevision
37330 INT_MAX overflow as well as total length INT_MAX overflow. Check
37331 explicitly for proper errno values.
37333 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37335 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37337 * string/test-strcmp.c [! WIDE]: Likewise.
37338 * time/tst-mktime2.c: Likewise for INT_MAX.
37339 * string/test-string.h: #include <sys/param.h> for MIN.
37341 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37342 * sysdeps/i386/init-first.c (init): Likewise.
37343 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37344 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37345 * sysdeps/sh/init-first.c (init): Likewise.
37347 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37349 * po/ru.po: Update from translation team.
37350 * po/vi.po: Likewise.
37352 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37354 * resolv/nss_dns/dns-host.c: Merge copyright years.
37356 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37359 Optimize memcpy with prefetch if
37360 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37361 src, dst pointers have unequal 16 byte alignments.
37363 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37366 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37367 from a CNAME entry and return the minimum ttl for the query.
37368 (gaih_getanswer_slice): Likewise.
37370 2012-03-30 Jeff Law <law@redhat.com>
37372 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37374 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37375 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37377 * resolv/nss_dns/dns-host.c: Update copyright year.
37379 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37381 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37382 requests to save a system call. Fix check that all bytes are sent.
37384 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37385 comments for sendmmsg.
37387 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37390 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37391 with only 1 character between 0x0041 and 0x01b0.
37392 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37393 * wcsmbs/tst-mbsnrtowcs.c: New file.
37395 2012-03-29 David S. Miller <davem@davemloft.net>
37397 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37398 small copies by hand.
37400 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37403 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37404 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37407 2012-03-28 David S. Miller <davem@davemloft.net>
37409 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37410 that branches into memcpy.
37411 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37414 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37417 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37418 implementation too.
37419 * sysdeps/sparc/mempcpy.S: New file.
37421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37422 the IFUNC routine in the libc case.
37423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37425 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37426 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37427 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37428 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37429 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37430 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37431 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37432 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37434 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37435 loop to 256 bytes instead of 64 bytes and fix test signedness.
37437 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37438 * sysdeps/sparc/sparc32/Makefile: rather than here...
37439 * sysdeps/sparc/sparc64/Makefile: and here.
37441 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37443 * malloc/mallocbug.c: Avoid warnings about unused variables.
37445 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37448 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37449 in the right place. Discard and retry query if response is
37450 larger than input buffer size.
37452 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37457 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37458 x for large integer exponent.
37459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37460 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37461 sign of result as needed afterwards.
37462 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37463 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37464 result for underflowing pow the same as for overflow.
37465 (__kernel_standard_l): Handle powl overflow and underflow here
37466 rather than calling __kernel_standard.
37467 * math/libm-test.inc (pow_test): Add more tests.
37482 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37483 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37484 (__kernel_standard_l): New function.
37485 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37487 * math/w_acosl.c (__acosl): Likewise.
37488 * math/w_asinl.c (__asinl): Likewise.
37489 * math/w_atan2l.c (__atan2l): Likewise.
37490 * math/w_atanhl.c (__atanhl): Likewise.
37491 * math/w_coshl.c (__coshl): Likewise.
37492 * math/w_exp10l.c (__exp10l): Likewise.
37493 * math/w_exp2l.c (__exp2l): Likewise.
37494 * math/w_fmodl.c (__fmodl): Likewise.
37495 * math/w_hypotl.c (__hypotl): Likewise.
37496 * math/w_j0l.c (__j0l, __y0l): Likewise.
37497 * math/w_j1l.c (__j1l, __y1l): Likewise.
37498 * math/w_jnl.c (__jnl, __ynl): Likewise.
37499 * math/w_lgammal.c (__lgammal): Likewise.
37500 * math/w_log10l.c (__log10l): Likewise.
37501 * math/w_log2l.c (__log2l): Likewise.
37502 * math/w_logl.c (__logl): Likewise.
37503 * math/w_powl.c (__powl): Likewise.
37504 * math/w_remainderl.c (__remainderl): Likewise.
37505 * math/w_scalbl.c (sysv_scalbl): Likewise.
37506 * math/w_sinhl.c (__sinhl): Likewise.
37507 * math/w_sqrtl.c (__sqrtl): Likewise.
37508 * math/w_tgammal.c (__tgammal): Likewise.
37509 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37510 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37511 * math/libm-test.inc (acos_test): Add more tests.
37512 (acosh_test): Likewise.
37513 (asin_test): Likewise.
37514 (atanh_test): Likewise.
37515 (exp_test): Likewise.
37516 (exp10_test): Likewise.
37517 (exp2_test): Likewise.
37518 (expm1_test): Likewise.
37519 (lgamma_test): Likewise.
37520 (log_test): Likewise.
37521 (log10_test): Likewise.
37522 (log1p_test): Likewise.
37523 (log2_test): Likewise.
37524 (pow_test): Do not allow some spurious overflow exceptions.
37525 (sqrt_test): Add more tests.
37526 (tgamma_test): Likewise.
37527 (y0_test): Likewise.
37528 (y1_test): Likewise.
37529 (yn_test): Likewise.
37531 2012-03-27 Anton Blanchard <anton@samba.org>
37533 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37539 2012-03-27 David S. Miller <davem@davemloft.net>
37541 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37543 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37544 have-as-vis3 check.
37546 2012-03-27 Andreas Jaeger <aj@suse.de>
37548 * sysdeps/x86_64/elf/configure.in: Moved to ...
37549 * sysdeps/x86_64/configure.in: ... here.
37550 * sysdeps/x86_64/elf/start.S: Moved to ...
37551 * sysdeps/x86_64/start.S: ... here.
37552 * sysdeps/x86_64/elf/configure: Delete.
37554 * sysdeps/x86_64/configure.in: Merge contents from
37555 sysdeps/i386/configure.in (without i686 check).
37557 * sysdeps/i386/elf/Versions: Merge into ...
37558 * sysdeps/i386/Versions: ... this.
37559 * sysdeps/i386/elf/Versions: Delete file.
37560 * sysdeps/i386/elf/start.S: Moved to ...
37561 * sysdeps/i386/start.S: ...here.
37562 * sysdeps/i386/elf/configure.in: Merge into...
37563 * sysdeps/i386/configure.in: ...here.
37564 * sysdeps/i386/elf/configure.in: Delete file.
37565 * sysdeps/i386/elf/configure: Delete file.
37567 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37568 * debug/backtracesyms.c: ... here.
37569 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37570 * debug/backtracesymsfd.c: ... here.
37571 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37572 * sysdeps/generic/ifunc-sel.h: ... here.
37574 * sysdeps/unix/i386/start.c: Delete file.
37575 * sysdeps/unix/sparc/start.c: Delete file.
37576 * sysdeps/unix/start.c: Delete file.
37578 * sysdeps/sh/elf/configure.in: Moved to ...
37579 * sysdeps/sh/configure.in: ... here.
37580 * sysdeps/sh/elf/start.S: Moved to ...
37581 * sysdeps/sh/start.S: ... here.
37582 * sysdeps/sh/elf/configure: Delete file.
37584 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37585 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37586 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37587 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37588 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37589 * sysdeps/powerpc/powerpc64/start.S: here.
37590 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37591 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37592 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37593 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37594 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37596 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37597 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37598 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37599 * sysdeps/powerpc/powerpc32/start.S: ... here.
37600 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37601 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37602 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37604 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37605 * sysdeps/powerpc/ifunc-sel.h: ... here.
37606 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37607 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37609 * sysdeps/sparc/elf/configure.in: Moved to ...
37610 * sysdeps/sparc/configure.in: ... here.
37611 * sysdeps/sparc/elf/configure: Delete file.
37612 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37613 * sysdeps/sparc/sparc32/start.S: ... here.
37614 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37615 * sysdeps/sparc/sparc64/start.S: ... here.
37616 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37617 * sysdeps/sparc/sparc32/Makefile: ... this.
37618 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37619 * sysdeps/sparc/sparc64/Makefile: ... this.
37621 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37622 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37623 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37624 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37625 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37626 * sysdeps/s390/s390-32/setjmp.S: ... here.
37627 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37628 * sysdeps/s390/s390-32/configure.in: ... here.
37629 * sysdeps/s390/s390-32/elf/configure: Delete file.
37630 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37631 * sysdeps/s390/s390-32/start.S: ... here.
37633 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37634 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37635 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37636 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37637 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37638 * sysdeps/s390/s390-64/setjmp.S: ... here.
37639 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37640 * sysdeps/s390/s390-64/configure.in: ... here
37641 * sysdeps/s390/s390-64/elf/configure: Delete file.
37642 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37643 * sysdeps/s390/s390-64/start.S: ... here.
37644 * sysdeps/s390/s390-64/elf/configure: Delete.
37646 * configure.in: Remove support for elf directories in sysdeps.
37648 * configure: Regenerated.
37649 * sysdeps/i386/configure: Regenerated.
37650 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37651 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37652 * sysdeps/s390/s390-32/configure: Regenerated.
37653 * sysdeps/s390/s390-64/configure: Regenerated.
37654 * sysdeps/sh/configure: Regenerated.
37655 * sysdeps/sparc/configure: Regenerated.
37656 * sysdeps/x86_64/configure: Regenerated.
37658 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37663 denormal result into account.
37665 2012-03-25 Roland McGrath <roland@hack.frob.com>
37667 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37668 Reported by Allan McRae <allan@archlinux.org>.
37670 2012-03-23 Jeff Law <law@redhat.com>
37672 * nss/getnssent.c (__nss_getent): Fix typo.
37674 2012-03-23 David S. Miller <davem@davemloft.net>
37676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37678 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37680 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37681 to pad to uint64_t for each field.
37682 (dl_tls_index): Replace unsigned long with uint64_t.
37684 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37685 Paul Pluzhnikov <ppluzhnikov@google.com>
37688 * grp/Makefile (otherlibs): Don't set it.
37689 * inet/Makefile (otherlibs): Likewise.
37690 * login/Makefile (otherlibs): Likewise.
37691 * nscd/Makefile (otherlibs): Likewise.
37692 * posix/Makefile (otherlibs): Likewise.
37693 * pwd/Makefile (otherlibs): Likewise.
37694 * rt/Makefile (otherlibs): Likewise.
37695 * sunrpc/Makefile (otherlibs): Likewise.
37696 * nss/Makefile (otherlibs): Likewise.
37697 Add libnss_files to routines and static-only-routines.
37698 ($(objpfx)getent): Remove rule.
37699 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37700 static-only-routines.
37702 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37705 * math/s_cexp.c: Include <float.h>.
37706 (__cexp): Handle exp result overflowing not necessarily
37707 overflowing both real and imaginary parts of result.
37708 * math/s_cexpf.c: Likewise.
37709 * math/s_cexpl.c: Likewise.
37710 * math/libm-test.inc (cexp_test): Add more tests.
37711 * sysdeps/i386/fpu/libm-test-ulps: Update.
37712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37714 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37716 * include/link.h (ELFW): New macro.
37717 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37718 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37720 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37722 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37725 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37727 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37729 (struct La_x32_retval): Likewise.
37731 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37733 * sysdeps/x86_64/preconfigure.in: New file.
37734 * sysdeps/x86_64/preconfigure: New generated file.
37736 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37739 * math/e_exp2l.c: Include <float.h>.
37740 (__ieee754_exp2l): Handle overflow and underflow cases
37741 separately. Only pass fractional part of argument to
37743 * math/libm-test.inc (exp2_test): Add more tests.
37745 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37746 negating x to take absolute value.
37747 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37752 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37753 computing low part if x was negated.
37754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37756 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37758 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37759 la_x32_gnu_pltexit.
37760 (pltexit): Cast int_retval to ptrdiff_t.
37761 * elf/tst-auditmod3b.c: Likewise.
37762 * elf/tst-auditmod4b.c: Likewise.
37763 * elf/tst-auditmod5b.c: Likewise.
37764 * elf/tst-auditmod6b.c: Likewise.
37765 * elf/tst-auditmod6c.c: Likewise.
37766 * elf/tst-auditmod7b.c: Likewise.
37768 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37769 and x32_gnu_pltexit.
37771 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37772 __ELF_NATIVE_CLASS.
37773 (La_x32_regs): New macro.
37774 (La_x32_retval): Likewise.
37775 (la_x32_gnu_pltenter): New function prototype.
37776 (la_x32_gnu_pltexit): Likewise.
37778 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37785 * configure.in (libc_cv_cc_nofma): Check for option to disable
37786 generation of FMA instructions.
37787 * configure: Regenerate.
37788 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37789 * sysdeps/ieee754/dbl-64/Makefile: New file.
37790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37791 Remove brandred-fma4.
37792 (CFLAGS-brandred-fma4.c): Remove.
37793 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37794 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37799 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37801 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37802 LLONG_MAX != LONG_MAX.
37803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37804 (_fitoa_word): Likewise.
37805 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37806 LLONG_MAX != LONG_MAX.
37807 * stdio-common/_itowa.h: Include <_itoa.h>.
37808 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37809 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37810 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37811 only if not defined.
37812 (_ITOA_WORD_TYPE): Likewise.
37813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37814 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37816 2012-03-21 David S. Miller <davem@davemloft.net>
37818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37820 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37822 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37823 of x86_64 when setting libc_cv_slibdir, libdir and
37825 * sysdeps/unix/sysv/linux/configure: Regenerated.
37827 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37829 * manual/lang.texi (Old Varargs): Remove section.
37830 (How Variadic): Update menu.
37831 (va_start): Do not mention varargs.h.
37833 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37834 Joseph Myers <joseph@codesourcery.com>
37836 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37838 * configure: Regenerated.
37840 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37842 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37843 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37846 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37849 * Makefile (files-for-dist): Remove NOTES.
37850 (NOTES): Remove rule.
37851 * README: Don't refer to NOTES.
37852 * manual/creature.texi: Don't include macros.texi.
37853 * manual/intro.texi (creature.texi): Remove comment referring to
37856 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37857 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37858 * configure: Regenerated.
37859 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37860 LIBC_TRY_CC_OPTION.
37861 (libc_cv_as_i686): Likewise.
37862 (libc_cv_cc_avx): Likewise.
37863 (libc_cv_cc_sse2avx): Likewise.
37864 (libc_cv_cc_fma4): Likewise.
37865 (libc_cv_cc_novzeroupper): Likewise.
37866 * sysdeps/i386/configure: Regenerated.
37869 * sysdeps/i386/fpu/s_cexp.S: Remove.
37870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37871 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37872 * math/libm-test.inc (cexp_test): Add more tests.
37873 * sysdeps/i386/fpu/libm-test-ulps: Update.
37874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37876 2012-03-21 Allan McRae <allan@archlinux.org>
37878 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37880 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37883 * math/w_exp2.c: Do not include <float.h>.
37884 (o_threshold, u_threshold): Remove.
37885 (__exp2): Calculate result before checking finiteness and calling
37887 * math/w_exp2f.c: Likewise.
37888 * math/w_exp2l.c: Likewise.
37889 * math/libm-test.inc (exp2_test): Require overflow exception for
37893 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37894 range of signed 64-bit integers before using fistpll. Remove
37895 checks for whether integers fit in mantissa bits.
37896 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37897 the range of signed 32-bit integers before using fistpl. Remove
37898 checks for whether integers fit in mantissa bits.
37899 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37900 (__ieee754_powl): Test for y outside the range of signed 64-bit
37901 integers before using fistpll. Reduce 64-bit values to 63-bit
37903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37904 divide-by-zero is raised for zero to large negative powers.
37905 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37906 (__ieee754_powl): Test for y outside the range of signed 64-bit
37907 integers before using fistpll. Reduce 64-bit values to 63-bit
37909 * math/libm-test.inc (pow_test): Add more tests.
37911 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37913 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37914 <stdio-common/_itoa.h>.
37915 * debug/segfault.c: Likewise.
37916 * elf/dl-cache.c: Likewise.
37917 * elf/dl-minimal.c: Likewise.
37918 * elf/dl-misc.c: Likewise.
37919 * elf/dl-sysdep.c: Likewise.
37920 * elf/dl-version.c: Likewise.
37921 * elf/rtld.c: Likewise.
37922 * hurd/hurdsock.c: Likewise.
37923 * hurd/lookup-retry.c: Likewise.
37924 * malloc/malloc.c: Likewise.
37925 * malloc/mtrace.c: Likewise.
37926 * nscd/nscd_getgr_r.c: Likewise.
37927 * nscd/nscd_getpw_r.c: Likewise.
37928 * nscd/nscd_getserv_r.c: Likewise.
37929 * posix/getopt_init.c: Likewise.
37930 * posix/wordexp.c: Likewise.
37931 * stdio-common/_itoa.c: Likewise.
37932 * stdio-common/printf_fphex.c: Likewise.
37933 * stdio-common/vfprintf.c: Likewise.
37934 * string/_strerror.c: Likewise.
37935 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37936 * sysdeps/i386/i686/hp-timing.h: Likewise.
37937 * sysdeps/mach/_strerror.c: Likewise.
37938 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37939 * sysdeps/mach/hurd/sethostid.c: Likewise.
37940 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37941 * sysdeps/mach/xpg-strerror.c: Likewise.
37942 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37944 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37945 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37947 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37949 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37950 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37951 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37952 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37953 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37954 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37955 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37956 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37957 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37958 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37959 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37960 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37961 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37962 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37964 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37966 * stdio-common/_itoa.h: Moved to ...
37967 * sysdeps/generic/_itoa.h: Here.
37969 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37971 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37972 instead of "_itoa.h" and "_itowa.h".
37973 * stdio-common/vfprintf.: Likewise.
37975 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37977 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37979 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37980 (__signbit): Likwise.
37981 (llrintf): Likwise.
37984 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37986 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37989 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37991 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37992 OVERFLOW_EXCEPTION_OK.
37993 * math/libm-test.inc ("Philosophy"): Update comment about
37995 (OVERFLOW_EXCEPTION): Define.
37996 (OVERFLOW_EXCEPTION_OK): Likewise.
37997 (INVALID_EXCEPTION_OK): Renumber.
37998 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37999 (IGNORE_ZERO_INF_SIGN): Likewise.
38000 (test_exceptions): Handle FE_OVERFLOW.
38001 (exp10_test): Expect overflow exceptions.
38002 (exp2_test): Likewise.
38003 (expm1_test): Likewise.
38004 (nextafter_test): Likewise.
38005 (pow_test): Likewise.
38006 (scalbn_test): Likewise.
38007 (scalbln_test): Likewise.
38009 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38011 * sysdeps/x86_64/bits/atomic.h
38012 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38014 (atomic_exchange_acq): Likewise.
38015 (__arch_exchange_and_add_body): Likewise.
38016 (__arch_add_body): Likewise.
38017 (atomic_add_negative): Likewise.
38018 (atomic_add_zero): Likewise.
38020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38022 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38023 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38025 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38027 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38028 Check __x86_64__ instead of __WORDSIZE.
38030 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38032 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38034 2012-03-19 David S. Miller <davem@davemloft.net>
38036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38038 * sysdeps/sparc/fpu/fenv_private.h: New file.
38039 * sysdeps/sparc/fpu/math_private.h: Use it.
38040 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38042 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38043 (libc_feholdexcept_setroundl): Remove.
38044 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38046 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38047 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38051 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38052 int64_t instead of long int.
38053 (INSERT_WORDS64): Likwise.
38055 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38057 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38058 _Unwind_GetCFA return to _Unwind_Ptr first.
38060 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38063 * math/s_clog.c: Include <float.h>.
38064 (__clog): Scale large or subnormal inputs.
38065 * math/s_clogf.c: Likewise.
38066 * math/s_clogl.c: Likewise.
38067 * math/s_clog10.c: Include <float.h>.
38068 (M_LOG10_2): Define.
38069 (__clog10): Scale large or subnormal inputs.
38070 * math/s_clog10f.c: Likewise.
38071 * math/s_clog10l.c: Likewise.
38072 * math/libm-test.inc (clog_test): Add more tests.
38073 (clog10_test): Likewise.
38074 * sysdeps/i386/fpu/libm-test-ulps: Update.
38075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38080 * math/libm-test.inc (atan2_test): Add another test.
38082 * Makerules (common-objdir-compile): Remove.
38083 * sysdeps/unix/Makefile (config-generated): Do not add
38084 $(unix-generated) to variable.
38085 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38086 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38088 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38090 [generic bits/local_lim.h] (before-compile): Do not append to
38092 [generic bits/local_lim.h] (common-generated): Likewise.
38093 [generic sys/param.h] (before-compile): Do not append to variable.
38094 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38095 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38096 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38097 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38099 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38100 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38101 [generic sys/param.h] ($(addprefix
38102 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38103 [generic sys/param.h] (common-generated): Do not append to
38105 [generic sys/param.h] (sysdep_headers): Likewise.
38106 [generic bits/errno.h] (before-compile): Do not append to
38108 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38110 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38111 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38112 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38113 [generic bits/errno.h] (common-generated): Do not append to
38115 [generic bits/ioctls.h] (before-compile): Do not append to
38117 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38119 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38120 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38121 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38123 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38124 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38125 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38126 [generic bits/ioctls.h] (common-generated): Do not append to
38128 [generic sys/syscall.h] (syscall.h): Remove variable.
38129 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38131 [generic sys/syscall.h] (before-compile): Do not append to
38133 [generic sys/syscall.h] (common-generated): Likewise.
38134 * sysdeps/unix/errnos-tmpl.c: Remove file.
38135 * sysdeps/unix/errnos.awk: Likewise.
38136 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38137 * sysdeps/unix/ioctls.awk: Likewise.
38138 * sysdeps/unix/mk-local_lim.c: Likewise.
38139 * sysdeps/unix/snarf-ioctls: Likewise.
38141 2012-03-19 Richard Henderson <rth@twiddle.net>
38143 * sysdeps/i386/fpu/fenv_private.h: New file.
38144 * sysdeps/i386/fpu/math_private.h: Use it.
38145 (math_opt_barrier, math_force_eval): Remove.
38146 (libc_feholdexcept_setround_53bit): Remove.
38147 (libc_feupdateenv_53bit): Remove.
38148 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38149 (math_opt_barrier, math_force_eval): Remove.
38150 (libc_feholdexcept): Remove.
38151 (libc_feholdexcept_setround): Remove.
38152 (libc_fetestexcept, libc_fesetenv): Remove.
38153 (libc_feupdateenv_test): Remove.
38154 (libc_feupdateenv, libc_feholdsetround): Remove.
38155 (libc_feresetround): Remove.
38157 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38158 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38160 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38161 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38162 (libc_feupdateenv_testl): New.
38163 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38164 (libc_feupdateenv_testf): New.
38165 (libc_feupdateenv): Use libc_feupdateenv_test.
38166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38169 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38170 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38171 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38172 (libc_feresetround_noex): New.
38173 (libc_feresetround_noexf): New.
38174 (libc_feresetround_noexl): New.
38175 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38176 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38177 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38178 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38183 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38184 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38185 SET_RESTORE_ROUND_NOEX.
38186 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38187 SET_RESTORE_ROUND_NOEXF.
38188 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38189 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38190 (libc_feholdsetroundf): New.
38191 (libc_feresetround, libc_feresetroundf): New.
38193 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38194 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38195 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38197 * sysdeps/generic/math_private.h: Include <fenv.h>.
38198 (default_libc_feholdexcept): New.
38199 (default_libc_feholdexcept_setround): New.
38200 (default_libc_fesetenv, default_libc_feupdateenv): New.
38201 (libc_feholdexcept): Only define if undefined.
38202 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38203 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38204 (libc_feholdexcept_setroundl): Likewise.
38205 (libc_feholdexcept_setround_53bit): Likewise.
38206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38207 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38208 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38209 (libc_feupdateenv_53bit): Likewise.
38210 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38211 (libc_feholdexcept): Convert from macro to inline function.
38212 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38213 (libc_fesetenv, libc_feupdateenv): Likewise.
38215 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38216 not previously defined.
38217 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38218 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38219 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38220 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38221 * sysdeps/ieee754/flt-32/math_private.h: New file.
38222 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38223 math_private.h below SET_FLOAT_WORD.
38224 (__isnan, __isinf_ns, __finite): Remove.
38225 (__isnanf, __isinf_nsf, __finitef): Remove.
38227 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38231 2012-03-17 David S. Miller <davem@davemloft.net>
38234 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38237 2012-03-16 David S. Miller <davem@davemloft.net>
38239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38245 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38246 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38247 sysdep_routines when subdir is sysvipc.
38248 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38249 __getshmlba helper.
38251 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38253 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38255 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38258 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38260 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38261 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38262 (__lround): Renamed to ...
38263 (__llround): This. Replace long int with long long int.
38264 Define lround functions as aliases of llround functions.
38265 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38267 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38269 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38270 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38271 adresses to uintptr_t. Replace "long int" and "unsigned long
38272 int" with "greg_t" on va_arg.
38274 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38276 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38277 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38279 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38280 Move e_machine check before EI_CLASS check. Handle x32
38281 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38282 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38283 SKIP_EM_IA_64 and include
38284 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38286 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38287 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38288 (add_system_dir): New macro.
38290 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38291 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38293 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38304 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38306 * math/w_j0f.c (j0f): Likewise.
38308 * math/w_j0l.c (__j0l): Likewise.
38310 * math/w_j1.c (j1): Likewise.
38312 * math/w_j1f.c (j1f): Likewise.
38314 * math/w_j1l.c (__j1l): Likewise.
38316 * math/w_jn.c (jn): Likewise.
38318 * math/w_jnf.c (jnf): Likewise.
38320 * math/w_jnl.c (__jnl): Likewise.
38322 * math/libm-test.inc (j0_test): Add more tests.
38323 (j1_test): Likewise.
38324 (jn_test): Likewise. Add trailing semicolon to existing test.
38325 (y0_test): Likewise.
38326 (y1_test): Likewise.
38327 * sysdeps/i386/fpu/libm-test-ulps: Update.
38328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38333 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38334 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38336 (__tanl): Set errno for infinite argument.
38337 * sysdeps/i386/fpu/mptan.c: Remove.
38338 * sysdeps/i386/fpu/s_tan.S: Likewise.
38339 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38340 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38341 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38342 * math/libm-test.inc (tan_test): Add more tests and enable more
38343 tests for double and long double.
38344 * sysdeps/i386/fpu/libm-test-ulps: Update.
38345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38347 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38349 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38350 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38352 2012-03-16 Roland McGrath <roland@hack.frob.com>
38354 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38355 * configure.in: Use it for both main tree and add-ons.
38356 * configure: Regenerated.
38358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38360 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38362 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38364 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38368 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38369 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38370 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38372 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38374 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38376 != 0 for prec == 2.
38377 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38378 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38379 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38380 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38381 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38382 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38383 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38384 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38385 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38386 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38387 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38388 * math/libm-test.inc (cos_test): Add more tests and enable more
38389 tests for long double.
38390 (sin_test): Likewise.
38391 (sincos_test): Likewise.
38392 * sysdeps/i386/fpu/libm-test-ulps: Update.
38393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38395 2012-03-16 David S. Miller <davem@davemloft.net>
38397 * sysdeps/sparc/fpu/math_private.h: New file.
38399 2012-03-15 David S. Miller <davem@davemloft.net>
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38415 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38416 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38418 * sysdeps/sparc/sparc-ifunc.h: New file.
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38464 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38466 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38470 2012-03-15 Andreas Jaeger <aj@suse.de>
38473 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38474 ieee754/flt-32 implementation for sin, cos and sincos.
38475 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38476 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38477 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38478 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38479 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38480 ieee754/flt-32 implementation for tan.
38482 * math/libm-test.inc (cos_test): Enable some large input tests for
38484 (sin_test): Likewise.
38485 (sincos_test): Likewise.
38486 (tan_test): Add tests for large input.
38488 * sysdeps/i386/fpu/libm-test-ulps: Update.
38490 2012-03-15 Andreas Jaeger <aj@suse.de>
38493 * math/libm-test.inc (cos_test): Add more test cases.
38494 (sin_test): Likewise.
38495 (sincos_test): Likewise.
38497 2012-03-15 Andreas Jaeger <aj@suse.de>
38500 * math/libm-test.inc (cos_test): Add a test case for large input
38502 (sin_test): Likewise.
38503 (sincos_test): Likewise.
38505 2012-03-15 Andreas Jaeger <aj@suse.de>
38506 Joseph Myers <joseph@codesourcery.com>
38509 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38510 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38511 * sysdeps/i386/fpu/branred.c: Likewise.
38512 * sysdeps/i386/fpu/dosincos.c: Likewise.
38513 * sysdeps/i386/fpu/mpa.c: Likewise.
38514 * sysdeps/i386/fpu/s_cos.S: Likewise.
38515 * sysdeps/i386/fpu/s_sin.S: Likewise.
38516 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38517 * sysdeps/i386/fpu/sincos32.c: Likewise.
38519 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38521 (libc_feupdateenv_53bit): Define.
38522 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38524 (libc_feupdateenv_53bit): Define.
38526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38527 53 bit (without extend i386 double precision).
38529 * math/libm-test.inc (sincos_test): Add tests for large input.
38533 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38535 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38539 2012-03-15 David S. Miller <davem@davemloft.net>
38541 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38542 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38543 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38544 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38569 fmin/fmax sysdep routines.
38570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38572 2012-03-14 David S. Miller <davem@davemloft.net>
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38646 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38651 * sysdeps/sparc/configure.in: New file.
38652 * sysdeps/sparc/configure: Generate.
38653 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38654 * configure: Regenerate.
38655 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38656 * config.make.in (have-as-vis3): New.
38657 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38658 available use -Av9d instead of -Av9a.
38659 * sysdeps/sparc/sparc64/Makefile: Likewise.
38660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38670 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38675 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38676 fzeros/fnegs to load 0x80000000 into a float register instead of
38678 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38680 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38684 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38685 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38686 ($(inst_includedir)/bits/syscall.h): Remove rule.
38687 ($(objpfx)bits/syscall.d): Include instead of
38688 $(objpfx)syscall-list.d.
38689 (generated): Change syscall-list.h and syscall-list.d to
38690 bits/syscall.h and bits/syscall.d.
38692 2012-03-14 Roland McGrath <roland@hack.frob.com>
38695 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38697 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38700 * math/s_csqrt.c: Include <float.h>.
38701 (__csqrt): Scale large or subnormal inputs.
38702 * math/s_csqrtf.c: Likewise.
38703 * math/s_csqrtl.c: Likewise.
38704 * math/libm-test.inc (csqrt_test): Add more tests.
38705 * sysdeps/i386/fpu/libm-test-ulps: Update.
38706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38709 * math/libm-test.inc (hypot_test): Add more tests.
38711 2012-03-13 David S. Miller <davem@davemloft.net>
38714 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38715 double-precision for the calculation instead of scaling.
38717 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38719 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38720 manipulate bits before adding and subtracting TWO52[sx].
38721 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38726 2012-03-13 David S. Miller <davem@davemloft.net>
38728 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38729 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38731 rtld-global-offsets.h
38732 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38734 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38737 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38739 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38740 'err' in the ifdef scope in which it is actually used.
38742 * nss/nss_db/db-init.c: Include string.h
38744 2012-03-12 David S. Miller <davem@davemloft.net>
38746 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38747 masking out of the most significant byte of random value used.
38748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38749 Fix coding style in previous change.
38751 * sysdeps/unix/sysv/linux/kernel-features.h
38752 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38753 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38755 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38758 2012-03-11 David S. Miller <davem@davemloft.net>
38760 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38761 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38763 for 'resultvar' otherwise things get truncated on 64-bit.
38765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38766 Fix masking out of the most significant byte of random value used.
38768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38770 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38774 2012-03-09 David S. Miller <davem@davemloft.net>
38776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38777 variables with appropriate CPP guards.
38778 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38779 from the frame pointer, not the stack pointer. Correct layout
38780 comments. Fix test on resulting framesize and the management of
38781 the outregs buffer for pltexit. Preserve floating point return
38782 values across _dl_call_pltexit call.
38783 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38784 framesize and the management of the outregs buffer for pltexit.
38785 Preserve floating point return values across _dl_call_pltexit
38787 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38788 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38789 (la_sparc64_gnu_pltexit): New functions.
38790 (print_exit): Fix format string for return register value.
38792 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38794 * sunrpc/Makefile (others): Add rpcgen.
38795 ($(objpfx)rpcgen): Remove special build rule and dependency on
38797 * sunrpc/rpcgen.c: New file.
38799 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38802 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38803 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38804 * sysdeps/i386/crti.S: Likewise.
38805 * sysdeps/i386/crtn.S: Likewise.
38806 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38807 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38808 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38809 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38810 * sysdeps/sh/crti.S: Likewise.
38811 * sysdeps/sh/crtn.S: Likewise.
38812 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38815 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38817 * locale/programs/locfile-kw.gperf: Likewise.
38818 * locale/programs/charmap-kw.h: Regenerated.
38819 * locale/programs/locfile-kw.h: Likewise.
38822 * intl/plural.y: Replace FSF snail mail address with URL.
38823 * intl/plural.c: Regenerated.
38825 2012-03-09 Richard Henderson <rth@twiddle.net>
38827 * include/math_private.h: Remove file.
38828 * math/math_private.h: Move file ...
38829 * sysdeps/generic/math_private.h: ... here.
38831 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38832 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38833 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38835 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38836 and <math_private.h>.
38837 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38838 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38839 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38840 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38841 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38898 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38906 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38907 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38924 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38925 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38928 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38930 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38931 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38932 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38934 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38936 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38937 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38938 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38939 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38940 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38941 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38942 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38944 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38945 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38947 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38948 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38949 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38951 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38954 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38956 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38957 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38958 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38959 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38960 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38961 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38962 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38964 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38965 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38966 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38967 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38968 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38969 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38970 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38971 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38972 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38973 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38974 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38975 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38976 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38977 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38978 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38979 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38980 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38981 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38982 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38983 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38984 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38985 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38986 * sysdeps/ieee754/k_standard.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39000 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39003 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39075 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39077 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39078 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39080 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39091 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39101 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39102 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39105 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39106 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39107 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39109 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39114 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39119 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39120 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39137 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39147 * sysdeps/ieee754/s_lib_version.c: Likewise.
39148 * sysdeps/ieee754/s_matherr.c: Likewise.
39149 * sysdeps/ieee754/s_signgam.c: Likewise.
39150 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39151 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39152 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39153 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39154 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39155 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39156 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39157 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39158 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39159 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39160 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39161 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39162 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39163 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39164 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39165 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39166 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39167 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39168 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39172 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39174 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39175 * sunrpc/rpc_main.c: Likewise.
39176 * sunrpc/rpc_svcout.c: Likewise.
39178 2012-03-09 David S. Miller <davem@davemloft.net>
39180 * include/math_private.h: New file.
39182 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39184 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39185 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39186 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39187 from <bits/socket_type.h>.
39188 (enum __socket_type): Don't define here.
39189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39191 bits/socket_type.h.
39194 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39195 checking __USE_GNU.
39197 * Makerules ($(inst_includedir)/%.h): New rule.
39198 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39199 (install-others): Remove variable setting.
39200 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39202 2012-03-08 Richard Henderson <rth@twiddle.net>
39204 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39205 from macro to inline function; merge with the
39206 !__LIBC_INTERNAL_MATH_INLINES version.
39207 (__ieee754_sqrtf): Likewise.
39209 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39210 to inline function.
39211 (__rintf, __floor, __floorf): Likewise.
39213 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39214 macro to inline function.
39215 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39218 not <math/math_private.h>.
39220 2012-03-08 David S. Miller <davem@davemloft.net>
39222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39224 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39226 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39228 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39230 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39231 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39233 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39235 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39236 be defined individually, they must be defined as a block. Define
39237 S for printing a string instead of hidint the different by using a
39238 macro for adding the 'l'.
39239 * stdio-common/tst-fphex-wide.c: Adjust.
39241 2012-03-07 Marek Polacek <polacek@redhat.com>
39243 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39245 2012-03-08 Marek Polacek <polacek@redhat.com>
39248 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39249 * stdio-common/tst-fphex.c: Define a few macros to make the
39250 test reusable. Use them.
39251 * stdio-common/tst-fphex-wide.c: New file.
39253 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39256 * manual/macros.texi (gnusystems): New macro.
39257 (nongnusystems): Likewise.
39258 (gnulinuxhurdsystems): Likewise.
39259 (gnuhurdsystems): Likewise..
39260 (gnulinuxsystems): Likewise.
39261 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39262 variants of the GNU system, not "GNU system".
39263 * manual/conf.texi: Likewise.
39264 * manual/errno.texi: Likewise. Update example of errno macro
39266 * manual/filesys.texi: Likewise.
39267 (getumask): Document as specific to GNU/Hurd.
39268 * manual/install.texi: Likewise. Reword some references to
39270 * manual/intro.texi: Likewise.
39271 * manual/io.texi: Likewise.
39272 (File Name Portability): Detail which constraints are inapplicable
39273 to all GNU systems and which are only inapplicable to GNU/Hurd.
39274 * manual/job.texi: Likewise.
39275 * manual/llio.texi: Likewise.
39276 (O_NOCTTY): Document as present on GNU/Linux.
39277 * manual/maint.texi: Likewise.
39278 * manual/memory.texi: Likewise.
39279 * manual/pattern.texi: Likewise.
39280 * manual/pipe.texi: Likewise.
39281 * manual/process.texi: Likewise.
39282 * manual/resource.texi: Likewise.
39283 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39285 * manual/setjmp.texi: Likewise.
39286 * manual/signal.texi: Likewise.
39287 * manual/startup.texi: Likewise.
39288 * manual/stdio.texi: Likewise.
39289 * manual/terminal.texi: Likewise.
39290 (ONLCR): Document as POSIX.
39291 (OXTABS): Document availability on GNU/Linux as XTABS.
39292 (ONOEOT): Document availability separately from other bits.
39293 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39294 * manual/time.texi: Likewise.
39295 * manual/users.texi: Likewise.
39296 * INSTALL: Regenerated.
39297 * sysdeps/gnu/errlist.c: Regenerated.
39299 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39300 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39301 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39303 * configure: Regenerated.
39305 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39307 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39308 default includes instead of AC_HEADER_CHECK.
39309 * sysdeps/i386/configure: Regenerated.
39312 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39313 * math/s_cacoshf.c (__cacoshf): Likewise.
39314 * math/s_cacoshl.c (__cacoshl): Likewise.
39315 * math/s_casinh.c (__casinh): Set signs of result from argument.
39316 * math/s_casinhf.c (__casinhf): Likewise.
39317 * math/s_casinhl.c (__casinhl): Likewise.
39318 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39319 (casinh_test): Add more tests.
39320 * sysdeps/i386/fpu/libm-test-ulps: Update.
39321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39323 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39325 * po/zh_TW.po: Update from translation team.
39327 * login/Makefile (distribute): Remove variable.
39328 * catgets/Makefile: Likewise.
39329 * mach/Makefile: Likewise.
39330 * malloc/Makefile: Likewise.
39331 * misc/Makefile: Likewise.
39332 * iconv/Makefile: Likewise.
39333 * nscd/Makefile: Likewise.
39334 * hurd/Makefile: Likewise.
39335 * manual/Makefile: Likewise.
39336 * locale/Makefile: Likewise.
39337 * intl/Makefile: Likewise.
39338 * conform/Makefile: Likewise.
39339 * nss/Makefile: Likewise.
39340 * time/Makefile: Likewise.
39341 * soft-fp/Makefile: Likewise.
39342 * dirent/Makefile: Likewise.
39343 * gmon/Makefile: Likewise.
39344 * po/Makefile: Likewise.
39345 * rt/Makefile: Likewise.
39346 * socket/Makefile: Likewise.
39347 * math/Makefile: Likewise.
39348 * signal/Makefile: Likewise.
39349 * debug/Makefile: Likewise.
39350 * elf/Makefile: Likewise.
39351 * timezone/Makefile: Likewise.
39352 * stdlib/Makefile: Likewise.
39353 * iconvdata/Makefile: Likewise.
39354 * sunrpc/Makefile: Likewise.
39355 * io/Makefile: Likewise.
39356 * argp/Makefile: Likewise.
39357 * inet/Makefile: Likewise.
39358 * hesiod/Makefile: Likewise.
39359 * grp/Makefile: Likewise.
39360 * csu/Makefile: Likewise.
39361 * wctype/Makefile: Likewise.
39362 * crypt/Makefile: Likewise.
39363 * libio/Makefile: Likewise.
39364 * string/Makefile: Likewise.
39365 * nis/Makefile: Likewise.
39366 * resolv/Makefile: Likewise.
39367 * stdio-common/Makefile: Likewise.
39368 * wcsmbs/Makefile: Likewise.
39369 * dlfcn/Makefile: Likewise.
39370 * posix/Makefile: Likewise.
39373 * timezone/Makefile: Don't install timezone files, just the programs
39376 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39378 * nss/databases.def: Add missing gshadow entry.
39380 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39382 2012-03-06 Marek Polacek <polacek@redhat.com>
39385 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39386 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39387 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39388 * stdio-common/tst-long-dbl-fphex.c: New file.
39390 2012-03-06 David S. Miller <davem@davemloft.net>
39392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39393 (set_obp_int): New function.
39394 (get_obp_int): New function.
39395 (__get_clockfreq_via_dev_openprom): Likewise.
39396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39397 Avoid unused variable warnings on 'val' and use builtin_expect.
39398 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39400 (INLINE_CLONE_SYSCALL): Likewise.
39402 2012-03-05 David S. Miller <davem@davemloft.net>
39404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39406 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39410 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39411 only for |x| >= 40.
39412 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39414 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39417 Replace gettimeofday with __vdso_gettimeofday.
39419 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39420 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39421 __vdso_clock_gettime and __vdso_getcpu.
39423 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39424 time with __vdso_time.
39426 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39428 * manual/lang.texi (size_t): Note types to which size_t may be
39429 equivalent with the GNU C Library, but do not describe when
39430 differences between them are significant.
39432 2012-03-05 Andreas Jaeger <aj@suse.de>
39434 * sysdeps/i386/fpu/libm-test-ulps: Update.
39436 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39439 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39440 (__ieee754_pow): Save and restore rounding mode and use
39441 round-to-nearest for main computations.
39442 * math/libm-test.inc (pow_test_tonearest): New function.
39443 (pow_test_towardzero): Likewise.
39444 (pow_test_downward): Likewise.
39445 (pow_test_upward): Likewise.
39446 (main): Call the new functions.
39447 * sysdeps/i386/fpu/libm-test-ulps: Update.
39448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39451 * math/libm-test.inc (cosh_test_tonearest): New function.
39452 (cosh_test_towardzero): Likewise.
39453 (cosh_test_downward): Likewise.
39454 (cosh_test_upward): Likewise.
39455 (sinh_test_tonearest): Likewise.
39456 (sinh_test_towardzero): Likewise.
39457 (sinh_test_downward): Likewise.
39458 (sinh_test_upward): Likewise.
39459 (main): Call the new functions.
39460 * sysdeps/i386/fpu/libm-test-ulps: Update.
39461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39463 2012-03-05 Tom de Vries <tom@codesourcery.com>
39465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39466 default stack guard is set in last bytes.
39467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39469 2012-03-05 Kees Cook <keescook@chromium.org>
39471 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39474 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39475 possibly allocate from heap instead of stack.
39476 * stdio-common/bug-vfprintf-nargs.c: New file.
39477 * stdio-common/Makefile (tests): Add nargs overflow test.
39479 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39483 2012-03-03 Marek Polacek <polacek@redhat.com>
39485 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39486 * math/math_private.h: Likewise.
39487 * stdlib/tst-strtod.c: Likewise.
39488 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39489 * sysdeps/x86_64/bits/atomic.h: Likewise.
39491 2012-03-02 David S. Miller <davem@davemloft.net>
39493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39497 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39498 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39499 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39500 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39502 2012-03-02 Roland McGrath <roland@hack.frob.com>
39505 * manual/examples/README: New file, says the example source files
39506 can be used under GPL>=2.
39507 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39508 line containing just "*/".
39509 * manual/examples/add.c: Add copyright header (GPL>=2).
39510 * manual/examples/argp-ex1.c: Likewise.
39511 * manual/examples/argp-ex2.c: Likewise.
39512 * manual/examples/argp-ex3.c: Likewise.
39513 * manual/examples/argp-ex4.c: Likewise.
39514 * manual/examples/atexit.c: Likewise.
39515 * manual/examples/db.c: Likewise.
39516 * manual/examples/dir.c: Likewise.
39517 * manual/examples/dir2.c: Likewise.
39518 * manual/examples/execinfo.c: Likewise.
39519 * manual/examples/filecli.c: Likewise.
39520 * manual/examples/filesrv.c: Likewise.
39521 * manual/examples/fmtmsgexpl.c: Likewise.
39522 * manual/examples/genpass.c: Likewise.
39523 * manual/examples/inetcli.c: Likewise.
39524 * manual/examples/inetsrv.c: Likewise.
39525 * manual/examples/isockad.c: Likewise.
39526 * manual/examples/longopt.c: Likewise.
39527 * manual/examples/memopen.c: Likewise.
39528 * manual/examples/memstrm.c: Likewise.
39529 * manual/examples/mkfsock.c: Likewise.
39530 * manual/examples/mkisock.c: Likewise.
39531 * manual/examples/mygetpass.c: Likewise.
39532 * manual/examples/pipe.c: Likewise.
39533 * manual/examples/popen.c: Likewise.
39534 * manual/examples/rprintf.c: Likewise.
39535 * manual/examples/search.c: Likewise.
39536 * manual/examples/select.c: Likewise.
39537 * manual/examples/setjmp.c: Likewise.
39538 * manual/examples/sigh1.c: Likewise.
39539 * manual/examples/sigusr.c: Likewise.
39540 * manual/examples/stpcpy.c: Likewise.
39541 * manual/examples/strdupa.c: Likewise.
39542 * manual/examples/strftim.c: Likewise.
39543 * manual/examples/strncat.c: Likewise.
39544 * manual/examples/subopt.c: Likewise.
39545 * manual/examples/swapcontext.c: Likewise.
39546 * manual/examples/termios.c: Likewise.
39547 * manual/examples/testopt.c: Likewise.
39548 * manual/examples/testpass.c: Likewise.
39549 * manual/examples/timeval_subtract.c: Likewise.
39552 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39554 * manual/timeval_subtract.c.texi: ... here, new file.
39556 2012-03-02 David S. Miller <davem@davemloft.net>
39558 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39560 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39563 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39564 (__sin): Save and restore rounding mode and use round-to-nearest
39565 for all computations.
39566 (__cos): Save and restore rounding mode and use round-to-nearest
39567 for all computations.
39568 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39570 (tan): Save and restore rounding mode and use round-to-nearest for
39572 * math/libm-test.inc (cos_test_tonearest): New function.
39573 (cos_test_towardzero): Likewise.
39574 (cos_test_downward): Likewise.
39575 (cos_test_upward): Likewise.
39576 (sin_test_tonearest): Likewise.
39577 (sin_test_towardzero): Likewise.
39578 (sin_test_downward): Likewise.
39579 (sin_test_upward): Likewise.
39580 (tan_test_tonearest): Likewise.
39581 (tan_test_towardzero): Likewise.
39582 (tan_test_downward): Likewise.
39583 (tan_test_upward): Likewise.
39584 (main): Call the new functions.
39585 * sysdeps/i386/fpu/libm-test-ulps: Update.
39586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39589 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39590 small n, then large n, before computing and testing k+n.
39591 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39596 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39597 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39601 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39602 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39603 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39604 * math/libm-test.inc (scalbn_test): Add more tests.
39605 (scalbln_test): Likewise.
39607 * manual/filesys.texi (mode_t): Describe constraints on size and
39608 signedness, not exact equivalence to a particular type.
39610 (ino64_t): Likewise.
39612 (nlink_t): Likewise.
39613 (blkcnt_t): Likewise.
39614 (blkcnt64_t): Likewise.
39615 * manual/llio.texi (off_t): Likewise.
39618 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39619 (__ieee754_exp): Save and restore rounding mode and use
39620 round-to-nearest for all computations.
39621 * math/libm-test.inc (exp_test_tonearest): New function.
39622 (exp_test_towardzero): Likewise.
39623 (exp_test_downward): Likewise.
39624 (exp_test_upward): Likewise.
39625 (main): Call the new functions.
39626 * sysdeps/i386/fpu/libm-test-ulps: Update.
39627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39629 2012-03-01 Chris Demetriou <cgd@google.com>
39631 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39632 have predictable order.
39634 2012-03-01 David S. Miller <davem@davemloft.net>
39636 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39638 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39639 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39640 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39641 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39643 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39644 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39645 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39647 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39648 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39649 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39650 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39651 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39656 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39657 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39659 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39660 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39661 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39662 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39663 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39667 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39668 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39669 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39672 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39673 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39675 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39676 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39677 * sysdeps/sparc/elf/configure: Regenerated.
39679 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39681 * configure.in (AS, LD): Require binutils 2.20 or later.
39682 * configure: Regenerated.
39683 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39684 as required minimum version.
39685 * INSTALL: Regenerated.
39689 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39690 before squaring exponent.
39691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39692 bottom long double and 27 bits of top long double before squaring
39694 * math/libm-test.inc (erfc_test): Add more tests.
39695 * sysdeps/i386/fpu/libm-test-ulps: Update.
39696 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39699 2012-03-01 Kai Tietz <ktietz@redhat.com>
39701 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39702 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39703 containing bit-fields.
39704 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39705 * soft-fp/single.h (_FP_UNION_S): Likewise.
39706 * soft-fp/double.h (_FP_UNION_D): Likewise.
39708 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39711 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39712 not include ../strcmp.S.
39713 [USE_AS_STRNCASECMP_L]: Likewise.
39714 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39715 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39716 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39717 (__strncasecmp_l_ia32): Define as alias to
39718 __strncasecmp_l_nonascii.
39721 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39722 * sysdeps/i386/fpu/libm-test-ulps: Update.
39723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39725 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39728 2012-02-29 Jeff Law <law@redhat.com>
39730 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39731 out of bounds read.
39733 2012-02-29 Marek Polacek <polacek@redhat.com>
39736 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39737 * elf/Makefile: Add rules to run tst-unused-dep.out.
39739 2012-02-28 David S. Miller <davem@davemloft.net>
39741 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39742 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39745 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39746 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39748 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39750 * math/libm-test.inc (llround_test): Move one test from
39751 lround_test. Use TEST_f_L in moved test.
39752 (lround_test): Move misplaced test to llround_test. Add testcase
39755 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39757 * sysdeps/x86_64/fpu/e_expf.S: New file.
39758 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39760 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39763 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39764 of remain_len that may cause incomplete multi-byte character and
39766 * posix/bug-regex33.c: New file.
39767 * posix/Makefile (tests): Add bug-regex33.
39769 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39771 * manual/macros.texi: New file.
39772 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39773 * manual/libc.texinfo: Include macros.texi.
39774 * manual/creatute.texi: Likewise.
39775 * manual/install.texi: Likewise.
39776 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39777 @glibcadj{} in references to the GNU C Library.
39778 * manual/charset.texi: Likewise.
39779 * manual/conf.texi: Likewise.
39780 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39781 when not using those macros.
39782 * manual/creature.texi: Likewise.
39783 * manual/crypt.texi: Likewise.
39784 * manual/errno.texi: Likewise.
39785 * manual/filesys.texi: Likewise.
39786 * manual/header.texi: Likewise.
39787 * manual/install.texi: Likewise.
39788 * manual/intro.texi: Likewise.
39789 * manual/io.texi: Likewise.
39790 * manual/job.texi: Likewise.
39791 * manual/lang.texi: Likewise.
39792 * manual/libc.texiinfo: Likewise.
39793 * manual/llio.texi: Likewise.
39794 * manual/locale.texi: Likewise.
39795 * manual/maint.texi: Likewise.
39796 * manual/math.texi: Likewise.
39797 * manual/memory.texi: Likewise.
39798 * manual/message.texi: Likewise.
39799 * manual/nss.texi: Likewise.
39800 * manual/pattern.texi: Likewise.
39801 * manual/process.texi: Likewise.
39802 * manual/resource.texi: Likewise.
39803 * manual/search.texi: Likewise.
39804 * manual/setjmp.texi: Likewise.
39805 * manual/signal.texi: Likewise.
39806 * manual/socket.texi: Likewise.
39807 * manual/startup.texi: Likewise.
39808 * manual/stdio.texi: Likewise.
39809 * manual/string.texi: Likewise.
39810 * manual/sysinfo.texi: Likewise.
39811 * manual/syslog.texi: Likewise.
39812 * manual/terminal.texi: Likewise.
39813 * manual/time.texi: Likewise.
39814 * manual/users.texi: Likewise.
39815 * INSTALL: Regenerated.
39816 * NOTES: Regenerated.
39817 * sysdeps/gnu/errlist.c: Regenerated.
39819 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39821 * include/dirent.h: Include <dirstream.h> before
39824 2012-02-28 David S. Miller <davem@davemloft.net>
39826 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39827 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39828 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39829 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39831 2012-02-27 David S. Miller <davem@davemloft.net>
39833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39835 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39836 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39839 frame pointer instead of stack pointer relative arg slot.
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39841 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39842 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39844 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39847 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39849 2012-02-27 David S. Miller <davem@davemloft.net>
39851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39855 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39856 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39857 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39858 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39860 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39862 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39863 later. Allow versions 5-9.
39864 * configure: Regenerated.
39865 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39866 required minimum version and 4.6 as recommended version. Do not
39867 mention bugs in GCC 2.7 and 2.8.
39868 * INSTALL: Regenerated.
39870 2012-02-27 David S. Miller <davem@davemloft.net>
39872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39878 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39879 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39881 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39882 manipulate bits before adding and subtracting TWO112[sx].
39883 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39885 2012-02-27 Roland McGrath <roland@hack.frob.com>
39888 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39889 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39890 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39891 being in POSIX, because they are in 1003.1-2008.
39893 * rt/tst-aio.c: Include <fcntl.h>.
39894 * rt/tst-aio7.c: Likewise.
39895 * rt/tst-aio64.c: Likewise.
39897 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39899 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39901 * manual/install.texi (--with-headers): Describe headers as
39902 interface headers, not private headers.
39903 (Specific advice for GNU/Linux systems): Describe use of headers
39904 from "make headers_install", not private headers from older
39906 * INSTALL: Regenerated.
39907 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39909 * sysdeps/unix/sysv/linux/configure: Regenerated.
39911 * manual/llio.texi (fclean): Remove documentation.
39913 * manual/Makefile (libc-texi-generated): New variable. Include
39915 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39916 $(libc-texi-generated), not duplicated list of files.
39917 (version.texi, stamp-version): New rules.
39918 (realclean): Remove $(libc-texi-generated), not individual files
39919 from that list. Do not remove dir-add.texinfo.
39920 * manual/libc.texinfo: Comment out uses of edition numbers and
39921 references to printed manual. Remove last-updated dates.
39922 (EDITION): Comment out.
39924 (VERSION, UPDATED): Remove.
39925 (version.texi): Include.
39927 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39929 * sysdeps/posix/spawni.c: Include <signal.h>.
39930 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39931 * sysdeps/pthread/aio_fsync.c: Likewise.
39933 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39935 * conform/Makefile (tests): Run only when not cross-compiling and
39936 when fast-check is not defined.
39938 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39939 * conform/data/limits.h-data: Fixes for POSIX2008.
39940 * conform/run-conformtest.sh: Run all tests.
39941 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39943 * include/bits/dlfcn.h: Likewise.
39944 * include/langinfo.h: Likewise.
39945 * include/monetary.h: Likewise.
39946 * include/sys/poll.h: Likewise.
39948 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39950 * posix/spawn.h: Define __need_sigset_t.
39951 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39952 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39953 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39954 to get sigevent_t only.
39955 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39956 only for __USE_GNU.
39957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39958 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39959 process_vm_writev only for __USE_GNU.
39960 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39962 * conform/Makefile: For now ignore errors from run-conformtest.
39963 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39964 POSIX to avoid namespace pollution. Don't prepend headers.
39965 * conform/data/aio.h-data: Fixes for POSIX testing.
39966 * conform/data/fcntl.h-data: Likewise.
39967 * conform/data/glob.h-data: Likewise.
39968 * conform/data/grp.h-data: Likewise.
39969 * conform/data/pthread.h-data: Likewise.
39970 * conform/data/pwd.h-data: Likewise.
39971 * conform/data/signal.h-data: Likewise.
39972 * conform/data/spawn.h-data: Likewise.
39973 * conform/data/stdio.h-data: Likewise.
39974 * conform/data/stdlib.h-data: Likewise.
39975 * conform/data/stropts.h-data: Likewise.
39976 * conform/data/sys/mman.h-data: Likewise.
39977 * conform/data/sys/stat.h-data: Likewise.
39978 * conform/data/sys/types.h-data: Likewise.
39979 * conform/data/sys/wait.h-data: Likewise.
39980 * conform/data/time.h-data: Likewise.
39981 * conform/data/unistd.h-data: Likewise.
39982 * conform/data/utime.h-data: Likewise.
39984 * io/sys/stat.h: fchmod was always in POSIX.
39985 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39986 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39987 * rt/aio.h: Define __need_timespec before including <time.h>.
39988 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39989 struct. Add forward declaration of pthread_attr_t and use it in
39991 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39992 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39993 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39994 always remove CLK_TCK definition.
39996 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39998 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40000 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40002 * conform/run-conformtest.sh: New file.
40003 * conform/Makefile: Run run-conformtest for tests.
40004 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40007 * conform/data/uchar.h-data: New file.
40008 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40009 * conform/data/arpa/inet.h-data: Likewise.
40010 * conform/data/assert.h-data: Likewise.
40011 * conform/data/complex.h-data: Likewise.
40012 * conform/data/cpio.h-data: Likewise.
40013 * conform/data/ctype.h-data: Likewise.
40014 * conform/data/dirent.h-data: Likewise.
40015 * conform/data/dlfcn.h-data: Likewise.
40016 * conform/data/errno.h-data: Likewise.
40017 * conform/data/fcntl.h-data: Likewise.
40018 * conform/data/float.h-data: Likewise.
40019 * conform/data/fmtmsg.h-data: Likewise.
40020 * conform/data/fnmatch.h-data: Likewise.
40021 * conform/data/ftw.h-data: Likewise.
40022 * conform/data/glob.h-data: Likewise.
40023 * conform/data/grp.h-data: Likewise.
40024 * conform/data/iconv.h-data: Likewise.
40025 * conform/data/inttypes.h-data: Likewise.
40026 * conform/data/langinfo.h-data: Likewise.
40027 * conform/data/libgen.h-data: Likewise.
40028 * conform/data/limits.h-data: Likewise.
40029 * conform/data/locale.h-data: Likewise.
40030 * conform/data/math.h-data: Likewise.
40031 * conform/data/monetary.h-data: Likewise.
40032 * conform/data/mqueue.h-data: Likewise.
40033 * conform/data/ndbm.h-data: Likewise.
40034 * conform/data/net/if.h-data: Likewise.
40035 * conform/data/netdb.h-data: Likewise.
40036 * conform/data/netinet/in.h-data: Likewise.
40037 * conform/data/nl_types.h-data: Likewise.
40038 * conform/data/poll.h-data: Likewise.
40039 * conform/data/pthread.h-data: Likewise.
40040 * conform/data/pwd.h-data: Likewise.
40041 * conform/data/regex.h-data: Likewise.
40042 * conform/data/sched.h-data: Likewise.
40043 * conform/data/search.h-data: Likewise.
40044 * conform/data/semaphore.h-data: Likewise.
40045 * conform/data/setjmp.h-data: Likewise.
40046 * conform/data/signal.h-data: Likewise.
40047 * conform/data/spawn.h-data: Likewise.
40048 * conform/data/stdarg.h-data: Likewise.
40049 * conform/data/stdio.h-data: Likewise.
40050 * conform/data/stdlib.h-data: Likewise.
40051 * conform/data/string.h-data: Likewise.
40052 * conform/data/strings.h-data: Likewise.
40053 * conform/data/stropts.h-data: Likewise.
40054 * conform/data/sys/ipc.h-data: Likewise.
40055 * conform/data/sys/mman.h-data: Likewise.
40056 * conform/data/sys/msg.h-data: Likewise.
40057 * conform/data/sys/resource.h-data: Likewise.
40058 * conform/data/sys/select.h-data: Likewise.
40059 * conform/data/sys/sem.h-data: Likewise.
40060 * conform/data/sys/shm.h-data: Likewise.
40061 * conform/data/sys/socket.h-data: Likewise.
40062 * conform/data/sys/stat.h-data: Likewise.
40063 * conform/data/sys/statvfs.h-data: Likewise.
40064 * conform/data/sys/time.h-data: Likewise.
40065 * conform/data/sys/timeb.h-data: Likewise.
40066 * conform/data/sys/times.h-data: Likewise.
40067 * conform/data/sys/types.h-data: Likewise.
40068 * conform/data/sys/uio.h-data: Likewise.
40069 * conform/data/sys/un.h-data: Likewise.
40070 * conform/data/sys/utsname.h-data: Likewise.
40071 * conform/data/sys/wait.h-data: Likewise.
40072 * conform/data/syslog.h-data: Likewise.
40073 * conform/data/tar.h-data: Likewise.
40074 * conform/data/termios.h-data: Likewise.
40075 * conform/data/utime.h-data: Likewise.
40076 * conform/data/utmpx.h-data: Likewise.
40077 * conform/data/varargs.h-data: Likewise.
40078 * conform/data/wchar.h-data: Likewise.
40079 * conform/data/wctype.h-data: Likewise.
40080 * conform/data/wordexp.h-data: Likewise.
40082 * include/stropts.h: New file.
40083 * include/uchar.h: New file.
40084 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40085 * include/assert.h: Likewise.
40086 * include/ctype.h: Likewise.
40087 * include/dirent.h: Likewise.
40088 * include/dlfcn.h: Likewise.
40089 * include/fcntl.h: Likewise.
40090 * include/fnmatch.h: Likewise.
40091 * include/glob.h: Likewise.
40092 * include/grp.h: Likewise.
40093 * include/libio.h: Likewise.
40094 * include/locale.h: Likewise.
40095 * include/math.h: Likewise.
40096 * include/net/if.h: Likewise.
40097 * include/netdb.h: Likewise.
40098 * include/netinet/in.h: Likewise.
40099 * include/pthread.h: Likewise.
40100 * include/pwd.h: Likewise.
40101 * include/regex.h: Likewise.
40102 * include/sched.h: Likewise.
40103 * include/search.h: Likewise.
40104 * include/setjmp.h: Likewise.
40105 * include/signal.h: Likewise.
40106 * include/stdio.h: Likewise.
40107 * include/stdlib.h: Likewise.
40108 * include/string.h: Likewise.
40109 * include/sys/cdefs.h: Likewise.
40110 * include/sys/mman.h: Likewise.
40111 * include/sys/msg.h: Likewise.
40112 * include/sys/resource.h: Likewise.
40113 * include/sys/select.h: Likewise.
40114 * include/sys/socket.h: Likewise.
40115 * include/sys/stat.h: Likewise.
40116 * include/sys/statvfs.h: Likewise.
40117 * include/sys/time.h: Likewise.
40118 * include/sys/times.h: Likewise.
40119 * include/sys/uio.h: Likewise.
40120 * include/sys/utsname.h: Likewise.
40121 * include/sys/wait.h: Likewise.
40122 * include/termios.h: Likewise.
40123 * include/time.h: Likewise.
40124 * include/ulimit.h: Likewise.
40125 * include/unistd.h: Likewise.
40126 * include/utime.h: Likewise.
40127 * include/wchar.h: Likewise.
40128 * include/wctype.h: Likewise.
40129 * include/wordexp.h: Likewise.
40131 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40133 * time/time.h: TIME_UTC must be a macro.
40134 Make timespec_get available for ISO C11 only as well.
40136 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40138 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40139 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40141 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40143 * configure.in: Use -o not -a in test for unsupported multi-arch.
40145 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40147 * manual/texinfo.tex: Update to version 2012-01-19.16.
40149 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40151 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40153 2012-02-24 Roland McGrath <roland@hack.frob.com>
40156 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40157 * manual/fdl-1.3.texi: New file.
40158 * manual/fdl-1.1.texi: File removed.
40161 * manual/libc.texinfo (FDL_VERSION): New @set.
40162 Use it for mention of FDL in cover text.
40163 (Documentation License): Use it in @include file name.
40165 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40166 Roland McGrath <roland@hack.frob.com>
40169 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40170 (not LONG_LONG_MAX and LONG_LONG_MIN.
40171 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40172 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40174 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40176 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40180 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40181 manipulate bits before adding and subtracting TWO23[sx].
40182 * math/libm-test.inc (nearbyint_test): Add more tests.
40184 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40187 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40188 bits before adding and subtracting TWO23[sx].
40189 * math/libm-test.inc (rint_test): Add more tests.
40190 (rint_test_tonearest): Likewise.
40191 (rint_test_towardzero): Likewise.
40192 (rint_test_downward): Likewise.
40193 (rint_test_upward: Likewise.
40195 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40198 * include/stdc-predef.h: New file. Extracted from features.h.
40199 * include/features.h: Include stdc-predef.h.
40200 * Makefile (headers): Add stdc-predef.h.
40201 * CONFORMANCE (Compiler limitations): Update.
40203 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40205 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40207 2012-02-21 David S. Miller <davem@davemloft.net>
40209 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40210 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40212 2012-02-20 David S. Miller <davem@davemloft.net>
40214 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40215 using a normal save/restore sequence, rather than allocating a
40216 dummy stack frame just to store a frame pointer and restore.
40217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40221 * manual/install.texi: Fix stray word in line-wrapped comment.
40223 2012-02-20 David S. Miller <davem@davemloft.net>
40225 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40226 both binutils and gcc support GOTDATA.
40228 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40229 "rd %pc" in the PIC register setup sequences.
40231 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40232 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40233 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40234 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40235 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40237 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40238 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40240 (SYSCALL_ERROR_HANDLER): Likewise.
40241 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40242 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40244 (SYSCALL_ERROR_HANDLER): Likewise.
40246 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40247 (HAVE_GCC_GOTDATA): New.
40248 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40249 relocation support in both binutils and gcc.
40250 * sysdeps/sparc/elf/configure: Regenerate.
40252 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40253 * sysdeps/sparc/sparc32/elf/configure: Delete.
40254 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40255 * sysdeps/sparc/sparc64/elf/configure: Delete.
40256 * sysdeps/sparc/elf/configure.in: New file.
40257 * sysdeps/sparc/elf/configure: Generate.
40259 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40260 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40261 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40262 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40263 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40265 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40267 * manual/install.texi: Do not mention specific glibc version
40269 * manual/libc.texinfo (VERSION, UPDATED): Update.
40270 (@copying): Use @copyright{} and range of years.
40272 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40275 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40276 [crti.S not in sysdirs] (generated): Do not append.
40277 [crti.S not in sysdirs] (omit-deps): Likewise.
40278 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40279 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40280 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40281 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40282 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40284 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40285 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40286 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40287 * csu/defs.awk: Remove file.
40288 * sysdeps/generic/initfini.c: Likewise.
40289 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40291 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40294 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40296 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40297 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40298 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40299 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40301 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40303 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40304 (__EPOLL_PACKED): Define to empty if not defined by
40306 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40310 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40312 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40313 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40314 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40315 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40317 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40321 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40323 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40325 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40326 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40327 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40330 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40335 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40337 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40338 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40340 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40342 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40345 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40347 * math/w_acos.c: Use non-signaling floating-point comparisons.
40348 * math/w_acosf.c: Likewise.
40349 * math/w_acosh.c: Likewise.
40350 * math/w_acoshf.c: Likewise.
40351 * math/w_acoshl.c: Likewise.
40352 * math/w_acosl.c: Likewise.
40353 * math/w_asin.c: Likewise.
40354 * math/w_asinf.c: Likewise.
40355 * math/w_asinl.c: Likewise.
40356 * math/w_atanh.c: Likewise.
40357 * math/w_atanhf.c: Likewise.
40358 * math/w_atanhl.c: Likewise.
40359 * math/w_exp2.c: Likewise.
40360 * math/w_exp2f.c: Likewise.
40361 * math/w_exp2l.c: Likewise.
40362 * math/w_j0.c: Likewise.
40363 * math/w_j0f.c: Likewise.
40364 * math/w_j0l.c: Likewise.
40365 * math/w_j1.c: Likewise.
40366 * math/w_j1f.c: Likewise.
40367 * math/w_j1l.c: Likewise.
40368 * math/w_jn.c: Likewise.
40369 * math/w_jnf.c: Likewise.
40370 * math/w_log.c: Likewise.
40371 * math/w_log10.c: Likewise.
40372 * math/w_log10f.c: Likewise.
40373 * math/w_log10l.c: Likewise.
40374 * math/w_log2.c: Likewise.
40375 * math/w_log2f.c: Likewise.
40376 * math/w_log2l.c: Likewise.
40377 * math/w_logf.c: Likewise.
40378 * math/w_logl.c: Likewise.
40379 * math/w_sqrt.c: Likewise.
40380 * math/w_sqrtf.c: Likewise.
40381 * math/w_sqrtl.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40383 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40385 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40386 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40391 * manual/string.texi (strnlen): Use correct parameter name in
40392 equivalent expression.
40394 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40397 * manual/users.texi (seteuid): Consistently use neweuid for
40400 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40403 * manual/nss.texi (Services in the NSS configuration): Correct
40404 list of services in example configuration file.
40406 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40409 * manual/arith.texi: Remove statements about negative zero
40410 behaving identically to zero.
40412 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40415 * manual/install.texi: Do not document upgrading from libc5.
40417 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40420 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40422 2012-02-18 David S. Miller <davem@davemloft.net>
40424 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40425 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40426 %o7 across the call.
40427 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40430 SETUP_PIC_REG_LEAF.
40431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40432 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40433 * sysdeps/sparc/crtn.S: Likewise.
40435 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40437 * aout/Makefile: Remove.
40439 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40442 * manual/examples/argp-ex1.c (main): Format definition in GNU
40444 * manual/examples/argp-ex2.c (main): Likewise.
40445 * manual/examples/argp-ex3.c (main): Likewise.
40446 * manual/examples/argp-ex4.c (main): Likewise.
40447 * manual/examples/longopt.c (main): Use new-style prototype
40449 * manual/examples/strncat.c (main): Specify return type and use
40450 (void) for arguments.
40451 * manual/examples/subopt.c (main): Use char **argv argument.
40453 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40456 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40459 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40462 * manual/string.texi (strchr): Change when strchrnul is
40465 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40468 * manual/locale.texi (setlocale): Document LOCPATH.
40470 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40473 * manual/process.texi (execle): Move @dots{} before last argument.
40475 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40478 * manual/charset.texi (Generic Charset Conversion): Fix typo
40479 (LC_TYPE -> LC_CTYPE).
40481 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40484 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40485 (scalbnf): Likewise.
40486 (scalbnl): Likewise.
40487 (scalbln): Likewise.
40488 (scalblnf): Likewise.
40489 (scalblnl): Likewise.
40490 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40491 (vwarnx): Likewise.
40494 * manual/filesys.texi (telldir): Use braces around return type.
40495 * manual/llio.texi (mmap): Add space after comma.
40496 (mmap64): Likewise.
40497 * manual/math.texi (jn): Use @var{} on parameter names.
40503 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40505 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40507 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40508 (sched_get_priority_max): Likewise.
40509 * manual/signal.texi (sigvec): Add space after comma.
40510 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40512 (if_indextoname): Likewise.
40513 (if_freenameindex): Likewise.
40514 (sendto): Use ',' instead of '.' in prototype.
40515 * manual/startup.texi (syscall): Use @dots{} instead of literal
40517 * manual/stdio.texi (__fpending): Separate initial words of
40518 paragraph from @deftypefun line.
40519 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40521 (vsyslog): Use @var{} on parameter names.
40522 * manual/terminal.texi (stty): Use @var{} on parameter names.
40523 * manual/users.texi (getutmp): Use @var{} on parameter names.
40524 (getutmpx): Likewise.
40526 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40529 * manual/stdio.texi (fopen): Fix typos in description of
40532 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40535 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40536 get clock_id definition.
40538 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40541 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40542 (madvise): Cast every argument to void on its own.
40544 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40547 * manual/startup.texi (Exit Status): Fix typo.
40549 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40552 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40553 * manual/examples/argp-ex2.c: Likewise.
40554 * manual/examples/argp-ex3.c: Likewise.
40556 2012-02-16 Richard Henderson <rth@redhat.com>
40558 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40559 * sysdeps/s390/s390-32/initfini.c: Remove.
40560 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40561 * sysdeps/s390/s390-64/initfini.c: Remove.
40563 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40565 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40566 compiler output for sysdeps/generic/initfini.c.
40567 * sysdeps/sh/elf/initfini.c: Remove file.
40569 2012-02-16 David S. Miller <davem@davemloft.net>
40572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40574 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40575 * sysdeps/sparc/crti.S: New file.
40576 * sysdeps/sparc/crtn.S: New file.
40577 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40578 * sysdeps/sparc/sparc64/Makefile: Likewise.
40580 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40583 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40585 2012-02-15 Roland McGrath <roland@hack.frob.com>
40588 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40590 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40591 (write, read, close): Likewise.
40592 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40594 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40596 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40597 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40598 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40599 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40601 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40605 2012-02-14 Marek Polacek <polacek@redhat.com>
40607 * sysdeps/x86_64/crti.S: New file.
40608 * sysdeps/x86_64/crtn.S: New file.
40609 * sysdeps/x86_64/elf/initfini.c: Remove file.
40611 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40613 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40614 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40615 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40616 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40618 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40622 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40624 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40625 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40626 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40627 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40629 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40633 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40635 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40636 __feraiseexcept instead of feraiseexcept.
40638 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40639 nanosleep invocations.
40640 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40641 strings, and add error checking for a nanosleep invocations.
40643 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40645 Replace FSF snail mail address with URLs, as per GNU coding standards.
40646 Most of the snail mail addresses were wrong anyway, and omitting
40647 them makes the source code easier to maintain. Almost all of the
40648 changes are to license notices and to locale LC_IDENTIFICATION
40649 addresses, except for this one:
40650 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40651 not its snail mail address.
40653 2012-02-09 Richard Henderson <rth@twiddle.net>
40655 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40656 of kernel-features.h.
40658 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40660 2012-02-08 Marek Polacek <polacek@redhat.com>
40662 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40663 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40664 * sysdeps/gnu/_G_config.h: Likewise.
40665 * sysdeps/generic/_G_config.h: Likewise.
40667 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40669 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40673 * sysdeps/powerpc/powerpc32/crti.S: New file.
40674 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40675 * sysdeps/powerpc/powerpc64/crti.S: New file.
40676 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40678 * Makeconfig (have-initfini): Don't set.
40679 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40680 * configure.in (nopic_initfini): Don't substitute.
40681 * config.h.in (HAVE_INITFINI): Don't #undef.
40682 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40683 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40685 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40687 Support crti.S and crtn.S provided directly by architectures.
40688 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40689 [crti.S in sysdirs] (omit-deps): Likewise.
40690 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40691 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40692 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40693 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40694 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40695 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40696 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40697 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40698 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40699 compiler output for sysdeps/generic/initfini.c.
40700 * sysdeps/i386/elf/Makefile: Remove file.
40701 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40703 2012-02-07 Marek Polacek <polacek@redhat.com>
40705 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40706 * sysdeps/gnu/_G_config.h: Likewise.
40707 * sysdeps/mach/hurd/_G_config.h: Likewise.
40709 2012-02-07 Marek Polacek <polacek@redhat.com>
40711 * math/Makefile (tests): Add tst-CMPLX2.
40712 * math/tst-CMPLX2.c: New file.
40714 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40716 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40718 * math/libm-test.inc (jn_test): Add missing L suffix.
40720 2012-02-06 Marek Polacek <polacek@redhat.com>
40722 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40723 * sysdeps/i386/fpu/e_powf.S: Likewise.
40724 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40725 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40726 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40727 * sysdeps/i386/fpu/e_pow.S: Likewise.
40728 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40729 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40730 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40731 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40732 * sysdeps/i386/fpu/e_log2.S: Likewise.
40733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40734 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40735 * sysdeps/i386/fpu/e_powl.S: Likewise.
40736 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40737 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40738 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40739 * sysdeps/i386/fpu/e_logl.S: Likewise.
40740 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40741 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40742 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40743 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40744 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40745 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40746 * sysdeps/i386/fpu/e_log.S: Likewise.
40747 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40749 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40750 * sysdeps/i386/fpu/e_logf.S: Likewise.
40751 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40753 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40754 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40755 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40756 * sysdeps/i386/fpu/e_log10.S: Likewise.
40757 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40758 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40759 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40760 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40762 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40763 * sysdeps/i386/asm-syntax.h: Likewise.
40764 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40766 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40767 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40768 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40770 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40771 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40773 * sysdeps/powerpc/sysdep.h: Likewise.
40774 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40775 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40777 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40780 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40782 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40784 * sysdeps/i386/sysdep.h: Include <features.h>.
40785 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40788 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40790 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40792 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40795 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40797 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40798 (SETUP_PIC_REG): Use GET_PC_THUNK.
40799 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40802 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40804 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40805 for non-PIC compilation.
40806 (SETUP_PIC_REG): Add .p2align directive.
40807 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40808 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40809 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40810 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40811 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40812 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40813 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40814 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40815 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40816 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40817 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40818 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40819 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40820 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40821 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40822 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40823 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40824 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40825 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40826 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40827 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40828 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40829 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40830 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40831 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40832 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40833 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40835 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40836 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40837 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40839 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40840 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40841 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40842 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40843 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40844 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40845 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40846 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40847 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40849 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40851 * math/tst-CMPLX.c: Include <stdio.h>.
40853 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40855 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40858 * sysdeps/sparc/bits/mathdef.h: Likewise.
40860 2012-01-31 Marek Polacek <polacek@redhat.com>
40862 * libio/libio.h: Don't define _PARAMS.
40863 * locale/programs/config.h: Don't define PARAMS.
40864 * stdlib/strtol_l.c: Likewise.
40865 (__strtol_l): Remove PARAMS from the prototype.
40867 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40869 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40870 names. Just use the correct names. Remove unnecessary wrapper
40872 * malloc/arena.c: Likewise.
40873 * malloc/hooks.c: Likewise.
40875 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40876 ARENA_TEST says not to. Simplify test for creation of a new arena.
40877 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40879 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40881 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40883 (update_get_addr): New function.
40884 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40885 GET_ADDR_MODULE parameter.
40887 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40889 * crypt/cert.c: Remove __STDC__ conditionals.
40890 * crypt/crypt-entry.c: Likewise.
40891 * crypt/crypt_util.c: Likewise.
40892 * libio/filedoalloc.c: Likewise.
40893 * libio/fileops.c: Likewise.
40894 * libio/genops.c: Likewise.
40895 * libio/iofclose.c: Likewise.
40896 * libio/iofdopen.c: Likewise.
40897 * libio/iofopen.c: Likewise.
40898 * libio/iofopen64.c: Likewise.
40899 * libio/iogetdelim.c: Likewise.
40900 * libio/iopopen.c: Likewise.
40901 * libio/obprintf.c: Likewise.
40902 * libio/oldfileops.c: Likewise.
40903 * libio/oldiofclose.c: Likewise.
40904 * libio/oldiofdopen.c: Likewise.
40905 * libio/oldiofopen.c: Likewise.
40906 * libio/oldiopopen.c: Likewise.
40907 * libio/wfiledoalloc.c: Likewise.
40908 * libio/wgenops.c: Likewise.
40909 * locale/programs/xmalloc.c: Likewise.
40910 * misc/syslog.c: Likewise.
40911 * stdio-common/xbug.c: Likewise.
40912 * string/memchr.c: Likewise.
40913 * string/memcmp.c: Likewise.
40914 * string/memrchr.c: Likewise.
40915 * string/rawmemchr.c: Likewise.
40916 * sysdeps/posix/getcwd.c: Likewise.
40917 * time/strftime_l.c: Likewise.
40919 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40921 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40922 * config.make.in (config-cflags-sse2avx): Define.
40923 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40926 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40928 * scripts/config.guess: Update from upstream config git repository.
40929 * scripts/config.sub: Likewise.
40931 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40933 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40935 (R_TILEPRO_*, R_TILEGX_*): New macros.
40937 * scripts/firstversions.awk: Fix bug in version range handling.
40939 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40941 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40943 * include/sys/epoll.h: New file.
40944 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40947 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40949 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40950 Avoid unnecessary __WORDSIZE == 64 test.
40951 (fmaxf): Use VEX format if possible.
40956 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40957 * math/math_private.h: Remove libc_fegetround* and
40959 * sysdeps/i386/configure.in: Check for -msse2avx.
40960 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40961 also if SSE2AVX is defined.
40962 Remove libc_fegetround* and libc_fesetround*.
40963 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40964 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40968 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40971 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40973 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40975 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40977 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40981 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40984 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40986 * Makeconfig (libm): Define.
40987 * elf/Makefile: Add rules to build and run tst-relsort1.
40988 * elf/tst-relsort1.c: New file.
40989 * elf/tst-relsort1mod1.c: New file.
40990 * elf/tst-relsort1mod2.c: New file.
40992 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40994 * math/s_ldexp.c: Remove __STDC__ conditionals.
40995 * math/s_ldexpf.c: Likewise.
40996 * math/s_ldexpl.c: Likewise.
40997 * math/s_nextafter.c: Likewise.
40998 * math/s_nexttowardf.c: Likewise.
40999 * math/s_significand.c: Likewise.
41000 * math/s_significandf.c: Likewise.
41001 * math/s_significandl.c: Likewise.
41002 * math/w_jnl.c: Likewise.
41003 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41004 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41005 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41006 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41007 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41009 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41015 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41017 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41018 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41022 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41023 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41024 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41025 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41027 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41028 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41029 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41030 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41031 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41032 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41033 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41034 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41035 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41036 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41037 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41038 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41039 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41040 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41041 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41042 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41043 * sysdeps/ieee754/k_standard.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41093 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41110 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41114 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41118 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41119 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41122 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41123 * sysdeps/ieee754/s_matherr.c: Likewise.
41124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41129 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41131 * crypt/md5.h: Remove __STDC__ conditionals.
41132 * libio/libioP.h: Likewise.
41133 * locale/programs/config.h: Likewise.
41134 * sysdeps/generic/sysdep.h: Likewise.
41135 * sysdeps/i386/asm-syntax.h: Likewise.
41136 * sysdeps/s390/asm-syntax.h: Likewise.
41137 * sysdeps/unix/sysdep.h: Likewise.
41138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41141 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41143 * libio/libio.h: Remove __STDC__ conditionals.
41144 * malloc/obstack.h: Likewise.
41145 * math/complex.h: Likewise.
41146 * math/math.h: Likewise.
41147 * sysdeps/generic/_G_config.h: Likewise.
41148 * sysdeps/gnu/_G_config.h: Likewise.
41149 * sysdeps/mach/hurd/_G_config.h: Likewise.
41150 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41151 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41152 * sysdeps/sparc/bits/mathdef.h: Likewise.
41154 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41157 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41158 Clean up HAS_* macros.
41159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41160 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41165 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41167 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41168 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41170 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41172 * elf/tst-unique3.cc (gets): Remove declaration.
41173 * elf/tst-unique3lib.cc (gets): Likewise.
41174 * elf/tst-unique3lib2.cc (gets): Likewise.
41175 * elf/tst-unique4.cc (gets): Likewise.
41177 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41179 * include/stdio.h: Add C++ protection. Add gets declarations and
41181 * debug/tst-chk1.c: Don't declare gets here.
41182 * stdio-common/tst-gets.c: Likewise.
41184 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41186 * posix/glob: Remove directory.
41188 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41190 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41192 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41194 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41195 of the non-standard EPFNOSUPPORT.
41197 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41199 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41200 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41201 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41203 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41205 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41207 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41209 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41211 * nscd/grpcache.c (cache_addgr): Likewise.
41212 * nscd/hstcache.c (cache_addhst): Likewise.
41213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41214 * nscd/pwdcache.c (cache_addpw): Likewise.
41215 * nscd/servicescache.c (cache_addserv): Likewise.
41217 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41219 * malloc/malloc.c: Various cleanups.
41220 * malloc/hooks.c: Likewise.
41222 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41223 * stdlib/bug-fmtmsg1.c: New file.
41225 * stdlib/fmtmsg.c (init): Add missing unlock.
41226 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41228 2012-01-12 Marek Polacek <polacek@redhat.com>
41230 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41233 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41235 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41236 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41237 macro to ensure uniqueness of label name.
41238 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41239 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41241 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41245 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41246 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41247 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41250 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41252 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41254 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41255 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41256 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41258 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41260 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41261 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41262 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41265 * math/bits/math-finite.h: Add ldexp support.
41267 2012-01-10 Marek Polacek <polacek@redhat.com>
41269 * locale/programs/localedef.h (show_archive_content): Add noreturn
41272 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41274 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41276 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41278 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41280 * io/Makefile (headers): Add bits/poll2.h.
41282 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41285 typo #include statement.
41287 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41289 * include/sys/cdefs.h: Define __attribute_alloc_size.
41290 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41291 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41292 * elf/pldd.c: Likewise.
41293 * iconv/iconv_charmap.c: Likewise.
41294 * iconv/iconvconfig.c: Likewise.
41295 * iconv/strtab.c: Likewise.
41296 * locale/programs/locale.c: Likewise.
41297 * locale/programs/localedef.h: Likewise.
41298 * locale/programs/simple-hash.c: Likewise.
41299 * nscd/nscd.h: Likewise.
41300 * nss/makedb.c: Likewise.
41301 * sysdeps/generic/ldconfig.h: Likewise.
41302 * locale/programs/localedef.c: Remove xmalloc prototype.
41303 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41305 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41307 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41310 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41312 * math/Makefile (tests): Add tst-CMPLX.
41313 * math/tst-CMPLX.c: New file.
41315 * math/complex.h (CMPLXL): Fix typo.
41317 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41318 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41320 * debug/tst-chk1.c: Add poll and ppoll tests.
41321 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41322 * include/sys/poll.h: Add hidden proto for ppoll.
41323 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41324 * sysdeps/mach/hurd/ppoll.c: Likewise.
41325 * io/ppoll.c: Likewise.
41326 * debug/poll_chk.c: New file.
41327 * debug/ppoll_chk.c: New file.
41328 * include/bits/poll2.h: New file.
41329 * io/bits/poll2.h: New file.
41332 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41334 * configure.in: static is always set to yes. Remove.
41335 * config.make.in: Don't set build-static.
41336 * Makeconfig: Remove use of build-static.
41337 * dlfcn/Makefile: Likewise.
41338 * elf/Makefile: Likewise.
41339 * math/Makefile: Likewise.
41340 * misc/Makefile: Likewise.
41341 * nptl/Makefile: Likewise.
41342 * sysdeps/mach/hurd/Makefile: Likewise.
41344 * configure.in: PWD_P is not used anymore.
41345 * config.make.in: Remove PWD_P entry.
41347 * configure.in: Remove last remnants of RANLIB.
41348 No need to check for signed size_t anymore.
41349 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41351 Remove __builtin_expect test because we require at least gcc 3.4.
41352 * aclocal.m4: Likewise.
41354 * wcsmbs/mbrtoc16.c: Implement using towc function.
41355 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41356 * wcsmbs/wcsmbsload.c: Likewise.
41357 * iconv/gconv_simple.c: Likewise.
41358 * iconv/gconv_int.h: Likewise.
41359 * iconv/gconv_builtin.h: Likewise.
41360 * iconv/iconv_prog.c: Remove CHAR16 handling.
41362 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41364 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41366 * configure.in: Remove --with-elf and --enable-bounded options.
41367 Dont set base_machine for ia64. More non-ELF conditions removed.
41368 Remove testing and setting of leading underscore information.
41369 * config.make.in (build-bounded): Set to no.
41370 * config.h.in: Remove NO_UNDERSCORES entry.
41371 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41373 * csu/start.c: Remove !NO_UNDERSCORE code.
41374 * locale/localeinfo.h: Likewise.
41375 * sysdeps/generic/machine-gmon.h: Likewise.
41376 * sysdeps/generic/sysdep.h: Likewise.
41377 * sysdeps/i386/sysdep.h: Likewise.
41378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41379 * sysdeps/mach/sysdep.h: Likewise.
41380 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41382 * sysdeps/sh/sysdep.h: Likewise.
41383 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41384 * sysdeps/unix/i386/sysdep.S: Likewise.
41385 * sysdeps/unix/sparc/start.c: Likewise.
41386 * sysdeps/unix/sparc/sysdep.S: Likewise.
41387 * sysdeps/unix/sparc/sysdep.h: Likewise.
41388 * sysdeps/unix/start.c: Likewise.
41389 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41390 * sysdeps/x86_64/sysdep.h: Likewise.
41392 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41395 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41397 * argp/argp-fmtstream.h: Use const instead __const.
41398 * argp/argp.h: Likewise.
41399 * assert/assert.h: Likewise.
41400 * bits/fenv.h: Likewise.
41401 * bits/sched.h: Likewise.
41402 * bits/sigset.h: Likewise.
41403 * bits/sigthread.h: Likewise.
41404 * catgets/nl_types.h: Likewise.
41405 * conform/data/pthread.h-data: Likewise.
41406 * crypt/crypt-private.h: Likewise.
41407 * crypt/crypt.h: Likewise.
41408 * crypt/crypt_util.c: Likewise.
41409 * ctype/ctype.h: Likewise.
41410 * debug/execinfo.h: Likewise.
41411 * debug/mbsnrtowcs_chk.c: Likewise.
41412 * debug/mbsrtowcs_chk.c: Likewise.
41413 * debug/wcsnrtombs_chk.c: Likewise.
41414 * debug/wcsrtombs_chk.c: Likewise.
41415 * debug/wcstombs_chk.c: Likewise.
41416 * dirent/dirent.h: Likewise.
41417 * dlfcn/dlfcn.h: Likewise.
41418 * elf/neededtest4.c: Likewise.
41419 * grp/grp.h: Likewise.
41420 * gshadow/gshadow.h: Likewise.
41421 * iconv/gconv.h: Likewise.
41422 * iconv/gconv_int.h: Likewise.
41423 * iconv/gconv_simple.c: Likewise.
41424 * iconv/iconv.h: Likewise.
41425 * iconv/loop.c: Likewise.
41426 * iconv/skeleton.c: Likewise.
41427 * include/aio.h: Likewise.
41428 * include/aliases.h: Likewise.
41429 * include/argz.h: Likewise.
41430 * include/arpa/inet.h: Likewise.
41431 * include/assert.h: Likewise.
41432 * include/dirent.h: Likewise.
41433 * include/dlfcn.h: Likewise.
41434 * include/execinfo.h: Likewise.
41435 * include/fcntl.h: Likewise.
41436 * include/fenv.h: Likewise.
41437 * include/glob.h: Likewise.
41438 * include/grp.h: Likewise.
41439 * include/libintl.h: Likewise.
41440 * include/mntent.h: Likewise.
41441 * include/netdb.h: Likewise.
41442 * include/pwd.h: Likewise.
41443 * include/rpc/netdb.h: Likewise.
41444 * include/sched.h: Likewise.
41445 * include/search.h: Likewise.
41446 * include/shadow.h: Likewise.
41447 * include/signal.h: Likewise.
41448 * include/stdio.h: Likewise.
41449 * include/stdlib.h: Likewise.
41450 * include/string.h: Likewise.
41451 * include/sys/socket.h: Likewise.
41452 * include/sys/stat.h: Likewise.
41453 * include/sys/statfs.h: Likewise.
41454 * include/sys/statvfs.h: Likewise.
41455 * include/sys/syslog.h: Likewise.
41456 * include/sys/time.h: Likewise.
41457 * include/sys/uio.h: Likewise.
41458 * include/time.h: Likewise.
41459 * include/unistd.h: Likewise.
41460 * include/utmp.h: Likewise.
41461 * include/wchar.h: Likewise.
41462 * include/wctype.h: Likewise.
41463 * inet/aliases.h: Likewise.
41464 * inet/arpa/inet.h: Likewise.
41465 * inet/netinet/ether.h: Likewise.
41466 * inet/netinet/in.h: Likewise.
41467 * intl/libintl.h: Likewise.
41468 * io/bits/fcntl2.h: Likewise.
41469 * io/fcntl.h: Likewise.
41470 * io/ftw.h: Likewise.
41471 * io/sys/poll.h: Likewise.
41472 * io/sys/stat.h: Likewise.
41473 * io/sys/statfs.h: Likewise.
41474 * io/sys/statvfs.h: Likewise.
41475 * io/utime.h: Likewise.
41476 * libio/bits/stdio.h: Likewise.
41477 * libio/bits/stdio2.h: Likewise.
41478 * libio/libio.h: Likewise.
41479 * libio/libioP.h: Likewise.
41480 * libio/stdio.h: Likewise.
41481 * locale/lc-ctype.c: Likewise.
41482 * locale/locale.h: Likewise.
41483 * login/utmp.h: Likewise.
41484 * malloc/arena.c: Likewise.
41485 * malloc/malloc.c: Likewise.
41486 * malloc/malloc.h: Likewise.
41487 * malloc/mcheck.c: Likewise.
41488 * malloc/mtrace.c: Likewise.
41489 * math/bits/mathcalls.h: Likewise.
41490 * math/fenv.h: Likewise.
41491 * math/math_private.h: Likewise.
41492 * misc/bits/error.h: Likewise.
41493 * misc/bits/syslog.h: Likewise.
41494 * misc/err.h: Likewise.
41495 * misc/error.h: Likewise.
41496 * misc/fstab.h: Likewise.
41497 * misc/mntent.h: Likewise.
41498 * misc/regexp.h: Likewise.
41499 * misc/search.h: Likewise.
41500 * misc/sgtty.h: Likewise.
41501 * misc/sys/mman.h: Likewise.
41502 * misc/sys/syslog.h: Likewise.
41503 * misc/sys/uio.h: Likewise.
41504 * misc/sys/xattr.h: Likewise.
41505 * misc/ttyent.h: Likewise.
41506 * nis/rpcsvc/ypclnt.h: Likewise.
41507 * nss/nss.h: Likewise.
41508 * posix/bits/unistd.h: Likewise.
41509 * posix/fnmatch.h: Likewise.
41510 * posix/glob.h: Likewise.
41511 * posix/sched.h: Likewise.
41512 * posix/spawn.h: Likewise.
41513 * posix/sys/wait.h: Likewise.
41514 * posix/unistd.h: Likewise.
41515 * posix/wordexp.h: Likewise.
41516 * pwd/pwd.h: Likewise.
41517 * resolv/netdb.h: Likewise.
41518 * resource/sys/resource.h: Likewise.
41519 * rt/aio.h: Likewise.
41520 * rt/bits/mqueue2.h: Likewise.
41521 * rt/mqueue.h: Likewise.
41522 * shadow/shadow.h: Likewise.
41523 * signal/signal.h: Likewise.
41524 * socket/send.c: Likewise.
41525 * socket/sendto.c: Likewise.
41526 * socket/sys/socket.h: Likewise.
41527 * stdio-common/printf.h: Likewise.
41528 * stdlib/bits/stdlib.h: Likewise.
41529 * stdlib/fmtmsg.h: Likewise.
41530 * stdlib/monetary.h: Likewise.
41531 * stdlib/stdlib.h: Likewise.
41532 * stdlib/ucontext.h: Likewise.
41533 * streams/stropts.h: Likewise.
41534 * string/argz.h: Likewise.
41535 * string/bits/string2.h: Likewise.
41536 * string/string.h: Likewise.
41537 * string/strings.h: Likewise.
41538 * sunrpc/rpc/auth.h: Likewise.
41539 * sunrpc/rpc/auth_des.h: Likewise.
41540 * sunrpc/rpc/clnt.h: Likewise.
41541 * sunrpc/rpc/netdb.h: Likewise.
41542 * sunrpc/rpc/pmap_clnt.h: Likewise.
41543 * sunrpc/rpc/xdr.h: Likewise.
41544 * sysdeps/generic/inttypes.h: Likewise.
41545 * sysdeps/generic/net/if.h: Likewise.
41546 * sysdeps/generic/sys/swap.h: Likewise.
41547 * sysdeps/gnu/net/if.h: Likewise.
41548 * sysdeps/gnu/utmpx.h: Likewise.
41549 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41550 * sysdeps/i386/i486/bits/string.h: Likewise.
41551 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41552 * sysdeps/s390/bits/string.h: Likewise.
41553 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41554 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41555 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41556 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41557 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41558 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41559 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41560 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41561 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41562 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41563 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41564 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41565 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41566 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41567 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41568 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41569 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41571 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41574 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41575 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41576 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41577 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41578 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41579 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41580 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41581 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41583 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41584 * sysvipc/sys/ipc.h: Likewise.
41585 * sysvipc/sys/msg.h: Likewise.
41586 * sysvipc/sys/sem.h: Likewise.
41587 * sysvipc/sys/shm.h: Likewise.
41588 * termios/termios.h: Likewise.
41589 * time/sys/time.h: Likewise.
41590 * time/time.h: Likewise.
41591 * wcsmbs/bits/wchar2.h: Likewise.
41592 * wcsmbs/uchar.h: Likewise.
41593 * wcsmbs/wchar.h: Likewise.
41594 * wctype/wctype.h: Likewise.
41597 * Makeconfig: Remove all but ELF support including AIX support.
41598 * Makerules: Likewise.
41599 * config.h.in: Likewise.
41600 * config.make.in: Likewise.
41601 * configure: Likewise.
41602 * configure.in: Likewise.
41603 * csu/Makefile: Likewise.
41604 * csu/version.c: Likewise.
41605 * debug/Makefile: Likewise.
41606 * dlfcn/Makefile: Likewise.
41607 * elf/Makefile: Likewise.
41608 * extra-lib.mk: Likewise.
41609 * iconv/Makefile: Likewise.
41610 * include/libc-symbols.h: Likewise.
41611 * include/shlib-compat.h: Likewise.
41612 * resolv/Makefile: Likewise.
41613 * resolv/res_libc.c: Likewise.
41614 * rt/Makefile: Likewise.
41615 * sysdeps/i386/asm-syntax.h: Likewise.
41616 * sysdeps/i386/sysdep.h: Likewise.
41617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41618 * sysdeps/mach/sysdep.h: Likewise.
41619 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41620 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41621 * sysdeps/s390/asm-syntax.h: Likewise.
41622 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41623 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41624 * sysdeps/sh/sysdep.h: Likewise.
41625 * sysdeps/unix/sparc/sysdep.h: Likewise.
41626 * sysdeps/wordsize-32/divdi3.c: Likewise.
41627 * sysdeps/x86_64/sysdep.h: Likewise.
41629 * argp/Versions: Remove _argp_unlock_xxx.
41632 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41633 * abilist/libBrokenLocale.abilist: Likewise.
41634 * abilist/libanl.abilist: Likewise.
41635 * abilist/libc.abilist: Likewise.
41636 * abilist/libcrypt.abilist: Likewise.
41637 * abilist/libdl.abilist: Likewise.
41638 * abilist/libm.abilist: Likewise.
41639 * abilist/libnsl.abilist: Likewise.
41640 * abilist/libpthread.abilist: Likewise.
41641 * abilist/libresolv.abilist: Likewise.
41642 * abilist/librt.abilist: Likewise.
41643 * abilist/libthread_db.abilist: Likewise.
41644 * abilist/libutil.abilist: Likewise.
41645 * abilist/libnss_db.abilist: New file.
41647 * scripts/abilist.awk: Add support for indirect functions.
41649 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41651 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41653 * shlib-versions: Remove entries for ports architectures.
41655 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41657 * elf/stackguard-macros.h: Remove support for IA-64.
41658 * elf/tst-auditmod1.c: Likewise.
41659 * sysdeps/generic/ldsodefs.h: Likewise.
41661 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41662 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41666 * configure.in: Remove --enable-omitfp support.
41668 * config.make.in: Likewise.
41669 * Makeconfig: Likewise.
41670 * manual/install.texi: Likewise.
41672 In case anyone cares, the IA-64 architecture could move to ports.
41673 * sysdeps/ia64/*: Removed.
41674 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41675 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41678 * configure.in: Remove entries for unsupported architectures.
41681 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41682 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41684 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41685 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41686 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41687 fall back to using wcrtomb.
41688 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41689 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41691 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41692 * wcsmbs/tst-c16c32-1.c: New file.
41694 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41697 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41699 * elf/tst-unique3.cc: Add explicit declaration of gets.
41700 * elf/tst-unique3lib.cc: Likewise.
41701 * elf/tst-unique3lib2.cc: Likewise.
41702 * elf/tst-unique4.cc: Likewise.
41704 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41706 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41709 * assert/assert.h (static_assert): Don't define for C++.
41710 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41711 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41713 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41715 * iconv/loop.c (single loop): Fix assertion in storing of
41718 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41720 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41722 * posix/getconf.c: Update copyright year.
41723 * nss/getent.c: Likewise.
41724 * nss/makedb.c: Likewise.
41725 * iconv/iconvconfig.c: Likewise.
41726 * iconv/iconv_prog.c: Likewise.
41727 * elf/ldconfig.c: Likewise.
41728 * elf/pldd.c: Likewise.
41729 * elf/sotruss.ksh: Likewise.
41730 * catgets/gencat.c: Likewise.
41731 * csu/version.c: Likewise.
41732 * elf/ldd.bash.in: Likewise.
41733 * elf/sprof.c (print_version): Likewise.
41734 * locale/programs/locale.c: Likewise.
41735 * locale/programs/localedef.c: Likewise.
41736 * login/programs/pt_chown.c: Likewise.
41737 * nscd/nscd.c (print_version): Likewise.
41738 * debug/xtrace.sh: Likewise.
41739 * malloc/memusage.sh: Likewise.
41740 * malloc/mtrace.pl: Likewise.
41741 * debug/catchsegv.sh: Likewise.
41743 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41745 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41748 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41751 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41752 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41754 * iconv/gconv_int.h: Likewise.
41755 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41756 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41757 from libc for GLIBC_2.16.
41758 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41759 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41760 * wcsmbs/uchar.h: Really define mbstate_t.
41761 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41762 * wcsmbs/c16rtomb.c: New file.
41763 * wcsmbs/mbrtoc16.c: New file.
41764 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41765 for C/POSIX locale.
41766 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41767 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41769 * wcsmbs/wchar.h: Add missing __restrict.
41771 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41774 * time/Makefile (routines): Add timespec_get.
41775 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41776 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41777 timespec for ISO C11.
41778 * time/timespec_get.c: New file.
41779 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41780 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41783 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41784 * stdlib/stdlib.h: Declare aligned_alloc.
41785 * Versions.def: Add GLIBC_2.16 for libc.
41786 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41789 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41792 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41796 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41799 * assert/assert.h (static_assert): Define.
41801 * version.h: Update for 2.16 development version.
41804 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41807 * version.h (RELEASE): Bump for 2.15 release.
41808 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41810 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41811 Patch by Marek Polacek <mpolacek@redhat.com>.
41813 * bits/byteswap.h: Protect long long constants with __extension__.
41814 * sysdeps/i386/bits/byteswap.h: Likewise.
41815 * sysdeps/ia64/bits/byteswap.h: Likewise.
41816 * sysdeps/s390/bits/byteswap.h: Likewise.
41817 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41819 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41823 destination buffer.
41824 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41826 2011-12-23 Marek Polacek <polacek@redhat.com>
41828 * elf/dl-addr.c (determine_info): Add inline keyword.
41829 * elf/tst-auditmod4b.c (check_avx): Likewise.
41830 * elf/tst-auditmod6b.c (check_avx): Likewise.
41831 * elf/tst-auditmod6c.c (check_avx): Likewise.
41832 * elf/tst-auditmod7b.c (check_avx): Likewise.
41834 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41836 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41839 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41842 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41843 processing for last bytes.
41845 2011-08-06 Bruno Haible <bruno@clisp.org>
41848 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41849 U+0385, not to U+1FEE.
41852 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41853 entry for U+00A5 U+0301.
41855 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41858 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41859 buffer for the output is too small.
41861 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41865 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41866 SSE flags if possible.
41868 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41872 processing for last bytes.
41874 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41876 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41877 (syscall-list-default-options, syscall-list-default-condition)
41878 (syscall-list-includes): Define.
41879 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41880 list of ABIs and options and #if conditions for each ABI. Do not
41881 handle common syscalls between ABIs specially.
41882 * sysdeps/unix/sysv/linux/powerpc/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.
41887 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41888 (syscall-list-variants, syscall-list-32bit-options)
41889 (syscall-list-32bit-condition, syscall-list-64bit-options)
41890 (syscall-list-64bit-condition): Define.
41891 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41893 (syscall-list-variants, syscall-list-32bit-options)
41894 (syscall-list-32bit-condition, syscall-list-64bit-options)
41895 (syscall-list-64bit-condition): Define.
41896 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41898 (syscall-list-variants, syscall-list-32bit-options)
41899 (syscall-list-32bit-condition, syscall-list-64bit-options)
41900 (syscall-list-64bit-condition): Define.
41902 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41904 * locale/iso-639.def: Add brx entry.
41907 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41908 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41910 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41911 __feraiseexcept_renamed.
41913 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41916 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41917 EPOLLET with unsigned values.
41918 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41921 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41922 to large cancellation.
41923 * math/s_cacoshf.c: Likewise.
41924 * math/s_cacoshl.c: Likewise.
41926 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41930 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41931 * math/s_cacoshf.c: Likewise.
41932 * math/s_cacoshl.c: Likewise.
41934 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41937 * iconv/gconv.h: Define __GCONV_SWAP.
41938 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41939 * iconvdata/utf-16.c: Likewise.
41940 * iconvdata/utf-32.c: Likewise.
41942 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41945 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41946 numerator after shifting it by one limb.
41948 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41950 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41951 under [__USE_EXTERN_INLINES].
41953 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41956 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41958 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41960 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41961 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41963 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41964 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41965 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41966 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41967 for strncasecmp/strncasecmp_l compilation.
41968 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41969 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41971 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41974 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41977 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41980 * time/tzfile.c (__tzfile_read): Check values from file header.
41982 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41984 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41985 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41986 * powerpc/powerpc32/dl-start.S: Likewise.
41987 * powerpc/powerpc32/elf/start.S: Likewise.
41988 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41989 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41990 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41991 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41992 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41993 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41994 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41995 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41996 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41997 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41998 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41999 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42000 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42001 * powerpc/powerpc32/memset.S: Likewise.
42002 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42003 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42004 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42005 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42006 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42007 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42008 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42009 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42010 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42011 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42012 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42013 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42014 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42016 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42018 * math/libm-test.inc: Added more nearbyint tests.
42019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42020 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42022 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42024 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42026 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42029 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42031 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42032 Add wcscpy-ssse3 wcscpy-c.
42033 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42034 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42035 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42036 * sysdeps/x86_64/wcschr.S: New file.
42037 * sysdeps/x86_64/wcsrchr.S: New file.
42038 * string/test-strcmp.c: Remove checking of wcscmp function for
42040 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42041 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42042 wcsrchr-sse2 wcsrchr-c.
42043 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42044 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42045 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42046 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42047 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42048 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42049 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42050 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42051 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42052 * wcsmbc/wcschr.c (WCSCHR): New macro.
42054 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42056 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42057 * wcsmbs/test-wcsrchr.c: New file.
42058 * string/test-strrchr.c: Add wcsrchr support.
42060 * wcsmbs/test-wcscpy.c: New file.
42061 * string/test-strcpy.c: Add wcscpy support.
42064 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42069 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42072 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42074 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42076 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42077 Minor optimizations.
42079 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42080 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42081 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42083 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42085 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42086 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42087 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42088 for gcc to avoid warnings.
42089 * inet/Makefile (tests): Add tst-checks.
42090 * inet/tst-checks.c: New file.
42092 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42095 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42098 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42099 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42101 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42103 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42105 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42108 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42110 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42112 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42113 conditional on GCC version.
42114 (__arch_compare_and_exchange_val_8_acq)
42115 (__arch_compare_and_exchange_val_16_acq)
42116 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42117 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42118 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42120 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42122 * sysdeps/sh/backtrace.c: New file.
42124 2011-12-02 Andreas Schwab <schwab@redhat.com>
42126 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42129 2011-12-01 Andreas Schwab <schwab@redhat.com>
42131 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42132 falling back to utime.
42134 2011-11-30 Andreas Schwab <schwab@redhat.com>
42136 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42137 expectations for float.
42139 2011-11-29 Andreas Schwab <schwab@redhat.com>
42141 * locale/weight.h (findidx): Add parameter len.
42142 * locale/weightwc.h (findidx): Likewise.
42143 * posix/fnmatch_loop.c (FCT): Adjust caller.
42144 * posix/regcomp.c (build_equiv_class): Likewise.
42145 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42146 * posix/regexec.c (check_node_accept_bytes): Likewise.
42147 * string/strcoll_l.c (STRCOLL): Likewise.
42148 * string/strxfrm_l.c (STRXFRM): Likewise.
42150 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42152 * Makefile.in: Remove CVSOPT handling.
42153 * configure.in: Remove use of AC_REVISION.
42154 * iconvdata/Makefile (distribute): No need to filter out CVS.
42155 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42158 2011-11-16 Andreas Schwab <schwab@redhat.com>
42160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42161 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42162 [USE_AS_STRNCASECMP_L]: Likewise.
42163 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42164 NO_TLS_DIRECT_SEG_REFS.
42165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42166 Fix argument offsets for non-PIC.
42167 [USE_AS_STRNCASECMP_L]: Likewise.
42168 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42169 NO_TLS_DIRECT_SEG_REFS.
42171 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42173 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42175 * locale/loadlocale.c (_nl_load_locale): Likewise.
42177 2011-11-15 Andreas Schwab <schwab@redhat.com>
42179 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42180 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42181 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42182 (SYSCALL_GETTIME): Set errno on error.
42184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42185 count references to noai6ai_cached.
42187 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42189 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42191 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42192 FD_CLOEXEC for /proc/self/maps.
42194 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42195 FD_CLOEXEC for /proc/meminfo.
42197 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42200 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42201 FD_CLOEXEC for given file.
42203 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42205 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42206 FD_CLOEXEC for /etc/hosts.
42207 (_gethtent): Likewise.
42209 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42211 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42212 cancellation and set FD_CLOEXEC for /etc/netgroup.
42214 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42215 reading /etc/publickey.
42217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42218 allow cancellation when reading /etc/group.
42220 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42222 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42224 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42225 when using data file.
42227 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42229 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42230 (write_nis_obj): Use "c" and "e" in fopen.
42232 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42234 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42236 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42238 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42240 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42243 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42245 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42247 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42249 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42250 file parsing and set FD_CLOEXEC.
42252 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42254 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42256 2011-11-14 Andreas Schwab <schwab@redhat.com>
42258 * malloc/arena.c (arena_get2): Don't call reused_arena when
42259 _int_new_arena failed.
42261 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42263 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42264 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42265 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42266 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42267 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42269 to compile strcasecmp and strncasecmp.
42270 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42271 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42275 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42277 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42278 locale-defines.sym to gen-as-const-headers.
42279 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42280 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42282 to compile strcasecmp and strncasecmp.
42283 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42284 strcasecmp_l and strncasecmp_l.
42285 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42286 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42287 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42288 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42289 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42290 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42291 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42292 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42293 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42294 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42295 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42297 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42299 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42300 result of SYSDEP_GETTIME_CPU to retval.
42301 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42302 parameter list to macro. Remove trailing semicolon. Adjust users.
42304 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42307 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42309 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42311 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42312 from unused variable.
42314 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42316 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42319 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42322 * sunrpc/rpc_prot.c (rejected): Fix case value.
42324 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42325 unsigned long long int to avoid warnings in shift.
42327 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42329 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42332 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42333 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42334 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42336 * nis/nis_table.c (nis_list): Use variable of correct type for
42337 result of __follow_path call.
42339 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42341 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42342 of math functions ceil, trunc, floor, round, and sqrt, when
42343 avaliable on the platform.
42344 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42346 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42347 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42348 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42350 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42352 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42353 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42355 2011-11-11 Roland McGrath <roland@hack.frob.com>
42357 * include/unistd.h: Fix __readlink return type.
42358 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42360 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42362 * stdlib/ucontext.h: Undo last change for makecontext.
42364 2011-11-11 Andreas Schwab <schwab@redhat.com>
42366 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42368 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42369 * setjmp/setjmp.h: Mark functions as non-leaf.
42370 * setjmp/bits/setjmp2.h: Likewise.
42371 * stdlib/ucontext.h: Likewise.
42373 2011-11-10 Andreas Schwab <schwab@redhat.com>
42375 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42376 (reused_arena): Don't check arena limit.
42377 (arena_get2): Atomically check arena limit.
42379 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42381 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42382 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42387 2011-11-07 Andreas Schwab <schwab@redhat.com>
42389 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42390 handler when locking.
42392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42393 Fix size of allocated buffer.
42395 2011-11-04 Andreas Schwab <schwab@redhat.com>
42398 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42399 declarations for long double functions.
42400 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42402 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42404 2011-11-03 Andreas Schwab <schwab@redhat.com>
42406 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42409 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42412 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42414 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42416 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42418 * include/alloca.h (stackinfo_alloca_round): Define.
42419 (extend_alloca): Use it.
42420 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42421 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42424 * scripts/check-local-headers.sh: Ignore libaudit.h.
42426 * nscd/Makefile (extra-objs): Make recursively expanded.
42428 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42430 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42433 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42434 * posix/tst-rfc3484-2.c: Likewise.
42435 * posix/tst-rfc3484-3.c: Likewise.
42437 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42439 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42441 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42442 process_vm_writev from libc using GLIBC_2.15 version.
42444 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42446 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42448 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42451 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42454 * nss/getent.c (initgroups_keys): Show error message in case no group
42457 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42458 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42459 __bump_nl_timestamp.
42460 * nscd/connections (nscd_init): When host database is served open
42461 netlink socket and request notification about configuration changes.
42462 (main_loop_poll): Track netlink file descriptor and bump timestamp
42463 in case data becomes available.
42464 (main_loop_epoll): Likewise.
42465 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42466 (database_pers_head): Add extra_data fileds.
42467 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42468 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42469 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42472 in6ai data, call __free_in6ai.
42473 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42474 Add -DHAVE_NETLINK.
42475 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42476 interface information. Reuse previous data if netlink timestamp
42478 (__bump_nl_timestamp): New function.
42479 (__free_in6ai): New function.
42481 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42483 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42484 close_not_cancel_no_status here.
42485 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42487 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42490 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42493 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42494 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42495 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42497 2011-07-03 Andreas Jaeger <aj@suse.de>
42500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42501 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42502 * math/libm-test.inc (sin_test): Add test case.
42504 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42507 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42508 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42510 * elf/chroot_canon.c (chroot_canon): Cleanups.
42512 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42515 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42516 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42518 * string/test-strchr.c: Make usable for strchrnul testing.
42519 * string/test-strchrnul.c: New file.
42520 * string/Makefile (strop-tests): Add strchrnul.
42522 * po/it.po: Update from translation team.
42523 * po/es.po: Likewise.
42525 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42527 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42528 the three constants needed as parameters. Drop the others.
42529 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42530 __m128i_strloadu_tolower.
42531 Create and initialize variable zero and use it in all the places
42532 where _mm_setzero_si128 was used.
42534 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42535 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42536 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42537 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42539 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42540 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42541 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42542 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42543 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42544 __mpranred, __mptan.
42545 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42546 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42547 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42548 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42549 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42550 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42552 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42553 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42555 2011-10-28 Andreas Schwab <schwab@redhat.com>
42557 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42558 redefine if SHARED.
42559 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42562 wide char related routines to wcsmbs subdir.
42564 2011-10-27 Andreas Schwab <schwab@redhat.com>
42567 * misc/sys/cdefs.h (__THROWNL): Define.
42568 * posix/unistd.h: Use __THREADNL instead of __THREAD
42569 for memory synchronization functions.
42571 2011-10-26 Roland McGrath <roland@hack.frob.com>
42574 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42576 * manual/stdio.texi (Obstack Streams): Node removed.
42578 2011-10-26 Andreas Schwab <schwab@redhat.com>
42580 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42581 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42582 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42584 * math/math_private.h (math_force_eval): Allow non-addressable
42586 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42588 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42590 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42591 file is not needed.
42593 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42594 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42600 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42602 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42603 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42604 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42605 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42606 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42607 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42608 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42609 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42610 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42611 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42612 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42613 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42614 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42615 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42616 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42617 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42618 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42619 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42620 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42622 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42623 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42626 place. Use VEX encoding when compiling for AVX.
42628 2011-10-25 Andreas Schwab <schwab@redhat.com>
42630 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42631 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42633 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42635 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42637 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42638 useless if() expression.
42639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42650 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42652 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42653 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42654 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42656 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42657 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42659 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42661 2011-10-25 Andreas Schwab <schwab@redhat.com>
42663 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42665 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42667 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42669 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42670 .text section. Avoid duplicate constants.
42671 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42675 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42679 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42680 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42681 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42683 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42686 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42688 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42692 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42694 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42695 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42696 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42697 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42698 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42699 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42700 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42701 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42702 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42704 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42705 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42706 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42707 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42709 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42710 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42711 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42712 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42713 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42714 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42715 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42717 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42719 * sysdeps/x86_64/dla.h: Move to ...
42720 * sysdeps/x86_64/fpu/dla.h: ...here.
42721 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42722 situations. Use __builtin_fma only for gcc 4.6 and up.
42724 * config.make.in: Add have-mfma4 entry.
42725 * configure.in: Substitute libc_cv_cc_fma4.
42726 * math/Makefile (dbl-only-routines): Add sincostab.
42727 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42728 Use __sincostab not sincos.
42729 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42736 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42737 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42738 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42739 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42742 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42744 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42745 define aliases when function name is a macro.
42746 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42747 sysdeps/ieee754/dbl-64/sincos.tbl.
42748 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42749 fma4-enabled routines.
42750 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42751 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42752 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42753 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42754 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42755 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42757 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42759 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42760 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42761 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42762 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42763 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42764 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42765 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42766 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42767 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42768 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42769 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42770 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42771 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42773 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42774 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42775 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42776 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42777 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42778 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42779 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42781 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42792 2011-10-24 Andreas Schwab <schwab@redhat.com>
42794 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42796 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42798 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42800 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42802 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42804 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42805 Remove unused variable magic_bits.
42806 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42808 * string/strnlen.c: Define and use STRNLEN macro.
42809 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42810 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42812 * wcsmbs/wcslen.c: Define and use WCSLEN.
42813 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42814 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42815 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42816 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42817 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42818 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42819 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42821 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42824 strnlen-sse2-no-bsf.
42825 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42827 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42828 Add strnlen support.
42829 (USE_AS_STRNLEN): New macro.
42830 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42831 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42832 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42833 * sysdeps/x86_64/wcslen.S: New file.
42835 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42838 XMM-moves are used for copying on small sizes.
42840 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42842 * wcsmbs/Makefile (strop-tests): Add wcschr.
42843 * wcsmbs/test-wcschr.c: New file.
42844 * string/test-strchr.c: Update.
42845 Add wcschr support.
42848 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42850 * wcsmbs/Makefile (strop-tests): Add wcslen.
42851 * wcsmbs/test-wcslen.c: New file.
42852 * string/test-strlen.c: Update.
42853 Add wcslen support.
42856 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42858 * po/it.po: Update from translation team.
42860 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42862 * sysdeps/x86_64/wcscmp.S: Update.
42863 Fix wrong comparison semantics.
42864 wcscmp shall use signed comparison not unsigned.
42865 Don't use substraction to avoid overflow bug.
42866 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42867 * wcsmbc/wcscmp.c: Likewise.
42868 * string/test-strcmp.c: Likewise.
42869 Add new tests to check cases with negative values.
42871 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42873 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42874 * sysdeps/x86_64/dla.h: ...here. New file.
42875 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42885 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42888 __ynl_finite aliases.
42890 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42894 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42896 [DLA_FMA] (EMULV): Use DLA_FMA.
42897 [DLA_FMA] (MUL12): Use EMULV.
42898 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42899 that are not needed.
42900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42908 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42910 * math/s_nan.c: Undef __nan.
42911 * math/s_nanf.c: Undef __nanf.
42912 * math/s_nanl.c: Undef __nanl.
42913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42916 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42918 * math/s_catan.c: Add branch predictions.
42919 * math/s_catanf.c: Likewise.
42920 * math/s_catanh.c: Likewise.
42921 * math/s_catanhf.c: Likewise.
42922 * math/s_catanhl.c: Likewise.
42923 * math/s_catanl.c: Likewise.
42924 * math/s_cexp.c: Likewise.
42925 * math/s_cexpf.c: Likewise.
42926 * math/s_cexpl.c: Likewise.
42927 * math/s_clog.c: Likewise.
42928 * math/s_clog10.c: Likewise.
42929 * math/s_clog10f.c: Likewise.
42930 * math/s_clog10l.c: Likewise.
42931 * math/s_clogf.c: Likewise.
42932 * math/s_clogl.c: Likewise.
42933 * math/s_csqrt.c: Likewise.
42934 * math/s_csqrtf.c: Likewise.
42935 * math/s_csqrtl.c: Likewise.
42936 * math/s_ctanf.c: Likewise.
42937 * math/s_ctanh.c: Likewise.
42938 * math/s_ctanhf.c: Likewise.
42939 * math/s_ctanhl.c: Likewise.
42940 * math/s_ctanl.c: Likewise.
42942 * math/math_private.h: Define __nan, __nanf, __nanl.
42943 * math/s_cacosh.c: Include <math_private.h>.
42944 * math/s_cacoshl.c: Likewise.
42945 * math/s_casinh.c: Likewise.
42946 * math/s_casinhf.c: Likewise.
42947 * math/s_casinhl.c: Likewise.
42948 * math/s_ccos.c: Rely entire on ccosh.
42949 * math/s_ccosf.c: Rely entire on ccoshf.
42950 * math/s_ccosl.c: Rely entirely on ccoshl.
42951 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42952 Remove tests for FE_INVALID.
42953 * math/s_ccoshf.c: Likewise.
42954 * math/s_ccoshl.c: Likewise.
42955 * math/s_csin.c: Likewise.
42956 * math/s_csinf.c: Likewise.
42957 * math/s_csinh.c Likewise.
42958 * math/s_csinhf.c: Likewise.
42959 * math/s_csinhl.c: Likewise.
42960 * math/s_csinl.c: Likewise.
42961 * math/s_ctan.c: Likewise.
42962 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42963 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42964 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42966 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42969 compilation problems.
42971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42974 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42976 * sysdeps/i386/configure.in: Test for -mfma4 option.
42977 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42978 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42979 COMMON_CPUID_INDEX_80000001.
42980 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42981 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42982 use it if FMA3 is not supported.
42983 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42985 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42986 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42988 2011-10-20 Andreas Schwab <schwab@redhat.com>
42991 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42992 it would create a cycle with a link time dependency.
42994 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42996 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42998 * string/Makefile (strop-tests): Add rawmemchr.
42999 * string/test-rawmemchr.c: New file.
43001 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43003 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43004 when compiling str{,n}casecmp and when AVX is available. Hook up
43005 new optimized code in initializers.
43007 2011-10-19 Andreas Schwab <schwab@redhat.com>
43009 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43010 __feraiseexcept instead of feraiseexcept.
43012 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43014 * math/math_private.h: Define defaults for libc_fetestexcept and
43016 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43017 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43018 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43020 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43021 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43022 libc_fetestexcept and libc_feupdateenv.
43024 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43025 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43026 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43027 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43028 libc_feholdexcept_setround.
43030 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43031 Add s_nearbyint-c and s_nearbyintf-c.
43032 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43033 nearbyintf inlines.
43034 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43035 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43036 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43037 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43039 * math/math_private.h: Define defaults for libc_fegetround,
43040 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43041 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43042 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43044 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43045 standard functions.
43046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43047 Remove comments and hacks for old compiler versions.
43048 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43049 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43050 libc_feholdexceptl.
43052 2011-10-18 Andreas Schwab <schwab@redhat.com>
43054 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43055 (__feraiseexcept_renamed): Add __NTH.
43056 (feraiseexcept): Add __NTH. Rename local variables to fix
43057 namespace violations.
43059 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43061 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43063 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43065 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43066 recently added interfaces.
43067 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43069 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43070 about macro parameter expansion.
43072 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43073 __NO_MATH_INLINES is defined. Cleanups.
43075 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43076 and __floorf is target has SSE4.1.
43077 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43078 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43080 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43082 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43084 (floorf): Likewise.
43086 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43088 2011-10-17 Andreas Schwab <schwab@redhat.com>
43090 * misc/sys/cdefs.h: Fix last change.
43092 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43095 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43097 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43099 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43103 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43106 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43107 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43108 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43109 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43110 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43111 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43112 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43113 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43114 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43115 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43116 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43117 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43118 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43120 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43122 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43123 ceil, ceilf, floor, floorf.
43125 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43126 Perform IRELATIVE relocations last.
43128 * elf/do-rel.h: Add another parameter nrelative, replacing the
43129 local variable with the same name. Change name of the function
43130 to end in Rel or Rela (uppercase).
43131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43132 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43133 elf_dynamic_do_##reloc function.
43135 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43137 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43138 is sufficient, at least on modern CPUs.
43140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43142 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43143 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43145 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43147 * math/bits/math-finite.h: Add entries for exp.
43148 * math/e_expl.c: Add __*_finite alias.
43149 * sysdeps/i386/fpu/e_exp.S: Likewise.
43150 * sysdeps/i386/fpu/e_expf.S: Likewise.
43151 * sysdeps/i386/fpu/e_expl.c: Likewise.
43152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43153 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43156 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43157 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43158 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43160 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43161 is sufficient, at least on modern CPUs.
43163 * ctype/ctype-info.c (__ctype_init): Define.
43164 * include/ctype.h (__ctype_init): Declare.
43165 (__ctype_b_loc): The variable is always initialized.
43166 (__ctype_toupper_loc): Likewise.
43167 (__ctype_tolower_loc): Likewise.
43168 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43169 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43171 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43173 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43175 * configure.in: Also look in $cxxmachine/include for C++ system
43178 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43180 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43181 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43182 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43183 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43184 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43185 (USE_AS_WMEMCMP): New macro.
43187 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43188 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43189 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43190 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43192 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43193 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43194 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43195 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43196 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43197 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43198 (USE_AS_WMEMCMP): New macro.
43199 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43200 * sysdeps/string/test-memcmp.c: Update.
43201 Fix simple_wmemcmp.
43203 * wcsmbs/wmemcmp.c: Update.
43204 (WMEMCMP): New macro.
43207 2011-10-12 Andreas Jaeger <aj@suse.de>
43210 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43212 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43214 * libio/iofwide.c (do_length): Avoid warning.
43216 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43218 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43220 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43222 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43223 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43224 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43225 * sysdeps/i386/i686/fpu/e_log.S: New file.
43226 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43227 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43229 * ctype/ctype.h: Add support for inlined isXXX functions when
43230 compiling C++ code.
43232 2011-10-14 Andreas Schwab <schwab@redhat.com>
43234 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43236 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43238 2011-10-13 Roland McGrath <roland@hack.frob.com>
43241 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43243 2011-10-13 Andreas Schwab <schwab@redhat.com>
43245 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43246 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43249 * sysdeps/x86_64/memrchr.S: Check for zero size.
43251 * string/stratcliff.c: Add memrchr tests.
43253 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43256 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43257 rawmemchr-sse2 rawmemchr-sse2-bsf.
43258 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43259 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43260 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43261 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43262 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43263 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43264 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43265 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43266 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43267 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43268 * string/memrchr.c (MEMRCHR): New macro.
43270 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43272 Add integration with gcc's -ffinite-math-only and optimize wrapper
43274 * Versions.def: Define GLIBC_2.15 version for libm.
43275 * math/Makefile (headers): Add bits/math-finite.h.
43276 * math/bits/math-finite.h: New file.
43277 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43278 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43279 * math/e_acoshl.c: Add __*_finite alias.
43280 * math/e_acosl.c: Likewise.
43281 * math/e_asinl.c: Likewise.
43282 * math/e_atan2l.c: Likewise.
43283 * math/e_atanhl.c: Likewise.
43284 * math/e_coshl.c: Likewise.
43285 * math/e_exp10.c: Likewise.
43286 * math/e_exp10f.c: Likewise.
43287 * math/e_exp10l.c: Likewise.
43288 * math/e_exp2l.c: Likewise.
43289 * math/e_fmodl.c: Likewise.
43290 * math/e_gammal_r.c: Likewise.
43291 * math/e_hypotl.c: Likewise.
43292 * math/e_j0l.c: Likewise.
43293 * math/e_j1l.c: Likewise.
43294 * math/e_jnl.c: Likewise.
43295 * math/e_lgammal_r.c: Likewise.
43296 * math/e_log10l.c: Likewise.
43297 * math/e_log2l.c: Likewise.
43298 * math/e_logl.c: Likewise.
43299 * math/e_powl.c: Likewise.
43300 * math/e_sinhl.c: Likewise.
43301 * math/e_sqrtl.c: Likewise.
43302 * math/e_scalb.c: Completely rewritten and optimized.
43303 * math/e_scalbf.c: Likewise.
43304 * math/e_scalbl.c: Likewise.
43305 * math/w_acos.c: Likewise.
43306 * math/w_acosf.c: Likewise.
43307 * math/w_acosl.c: Likewise.
43308 * math/w_acosh.c: Likewise.
43309 * math/w_acoshf.c: Likewise.
43310 * math/w_acoshl.c: Likewise.
43311 * math/w_asin.c: Likewise.
43312 * math/w_asinf.c: Likewise.
43313 * math/w_asinl.c: Likewise.
43314 * math/w_atan2.c: Likewise.
43315 * math/w_atan2f.c: Likewise.
43316 * math/w_atan2l.c: Likewise.
43317 * math/w_atanh.c: Likewise.
43318 * math/w_atanhf.c: Likewise.
43319 * math/w_atanhl.c: Likewise.
43320 * math/w_exp10.c: Likewise.
43321 * math/w_exp10f.c: Likewise.
43322 * math/w_exp10l.c: Likewise.
43323 * math/w_fmod.c: Likewise.
43324 * math/w_fmodf.c: Likewise.
43325 * math/w_fmodl.c: Likewise.
43326 * math/w_j0.c: Likewise.
43327 * math/w_j0f.c: Likewise.
43328 * math/w_j0l.c: Likewise.
43329 * math/w_j1.c: Likewise.
43330 * math/w_j1f.c: Likewise.
43331 * math/w_j1l.c: Likewise.
43332 * math/w_jn.c: Likewise.
43333 * math/w_jnf.c: Likewise.
43334 * math/w_log.c: Likewise.
43335 * math/w_logf.c: Likewise.
43336 * math/w_logl.c: Likewise.
43337 * math/w_log10.c: Likewise.
43338 * math/w_log10f.c: Likewise.
43339 * math/w_log10l.c: Likewise.
43340 * math/w_log2.c: Likewise.
43341 * math/w_log2f.c: Likewise.
43342 * math/w_log2l.c: Likewise.
43343 * math/w_pow.c: Likewise.
43344 * math/w_powf.c: Likewise.
43345 * math/w_powl.c: Likewise.
43346 * math/w_remainder.c: Likewise.
43347 * math/w_remainderf.c: Likewise.
43348 * math/w_remainderl.c: Likewise.
43349 * math/w_scalb.c: Likewise.
43350 * math/w_scalbf.c: Likewise.
43351 * math/w_scalbl.c: Likewise.
43352 * math/w_sqrt.c: Likewise.
43353 * math/w_sqrtf.c: Likewise.
43354 * math/w_sqrtl.c: Likewise.
43355 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43356 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43358 * math/math_private.h: Declare __kernel_standard_f.
43359 * math/w_cosh.c: Remove cruft and optimize a bit.
43360 * math/w_coshf.c: Likewise.
43361 * math/w_coshl.c: Likewise.
43362 * math/w_exp2.c: Likewise.
43363 * math/w_exp2f.c: Likewise.
43364 * math/w_exp2l.c: Likewise.
43365 * math/w_hypot.c: Likewise.
43366 * math/w_hypotf.c: Likewise.
43367 * math/w_hypotl.c: Likewise.
43368 * math/w_lgamma.c: Likewise.
43369 * math/w_lgamma_r.c: Likewise.
43370 * math/w_lgammaf.c: Likewise.
43371 * math/w_lgammaf_r.c: Likewise.
43372 * math/w_lgammal.c: Likewise.
43373 * math/w_lgammal_r.c: Likewise.
43374 * math/w_sinh.c: Likewise.
43375 * math/w_sinhf.c: Likewise.
43376 * math/w_sinhl.c: Likewise.
43377 * math/w_tgamma.c: Likewise.
43378 * math/w_tgammaf.c: Likewise.
43379 * math/w_tgammal.c: Likewise.
43380 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43381 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43382 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43383 Minor optimizations. Pretty printing. Remove cruft.
43384 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43385 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43386 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43387 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43388 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43389 * sysdeps/i386/fpu/e_asin.S: Likewise.
43390 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43391 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43392 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43393 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43394 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43395 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43397 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43398 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43399 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43400 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43401 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43402 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43403 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43404 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43405 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43406 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43407 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43408 * sysdeps/i386/fpu/e_log.S: Likewise.
43409 * sysdeps/i386/fpu/e_log10.S: Likewise.
43410 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43412 * sysdeps/i386/fpu/e_log2.S: Likewise.
43413 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43414 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43415 * sysdeps/i386/fpu/e_logf.S: Likewise.
43416 * sysdeps/i386/fpu/e_logl.S: Likewise.
43417 * sysdeps/i386/fpu/e_pow.S: Likewise.
43418 * sysdeps/i386/fpu/e_powf.S: Likewise.
43419 * sysdeps/i386/fpu/e_powl.S: Likewise.
43420 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43421 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43422 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43423 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43424 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43426 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43427 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43428 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43429 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43432 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43433 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43434 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43435 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43436 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43437 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43438 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43439 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43440 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43443 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43445 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43446 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43447 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43450 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43451 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43452 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43453 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43454 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43455 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43456 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43457 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43458 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43459 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43460 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43461 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43462 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43463 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43464 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43465 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43466 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43467 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43468 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43469 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43470 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43471 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43472 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43473 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43474 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43475 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43476 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43478 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43479 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43480 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43484 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43485 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43486 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43487 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43488 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43489 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43490 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43492 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43493 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43494 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43499 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43500 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43501 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43503 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43505 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43506 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43508 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43510 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43511 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43512 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43514 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43516 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43517 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43518 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43519 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43520 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43521 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43522 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43523 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43524 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43525 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43526 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43527 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43528 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43529 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43530 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43531 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43532 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43533 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43534 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43535 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43536 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43537 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43538 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43539 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43540 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43541 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43542 (__isnanf): Likewise.
43543 (__isinf_ns): Likewise.
43544 (__isinf_nsf): Likewise.
43545 (__finite): Likewise.
43546 (__finitef): Likewise.
43547 (__ieee754_sqrt): Define as macro.
43548 (__ieee754_sqrtf): Define as macro.
43549 (__ieee754_sqrtl): Define as macro.
43550 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43552 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43553 __FINITE_MATH_ONLY__ consistent.
43554 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43556 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43558 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43563 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43565 * po/ja.po: Update from translation team.
43567 2011-10-08 Roland McGrath <roland@hack.frob.com>
43569 * locale/programs/locarchive.c (prepare_address_space): New function.
43570 (create_archive, enlarge_archive, open_archive): Use it.
43572 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43573 inside [SHARED], where it is used.
43575 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43577 * nss/getent.c (netgroup_keys): Remove unused variable.
43578 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43580 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43582 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43583 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43585 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43586 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43587 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43588 * math/Makefile (libm-calls): Add s_isinf_ns.
43589 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43590 * math/multc3.c: Likewise.
43591 * math/s_casin.c: Likewise.
43592 * math/s_casinf.c: Likewise.
43593 * math/s_casinl.c: Likewise.
43594 * math/s_ccos.c: Likewise.
43595 * math/s_ccosf.c: Likewise.
43596 * math/s_ccosl.c: Likewise.
43597 * math/s_ctan.c: Likewise.
43598 * math/s_ctanf.c: Likewise.
43599 * math/s_ctanh.c: Likewise.
43600 * math/s_ctanhf.c: Likewise.
43601 * math/s_ctanhl.c: Likewise.
43602 * math/s_ctanl.c: Likewise.
43603 * math/w_fmod.c: Likewise.
43604 * math/w_fmodf.c: Likewise.
43605 * math/w_fmodl.c: Likewise.
43606 * math/w_remainder.c: Likewise.
43607 * math/w_remainderf.c: Likewise.
43608 * math/w_remainderl.c: Likewise.
43609 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43610 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43613 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43614 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43615 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43616 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43618 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43620 * stdio-common/printf_fphex.c: Likewise.
43621 * stdio-common/printf_size.c: Likewise.
43623 * math/e_exp10.c: Include math_private.h using <...> not "...".
43624 * math/e_exp10f.c: Likewise.
43625 * math/e_exp10l.c: Likewise.
43626 * math/e_exp2l.c: Likewise.
43627 * math/e_j0l.c: Likewise.
43628 * math/e_j1l.c: Likewise.
43629 * math/e_jnl.c: Likewise.
43630 * math/e_lgammal_r.c: Likewise.
43631 * math/e_rem_pio2l.c: Likewise.
43632 * math/e_scalb.c: Likewise.
43633 * math/e_scalbf.c: Likewise.
43634 * math/e_scalbl.c: Likewise.
43635 * math/k_cosl.c: Likewise.
43636 * math/k_sinl.c: Likewise.
43637 * math/k_tanl.c: Likewise.
43638 * math/s_cacoshf.c: Likewise.
43639 * math/s_catan.c: Likewise.
43640 * math/s_catanf.c: Likewise.
43641 * math/s_catanh.c: Likewise.
43642 * math/s_catanhf.c: Likewise.
43643 * math/s_catanhl.c: Likewise.
43644 * math/s_catanl.c: Likewise.
43645 * math/s_ccosh.c: Likewise.
43646 * math/s_ccoshf.c: Likewise.
43647 * math/s_ccoshl.c: Likewise.
43648 * math/s_cexp.c: Likewise.
43649 * math/s_cexpf.c: Likewise.
43650 * math/s_cexpl.c: Likewise.
43651 * math/s_clog.c: Likewise.
43652 * math/s_clog10.c: Likewise.
43653 * math/s_clog10f.c: Likewise.
43654 * math/s_clog10l.c: Likewise.
43655 * math/s_clogf.c: Likewise.
43656 * math/s_clogl.c: Likewise.
43657 * math/s_csin.c: Likewise.
43658 * math/s_csinf.c: Likewise.
43659 * math/s_csinh.c: Likewise.
43660 * math/s_csinhf.c: Likewise.
43661 * math/s_csinhl.c: Likewise.
43662 * math/s_csinl.c: Likewise.
43663 * math/s_csqrt.c: Likewise.
43664 * math/s_csqrtf.c: Likewise.
43665 * math/s_csqrtl.c: Likewise.
43666 * math/s_ctan.c: Likewise.
43667 * math/s_ctanf.c: Likewise.
43668 * math/s_ctanh.c: Likewise.
43669 * math/s_ctanhf.c: Likewise.
43670 * math/s_ctanhl.c: Likewise.
43671 * math/s_ctanl.c: Likewise.
43672 * math/s_ldexp.c: Likewise.
43673 * math/s_ldexpf.c: Likewise.
43674 * math/s_ldexpl.c: Likewise.
43675 * math/s_significand.c: Likewise.
43676 * math/s_significandf.c: Likewise.
43677 * math/s_significandl.c: Likewise.
43678 * math/w_acos.c: Likewise.
43679 * math/w_acosf.c: Likewise.
43680 * math/w_acosh.c: Likewise.
43681 * math/w_acoshf.c: Likewise.
43682 * math/w_acoshl.c: Likewise.
43683 * math/w_acosl.c: Likewise.
43684 * math/w_asin.c: Likewise.
43685 * math/w_asinf.c: Likewise.
43686 * math/w_asinl.c: Likewise.
43687 * math/w_atan2.c: Likewise.
43688 * math/w_atan2f.c: Likewise.
43689 * math/w_atan2l.c: Likewise.
43690 * math/w_atanh.c: Likewise.
43691 * math/w_atanhf.c: Likewise.
43692 * math/w_atanhl.c: Likewise.
43693 * math/w_cosh.c: Likewise.
43694 * math/w_coshf.c: Likewise.
43695 * math/w_coshl.c: Likewise.
43696 * math/w_dremf.c: Likewise.
43697 * math/w_exp10.c: Likewise.
43698 * math/w_exp10f.c: Likewise.
43699 * math/w_exp10l.c: Likewise.
43700 * math/w_exp2.c: Likewise.
43701 * math/w_exp2f.c: Likewise.
43702 * math/w_fmod.c: Likewise.
43703 * math/w_fmodf.c: Likewise.
43704 * math/w_fmodl.c: Likewise.
43705 * math/w_hypot.c: Likewise.
43706 * math/w_hypotf.c: Likewise.
43707 * math/w_hypotl.c: Likewise.
43708 * math/w_j0.c: Likewise.
43709 * math/w_j0f.c: Likewise.
43710 * math/w_j0l.c: Likewise.
43711 * math/w_j1.c: Likewise.
43712 * math/w_j1f.c: Likewise.
43713 * math/w_j1l.c: Likewise.
43714 * math/w_jn.c: Likewise.
43715 * math/w_jnf.c: Likewise.
43716 * math/w_jnl.c: Likewise.
43717 * math/w_lgamma.c: Likewise.
43718 * math/w_lgamma_r.c: Likewise.
43719 * math/w_lgammaf.c: Likewise.
43720 * math/w_lgammaf_r.c: Likewise.
43721 * math/w_lgammal.c: Likewise.
43722 * math/w_lgammal_r.c: Likewise.
43723 * math/w_log.c: Likewise.
43724 * math/w_log10.c: Likewise.
43725 * math/w_log10f.c: Likewise.
43726 * math/w_log10l.c: Likewise.
43727 * math/w_log2.c: Likewise.
43728 * math/w_log2f.c: Likewise.
43729 * math/w_log2l.c: Likewise.
43730 * math/w_logf.c: Likewise.
43731 * math/w_logl.c: Likewise.
43732 * math/w_pow.c: Likewise.
43733 * math/w_powf.c: Likewise.
43734 * math/w_powl.c: Likewise.
43735 * math/w_remainder.c: Likewise.
43736 * math/w_remainderf.c: Likewise.
43737 * math/w_remainderl.c: Likewise.
43738 * math/w_scalb.c: Likewise.
43739 * math/w_scalbf.c: Likewise.
43740 * math/w_scalbl.c: Likewise.
43741 * math/w_sinh.c: Likewise.
43742 * math/w_sinhf.c: Likewise.
43743 * math/w_sinhl.c: Likewise.
43744 * math/w_sqrt.c: Likewise.
43745 * math/w_sqrtf.c: Likewise.
43746 * math/w_sqrtl.c: Likewise.
43747 * math/w_tgamma.c: Likewise.
43748 * math/w_tgammaf.c: Likewise.
43749 * math/w_tgammal.c: Likewise.
43751 * po/ja.po: Update from translation team.
43753 2011-09-29 Andreas Jaeger <aj@suse.de>
43756 * sunrpc/netname.c (netname2host): Fix logic.
43760 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43762 * math/w_remainder.c (__remainder): Likewise.
43763 * math/w_remainderf.c (__remainderf): Likewise.
43764 * math/libm-test.inc (remainder_test): Add test cases.
43766 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43768 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43771 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43773 * string/test-memcmp.c: Avoid unncessary #defines.
43774 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43776 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43778 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43779 Use new sse2 version for core i3 - i7 as it's faster
43780 than sse42 version.
43781 (bit_Prefer_PMINUB_for_stringop): New.
43782 * sysdeps/x86_64/rawmemchr.S: Update.
43783 Replace with faster SSE2 version.
43784 * sysdeps/x86_64/memrchr.S: New file.
43785 * sysdeps/x86_64/memchr.S: Update.
43786 Replace with faster SSE2 version.
43788 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43790 * elf/dl-load.c (lose): Add cast to avoid warning.
43792 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43794 * po/ca.po: Update from translation team.
43796 * inet/getnetgrent_r.c: Hook up nscd.
43797 * nscd/Makefile (routines): Add nscd_netgroup.
43798 (nscd-modules): Add netgroupcache.
43799 (CFLAGS-netgroupcache.c): Define.
43800 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43801 (cache_search): Add const to second parameter.
43802 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43804 (dbs): Add netgrdb entry.
43805 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43806 (verify_persistent_db): Handle netgrdb.
43807 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43808 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43810 (netgroup_response_header): Define.
43811 (innetgroup_response_header): Define.
43812 (datahead): Add netgroup_response_header and innetgroup_response_header
43814 * nscd/nscd.conf: Add entries for netgroup cache.
43815 * nscd/nscd.h (dbtype): Add netgrdb.
43816 (_PATH_NSCD_NETGROUP_DB): Define.
43817 (netgroup_iov_disabled): Declare.
43818 (xmalloc, xcalloc, xrealloc): Move declarations here.
43819 (cache_search): Adjust prototype.
43820 Add netgroup-related prototypes.
43821 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43822 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43823 (__nscd_innetgr): Declare.
43824 * nscd/selinux.c (perms): Use access_vector_t as element type and
43825 add netgroup-related initializers.
43826 * nscd/netgroupcache.c: New file.
43827 * nscd/nscd_netgroup.c: New file.
43828 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43829 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43830 For four parameters use innetgr.
43831 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43832 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43833 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43834 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43836 * nscd/connections.c (register_traced_file): Don't register file
43837 for disabled databases.
43839 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43841 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43843 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43844 from tree and freeing node.
43846 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43848 * nss/nsswitch.c (__nss_database_lookup): Handle
43849 nss_parse_service_list out of memory case.
43851 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43853 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43854 out of memory case.
43856 2011-10-04 Andreas Schwab <schwab@redhat.com>
43858 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43859 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43861 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43862 elf_machine_rela, elf_machine_lazy_rel.
43863 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43864 (ELF_DYNAMIC_DO_REL): Likewise.
43865 (ELF_DYNAMIC_DO_RELA): Likewise.
43866 (ELF_DYNAMIC_RELOCATE): Likewise.
43867 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43868 to ELF_DYNAMIC_DO_REL.
43869 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43870 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43871 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43873 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43874 skip_ifunc, don't call ifunc function if non-zero.
43875 (elf_machine_rela): Likewise.
43876 (elf_machine_lazy_rel): Likewise.
43877 (elf_machine_lazy_rela): Likewise.
43878 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43879 (elf_machine_lazy_rel): Likewise.
43880 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43882 (elf_machine_lazy_rel): Likewise.
43883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43885 (elf_machine_lazy_rel): Likewise.
43886 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43887 (elf_machine_lazy_rel): Likewise.
43888 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43889 (elf_machine_lazy_rel): Likewise.
43890 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43891 (elf_machine_lazy_rel): Likewise.
43892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43893 (elf_machine_lazy_rel): Likewise.
43894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43895 (elf_machine_lazy_rel): Likewise.
43896 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43897 (elf_machine_lazy_rel): Likewise.
43899 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43901 * nss/nss_files/files-init.c (_nss_files_init): Use static
43902 initialization for all the *_traced_file variables.
43904 2011-09-28 Andreas Schwab <schwab@redhat.com>
43906 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43908 2011-09-27 Roland McGrath <roland@hack.frob.com>
43911 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43913 2011-09-27 Andreas Schwab <schwab@redhat.com>
43915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43916 Reread the line before reparsing it.
43918 2011-09-26 Andreas Schwab <schwab@redhat.com>
43920 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43922 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43923 Maxim Kuvyrkov <maxim@codesourcery.com>
43924 Joseph Myers <joseph@codesourcery.com>
43926 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43927 if needed for __stack_chk_guard.
43929 2011-09-19 Roland McGrath <roland@hack.frob.com>
43931 * sysdeps/posix/spawni.c (script_execute): Always define it.
43932 It will be optimized away if unused.
43933 (maybe_script_execute): New function.
43934 (__spawni): Call it.
43936 * Makerules: Don't include tls.make.
43937 (config-tls): Always set to thread.
43938 * tls.make.c: File removed.
43940 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43942 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43943 * config.make.in (CPPFLAGS-config): New substituted variable.
43945 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43950 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43951 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43953 2011-09-15 Roland McGrath <roland@hack.frob.com>
43955 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43956 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43958 (CALL_FAIL): Likewise.
43959 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43960 (CALL_FAIL): Macro removed.
43961 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43963 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43965 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43966 for __FINITE_MATH_ONLY__ == 1.
43968 2011-09-15 Andreas Schwab <schwab@redhat.com>
43970 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43971 __ieee754_sqrt instead of sqrt.
43972 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43973 __ieee754_sqrtf instead of sqrtf.
43974 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43975 __floorf instead of floorf.
43976 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43977 __floorf, __truncf instead of floorf, truncf.
43979 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43981 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43983 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43984 __extern_always_inline.
43985 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43988 2011-09-14 Andreas Schwab <schwab@redhat.com>
43990 * elf/rtld.c (dl_main): Also relocate in dependency order when
43991 doing symbol dependency testing.
43993 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43996 Always define `refsym'.
43998 2011-09-13 Andreas Schwab <schwab@redhat.com>
44000 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44001 (__FD_ELT): Renamed from __FDELT.
44002 * misc/bits/select2.h (__FD_ELT): Likewise.
44003 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44004 __FD_MASK instead of __FDELT, __FDMASK.
44005 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44007 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44010 * elf/Makefile (gen-ldd): Fix pattern.
44012 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44013 (init_tls): Likewise.
44015 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44017 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44019 2011-09-12 Andreas Schwab <schwab@redhat.com>
44021 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44022 `struct cmsghdr *' instead of `void *'.
44023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44026 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44028 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44030 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44031 ldd_rewrite_script.
44033 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44035 * configure.in: Remove --with-tls option.
44036 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44037 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44038 out in case it is missing.
44039 * sysdeps/ia64/elf/configure.in: Likewise.
44040 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44041 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44042 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44043 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44044 * sysdeps/sh/elf/configure.in: Likewise.
44045 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44046 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44047 * sysdeps/x86_64/elf/configure.in: Likewise.
44048 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44049 * sysdeps/mach/hurd/tls.h: Likewise.
44052 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44055 * configure.in: Fix use of AC_INIT.
44057 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44059 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44061 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44063 * malloc/hooks.c: Likewise.
44066 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44067 variables statically.
44068 (narenas): Initialize.
44069 (list_lock): Initialize.
44070 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44071 initializtion of main_arena and list_lock. Small cleanups.
44072 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44073 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44074 Add initializers to main_arena and mp_.
44075 (malloc_state): Remove pagesize member. Change all users to use
44078 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44079 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44080 is always initialized.
44082 * malloc/malloc.c: Removed unused configurations and dead code.
44083 * malloc/arena.c: Likewise.
44084 * malloc/hooks.c: Likewise.
44085 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44087 * include/tls.h: Removed. USE___THREAD must always be defined.
44088 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44089 * elf/dl-libc.c: Likewise.
44090 * elf/dl-tsd.c: Likewise.
44091 * include/errno.h: Likewise.
44092 * include/netdb.h: Likewise.
44093 * include/resolv.h: Likewise.
44094 * inet/herrno-loc.c: Likewise.
44095 * inet/herrno.c: Likewise.
44096 * malloc/arena.c: Likewise.
44097 * malloc/hooks.c: Likewise.
44098 * malloc/malloc.c: Likewise.
44099 * resolv/res-state.c: Likewise.
44100 * resolv/res_libc.c: Likewise.
44101 * sysdeps/i386/dl-machine.h: Likewise.
44102 * sysdeps/ia64/dl-machine.h: Likewise.
44103 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44104 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44105 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44106 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44107 * sysdeps/sh/dl-machine.h: Likewise.
44108 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44109 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44110 * sysdeps/unix/i386/sysdep.S: Likewise.
44111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44112 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44117 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44121 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44122 * sysdeps/x86_64/dl-machine.h: Likewise.
44123 * tls.make.c: Likewise.
44125 * configure.in: Remove --with-__thread option. Make tests for
44126 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44127 tls_model attribute fail if no support is available. Remove
44129 * Makeconfig: Adjust for dropped configure option. All features are
44131 * Makerules: Likewise.
44132 * Versions.def: Likewise.
44133 * argp/argp-fmtstream.c: Likewise.
44134 * argp/argp-fmtstream.h: Likewise.
44135 * argp/argp-help.c: Likewise.
44136 * assert/assert.c: Likewise.
44137 * config.h.in: Likewise.
44138 * config.make.in: Likewise.
44139 * configure: Likewise.
44140 * configure.in: Likewise.
44141 * csu/Versions: Likewise.
44142 * csu/init.c: Likewise.
44143 * elf/tst-audit2.c: Likewise.
44144 * elf/tst-tls10.c: Likewise.
44145 * elf/tst-tls10.h: Likewise.
44146 * elf/tst-tls11.c: Likewise.
44147 * elf/tst-tls12.c: Likewise.
44148 * elf/tst-tls14.c: Likewise.
44149 * elf/tst-tlsmod11.c: Likewise.
44150 * elf/tst-tlsmod12.c: Likewise.
44151 * elf/tst-tlsmod13.c: Likewise.
44152 * elf/tst-tlsmod13a.c: Likewise.
44153 * elf/tst-tlsmod14a.c: Likewise.
44154 * elf/tst-tlsmod15b.c: Likewise.
44155 * elf/tst-tlsmod16a.c: Likewise.
44156 * elf/tst-tlsmod16b.c: Likewise.
44157 * elf/tst-tlsmod7.c: Likewise.
44158 * elf/tst-tlsmod8.c: Likewise.
44159 * elf/tst-tlsmod9.c: Likewise.
44160 * gmon/gmon.c: Likewise.
44161 * grp/fgetgrent_r.c: Likewise.
44162 * grp/putgrent.c: Likewise.
44163 * hurd/fopenport.c: Likewise.
44164 * include/libc-symbols.h: Likewise.
44165 * include/tls.h: Likewise.
44166 * intl/gettextP.h: Likewise.
44167 * intl/loadinfo.h: Likewise.
44168 * locale/global-locale.c: Likewise.
44169 * locale/localeinfo.h: Likewise.
44170 * mach/devstream.c: Likewise.
44171 * malloc/arena.c: Likewise.
44172 * malloc/set-freeres.c: Likewise.
44173 * misc/err.c: Likewise.
44174 * misc/getttyent.c: Likewise.
44175 * misc/mntent_r.c: Likewise.
44176 * posix/getopt.c: Likewise.
44177 * posix/wordexp.c: Likewise.
44178 * pwd/fgetpwent_r.c: Likewise.
44179 * resolv/Versions: Likewise.
44180 * resolv/res_hconf.c: Likewise.
44181 * shadow/fgetspent_r.c: Likewise.
44182 * shadow/putspent.c: Likewise.
44183 * stdio-common/printf_fphex.c: Likewise.
44184 * stdio-common/tmpfile.c: Likewise.
44185 * stdlib/abort.c: Likewise.
44186 * stdlib/fmtmsg.c: Likewise.
44187 * sunrpc/auth_unix.c: Likewise.
44188 * sunrpc/clnt_perr.c: Likewise.
44189 * sunrpc/clnt_tcp.c: Likewise.
44190 * sunrpc/clnt_udp.c: Likewise.
44191 * sunrpc/clnt_unix.c: Likewise.
44192 * sunrpc/openchild.c: Likewise.
44193 * sunrpc/svc_simple.c: Likewise.
44194 * sunrpc/svc_tcp.c: Likewise.
44195 * sunrpc/svc_udp.c: Likewise.
44196 * sunrpc/svc_unix.c: Likewise.
44197 * sunrpc/xdr.c: Likewise.
44198 * sunrpc/xdr_array.c: Likewise.
44199 * sunrpc/xdr_rec.c: Likewise.
44200 * sunrpc/xdr_ref.c: Likewise.
44201 * sunrpc/xdr_stdio.c: Likewise.
44203 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44205 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44207 2011-07-03 Andreas Jaeger <aj@suse.de>
44209 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44210 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44211 regenerate with gen-libm-tests.pl.
44213 2010-05-12 Petr Baudis <pasky@suse.cz>
44216 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44217 around j0() zero points by switching to j1().
44218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44219 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44223 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44225 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44227 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44230 Patch in part by Pavel Roskin <proski@gnu.org>.
44233 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44235 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44236 Free memory block if necessary.
44239 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44240 be NULL. Don't lock in this case.
44242 2011-09-09 Roland McGrath <roland@hack.frob.com>
44244 * elf/elf.h (ELFOSABI_GNU): New macro.
44245 (ELFOSABI_LINUX): Define to that.
44247 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44249 * string/strncat.c (strncat): Undef the symbol in case it has been
44250 defined in bits/string.h.
44252 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44254 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44256 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44259 2011-08-17 Andreas Jaeger <aj@suse.de>
44261 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44263 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44264 Ian Lance Taylor <iant@google.com>
44266 * math/libm-test.inc (lround_test): New testcase.
44267 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44269 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44271 * Makefile: Remove support for automatic cvs check-ins.
44272 * Makerules: Likewise.
44273 * config.make.in: Likewise.
44274 * configure.in: Likewise.
44275 * intl/Makefile: Likewise.
44276 * locale/Makefile: Likewise.
44277 * po/Makefile: Likewise.
44278 * posix/Makefile: Likewise.
44279 * sysdeps/gnu/Makefile: Likewise.
44280 * sysdeps/mach/hurd/Makefile: Likewise.
44281 * sysdeps/sparc/sparc32/Makefile: Likewise.
44284 * posix/Makefile (bug-regex32-ENV): Define.
44285 Patch by John Stanley <jpsinthemix@verizon.net>.
44287 * misc/Makefile (headers): Add bits/select2.h.
44288 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44289 * misc/bits/select2.h: New file.
44290 * include/bits/select2.h: New file.
44291 * debug/Makefile (routines): Add fdelt_chk.
44292 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44293 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44295 * debug/fdelt_chk.c: New file.
44297 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44298 * wcsmbs/test-wmemcmp.c: Likewise.
44299 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44300 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44302 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44304 * string/Makefile (strop-tests): Add memcmp.
44305 * string/test-wmemcmp.c: New file.
44306 * string/test-memcmp.c: Add wmemcmp support.
44308 2011-09-08 Roland McGrath <roland@hack.frob.com>
44311 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44314 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44315 garbage value in a __mach_port_mod_refs call in the cases of the
44316 task-self and thread-self ports.
44318 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44320 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44322 2011-09-08 Andreas Schwab <schwab@redhat.com>
44324 * elf/dl-load.c (lose): Check for non-null L.
44326 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44328 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44330 * elf/dl-libc.c (dlerror_run): Pass back error code from
44334 * elf/dl-load.c (lose): Free l_origin if it is valid.
44336 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44338 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44339 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44341 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44342 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44343 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44345 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44347 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44348 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44349 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44350 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44351 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44352 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44353 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44354 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44355 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44356 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44358 2011-08-15 Alan Modra <amodra@gmail.com>
44361 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44362 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44363 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44364 ppc_mcount to static-only-routines.
44365 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44367 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44368 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44370 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44372 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44373 for finite and infinity parameters.
44375 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44378 and add nop instructions for throughput optimization.
44379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44381 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44383 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44384 aligned copy for power7 with vector-scalar instructions.
44385 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44387 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44392 2011-09-07 Andreas Schwab <schwab@redhat.com>
44395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44398 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44400 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44401 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44402 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44403 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44406 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44408 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44409 Forgot to demangle the pointer.
44411 * sysdeps/i386/sysdep.h: Define atom_text_section.
44412 * sysdeps/x86_64/sysdep.h: Likewise.
44413 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44414 section with atom_text_section.
44415 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44416 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44417 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44419 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44421 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44423 already be defined. Change to take two parameters and don't assign
44424 result to variable. Adjust all users.
44425 Define INTERNAL_GETTIME if not already defined.
44426 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44429 HAVE_CLOCK_GETTIME_VSYSCALL.
44430 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44433 gettimeofday vsyscall, just use time.
44435 2011-09-06 Andreas Schwab <schwab@redhat.com>
44437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44440 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44442 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44446 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44448 syscall if possible.
44450 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44452 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44453 e_ident. Don't pass to find_mapsXX.
44454 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44456 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44459 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44460 * sysdeps/x86_64/multiarch/strchr.S: Update.
44461 Check bit_slow_BSF bit.
44462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44463 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44464 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44466 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44469 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44471 (tryshell): Define.
44472 (__spawni): Change last parameter to be flag. Test
44473 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44474 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44475 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44476 * posix/spawni.c: Likewise.
44477 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44478 * posix/spawnp.c: Likewise. Change normal version to use
44479 SPAWN_XFLAGS_USE_PATH.
44480 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44481 SPAWN_XFLAGS_TRY_SHELL.
44484 * posix/glob.h: Remove gcc 1.x support.
44487 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44489 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44492 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44494 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44495 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44496 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44498 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44499 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44501 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44503 * sysdeps/x86_64/wcscmp.S: New file.
44505 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44506 wcscmp-c wcscmp-sse2
44507 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44508 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44509 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44510 * wcsmbs/wcscmp.c: Allow renaming.
44512 2011-09-05 David S. Miller <davem@davemloft.net>
44514 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44515 stack slot, rather than the struct return pointer slot.
44516 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44517 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44519 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44521 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44523 * po/ja.po: Update from translation team.
44526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44527 kernel in 64-bit binaries.
44529 2011-09-01 David S. Miller <davem@davemloft.net>
44531 * elf/elf.h (HWCAP_SPARC_*): Move to..
44532 * sysdeps/sparc/sysdep.h: this new file and add new values.
44533 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44534 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44535 _DL_HWCAP_COUNT to 24.
44536 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44538 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44539 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44540 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44542 instead of magic constants.
44543 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44545 2011-08-31 David S. Miller <davem@davemloft.net>
44547 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44549 Reimplement to do errno handling inline.
44550 (SYSCALL_ERROR_HANDLER): New macro.
44551 (__SYSCALL_STRING): Do not do errno handling in asm.
44552 (__CLONE_SYSCALL_STRING): Delete.
44553 (__INTERNAL_SYSCALL_STRING): Delete.
44554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44555 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44556 (PSEUDO): Reimplement to do errno handling inline.
44557 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44558 (SYSCALL_ERROR_HANDLER): New macro.
44559 (__SYSCALL_STRING): Do not do errno handling in asm.
44560 (__CLONE_SYSCALL_STRING): Delete.
44561 (__INTERNAL_SYSCALL_STRING): Delete.
44562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44563 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44565 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44566 (inline_syscall*): Add 'err' argument.
44567 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44568 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44569 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44570 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44572 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44573 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44575 2011-08-30 Andreas Schwab <schwab@redhat.com>
44577 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44579 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44581 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44584 2011-08-24 David S. Miller <davem@davemloft.net>
44586 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44588 2011-08-24 Andreas Schwab <schwab@redhat.com>
44590 * elf/Makefile: Add rules to build and run unload8 test.
44591 * elf/unload8.c: New file.
44592 * elf/unload8mod1.c: New file.
44593 * elf/unload8mod1x.c: New file.
44594 * elf/unload8mod2.c: New file.
44595 * elf/unload8mod3.c: New file.
44597 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44600 2011-08-23 David S. Miller <davem@davemloft.net>
44602 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44603 subtract stack bias.
44604 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44605 %sp not %fp in calculations.
44606 (_JMPBUF_UNWINDS_ADJ): Likewise.
44608 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44609 (aio_suspend): Call it to force an exception region around the
44610 AIO_MISC_WAIT() invocation.
44612 2011-08-23 Andreas Schwab <schwab@redhat.com>
44614 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44617 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44619 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44621 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44622 and <dl-machine.h>.
44623 (Elf64_FuncDesc): Remove.
44625 2011-08-22 David S. Miller <davem@davemloft.net>
44627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44628 sigaltstack check, add missing cfi directives.
44629 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44630 missing cfi directives, and sigaltstack handling.
44632 2011-08-16 Andreas Schwab <schwab@redhat.com>
44635 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44636 object is seen twice.
44637 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44639 * elf/Makefile (distribute): Add tst-initorder2.c.
44640 (tests): Add tst-initorder2.
44641 (modules-names): Add tst-initorder2a tst-initorder2b
44642 tst-initorder2c tst-initorder2d. Add rules to build them.
44643 ($(objpfx)tst-initorder2.out): New rule.
44644 * elf/tst-initorder2.c: New file.
44645 * elf/tst-initorder2.exp: New file.
44647 2011-08-22 Andreas Schwab <schwab@redhat.com>
44649 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44651 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44652 dependencies back to end of function.
44654 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44655 $(elfobjdir)/ld.so.
44657 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44660 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44662 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44663 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44664 of __vdso_gettimeofday.
44665 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44666 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44668 (_libc_vdso_platform_setup): Remove initialization of
44669 __vdso_gettimeofday and __vdso_time.
44671 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44673 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44674 and fgetc_unlocked.
44675 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44678 * elf/dl-open.c (add_to_global): Report additions to the global scope
44679 for LD_DEBUG=scopes.
44680 (dl_open_worker): Also print scope of newly loaded dependencies.
44681 (_dl_show_scope): Indicate if there is no scope.
44684 * stdio-common/Makefile (tests): Add bug24.
44685 * stdio-common/bug24.c: New file.
44687 2011-08-19 Andreas Jaeger <aj@suse.de>
44690 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44691 non-existant file when using close-on-exec mode.
44693 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44696 the very first instruction.
44698 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44699 the CFI state in the end.
44700 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44701 inclusion of dl-trampoline.h.
44702 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44704 2011-08-19 Andreas Schwab <schwab@redhat.com>
44706 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44707 expectations for long double.
44709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44710 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44712 2011-08-14 David S. Miller <davem@davemloft.net>
44714 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44715 artificual limit depends upon the system page size.
44717 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44719 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44720 * resolv/Makefile: Define CFLAGS-libresolv.
44722 2011-08-17 Andreas Schwab <schwab@redhat.com>
44724 * nss/makedb.c (compute_tables): Make variables used in nested
44727 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44729 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44730 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44731 if buffer was too small.
44733 * elf/pldd.c (main): Attach to all threads in the process.
44734 Rewrite /proc handling to use *at functions.
44736 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44738 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44739 specifies first scope to show.
44740 (dl_open_worker): Update callers. Move printing scope of new
44741 object to before the relocation.
44742 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44743 * sysdeps/generic/ldsodefs.h: Update declaration.
44745 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44746 string for the scope number.
44748 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44750 * nscd/servicescache.c (cache_addserv): Make sure written is always
44753 2011-08-14 Roland McGrath <roland@hack.frob.com>
44755 * sysdeps/i386/i486/bits/atomic.h
44756 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44757 statement expression, so as to suppress "set but not used" warning.
44758 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44760 * string/strncat.c (STRNCAT): Use prototype definition.
44762 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44763 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44765 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44766 (localedef-modules): Add localedef.
44767 (locale-modules): Add locale.
44769 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44770 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44771 to avoid a warning.
44773 2011-08-14 David S. Miller <davem@davemloft.net>
44775 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44776 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44778 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44780 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44781 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44782 * elf/rtld.c (dl_main): Set l_name of vDSO.
44783 Call _dl_show_scope when DL_DEBUG_SCOPES.
44784 (process_dl_debug): Recognize scopes flag and also set it for all.
44785 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44786 Declare _dl_show_scope.
44788 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44789 (do_dlopen): Pass caller_dlopen to dl_open.
44790 (__libc_dlopen_mode): Initialize caller_dlopen.
44792 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44793 of libc. Make tolower call locale-independent. Optimize a bit by
44794 using isdigit instead of isalnum.
44795 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44797 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44799 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44800 was a dependency or dynamically loaded.
44802 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44804 * intl/l10nflist.c: Allow architecture-specific pop function.
44805 * sysdeps/x86_64/l10nflist.c: New file.
44807 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44810 2011-08-10 Andreas Schwab <schwab@redhat.com>
44812 * include/dirent.h: Add libc_hidden_proto for scandirat and
44813 scandirat64. Don't declare __scandirat64.
44814 * dirent/scandirat.c: Add libc_hidden_def.
44815 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44816 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44818 2011-08-10 David S. Miller <davem@davemloft.net>
44820 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44826 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44828 * Versions.def [libc]: Add GLIBC_2.15.
44829 * dirent/Makefile (routines): Add scandirat and scandirat64.
44830 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44832 * dirent/dirent.h: Declare scandirat and scandirat64.
44833 * dirent/scandirat.c: New file.
44834 * dirent/scandirat64.c: New file.
44835 * sysdeps/wordsize-64/scandirat.c: New file.
44836 * sysdeps/wordsize-64/scandirat64.c: New file.
44837 * dirent/opendir.c: Define opendirat.
44838 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44840 * dirent/scandir64.c: Adjust for scandir.c change.
44841 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44842 __scandirat64, and __scandir_cancel_handler.
44843 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44844 additional parameter and use openat instead of open (outside of ld.so).
44845 Add new __opendir as wrapper around __opendirat.
44846 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44847 here without requiring old scandirat implementation.
44849 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44851 * dirent/scandir.c (cancel_handler): Renamed to
44852 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44853 defined. Adjust users.
44854 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44855 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44857 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44859 * string/test-string.h (IMPL): Use __STRING to expand name and then
44862 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44865 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44867 * string/Makefile: Update.
44868 (strop-tests): Append strncat.
44869 * string/test-wcscmp.c: New file.
44870 New comprehensive test for wcscmp.
44871 * string/test-strcmp.c: Update.
44872 (WIDE): New define.
44874 2011-07-22 Andreas Schwab <schwab@redhat.com>
44876 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44879 2011-07-26 Andreas Schwab <schwab@redhat.com>
44881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44882 encoding to ACE if AI_IDN.
44884 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44887 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44889 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44891 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44892 Fix overflow bug in strncat.
44893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44895 * string/test-strncat.c: Update.
44896 Add new tests for checking overflow bugs.
44898 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44901 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44902 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44903 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44904 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44905 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44906 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44907 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44908 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44911 (USE_AS_STRCAT): Define.
44912 Add strcat and strncat support.
44913 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44915 2011-07-25 Andreas Schwab <schwab@redhat.com>
44917 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44918 __n bigger than INT_MAX+1.
44919 (__strncmp_g): Likewise.
44921 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44923 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44924 * libio/stido.h: Likewise.
44926 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44931 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44934 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44938 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44943 (_dl_x86_64_save_sse): Likewise.
44945 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44949 (_dl_x86_64_save_sse): Likewise.
44951 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44953 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44955 2011-07-21 Andreas Schwab <schwab@redhat.com>
44957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44959 (_dl_x86_64_save_sse): Use correct AVX check.
44961 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44963 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44964 bug in strncpy/strncat.
44965 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44967 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44969 * string/tester.c (test_strcat): Add tests for different alignments
44970 of source and destination.
44971 (test_strncat): Likewise.
44973 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44976 * posix/glob.c (glob): Check passed in values before using them in
44977 expressions to avoid some overflows.
44978 (glob_in_dir): Likewise.
44981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44982 check for AVX enablement so that we don't crash with old kernels and
44984 * elf/tst-audit4.c: Add same checks here.
44985 * elf/tst-audit6.c: Likewise.
44987 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44989 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44991 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44993 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44995 * po/cs.po: Update from translation team.
44996 * po/bg.po: Likewise.
44998 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45000 * misc/sys/cdefs.h: Add support for const attribute.
45001 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45002 to gnu_dev_{major,minor,makedev} functions.
45004 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45006 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45008 2011-07-20 Andreas Schwab <schwab@redhat.com>
45010 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45013 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45015 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45016 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45017 register in order to avoid conflicts with the soft frame pointer
45018 being held in r11 when necessary.
45019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45020 (INTERNAL_VSYSCALL_NCS): Likewise.
45022 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45024 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45025 * elf/dl-fini.c (_dl_fini): Adjust caller.
45026 * elf/dl-close.c (_dl_close_worker): Likewise.
45027 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45029 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45031 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45032 "aux_cache->nlibs < 0".
45034 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45035 in the reload-count case.
45037 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45040 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45041 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45043 * sysdeps/x86_64/multiarch/strcat.S: New file.
45044 * sysdeps/x86_64/multiarch/strncat.S: New file.
45045 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45046 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45047 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45048 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45050 (USE_AS_STRCAT): Define.
45051 Add strcat and strncat support.
45052 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45054 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45055 * string/strncat.c: Update.
45056 (USE_AS_STRNCAT): Define.
45057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45058 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45060 * sysdeps/x86_64/multiarch/init-arch.h
45061 (bit_Prefer_PMINUB_for_stringop): New.
45062 (index_Prefer_PMINUB_for_stringop): Likewise.
45063 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45064 bit_Prefer_PMINUB_for_stringop.
45066 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45068 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45070 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45071 of casting of buffer.
45072 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45073 buffer32 and buffer64.
45074 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45075 writes instead of casting of buffer.
45076 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45078 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45081 2011-07-19 Andreas Schwab <schwab@redhat.com>
45083 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45085 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45087 * nscd/nscd.c (termination_handler): Don't do anything for a database
45088 if it has not yet been initialized.
45090 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45092 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45094 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45096 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45098 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45100 * po/nl.po: Update from translation team.
45101 * po/sv.po: Likewise.
45103 2011-07-16 Roland McGrath <roland@hack.frob.com>
45105 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45106 now disallowed by GCC.
45108 * configure.in (use-default-link): Default to yes if a test -shared
45109 link meets our qualifications.
45110 * configure: Regenerated.
45112 * config.make.in (output-format): New variable.
45113 * configure.in: Check for ld --print-output-format support.
45114 * configure: Regenerated.
45115 * Makerules ($(common-objpfx)format.lds)
45116 [$(output-format) != unknown]: Just use $(output-format),
45117 instead of the linker-script munging.
45119 2011-07-14 Roland McGrath <roland@hack.frob.com>
45121 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45122 of $(common-objpfx)shlib.lds.
45123 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45125 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45126 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45128 * configure.in (-z relro check): Adjust test code to add a large
45129 writable data section after it.
45130 * configure: Regenerated.
45132 2011-07-11 Roland McGrath <roland@hack.frob.com>
45134 * configure.in (-z relro check): Fix test code to make the variable
45136 * configure: Regenerated.
45138 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45140 * nscd/nscd.h (struct traced_file): Define.
45141 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45142 elements. Add traced_files.
45143 (inotify_fd): Declare.
45144 (register_traced_file): Declare.
45145 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45146 (inotify_fd): Export.
45147 (resolv_conf_descr): Remove.
45148 (nscd_init): Move inotify descriptor creation to main.
45149 Don't register files for notification here.
45150 (register_traced_file): New function.
45151 (invalidate_cache): Don't use reset_res to determine whether to call
45152 res_init, go through the list of registered files.
45153 (main_loop_poll): The inotify descriptors are now stored in the
45154 structures for the traced files.
45155 (main_loop_epoll): Likewise
45156 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45157 to __nss_disable_nscd.
45158 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45159 for a database anymore. Check the records for all the registered
45161 * nss/Makefile (libnss_files-routines): Add files-init.
45162 (libnss_db-routines): Add db-init.
45163 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45164 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45165 * nss/nss_db/db-init.c: New file.
45166 * nss/nss_files/files-init.c: New file.
45167 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45168 __nss_lookup_function.
45169 (__nss_lookup_function): Call nss_load_library.
45170 (nss_load_all_libraries): New function.
45171 (__nss_disable_nscd): Take parameter with callback function for files
45172 to register. Set is_nscd. Load all the DSOs for the NSS modules
45173 used for the cached services.
45174 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45175 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45176 options for features to all the files in nscd.
45178 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45180 2011-07-10 Roland McGrath <roland@hack.frob.com>
45182 * csu/elf-init.c (__libc_csu_init): Comment typo.
45184 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45186 * po/pl.po: Update from translation team.
45187 * po/ja.po: Likewise.
45188 * po/ru.po: Likewise.
45189 * po/ko.po: Likewise.
45190 * po/fr.po: Likewise.
45192 2011-07-09 Roland McGrath <roland@hack.frob.com>
45194 * configure.in (.ctors/.dtors header and trailer check):
45195 Use an empirical test on a built program.
45196 * configure: Regenerated.
45198 * configure.in (-z relro check): Use an empirical test on a built DSO.
45199 Detect, but do not require, on ia64.
45200 * configure: Regenerated.
45202 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45203 Update tests that use readelf to use $READELF instead.
45204 * configure: Regenerated.
45206 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45208 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45209 if the result is not used.
45211 2011-07-05 Andreas Jaeger <aj@suse.de>
45214 * stdlib/tst-strtod.c: Add testcase.
45216 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45218 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45219 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45220 The latter has a higher limit. Take additional parameter to pass to
45222 (__pathconf): Pass file to __statfs_link_max.
45223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45225 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45229 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45230 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45232 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45233 (__statfs_filesize_max): Likewise.
45234 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45236 2011-07-05 Andreas Jaeger <aj@suse.de>
45238 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45240 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45242 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45244 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45247 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45249 * Makefile (strop-tests): Add strncat.
45250 * string/test-strncat.c: New file.
45252 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45254 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45256 2011-06-21 Andreas Jaeger <aj@suse.de>
45258 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45259 Copy rule from iconvdata/Makefile.
45261 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45264 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45265 but no long options are defined, just return 'W'.
45267 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45270 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45272 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45274 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45276 (innetgr): Likewise.
45278 2011-07-05 Roland McGrath <roland@hack.frob.com>
45280 * config.make.in (install_root): Default to $(DESTDIR).
45282 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45284 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45286 2011-07-02 Roland McGrath <roland@hack.frob.com>
45288 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45290 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45291 containing directory rather than embedding absolute directory names.
45293 * scripts/check-local-headers.sh: Rewritten using awk.
45294 Match by word, not by line. Print error messages for matches.
45295 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45297 * Makerules [shlib-lds-flags empty]:
45298 ($(common-objpfx)libc_pic.opts): New target.
45299 ($(common-objpfx)libc_pic.os.clean): New target.
45300 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45302 * config.make.in (OBJCOPY): New variable.
45303 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45304 * configure: Regenerated.
45306 * config.make.in (use-default-link): New variable.
45307 * configure.in (use_default_link): Grok --with-default-link to set it.
45308 * configure: Regenerated.
45309 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45310 (shlib-lds, shlib-lds-flags): Define to empty.
45312 * Makerules (shlib-lds): New variable.
45313 (shlib-lds-flags): New variable.
45314 (build-shlib, build-moduile, build-module-asneeded): Use it.
45315 ($(common-objpfx)libc.so): Use $(shlib-lds).
45316 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45317 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45319 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45320 DT_FLAGS/DT_FLAGS_1 with zero flags.
45322 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45323 linker script munging.
45325 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45327 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45329 * crypt/sha512.c (sha512_process_block): Perform total addition using
45330 128-bit if possible.
45331 (__sha512_finish_ctx): Likewise.
45332 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45334 * crypt/sha256.c (SWAP64): Define.
45335 (sha256_process_block): Perform total addition using 64-bit if
45337 (__sha256_finish_ctx): Likewise.
45339 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45341 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45343 * nscd/hstcache.c (cache_addhst): Likewise.
45344 * nscd/grpcache.c (cache_addgr): Likewise.
45345 * nscd/aicache.c (addhstaiX): Likewise
45346 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45348 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45350 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45352 * nscd/hstcache.c (cache_addhst): Likewise.
45353 * nscd/grpcache.c (cache_addgr): Likewise.
45354 * nscd/aicache.c (addhstaiX): Likewise
45356 2011-07-01 Andreas Schwab <schwab@redhat.com>
45358 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45359 domain only when needed.
45361 2011-06-30 Andreas Schwab <schwab@redhat.com>
45363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45364 is always restored.
45366 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45368 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45369 are re-adding the entry.
45370 * nscd/servicescache.c (cache_addserv): Likewise.
45372 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45374 * sysdeps/generic/dl-irel.h: fix protection against multiple
45376 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45378 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45381 * malloc/memusage.sh: Fix quoting in message.
45382 * debug/xtrace.sh: Likewise.
45384 * configure.in: Remove support for --experimental-malloc option, make
45386 * config.make.in: Likewise.
45387 * malloc/Makefile: Likewise.
45389 2011-06-27 Andreas Schwab <schwab@redhat.com>
45391 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45392 two-byte characters.
45394 2011-06-27 Roland McGrath <roland@hack.frob.com>
45396 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45397 AC_CACHE_CHECK invocation.
45398 * configure: Regenerated.
45400 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45402 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45405 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45406 bit from old_res_options.
45408 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45410 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45411 value type for setfct.
45413 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45416 __gettimeofday instead of gettimeofday.
45418 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45420 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45422 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45429 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45432 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45433 strcpy-sse2-unaligned strncpy-sse2-unaligned
45434 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45435 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45436 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45437 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45438 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45441 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45442 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45443 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45444 (STRCPY): Support SSE2 and SSSE3 versions.
45446 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45449 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45450 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45451 kernels which artificially limit size of requests.
45453 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45456 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45457 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45458 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45459 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45460 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45461 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45462 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45465 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45466 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45467 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45468 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45469 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45471 Enable unaligned load optimization for Intel Core i3, i5 and i7
45473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45475 (index_Fast_Unaligned_Load): Define.
45476 (HAS_FAST_UNALIGNED_LOAD): Define.
45478 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45480 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45482 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45486 until it is clear that the information is realy needed.
45487 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45489 2011-06-22 Andreas Schwab <schwab@redhat.com>
45491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45493 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45496 /sys/devices/system/cpu/online if it is usable.
45498 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45499 reading the information from the /proc filesystem to once a second.
45501 2011-06-21 Andreas Jaeger <aj@suse.de>
45503 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45504 NULL after inclusion of kernel headers.
45506 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45508 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45509 calls to internal_setent.
45512 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45513 addresses using gethostbyname4_r ignore IPv4 addresses.
45515 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45516 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45518 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45520 2011-06-20 David S. Miller <davem@davemloft.net>
45522 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45524 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45526 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45527 (elf_irel): Use it.
45528 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45529 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45530 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45531 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45532 * sysdeps/x86_64/dl-irel.h: Likewise.
45534 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45535 * elf/dl-sym.c: Likewise.
45537 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45539 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45540 need to dereference resplen2.
45542 2011-06-14 Andreas Schwab <schwab@redhat.com>
45544 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45546 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45548 * Makeconfig: Define vardbdir and inst_vardbdir.
45549 * nss/Makefile: Add rules to install db-Makefile.
45551 * nss/nss_db/db-XXX.c: Cleanup.
45553 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45554 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45556 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45557 * nss/makedb.c: Implement -g option to specify that value strings
45558 are generated and should not be added to table iterated over for
45560 * nss/nss_db/db-initgroups.c: New file.
45562 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45565 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45566 (internal_getgrouplist): Adjust to name change.
45567 Update use_initgroups_entry if this is not the first call.
45568 * nss/databases.def: Add initgroups entry.
45570 * nss/makedb.c (compute_tables): Check result of multiple hash table
45571 sizes to minimize maximum chain length.
45573 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45575 * Versions.def: Add entry for libnss_db.
45576 * shlib-versions: Likewise.
45577 * nss/Makefile: Add rules to build libnss_db.
45578 * nss/Versions: Add libnss_db information. Organize libnss_files
45580 * nss/db-Makefile: Add gshadow support. Change rules for the new
45581 makedb progra. Some minor improvements to generate smaller files.
45582 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45584 * nss/makedb.c: ...here.
45585 Improve database format to be smaller and require less memory at
45587 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45589 * nss/nss_db/db-netgrp.c: Likewise.
45590 * nss/nss_db/db-open.c: Likewise.
45591 * nss/nss_files/flies-XXX.x: Adjust comments.
45592 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45593 * nss/nss_files/files-grp.c: Likewise.
45594 * nss/nss_files/files-hosts.c: Likewise.
45595 * nss/nss_files/files-network.c: Likewise.
45596 * nss/nss_files/files-proto.c: Likewise.
45597 * nss/nss_files/files-pwd.c: Likewise.
45598 * nss/nss_files/files-rpc.c: Likewise.
45599 * nss/nss_files/files-service.c: Likewise.
45600 * nss/nss_files/files-sgrp.c: Likewise.
45601 * nss/nss_files/files-spwd.c: Likewise.
45602 * nss/nss_db/db-alias.c: Removed.
45603 * nss/nss_db/dummy-db.h: Removed.
45605 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45607 * nss/makedb.c: Rewritten to not use database library.
45608 * nss/Makefile: Update to build new makedb program.
45610 2011-06-14 Andreas Jaeger <aj@suse.de>
45612 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45613 memset declaration.
45615 2011-06-10 Andreas Schwab <schwab@redhat.com>
45617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45620 2011-06-10 Roland McGrath <roland@hack.frob.com>
45622 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45623 * elf/Makefile ($(objpfx)ld.so): Likewise.
45625 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45626 Don't list ld.so twice in dependencies.
45628 * posix/bug-regex31.c: Include <stdlib.h>.
45630 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45632 * nis/nss_compat/compat-spwd.c
45633 (getspent_next_nss_netgr): Remove unused variable.
45634 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45636 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45637 nonmembers" output to use the right array.
45639 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45641 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45643 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45644 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45645 * catgets/gencat.c (read_input_file): Likewise.
45646 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45648 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45649 variable definition inside #if's controlling its use.
45651 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45653 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45655 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45657 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45660 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45662 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45663 * configure: Regenerated.
45665 * Makerules: Revert last change.
45666 * elf/Makefile: Likewise.
45668 2011-06-09 Roland McGrath <roland@hack.frob.com>
45670 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45671 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45672 (reloc-link): Likewise.
45674 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45676 * elf/Makefile: Add rules to build pldd.
45677 * elf/pldd.c: New file.
45678 * elf/pldd-xx.c: New file.
45680 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45682 * version.h: Update for 2.15 development version.
45684 2011-06-07 David S. Miller <davem@davemloft.net>
45686 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45689 elf_machine_lazy_rel): Likewise.
45690 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45691 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45692 elf_machine_lazy_rel): Likewise.
45693 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45694 dl_hwcap via passed in argument.
45695 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45698 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45700 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45702 2011-06-06 Roland McGrath <roland@hack.frob.com>
45705 * manual/fdl-1.1.texi: New file, verbatim from:
45706 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45707 * manual/lgpl-2.1.texi: New file, verbatim from:
45708 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45709 * manual/Makefile (licenses): New variable, list those new file names.
45711 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45713 * manual/fdl.texi: File removed.
45714 * manual/lesser.texi: File removed.
45715 * manual/libc.texinfo (Copying, Documentation License):
45716 Use new @include file names, put @appendix directive before @include.
45718 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45721 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45722 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45723 (mq_open): Add __NTH.
45725 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45728 Assume Intel Core i3/i5/i7 processor if AVX is available.
45730 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45735 2011-05-31 Andreas Schwab <schwab@redhat.com>
45737 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45738 memory. Use alloca_account. Fix memory leak when retrying.
45740 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45742 * version.h (RELEASE): Bump for 2.14 release.
45743 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45745 * config.make.in (RANLIB): Remove entry.
45747 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45749 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45750 (libc.pot): Work around missing support for .ksh extension in xgettext.
45753 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45754 if both request failed.
45755 (send_dg): In case of server errors clear resplen or *resplen2.
45758 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45759 when there are multiple maps.
45760 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45761 (_dl_fini): Remove test here.
45763 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45765 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45768 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45769 bit from old_res_options.
45770 (gaih_inet): Likewise.
45773 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45776 * resolv/res_init.c (res_setoptions): Make the code more compact.
45779 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45783 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45785 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45788 * malloc/malloc.h: Declare malloc hook variables as volatile.
45790 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45794 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45795 raise in the comment.
45796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45798 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45800 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45803 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45804 grow the buffers more if it already has to be sufficient.
45805 (build_wcs_upper_buffer): Likewise.
45806 * posix/regexec.c (check_matching): Likewise.
45807 (clean_state_log_if_needed): Likewise.
45808 (extend_buffers): Don't enlarge buffers beyond size of the input
45810 Patches mostly by Emil Wojak <emil@wojak.eu>.
45811 * posix/bug-regex32.c: New file.
45812 * posix/Makefile (tests): Add bug-regex32.
45814 * locale/findlocale.c (_nl_find_locale): Return right away if
45815 _nl_explode_name failed.
45816 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45820 * debug/xtrace.sh: Unify messages.
45821 * malloc/memusage.sh: Likewise.
45824 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45825 time symbol from vDSO. Substitute with vsyscall if not available.
45826 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45829 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45830 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45831 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45832 Add sendmmsg and internal_sendmmsg.
45833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45834 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45837 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45838 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45839 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45841 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45844 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45845 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45847 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45851 * iconvdata/Makefile (tests): Add bug-iconv9.
45852 * iconvdata/bug-iconv9.c: New file.
45854 2011-05-27 Andreas Schwab <schwab@redhat.com>
45857 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45859 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45861 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45862 (struct user_regs_struct): Change intcs field back to cs.
45864 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45866 * po/ja.po: Update from translation team.
45868 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45871 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45872 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45874 2011-05-20 Andreas Schwab <schwab@redhat.com>
45876 * stdlib/longlong.h: Update from GCC.
45878 2011-05-23 Andreas Schwab <schwab@redhat.com>
45880 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45882 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45883 Add parameter name.
45884 (__sysconf): Pass it down.
45886 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45889 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45891 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45892 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45893 add in in __libc_use_alloca calls. Adjust callers.
45894 (glob): Use malloc in some situations.
45896 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45897 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45900 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45902 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45903 and CLOCK_BOOTTIME_ALARM.
45906 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45909 * string/_strerror.c (__strerror_r): Print negative errors as signed
45913 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45914 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45915 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45917 * configure.in: Fix typo in redirection and correct removal of test
45918 files in two cases.
45921 * locale/setlocale.c (new_composite_name): Fix test to check for
45922 identical name of all categories.
45925 * libio/filedoalloc.c (local_isatty): New function.
45926 (_IO_file_doallocate): Use local_isatty.
45927 * stdio-common/perror.c (perror): In case a new stream is used
45928 forward the stream error.
45929 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45932 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45937 * include/alloca.h (extend_alloca_account): Define.
45940 * posix/regex.h: Fix comments with documentation of user-accessible
45941 fields after compilation and describe correct free'ing of pattern
45942 after re_compile_pattern.
45943 Patch by Reuben Thomas <rrt@sc3d.org>.
45945 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45947 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45948 and -mno-altivec to prevent the compiler from using Altivec and/or
45949 VSX instructions when the corresponding registers are not available.
45951 2011-05-19 Andreas Schwab <schwab@redhat.com>
45953 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45955 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45957 * libio/freopen.c (freopen): Use __dup2, not dup2.
45958 * libio/freopen64.c (freopen64): Likewise.
45960 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45963 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45964 * math/Makefile (tests): Add test-powl.
45965 (CFLAGS-test-powl.c): Define.
45966 * math/test-powl.c: New file.
45968 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45970 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45972 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45975 * iconvdata/gb18030.c: Update to GB18020-2005.
45977 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45979 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45980 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45981 Patch by Aharon Robbins <arnold@skeeve.com>.
45984 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45988 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45989 through underflows.
45992 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45993 point to strings before performing equality test for error_one_per_line
45997 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46001 (struct user_fpregs_struct): Avoid __uint*_t types.
46004 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46005 symbol info. Use it instead of calling _dl_addr locally.
46006 (lock_and_info): New function.
46007 (tr_freehook): Call lock_and_info and pass symbol info as additional
46008 parameter to tr_where.
46009 (tr_mallochook): Likewise.
46010 (tr_reallochook): Likewise.
46011 (tr_memalignhook): Likewise.
46013 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46014 used and couldn't be at all thread-safe.
46016 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46018 * libio/freopen.c (freopen): Don't close old file descriptor
46019 before the new one is opened. Instead dup the new file descriptor
46020 to the old one after the new stream is created.
46021 * libio/freopen64.c (freopen64): Likewise.
46022 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46023 * libio/fileops.c (_IO_new_file_close_it): Handle new
46024 _IO_FLAGS2_NOCLOSE flag.
46025 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46026 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46027 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46028 _IO_FLAGS2_NOCLOSE flag.
46029 * include/unistd.h: Add hidden_proto for dup3.
46030 Define __have_dup3.
46031 * io/dup3.c: Define hidden symbol.
46032 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46035 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46036 when an incomplete long option is used.
46037 * posix/tst-getopt_long1.c: New file.
46038 * posix/Makefile (tests): Add tst-getopt_long1.
46041 * scripts/config.guess: Update from autoconf-2.68.
46042 * scripts/config.sub: Likewise.
46045 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46047 (has_cpuclock): ...this. New function.
46048 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46049 macro here based on has_cpuclock code.
46052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46053 First byte (not low byte) is now always NUL.
46054 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46057 Use non-cancelable interfaces.
46060 * locale/iso-639.def: Add entry for Sorani.
46063 * include/stdlib.h: Move include protection to the right place.
46064 Define abort_msg_s. Declare __abort_msg with it.
46065 * stdlib/abort.c (__abort_msg): Adjust type.
46066 * assert/assert.c (__assert_fail_base): New function. Majority
46067 of code from __assert_fail. Allocate memory for __abort_msg with
46069 (__assert_fail): Now call __assert_fail_base.
46070 * assert/assert-perr.c: Remove bulk of implementation. Use
46071 __assert_fail_base.
46072 * include/assert.hL Declare __assert_fail_base.
46073 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46075 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46077 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46081 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46082 until all modules are registered in the DTV.
46083 * elf/Makefile: Add rules to build and run tst-tls19.
46084 * elf/tst-tls19.c: New file.
46085 * elf/tst-tls19mod1.c: New file.
46086 * elf/tst-tls19mod2.c: New file.
46087 * elf/tst-tls19mod3.c: New file.
46088 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46091 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46095 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46096 two-byte sequence errors.
46097 * iconvdata/Makefile (tests): Add bug-iconv8.
46098 * iconvdata/bug-iconv8.c: New file.
46101 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46104 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46107 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46108 (dummy_getcfa): New function.
46109 (init): Get _Unwind_GetCFA address, use dummy if not found.
46110 (backtrace_helper): In recursion check, also check whether CFA changes.
46111 (__backtrace): Completely initialize arg.
46113 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46114 storing incomplete byte sequence in state object. Avoid testing for
46115 guaranteed too small input if we know there is enough data available.
46117 2011-05-11 Andreas Schwab <schwab@redhat.com>
46119 * Makeconfig (+link-pie): Indent.
46120 * Rules (binaries-pie): Define if $(have-fpie) and
46122 (binaries-shared): Also filter out $(binaries-pie).
46123 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46124 * nscd/Makefile (others-pie): Add nscd.
46125 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46126 ($(objpfx)nscd): Remove command override.
46127 * login/Makefile (others-pie): Add pt_chown.
46128 ($(objpfx)pt_chown): Remove command override.
46129 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46130 remove command overrides.
46132 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46134 * libio/tst_putwc.c: Fix error messages.
46137 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46138 currently writing and seek to current position when not.
46139 * libio/Makefile (tests): Add bug-fclose1.
46140 * libio/bug-fclose1.c: New file.
46142 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46145 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46146 don't set DF_1_NODELETE here.
46147 (do_lookup_x): When entering new entry test for copy relocation
46148 and if necessary set DF_1_NODELETE flag.
46149 * elf/tst-unique4.cc: New file.
46150 * elf/tst-unique4.h: New file.
46151 * elf/tst-unique4lib.cc: New file.
46152 * elf/Makefile: Add rules to build and run tst-unique4.
46153 Patch by Piotr Bury <pbury@goahead.com>.
46155 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46158 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46161 * misc/mntent_r.c (addmntent): Flush the stream after the output
46164 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46165 (is_trusted_path_normalize): Skip initial colon. Append slash
46166 to empty buffer. Duplicate is_trusted_path code but allow
46167 constructed patch to be prefix.
46168 (is_dst): Allow $ORIGIN followed by /.
46169 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46170 Correct testing of result of is_trusted_path_normalize
46171 (decompose_rpath): Fix warning.
46173 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46176 * grp/initgroups.c (internal_getgrouplist): When we found the service
46177 list through the initgroups entry in nsswitch.conf do not always
46178 continue on a successful lookup. Don't always use the
46179 __nss_group_database value if it is set.
46180 * nss/nsswitch.conf (initgroups): Change action for successful db
46181 lookup to continue for compatibility.
46183 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46186 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46188 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46190 * iconvdata/tst-tables.sh: Likewise.
46191 * iconvdata/cp770.c: New file.
46192 * iconvdata/cp771.c: New file.
46193 * iconvdata/cp772.c: New file.
46194 * iconvdata/cp773.c: New file.
46195 * iconvdata/cp774.c: New file.
46196 * iconvdata/testdata/CP770: New file.
46197 * iconvdata/testdata/CP770..UTF8: New file.
46198 * iconvdata/testdata/CP771: New file.
46199 * iconvdata/testdata/CP771..UTF8: New file.
46200 * iconvdata/testdata/CP772: New file.
46201 * iconvdata/testdata/CP772..UTF8: New file.
46202 * iconvdata/testdata/CP773: New file.
46203 * iconvdata/testdata/CP773..UTF8: New file.
46204 * iconvdata/testdata/CP774: New file.
46205 * iconvdata/testdata/CP774..UTF8: New file.
46207 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46209 * iconvdata/gen-8bit-gap.sh: Likewise.
46210 * iconvdata/gen-8bit.sh: Likewise.
46212 * locale/iso-639.def: Add ary entry.
46215 * locale/C-translit.h.in: Add U20A1 transliteration.
46218 * locale/iso-639.def: Add wae entry.
46219 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46222 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46226 * locale/C-translit.h.in: Add entry for U20B9.
46227 Patch by pravin.d.s@gmail.com.
46229 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46232 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46233 ENAMETOOLONG use generic getcwd.
46234 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46235 in rtld. Use *stat64.
46236 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46237 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46238 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46239 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46240 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46241 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46242 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46243 __fstatat64 macros.
46244 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46245 * dirent/rewinddir.c: Add libc_hidden_def.
46246 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46247 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46249 * include/dirent.h (__alloc_dir): Add flags parameter.
46250 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46251 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46253 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46254 from fdopendir if O_CLOEXEC is already set.
46256 2011-03-15 Alan Modra <amodra@gmail.com>
46258 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46259 l_tls_firstbyte_offset non-zero. Save padding offset in
46260 l_tls_firstbyte_offset for later use.
46261 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46262 freeing static tls block.
46264 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46266 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46267 where #ifdef was intended. The intent is to prevent ARG_MAX from
46268 being defined by the kernel headers.
46270 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46273 * resolv/resolv.h: Define RES_NOTLDQUERY.
46274 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46275 no-tld-query and set RES_NOTLDQUERY.
46276 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46277 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46278 modern BIND to search name as TLD unless forbidden.
46280 2011-05-07 Petr Baudis <pasky@suse.cz>
46281 Ulrich Drepper <drepper@gmail.com>
46284 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46285 (is_trusted_path): ...to here.
46286 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46287 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46288 using is_trusted_path_normalize() in setuid scripts.
46290 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46292 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46293 __BEGIN/__END_DECLS.
46295 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46298 NSS_STATUS_NOTFOUND if no record was found.
46300 2011-05-05 Andreas Schwab <schwab@redhat.com>
46302 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46303 (headers-not-in-tirpc): Remove rpc/netdb.h
46304 * resolv/netdb.h: Revert last change.
46306 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46308 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46309 circular dependency between libgcc.a and libc.a.
46311 2011-05-05 Andreas Schwab <schwab@redhat.com>
46313 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46314 * nis/Makefile: Don't install rpcsvc/*.
46315 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46316 instead of <rpc/types.h>.
46317 (MAXHOSTNAMELEN): Define.
46319 2011-05-03 Andreas Schwab <schwab@redhat.com>
46321 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46323 2011-04-28 Maciej Babinski <mbabinski@google.com>
46326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46327 gethostbyname4_r when IPv6 results are possible.
46329 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46332 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46333 _PC_PIPE_BUF handling.
46335 2011-04-30 Bruno Haible <bruno@clisp.org>
46338 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46339 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46341 * inet/getnameinfo.c (getnameinfo): Likewise.
46343 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46345 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46346 to groups setting in database lookup.
46347 * nss/nsswitch.conf: Add initgroups entry.
46349 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46352 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46354 Patch by Eric Blake <eblake@redhat.com>.
46356 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46358 * sunrpc/Makefile (need-export-routines): Add svc_run.
46359 (routines): Remove svc_run.
46360 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46361 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46362 * sunrpc/svc_run.c (svc_run): Likewise.
46363 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46365 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46367 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46368 problem in reallocation in last patch.
46370 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46372 * sunrpc/Makefile: Move inclusion of Rules.
46374 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46376 * nss/nss_files/files-initgroups.c: New file.
46377 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46378 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46379 _nss_files_initgroups_dyn.
46381 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46383 * elf/elf.h (R_ARM_IRELATIVE): Define.
46385 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46387 * po/ru.po: Update from translation team.
46389 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46391 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46394 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46397 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46398 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46403 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46405 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46407 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46411 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46414 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46416 * stdlib/bug-getcontext.c: New file.
46417 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46419 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46421 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46422 instructions into .machine "z9-109".
46423 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46424 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46426 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46428 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46429 between environment variables and auxiliary vector.
46431 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46433 * Makefile: Add rules to build linkobj/libc.so.
46434 * include/libc-symbols.h: Define libc_hidden_nolink.
46435 * include/rpc/auth.h: Mark functions which are to be hidden.
46436 * include/rpc/auth_des.h: Likewise.
46437 * include/rpc/auth_unix.h: Likewise.
46438 * include/rpc/clnt.h: Likewise.
46439 * include/rpc/des_crypt.h: Likewise.
46440 * include/rpc/key_prot.h: Likewise.
46441 * include/rpc/pmap_clnt.h: Likewise.
46442 * include/rpc/pmap_prot.h: Likewise.
46443 * include/rpc/pmap_rmt.h: Likewise.
46444 * include/rpc/rpc_msg.h: Likewise.
46445 * include/rpc/svc.h: Likewise.
46446 * include/rpc/svc_auth.h: Likewise.
46447 * include/rpc/xdr.h: Likewise.
46448 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46449 * nss/Makefile: Likewise.
46450 * sunrpc/Makefile: Don't install headers. Build library with normal
46451 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46452 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46453 for the compat linking library. Remove use of INTDEF/INTUSE.
46454 * sunrpc/auth_none.c: Likewise.
46455 * sunrpc/auth_unix.c: Likewise.
46456 * sunrpc/authdes_prot.c: Likewise.
46457 * sunrpc/authuxprot.c: Likewise.
46458 * sunrpc/clnt_gen.c: Likewise.
46459 * sunrpc/clnt_perr.c: Likewise.
46460 * sunrpc/clnt_raw.c: Likewise.
46461 * sunrpc/clnt_simp.c: Likewise.
46462 * sunrpc/clnt_tcp.c: Likewise.
46463 * sunrpc/clnt_udp.c: Likewise.
46464 * sunrpc/clnt_unix.c: Likewise.
46465 * sunrpc/des_crypt.c: Likewise.
46466 * sunrpc/des_soft.c: Likewise.
46467 * sunrpc/get_myaddr.c: Likewise.
46468 * sunrpc/key_call.c: Likewise.
46469 * sunrpc/key_prot.c: Likewise.
46470 * sunrpc/netname.c: Likewise.
46471 * sunrpc/pm_getmaps.c: Likewise.
46472 * sunrpc/pm_getport.c: Likewise.
46473 * sunrpc/pmap_clnt.c: Likewise.
46474 * sunrpc/pmap_prot.c: Likewise.
46475 * sunrpc/pmap_prot2.c: Likewise.
46476 * sunrpc/pmap_rmt.c: Likewise.
46477 * sunrpc/publickey.c: Likewise.
46478 * sunrpc/rpc_cmsg.c: Likewise.
46479 * sunrpc/rpc_common.c: Likewise.
46480 * sunrpc/rpc_dtable.c: Likewise.
46481 * sunrpc/rpc_prot.c: Likewise.
46482 * sunrpc/rpc_thread.c: Likewise.
46483 * sunrpc/rtime.c: Likewise.
46484 * sunrpc/svc.c: Likewise.
46485 * sunrpc/svc_auth.c: Likewise.
46486 * sunrpc/svc_authux.c: Likewise.
46487 * sunrpc/svc_raw.c: Likewise.
46488 * sunrpc/svc_run.c: Likewise.
46489 * sunrpc/svc_simple.c: Likewise.
46490 * sunrpc/svc_tcp.c: Likewise.
46491 * sunrpc/svc_udp.c: Likewise.
46492 * sunrpc/svc_unix.c: Likewise.
46493 * sunrpc/svcauth_des.c: Likewise.
46494 * sunrpc/xcrypt.c: Likewise.
46495 * sunrpc/xdr.c: Likewise.
46496 * sunrpc/xdr_array.c: Likewise.
46497 * sunrpc/xdr_float.c: Likewise.
46498 * sunrpc/xdr_intXX_t.c: Likewise.
46499 * sunrpc/xdr_mem.c: Likewise.
46500 * sunrpc/xdr_rec.c: Likewise.
46501 * sunrpc/xdr_ref.c: Likewise.
46502 * sunrpc/xdr_sizeof.c: Likewise.
46503 * sunrpc/xdr_stdio.c: Likewise.
46505 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46508 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46509 * sysdeps/ia64/dl-tls.h: Likewise.
46510 * sysdeps/powerpc/dl-tls.h: Likewise.
46511 * sysdeps/s390/dl-tls.h: Likewise.
46512 * sysdeps/sh/dl-tls.h: Likewise.
46513 * sysdeps/sparc/dl-tls.h: Likewise.
46514 * sysdeps/x86_64/dl-tls.h: Likewise.
46515 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46517 2011-03-14 Andreas Schwab <schwab@redhat.com>
46519 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46520 rpath element also skip the following colon.
46521 (expand_dynamic_string_token): Add is_path parameter and pass
46522 down to DL_DST_REQUIRED and _dl_dst_substitute.
46523 (decompose_rpath): Call expand_dynamic_string_token with
46524 non-zero is_path. Ignore empty rpaths.
46525 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46528 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46533 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46536 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46537 Patch by Filipe David Manana <fdmanana@apache.org>.
46539 2011-04-07 Andreas Schwab <schwab@redhat.com>
46541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46542 Maintain aligned stack.
46543 (CHECK_RSP): Remove unused macro.
46545 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46547 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46548 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46550 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46552 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46554 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46556 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46559 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46560 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46561 * sysdeps/x86_64/memmove.c: New file.
46562 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46563 (memcpy): Renamed to ...
46564 (__new_memcpy): This.
46565 (memcpy): Provide GLIBC_2_14 memcpy.
46566 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46567 (memcpy): Provide GLIBC_2_2_5 memcpy.
46569 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46572 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46574 2011-03-30 Andreas Schwab <schwab@redhat.com>
46576 * misc/syncfs.c: New file.
46577 * misc/Makefile (routines): Add syncfs.
46578 * posix/unistd.h: Declare syncfs.
46579 * sysdeps/unix/syscalls.list: Add syncfs.
46581 2011-04-01 Andreas Schwab <schwab@redhat.com>
46583 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46587 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46590 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46593 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46597 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46599 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46603 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46604 sync_file_range.c with -fexceptions.
46605 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46606 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46607 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46608 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46609 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46610 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46612 sync_file_range as cancellation point
46613 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46614 now a wrapper around __call_sync_file_range with cancellation handling.
46615 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46616 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46617 function name to __call_sync_file_range.
46618 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46619 Add call_sync_file_range.
46621 2011-04-01 Andreas Schwab <schwab@redhat.com>
46623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46626 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46628 * iconv/iconv.h: Fix typo in comment.
46629 * io/fcntl.h: Likewise.
46630 * libio/stdio.h: Likewise.
46631 * posix/spawn.h: Likewise.
46632 * posix/unistd.h: Likewise.
46633 * stdlib/stdlib.h: Likewise.
46634 * time/time.h: Likewise.
46635 * wcsmbs/wchar.h: Likewise.
46637 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46638 open_by_handle): Add.
46639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46640 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46641 Augment a few comments.
46642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46647 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46650 * io/fcntl.h (AT_EMPTY_PATH): Define.
46652 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46654 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46655 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46656 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46658 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46659 * Versions.def: Add GLIBC_2.14.
46660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46663 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46667 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46669 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46672 * string/test-strncmp.c (do_page_test): New function.
46673 (check2): Likewise.
46674 (test_main): Call check2.
46675 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46677 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46680 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46681 Handle cache information in CPU leaf 4.
46682 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46684 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46687 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46688 character representation.
46689 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46691 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46693 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46694 END(__isnan) to END(__isnanf) to match function entry point/label
46695 EALIGN(__isnanf,...).
46697 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46699 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46701 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46704 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46705 copy from the symbol referenced in the relocation to initialize the
46707 Patch by Piotr Bury <pbury@goahead.com>.
46708 * elf/Makefile: Add rules to build and tst-unique3.
46709 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46710 * elf/tst-unique3.cc: New file.
46711 * elf/tst-unique3.h: New file.
46712 * elf/tst-unique3lib.cc: New file.
46713 * elf/tst-unique3lib2.cc: New file.
46715 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46717 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46719 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46720 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46723 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46725 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46726 to-be-loaded object along a path to loader is ld.so.
46728 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46729 Ulrich Drepper <drepper@gmail.com>
46731 * sysdeps/x86_64/memset.S: After aligning destination, code
46732 branches to different locations depending on the value of
46733 misalignment, when multiarch is enabled. Fix this.
46735 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46737 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46738 Set _x86_64_preferred_memory_instruction for AMD processsors.
46739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46740 Set bit_Prefer_SSE_for_memop for AMD processors.
46742 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46744 * libio/fmemopen.c (fmemopen): Optimize a bit.
46746 2011-03-03 Andreas Schwab <schwab@redhat.com>
46748 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46750 2011-03-03 Roland McGrath <roland@redhat.com>
46752 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46754 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46756 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46757 __bzero_ultra1 instead of __memset_ultra1.
46759 2011-02-23 Andreas Schwab <schwab@redhat.com>
46760 Ulrich Drepper <drepper@gmail.com>
46763 * include/link.h (struct link_map): Add l_orig_initfini.
46764 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46765 returning unsuccessfully.
46766 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46767 close of a file loaded at startup, restore the original l_initfini
46769 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46770 list, store the pointer.
46771 * elf/Makefile ($(objpfx)noload-mem): New rule.
46772 (noload-ENV): Define.
46773 (tests): Add $(objpfx)noload-mem.
46774 * elf/noload.c: Include <memcheck.h>.
46775 (main): Call mtrace. Close all opened handles.
46777 2011-02-17 Andreas Schwab <schwab@redhat.com>
46780 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46781 dependencies are missing.
46783 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46785 Fix __if_freereq crash: Unlike the generic version which uses free,
46787 * sysdeps/mach/hurd/ifreq.h: New file.
46789 2011-01-27 Petr Baudis <pasky@suse.cz>
46790 Ulrich Drepper <drepper@gmail.com>
46793 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46794 to extend_alloca().
46795 * stdio-common/bug23.c: New file.
46796 * stdio-common/Makefile (tests): Add bug23.
46798 2010-09-28 Andreas Schwab <schwab@redhat.com>
46799 Ulrich Drepper <drepper@gmail.com>
46802 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46803 before performing relro protection. At old place add assertion
46804 to make sure nothing changed.
46806 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46807 Glauber de Oliveira Costa <glommer@gmail.com>
46809 * elf/elf.h: Add new ARM TLS relocs.
46811 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46814 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46816 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46818 * sysdeps/wordsize-64/tst-writev.c: New file.
46820 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46822 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46823 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46824 insns in _dl_start to prevent a TOC reference before relocs are
46827 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46830 * Makeconfig: Remove RANLIB definition.
46831 * Makerules: Don't use RANLIB.
46832 * aclocal.m4: Remove ranlib test.
46833 * configure.in: No need to check for ranlib.
46834 * elf/rtld-Rules: Don't use RANLIB.
46836 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46838 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46840 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46841 inclusion protection macro.
46843 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46844 SIGRTMIN and SIGRTMAX and print information in that case only when
46845 SIGRTMIN is defined.
46847 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46849 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46850 arginfo fn returning -1.
46852 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46853 and thousands string is zero terminated.
46855 2011-02-03 Andreas Schwab <schwab@redhat.com>
46857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46858 sysdeps/unix/sysv/linux/bits/socket.h.
46860 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46862 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46863 (__CPU_COUNT): Remove old macros.
46864 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46865 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46866 (__CPU_ALLOC, __CPU_FREE): Add macros.
46867 (__sched_cpualloc, __sched_cpufree): Add declarations.
46869 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46871 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46872 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46873 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46874 (readdhstai): Return value of addhstaiX call.
46875 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46876 (addgrbyX): Return value returned by cache_addgr.
46877 (readdgrbyname): Return value returned by addgrbyX.
46878 (readdgrbygid): Likewise.
46879 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46880 (addpwbyX): Return value returned by cache_addpw.
46881 (readdpwbyname): Return value returned by addhstbyX.
46882 (readdpwbyuid): Likewise.
46883 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46884 (addservbyX): Return value returned by cache_addserv.
46885 (readdservbyname): Return value returned by addservbyX:
46886 (readdservbyport): Likewise.
46887 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46888 (addhstbyX): Return value returned by cache_addhst.
46889 (readdhstbyname): Return value returned by addhstbyX.
46890 (readdhstbyaddr): Likewise.
46891 (readdhstbynamev6): Likewise.
46892 (readdhstbyaddrv6): Likewise.
46893 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46894 (readdinitgroups): Return value returned by addinitgroupsX.
46895 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46896 (prune_cache): Keep track of timeout value of re-added entries.
46897 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46898 * nscd/nscd.h: Adjust prototypes of readd* functions.
46900 2011-02-04 Roland McGrath <roland@redhat.com>
46902 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46903 (nis_stats): Likewise.
46904 * nis/nis_modify.c (nis_modify): Likewise.
46905 * nis/nis_remove.c (nis_remove): Likewise.
46906 * nis/nis_add.c (nis_add): Likewise.
46908 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46910 * posix/fnmatch_loop.c: Add some consts.
46912 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46914 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46917 * config.make.in (config-cflags-novzeroupper): Define.
46918 * configure.in: Substitute libc_cv_cc_novzeroupper.
46919 * elf/Makefile (AVX-CFLAGS): Define.
46920 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46921 (CFLAGS-tst-auditmod4a.c): Likewise.
46922 (CFLAGS-tst-auditmod4b.c): Likewise.
46923 (CFLAGS-tst-auditmod6b.c): Likewise.
46924 (CFLAGS-tst-auditmod6c.c): Likewise.
46925 (CFLAGS-tst-auditmod7b.c): Likewise.
46926 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46928 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46930 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46931 function to the callback.
46932 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46934 2011-02-02 Andreas Schwab <schwab@redhat.com>
46936 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46939 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46942 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46944 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46946 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46949 * elf/Makefile: Add rules to build and run new test.
46950 * elf/tst-initorder.c: New file.
46951 * elf/tst-initorder.exp: New file.
46952 * elf/tst-initordera1.c: New file.
46953 * elf/tst-initordera2.c: New file.
46954 * elf/tst-initordera3.c: New file.
46955 * elf/tst-initordera4.c: New file.
46956 * elf/tst-initorderb1.c: New file.
46957 * elf/tst-initorderb2.c: New file.
46958 * elf/tst-order-a1.c: New file.
46959 * elf/tst-order-a2.c: New file.
46960 * elf/tst-order-a3.c: New file.
46961 * elf/tst-order-a4.c: New file.
46962 * elf/tst-order-b1.c: New file.
46963 * elf/tst-order-b2.c: New file.
46964 * elf/tst-order-main.c: New file.
46965 New test case by George Gensure <werkt0@gmail.com>.
46967 2010-10-01 Andreas Schwab <schwab@redhat.com>
46969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46970 decoding ACE if AI_CANONIDN.
46972 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46974 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46976 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46978 * version.h (RELEASE): Bump for 2.13 release.
46979 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46981 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46983 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46985 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46986 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46987 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46992 * posix/getconf.c: Update copyright year.
46993 * catgets/gencat.c: Likewise.
46994 * csu/version.c: Likewise.
46995 * debug/catchsegv.sh: Likewise.
46996 * debug/xtrace.sh: Likewise.
46997 * elf/ldconfig.c: Likewise.
46998 * elf/ldd.bash.in: Likewise.
46999 * elf/sprof.c (print_version): Likewise.
47000 * iconv/iconv_prog.c: Likewise.
47001 * iconv/iconvconfig.c: Likewise.
47002 * locale/programs/locale.c: Likewise.
47003 * locale/programs/localedef.c: Likewise.
47004 * malloc/memusage.sh: Likewise.
47005 * malloc/mtrace.pl: Likewise.
47006 * nscd/nscd.c (print_version): Likewise.
47007 * nss/getent.c: Likewise.
47009 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47010 PF_CAIF, and PF_ALG.
47011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47013 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47015 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47016 (modules-names): Use them.
47017 (ifunc-test-modules, ifunc-pie-tests): Define.
47018 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47019 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47020 (test-extras): Likewise.
47021 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47022 $(compile-command.c).
47023 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47024 (all-built-dso): Define.
47025 (check-textrel.out, check-execstack.out): Depend on it.
47027 * configure.in: Don't override --enable-multi-arch.
47029 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47032 * nscd/hstcache.c (tryagain): Define.
47033 (cache_addhst): Return tryagain not notfound for temporary errors.
47034 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47037 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47040 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47041 to make the syscall.
47042 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47045 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47046 and fall back to matching as normal character if the string ends before
47047 the matching ']' is found. This is what POSIX requires.
47048 * posix/testfnm.c: Adjust test result.
47049 * posix/globtest.sh: Adjust test result. Add new test.
47050 * posix/tst-fnmatch.input: Likewise.
47051 * posix/tst-fnmatch2.c: Add new test.
47053 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47055 * elf/Makefile (check-execstack): Revert last change. Depend on
47057 (check-execstack.h): New target.
47058 (generated): Add check-execstack.h.
47059 * elf/check-execstack.c: Include "check-execstack.h".
47060 (main): Revert last change.
47061 (handle_file): Return zero if GNU_STACK is absent and
47062 DEFAULT_STACK_PERMS doesn't include PF_X.
47064 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47066 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47067 in child fails because the descriptor is already closed.
47068 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47069 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47070 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47073 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47077 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47078 temporary buffer used to handle multi lookups locally.
47079 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47081 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47083 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47086 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47088 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47089 alignment for SSE2.
47091 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47094 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47095 characters. When rounding increased number of integer digits recompute
47097 * stdio-common/tst-grouping.c: New file.
47098 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47100 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47102 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47103 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47105 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47107 * bits/select.h: Likewise.
47109 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47111 * po/ja.po: Update from translation team.
47113 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47116 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47117 implementation just like for lxstat, fxstatat, et al.
47119 2010-12-27 Jim Meyering <meyering@redhat.com>
47122 * posix/regexec.c (build_trtable): Return failure indication upon
47123 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47125 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47128 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47129 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47130 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47131 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47134 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47137 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47138 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47140 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47142 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47143 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47144 script has SORT_BY_INIT_PRIORITY.
47145 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47146 NO_CTORS_DTORS_SECTIONS is defined.
47147 * elf/soinit.c: Likewise.
47148 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47149 NO_CTORS_DTORS_SECTIONS is defined.
47150 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47151 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47152 * sysdeps/sh/init-first.c: Likewise.
47153 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47155 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47157 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47158 always use the slow path.
47160 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47162 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47163 similar rule which adds the sysdep directories to the header search in
47164 order to pick up the correct platform stackinfo.h.
47165 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47166 perform test if it is, otherwise return successfully without testing.
47167 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47168 DEFAULT_STACK_PERMS define in stackinfo.h.
47169 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47170 defined in stackinfo.h.
47171 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47172 DEFAULT_STACK_PERMS defined in stackinfo.h.
47173 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47174 * sysdeps/ia64/stackinfo.h: Likewise.
47175 * sysdeps/s390/stackinfo.h: Likewise.
47176 * sysdeps/sh/stackinfo.h: Likewise.
47177 * sysdeps/sparc/stackinfo.h: Likewise.
47178 * sysdeps/x86_64/stackinfo.h: Likewise.
47179 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47180 PF_X for powerpc64. Retain PF_X for powerpc32.
47182 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47184 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47186 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47187 GETDENTS_64BIT_ALIGNED.
47189 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47191 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47193 2010-12-10 Andreas Schwab <schwab@redhat.com>
47195 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47198 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47199 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47201 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47202 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47204 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47207 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47210 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47212 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47214 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47216 * po/it.po: Update from translation team.
47218 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47223 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47225 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47227 2010-11-24 Andreas Schwab <schwab@redhat.com>
47229 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47231 (gaih_getanswer_slice): Likewise.
47233 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47237 2010-05-31 Petr Baudis <pasky@suse.cz>
47240 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47241 silently even in the chroot mode.
47243 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47245 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47246 last patch a bit. Pretty printing
47248 2010-05-31 Petr Baudis <pasky@suse.cz>
47251 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47252 initialization of skip_initgroups_dyn.
47254 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47256 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47259 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47261 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47263 2010-11-11 Andreas Schwab <schwab@redhat.com>
47265 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47266 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47267 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47268 ($(objpfx)tst-fnmatch-mem): New rule.
47269 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47270 * posix/tst-fnmatch.c (main): Call mtrace.
47272 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47275 Support Intel processor model 6 and model 0x2c.
47277 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47279 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47282 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47285 * string/test-strncasecmp.c (check_result): New function.
47286 (do_one_test): Use it.
47287 (check1): New function.
47288 (test_main): Use it.
47289 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47290 Support strcasecmp and strncasecmp.
47292 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47295 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47296 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47298 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47300 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47304 * sysdeps/x86_64/multiarch/bzero.S: New file.
47305 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47306 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47307 * sysdeps/x86_64/multiarch/memset.S: New file.
47308 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47310 Set bit_Prefer_SSE_for_memop for Intel processors.
47311 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47313 (index_Prefer_SSE_for_memop): Define.
47314 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47316 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47318 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47319 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47321 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47324 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47325 (__x86_64_raw_data_cache_size_half): Likewise.
47326 (__x86_64_raw_shared_cache_size): Likewise.
47327 (__x86_64_raw_shared_cache_size_half): Likewise.
47329 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47330 (__x86_64_raw_data_cache_size_half): Likewise.
47331 (__x86_64_raw_shared_cache_size): Likewise.
47332 (__x86_64_raw_shared_cache_size_half): Likewise.
47333 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47334 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47335 and __x86_64_raw_shared_cache_size_half. Round
47336 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47337 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47338 to multiple of 256 bytes.
47340 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47344 of inacessible symlinks. Verify result of symlink before returning it.
47345 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47346 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47348 2010-10-28 Erich Ritz <erichritz@gmail.com>
47350 * math/math.h (isinf): Fix typo in comment.
47352 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47354 * po/da.po: Update from translation team.
47356 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47358 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47359 is added to the list.
47361 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47362 Ulrich Drepper <drepper@gmail.com>
47364 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47365 the global list here. Move code to...
47366 (_dl_add_to_namespace_list): ...here. New function.
47367 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47368 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47369 * elf/dl-load.c (lose): Don't remove the element from the list.
47370 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47371 (_dl_map_object): Likewise.
47373 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47376 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47377 into all bytes of SSE register.
47378 Patch by Richard Li <richardpku@gmail.com>.
47380 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47383 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47386 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47388 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47389 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47390 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47391 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47396 2010-10-22 Andreas Schwab <schwab@redhat.com>
47398 * include/dlfcn.h (__RTLD_SECURE): Define.
47399 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47400 mode & __RTLD_SECURE instead.
47401 (open_path): Rename preloaded parameter to secure.
47402 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47403 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47404 * elf/dl-deps.c (openaux): Likewise.
47405 * elf/rtld.c (struct map_args): Remove is_preloaded.
47406 (map_doit): Don't use it.
47407 (dl_main): Likewise.
47408 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47409 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47411 2010-09-09 Andreas Schwab <schwab@redhat.com>
47413 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47414 (sysd-rules-targets): Remove duplicates.
47415 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47416 rtld-%.$o dependency.
47418 2010-10-18 Andreas Schwab <schwab@redhat.com>
47420 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47421 _dl_map_object do it.
47423 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47425 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47426 fast fma builtins, define the macros in the C99 standard.
47427 (FP_FAST_FMAF): Likewise.
47428 (FP_FAST_FMAL): Likewise.
47429 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47431 * bits/mathdef.h: Update copyright year.
47432 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47434 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47436 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47437 builtins, define the macros in the C99 standard.
47438 (FP_FAST_FMAF): Likewise.
47439 (FP_FAST_FMAL): Likewise.
47440 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47442 (FP_FAST_FMAF): Likewise.
47444 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47447 * math/libm-test.inc (fma_test): Some new testcases.
47448 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47449 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47450 y and infinite z. Do multiplication by C already in long double.
47451 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47453 y and infinite z. Do bitwise or of inexact bit into u.d.
47454 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47455 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47456 * sysdeps/i386/fpu/s_fma.S: Removed.
47457 * sysdeps/i386/fpu/s_fmal.S: Removed.
47459 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47462 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47464 computation is not scheduled after fetestexcept. Fix value
47465 of minimum denormal long double.
47467 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47470 * math/libm-test.inc (fma_test): Add some more tests.
47471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47474 2010-10-15 Andreas Schwab <schwab@redhat.com>
47476 * scripts/data/localplt-s390-linux-gnu.data: New file.
47477 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47479 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47482 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47483 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47485 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47487 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47489 if one of x and y is very large and the other is subnormal.
47490 * sysdeps/s390/fpu/s_fmaf.c: New file.
47491 * sysdeps/s390/fpu/s_fma.c: New file.
47492 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47493 * sysdeps/powerpc/fpu/s_fma.S: New file.
47494 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47495 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47496 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47498 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47501 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47503 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47504 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47505 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47506 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47507 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47508 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47509 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47511 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47514 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47515 * posix/bug-regex31.input: Add test case.
47517 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47519 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47520 * posix/bug-regex31.input: New file.
47523 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47524 (parse_sub_exp): Fix last change, use postorder.
47526 * posix/bug-regex31.c: New file.
47527 * posix/Makefile: Add rules to build and run bug-regex31.
47529 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47532 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47535 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47536 to have entries in sys_siglist.
47539 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47542 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47545 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47546 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47547 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47548 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47549 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47550 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47551 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47552 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47553 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47554 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47555 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47556 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47557 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47558 * math/ftestexcept.c (fetestexcept): Likewise.
47559 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47560 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47561 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47562 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47563 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47564 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47565 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47567 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47570 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47573 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47575 * string/bug-strstr1.c: New file.
47576 * string/Makefile: Add rules to build and run bug-strstr1.
47578 2010-10-05 Eric Blake <eblake@redhat.com>
47581 * string/str-two-way.h (two_way_long_needle): Always clear memory
47582 when skipping input due to the shift table.
47584 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47587 * malloc/mcheck.c: Handle large requests.
47590 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47591 for strncmp and strncasecmp.
47592 * string/stratcliff.c: Add tests for strcmp and strncmp.
47593 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47595 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47597 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47600 2010-09-30 Andreas Jaeger <aj@suse.de>
47602 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47603 (CGROUP_SUPER_MAGIC): Define.
47604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47605 Handle btrfs and cgroup file systems.
47606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47609 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47611 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47612 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47614 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47617 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47618 trying to locate the ELF header.
47620 2010-09-27 Andreas Schwab <schwab@redhat.com>
47623 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47624 Mask out sign-bit copies when constructing f_fsid.
47626 2010-09-24 Petr Baudis <pasky@suse.cz>
47628 * debug/stack_chk_fail_local.c: Add missing licence exception.
47629 * debug/warning-nop.c: Likewise.
47631 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47633 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47634 implementing getdents64 using getdents syscall, set d_type if
47635 __ASSUME_GETDENTS32_D_TYPE.
47637 2010-09-16 Andreas Schwab <schwab@redhat.com>
47639 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47640 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47642 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47645 * posix/unistd.h: Undo change of feature selection for ftruncate from
47648 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47650 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47653 2010-09-20 Andreas Schwab <schwab@redhat.com>
47655 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47657 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47659 2010-09-14 Andreas Schwab <schwab@redhat.com>
47661 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47662 variables after CHECK_SP call.
47663 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47665 2010-09-13 Andreas Schwab <schwab@redhat.com>
47666 Ulrich Drepper <drepper@redhat.com>
47668 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47669 re-relocationg ld.so.
47670 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47671 _dl_init_paths call.
47672 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47675 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47677 * resolv/res_init.c (__res_vinit): Count the default server we added.
47679 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47680 Ulrich Drepper <drepper@redhat.com>
47683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47684 (____longjmp_chk): Use %ebx for saving value across system call.
47687 2010-09-06 Andreas Schwab <schwab@redhat.com>
47689 * manual/Makefile: Don't mix pattern rules with normal rules.
47691 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47693 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47695 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47696 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47697 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47698 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47702 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47705 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47706 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47708 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47710 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47711 * sysdeps/x86_64/addmul_1.S: Likewise.
47712 * sysdeps/x86_64/lshift.S: Likewise.
47713 * sysdeps/x86_64/mul_1.S: Likewise.
47714 * sysdeps/x86_64/rshift.S: Likewise.
47715 * sysdeps/x86_64/sub_n.S: Likewise.
47716 * sysdeps/x86_64/submul_1.S: Likewise.
47718 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47720 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47721 Define __sched_param instead of SCHED_* and sched_param when
47722 <bits/sched.h> is included with __need_schedparam defined.
47723 * bits/sched.h [__need_schedparam]
47724 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47725 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47726 (__defined_schedparam): Define to 1.
47727 (__sched_param): New structure, identical to sched_param.
47728 (__need_schedparam): Undefine.
47730 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47733 (epoll_create1): Declare.
47735 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47737 2010-08-31 Andreas Schwab <schwab@redhat.com>
47740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47741 shifting retval into place.
47743 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47745 * nis/rpcsvc/nis.h: Update copyright notice.
47746 * nis/rpcsvc/nis.x: Likewise.
47747 * nis/rpcsvc/nis_callback.h: Likewise.
47748 * nis/rpcsvc/nis_callback.x: Likewise.
47749 * nis/rpcsvc/nis_object.x: Likewise.
47750 * nis/rpcsvc/nis_tags.h: Likewise.
47751 * nis/rpcsvc/yp.h: Likewise.
47752 * nis/rpcsvc/yp.x: Likewise.
47753 * nis/rpcsvc/ypupd.h: Likewise.
47754 * nis/yp_xdr.c: Likewise.
47755 * nis/ypupdate_xdr.c: Likewise.
47757 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47758 mainly the body of pmap_getport. Add parameters to specify timeouts.
47759 (pmap_getport): Use __libc_rpc_getport.
47760 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47761 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47762 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47764 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47769 2010-08-27 Roland McGrath <roland@redhat.com>
47771 * sysdeps/i386/i686/multiarch/Makefile
47772 (CFLAGS-varshift.c): New variable.
47774 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47776 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47777 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47781 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47783 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47785 * sysdeps/x86_64/strlen.S: Unroll the loop.
47786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47787 strlen-sse2 strlen-sse2-bsf.
47788 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47789 __strlen_no_bsf if bit_Slow_BSF is set.
47790 (__strlen_sse42): Removed.
47791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47792 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47794 2010-08-25 Roland McGrath <roland@redhat.com>
47796 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47797 * sysdeps/x86_64/multiarch/varshift.c: New file.
47798 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47799 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47800 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47801 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47803 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47806 strlen-sse2 strlen-sse2-bsf.
47807 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47808 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47809 (__strlen_sse2): Removed.
47810 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47813 bit_Slow_BSF for Atom.
47814 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47815 (index_Slow_BSF): Define.
47816 (HAS_SLOW_BSF): Define.
47818 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47821 * resolv/res_init.c (__res_vinit): When no server address at all
47822 is given default to loopback.
47824 2010-08-24 Roland McGrath <roland@redhat.com>
47826 * configure.in: Remove config-name.h generation.
47827 * configure: Regenerated.
47828 * config-name.in: File removed.
47829 * scripts/config-uname.sh: New file.
47830 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47831 ($(objdir)config-name.h): New target.
47833 * sunrpc/rpc_parse.h: Avoid nested comment.
47835 2010-08-24 Richard Henderson <rth@redhat.com>
47836 Ulrich Drepper <drepper@redhat.com>
47837 H.J. Lu <hongjiu.lu@intel.com>
47839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47841 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47842 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47843 _mm_alignr_epi8 with _mm_loadu_si128.
47844 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47845 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47846 (__m128i_shift_right): Removed.
47847 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47848 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47849 * sysdeps/x86_64/multiarch/varshift.h: New file.
47850 * sysdeps/x86_64/multiarch/varshift.S: New file.
47852 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47854 * configure.in: Move assembler checks to before sysdep dir checking.
47856 2010-08-20 Petr Baudis <pasky@suse.cz>
47858 * LICENSES: Sync the sunrpc license.
47860 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47862 * sunrpc/auth_des.c: Update copyright notice once again.
47863 * sunrpc/auth_none.c: Likewise.
47864 * sunrpc/auth_unix.c: Likewise.
47865 * sunrpc/authdes_prot.c: Likewise.
47866 * sunrpc/authuxprot.c: Likewise.
47867 * sunrpc/bindrsvprt.c: Likewise.
47868 * sunrpc/clnt_gen.c: Likewise.
47869 * sunrpc/clnt_perr.c: Likewise.
47870 * sunrpc/clnt_raw.c: Likewise.
47871 * sunrpc/clnt_simp.c: Likewise.
47872 * sunrpc/clnt_tcp.c: Likewise.
47873 * sunrpc/clnt_udp.c: Likewise.
47874 * sunrpc/clnt_unix.c: Likewise.
47875 * sunrpc/des_crypt.c: Likewise.
47876 * sunrpc/des_soft.c: Likewise.
47877 * sunrpc/get_myaddr.c: Likewise.
47878 * sunrpc/getrpcport.c: Likewise.
47879 * sunrpc/key_call.c: Likewise.
47880 * sunrpc/key_prot.c: Likewise.
47881 * sunrpc/openchild.c: Likewise.
47882 * sunrpc/pm_getmaps.c: Likewise.
47883 * sunrpc/pm_getport.c: Likewise.
47884 * sunrpc/pmap_clnt.c: Likewise.
47885 * sunrpc/pmap_prot.c: Likewise.
47886 * sunrpc/pmap_prot2.c: Likewise.
47887 * sunrpc/pmap_rmt.c: Likewise.
47888 * sunrpc/rpc/auth.h: Likewise.
47889 * sunrpc/rpc/auth_unix.h: Likewise.
47890 * sunrpc/rpc/clnt.h: Likewise.
47891 * sunrpc/rpc/des_crypt.h: Likewise.
47892 * sunrpc/rpc/key_prot.h: Likewise.
47893 * sunrpc/rpc/netdb.h: Likewise.
47894 * sunrpc/rpc/pmap_clnt.h: Likewise.
47895 * sunrpc/rpc/pmap_prot.h: Likewise.
47896 * sunrpc/rpc/pmap_rmt.h: Likewise.
47897 * sunrpc/rpc/rpc.h: Likewise.
47898 * sunrpc/rpc/rpc_des.h: Likewise.
47899 * sunrpc/rpc/rpc_msg.h: Likewise.
47900 * sunrpc/rpc/svc.h: Likewise.
47901 * sunrpc/rpc/svc_auth.h: Likewise.
47902 * sunrpc/rpc/types.h: Likewise.
47903 * sunrpc/rpc/xdr.h: Likewise.
47904 * sunrpc/rpc_clntout.c: Likewise.
47905 * sunrpc/rpc_cmsg.c: Likewise.
47906 * sunrpc/rpc_common.c: Likewise.
47907 * sunrpc/rpc_cout.c: Likewise.
47908 * sunrpc/rpc_dtable.c: Likewise.
47909 * sunrpc/rpc_hout.c: Likewise.
47910 * sunrpc/rpc_main.c: Likewise.
47911 * sunrpc/rpc_parse.c: Likewise.
47912 * sunrpc/rpc_parse.h: Likewise.
47913 * sunrpc/rpc_prot.c: Likewise.
47914 * sunrpc/rpc_sample.c: Likewise.
47915 * sunrpc/rpc_scan.c: Likewise.
47916 * sunrpc/rpc_scan.h: Likewise.
47917 * sunrpc/rpc_svcout.c: Likewise.
47918 * sunrpc/rpc_tblout.c: Likewise.
47919 * sunrpc/rpc_util.c: Likewise.
47920 * sunrpc/rpc_util.h: Likewise.
47921 * sunrpc/rpcinfo.c: Likewise.
47922 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47923 * sunrpc/rpcsvc/key_prot.x: Likewise.
47924 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47925 * sunrpc/rpcsvc/mount.x: Likewise.
47926 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47927 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47928 * sunrpc/rpcsvc/rex.x: Likewise.
47929 * sunrpc/rpcsvc/rstat.x: Likewise.
47930 * sunrpc/rpcsvc/rusers.x: Likewise.
47931 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47932 * sunrpc/rpcsvc/spray.x: Likewise.
47933 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47934 * sunrpc/rtime.c: Likewise.
47935 * sunrpc/svc.c: Likewise.
47936 * sunrpc/svc_auth.c: Likewise.
47937 * sunrpc/svc_authux.c: Likewise.
47938 * sunrpc/svc_raw.c: Likewise.
47939 * sunrpc/svc_run.c: Likewise.
47940 * sunrpc/svc_simple.c: Likewise.
47941 * sunrpc/svc_tcp.c: Likewise.
47942 * sunrpc/svc_udp.c: Likewise.
47943 * sunrpc/svc_unix.c: Likewise.
47944 * sunrpc/svcauth_des.c: Likewise.
47945 * sunrpc/xcrypt.c: Likewise.
47946 * sunrpc/xdr.c: Likewise.
47947 * sunrpc/xdr_array.c: Likewise.
47948 * sunrpc/xdr_float.c: Likewise.
47949 * sunrpc/xdr_mem.c: Likewise.
47950 * sunrpc/xdr_rec.c: Likewise.
47951 * sunrpc/xdr_ref.c: Likewise.
47952 * sunrpc/xdr_sizeof.c: Likewise.
47953 * sunrpc/xdr_stdio.c: Likewise.
47955 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47958 2010-08-19 Andreas Schwab <schwab@redhat.com>
47960 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47962 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47964 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47965 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47966 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47967 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47968 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47969 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47970 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47971 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47973 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47974 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47975 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47976 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47977 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47979 2010-07-26 Anton Blanchard <anton@samba.org>
47981 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47982 * malloc/arena.c (heap_trim): Likewise.
47984 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47986 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47988 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47989 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47991 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47993 * sysdeps/i386/elf/Makefile: New file.
47995 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47997 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47998 from fanotify_init.
47999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48002 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48004 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48006 * sysdeps/multiarch/strcmp.S: Likewise.
48008 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48010 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48011 strncase_l-nonascii.
48012 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48013 Add strncase_l-ssse3.
48014 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48015 * sysdeps/x86_64/strcmp.S: Likewise.
48016 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48017 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48018 * sysdeps/x86_64/strncase.S: New file.
48019 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48020 * sysdeps/x86_64/strncase_l.S: New file.
48021 * string/Makefile (strop-tests): Add strncasecmp.
48022 * string/test-strncasecmp.c: New file.
48024 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48027 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48028 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48030 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48032 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48034 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48036 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48037 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48038 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48040 2010-05-01 Alan Modra <amodra@gmail.com>
48042 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48043 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48044 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48045 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48046 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48047 tidying. Don't tail-call __sigjmp_save for static lib.
48048 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48050 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48051 (CALL_MCOUNT): Add eh info, and nop after bl.
48052 (TAIL_CALL_SYSCALL_ERROR): New macro.
48053 (PSEUDO_RET): Use it.
48054 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48055 Correct save location of integer regs and cr.
48056 (_dl_profile_resolve): Correct cr save location. Delete nops
48057 after bl when SHARED. Reduce cfi size a little by better
48058 placement of cfi directives.
48059 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48060 make a stack frame. Instead use parm save area as a temp.
48061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48062 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48064 Don't make a stack frame for parent, use parm save area.
48065 Increase child stack frame to 112 bytes. Don't save unused reg,
48066 and adjust reg usage. Set up cfi on error recovery and
48067 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48069 (__makecontext): Add dummy nop after jump to exit.
48070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48071 Use correct parm save area and cr save, reduce stack frame.
48072 Correct cfi for possible PSEUDO_RET frame setup.
48073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48074 Branch to local label emitted by PSEUDO_RET rather than
48077 2010-08-12 Andreas Schwab <schwab@redhat.com>
48080 * locale/programs/locale.c (print_assignment): New function.
48081 (show_locale_vars): Use it.
48083 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48085 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48087 (struct statfs64): Likewise.
48088 (_STATFS_F_FLAGS): Define.
48089 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48091 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48092 (ST_VALID): Define locally.
48093 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48094 __statvfs_getflags, use the provided value.
48095 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48096 __ASSUME_STATFS_F_FLAGS.
48098 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48100 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48101 Add sys/fanotify.h.
48102 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48103 fanotify_mask for GLIBC_2.13.
48104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48105 fanotify_init and fanotify_mark.
48106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48107 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48109 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48111 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48112 prlimit64 for GLIBC_2.13.
48113 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48118 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48120 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48123 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48126 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48127 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48129 * nss/Makefile: Add rules to build and run tst-nss-test1.
48130 * shlib-versions: Add entry for libnss_test1.
48131 * nss/nss_test1.c: New file.
48132 * nss/tst-nss-test1.c: New file.
48134 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48135 (__nss_configure_lookup): Set appropriate entry in
48136 __nss_configure_lookup to true.
48137 * nss/nsswitch.h: Define enum with indeces of databases in
48138 databases and __nss_database_custom arrays. Declare
48139 __nss_database_custom.
48140 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48141 to avoid using nscd when custom rules are installed.
48142 * nss/getXXbyYY_r.c: Likewise.
48143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48145 * nss/nss_files/files-parse.c: Whitespace fixes.
48147 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48150 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48151 * posix/fnmatch_loop.c: Likewise.
48153 2010-07-17 Andi Kleen <ak@linux.intel.com>
48155 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48156 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48157 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48158 * Versions.def [GLIBC_2.13]: Add.
48160 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48163 Also fail if tpwd after pwuid call is NULL.
48165 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48167 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48168 when converting to ms.
48170 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48172 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48173 EOPNOTSUPP errors with ENOTTY.
48174 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48175 EOPNOTSUPP errors with ENOTTY.
48177 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48179 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48180 Add strcasecmp_l-ssse3.
48181 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48183 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48184 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48185 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48187 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48189 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48191 * string/Makefile (strop-tests): Add strcasecmp.
48192 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48193 strcasecmp_l-nonascii.
48194 (gen-as-const-headers): Add locale-defines.sym.
48195 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48196 * sysdeps/x86_64/strcasecmp.S: New file.
48197 * sysdeps/x86_64/strcasecmp_l.S: New file.
48198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48199 * sysdeps/x86_64/locale-defines.sym: New file.
48200 * string/test-strcasecmp.c: New file.
48202 * string/test-strcasestr.c: Test both ends of the range of characters.
48203 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48205 2010-07-29 Roland McGrath <roland@redhat.com>
48208 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48210 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48212 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48215 2010-07-27 Andreas Schwab <schwab@redhat.com>
48217 * manual/memory.texi (Malloc Tunable Parameters): Document
48220 2010-07-26 Roland McGrath <roland@redhat.com>
48223 * configure.in (-fgnu89-inline check): Set and substitute
48224 gnu89_inline, not libc_cv_gnu89_inline.
48225 * configure: Regenerated.
48226 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48228 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48230 * string/test-strnlen.c: New file.
48231 * string/Makefile (strop-tests): Add strnlen.
48232 * string/tester.c (test_strnlen): Add a few more test cases.
48233 * string/tst-strlen.c: Better error reporting.
48235 * sysdeps/x86_64/strnlen.S: New file.
48237 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48239 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48240 lower-latency instructions.
48242 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48244 * string/test-strcasestr.c: New file.
48245 * string/test-strstr.c: New file.
48246 * string/Makefile (strop-tests): Add strstr and strcasestr.
48247 * string/str-two-way.h: Don't undefine MAX.
48248 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48250 2010-07-21 Andreas Schwab <schwab@redhat.com>
48252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48253 strcasestr-nonascii.
48254 (CFLAGS-strcasestr-nonascii.c): Define.
48255 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48257 Remove unused attribute.
48259 2010-07-20 Roland McGrath <roland@redhat.com>
48261 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48262 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48263 ld.so.cache was broken. With it, there is no way to disable dsocaps
48264 like LD_HWCAP_MASK can disable hwcaps.
48266 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48268 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48270 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48272 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48273 call in strcasestr.
48274 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48275 __strcasestr_sse42_nonascii.
48276 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48277 strcasestr-nonascii.c.
48278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48280 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48284 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48285 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48287 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48289 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48292 2010-07-06 Andreas Schwab <schwab@redhat.com>
48295 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48298 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48300 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48301 _PC_PIPE_BUF using F_GETPIPE_SZ.
48303 2010-07-05 Roland McGrath <roland@redhat.com>
48305 * manual/arith.texi (Rounding Functions): Fix rint description
48306 implicit in round description.
48308 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48310 * elf/Makefile: Fix linking for a few tests to make recent linker
48313 2010-06-30 Andreas Schwab <schwab@redhat.com>
48315 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48316 $(common-objpfx)libc_nonshared.a.
48318 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48320 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48321 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48322 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48323 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48324 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48325 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48326 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48327 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48342 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48343 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48344 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48345 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48346 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48347 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48348 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48349 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48350 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48351 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48352 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48353 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48369 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48371 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48372 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48373 * string/memmove.c (memmove): Renamed to ...
48374 (MEMMOVE): ...this. Default to memmove.
48375 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48376 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48379 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48380 mempcpy-ssse3-back memmove-ssse3-back.
48381 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48384 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48385 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48386 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48387 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48388 * sysdeps/x86_64/multiarch/memmove.c: New file.
48389 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48390 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48391 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48392 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48393 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48396 (index_Fast_Copy_Backward): Define.
48397 (HAS_ARCH_FEATURE): Define.
48398 (HAS_FAST_REP_STRING): Define.
48399 (HAS_FAST_COPY_BACKWARD): Define.
48401 2010-06-21 Andreas Schwab <schwab@redhat.com>
48403 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48404 Restore proper fallback handling.
48406 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48409 * posix/group_member.c (__group_member): Correct checking loop.
48411 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48412 OOM in getpwuid_r correctly. Return error number when the caller
48413 should return, otherwise -1.
48414 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48415 call returning > 0 value.
48416 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48418 2010-06-07 Andreas Schwab <schwab@redhat.com>
48420 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48421 libc_nonshared.a from targets in modules-names.
48423 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48425 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48428 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48431 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48435 2010-06-02 Andreas Schwab <schwab@redhat.com>
48437 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48439 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48450 2010-06-14 Roland McGrath <roland@redhat.com>
48452 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48454 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48456 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48457 __REDIRECT followed by __THROW.
48458 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48459 * posix/getopt.h (getopt): Likewise.
48461 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48463 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48464 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48465 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48467 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48468 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48470 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48474 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48478 Properly check family and model.
48480 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48482 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48484 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48486 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48488 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48490 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48493 2010-05-19 Andreas Schwab <schwab@redhat.com>
48495 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48498 2010-05-21 Andreas Schwab <schwab@redhat.com>
48500 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48501 and internal_recvmmsg.
48502 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48503 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48504 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48505 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48507 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48508 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48509 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48511 2010-05-20 Andreas Schwab <schwab@redhat.com>
48513 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48515 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48517 POWER7 optimizations.
48518 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48519 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48521 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48523 * version.h: Update for 2.13 development version.
48525 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48527 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48528 exceptions. Return 0.
48530 2010-05-07 Roland McGrath <roland@redhat.com>
48532 * elf/ldconfig.c (main): Add a const.
48534 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48536 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48537 (args_options): Add no-idn option.
48538 (ahosts_keys_int): Add idn_flags to ai_flags.
48539 (parse_option): Handle 'i' option to clear idn_flags.
48541 * malloc/malloc.c (_int_free): Possible race in the most recently
48542 added check. Only act on the data if no current modification
48545 See ChangeLog.17 for earlier changes.