1 2014-07-03 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8 in a bare environment with no <stdlib.h> installed.
9 * sysdeps/nptl/configure: Regenerated.
11 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14 AC_EGREP_CPP for kernel header checks, so they only succeed if
15 including <linux/version.h> actually works right.
16 * sysdeps/unix/sysv/linux/configure: Regenerated.
18 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
19 value so it's not diagnosed as unused.
21 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22 thing) with "ifeq ($(subdir),rt)".
24 2014-07-03 Richard Henderson <rth@redhat.com>
26 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31 (math_force_eval): New.
33 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36 * sysdeps/alpha/fpu/s_round.c: Remove file.
37 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43 (_dl_start, print_statistics): Likewise.
44 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
45 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
49 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
50 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
51 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
52 (HP_SMALL_TIMING_AVAIL): Define.
53 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
54 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
55 (HP_SMALL_TIMING_AVAIL): Define.
56 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
57 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
59 * sysdeps/aarch64/hp-timing.h: New file.
61 * sysdeps/generic/hp-timing.h: Remove dead comment.
62 * sysdeps/generic/hp-timing-common.h: New file.
63 * sysdeps/alpha/hp-timing.h: Include it.
64 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
65 * sysdeps/i386/i686/hp-timing.h: Likewise.
66 * sysdeps/ia64/hp-timing.h: Likewise.
67 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
72 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
75 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
76 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
77 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
78 * elf/rtld.c (_dl_start_final): Likewise.
79 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
80 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
81 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
82 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
83 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
84 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
85 (HP_TIMING_DIFF_INIT): Remove.
86 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
87 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
88 (HP_TIMING_DIFF_INIT): Remove.
89 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
90 * sysdeps/i386/i686/hp-timing.c: Remove file.
91 * sysdeps/x86_64/hp-timing.c: Remove file.
92 * sysdeps/ia64/hp-timing.c: Remove file.
93 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
94 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
95 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
96 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
98 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
99 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
100 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
101 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
103 (HP_TIMING_ACCUM): Remove.
104 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
105 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
106 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
108 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
109 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
110 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
111 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
112 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
113 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
115 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
117 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
119 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
121 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
123 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
125 Sync up with gettext.
126 * intl/loadmsgcat.c: Define O_BINARY if not defined.
127 [_MSC_VER]: Include malloc.h
128 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
129 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
130 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
131 TEMP_FAILURE_RETRY. Cast return of alloca.
132 [!_LIBC] Call gl_rwlock_init.
133 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
135 2014-07-02 Roland McGrath <roland@hack.frob.com>
137 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
138 before checking its value.
140 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
142 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
144 * debug/memcpy_chk.c: Don't include pagecopy.h.
145 * debug/mempcpy_chk.c: Likewise.
146 * string/memcpy.c: Likewise.
147 * string/memmove.c: Likewise.
148 * sysdeps/powerpc/memmove.c: Likewise.
149 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
150 definition of PAGE_COPY_FWD_MAYBE here...
151 * sysdeps/generic/pagecopy.h: ... from here.
152 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
154 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
155 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
161 (__libc_ifunc_impl_list): Likewise.
162 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
163 multiarch strcat for PPC64.
164 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
165 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
167 2014-07-02 Roland McGrath <roland@hack.frob.com>
169 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
171 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
173 * intl/loadmsgcat.c: Remove declaration of
174 get_sysdep_segment_value.
175 (get_sysdep_segment_value): Use ISO C style.
176 (_nl_load_domain): Use ISO C style. Get rid of redundant
177 semicolon. Fix typo and formatting in comment.
178 (_nl_unload_domain): Use ISO C style.
180 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
182 2014-07-02 Will Newton <will.newton@linaro.org>
184 * malloc/obstack.c: Merge from gnulib master.
185 [HAVE_CONFIG_H]: Remove conditional code.
186 [!_LIBC]: Include config.h.
187 [!ELIDE_CODE]: Don't include inttypes.h, include
188 stdint.h unconditionally.
189 (print_and_abort): Mark as _Noreturn.
190 (_obstack_allocated_p): Mark as __attribute_pure__.
191 (obstack_free): Rename to __obstack_free.
192 [!__attribute__]: Remove conditional code.
193 * malloc/obstack.h: Merge from gnulib master.
194 [__cplusplus]: Move conditional down.
195 [!__attribute_pure__]: Define __attribute_pure__ here
196 if it is not already defined.
197 (_obstack_memory_used): Mark as __attribute_pure__.
198 [!__obstack_free]: Define as obstack_free.
199 [__GNUC__]: Remove check for ancient NeXT gcc.
201 2014-07-02 Will Newton <will.newton@linaro.org>
202 Paul Eggert <eggert@cs.ucla.edu>
204 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
206 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
208 * resolv/gethnamaddr.c: Add comment warning that the file is
211 2014-07-01 Carlos O'Donell <carlos@redhat.com>
213 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
216 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
217 entry for aio_cancel and aio_cancel64.
218 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
219 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
220 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
221 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
222 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
223 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
225 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
226 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
227 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
228 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
229 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
230 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
232 2014-07-01 Roland McGrath <roland@hack.frob.com>
234 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
235 * nptl/pthread_mutex_lock.c: Likewise.
236 * nptl/pthread_mutex_timedlock.c: Likewise.
237 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
239 2014-07-01 Richard henderson <rth@redhat.com>
241 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
242 (__isnan, __isnanl): Remove.
243 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
245 * sysdeps/alpha/fpu/libm-test-ulps: Update.
247 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
249 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
251 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
253 * resolv/nss_dns/dns-host.c (getanswer_r)
254 [MULTI_PTRS_ARE_ALIASES]: Remove code.
256 2014-07-01 Joseph Myers <joseph@codesourcery.com>
258 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
259 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
261 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
262 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
264 2014-07-01 Roland McGrath <roland@hack.frob.com>
266 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
267 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
269 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
270 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
272 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
273 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
275 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
276 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
278 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
279 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
280 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
281 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
283 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
284 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
285 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
287 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
289 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
291 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
293 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
295 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
297 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
299 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
301 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
303 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
305 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
307 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
309 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
312 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
313 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
314 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
315 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
316 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
317 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
318 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
319 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
321 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
323 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
324 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
325 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
328 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
332 2014-06-30 Joseph Myers <joseph@codesourcery.com>
334 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
335 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
337 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
339 * sysdeps/arm/libm-test-ulps: Regenerated.
341 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
342 Roland McGrath <roland@hack.frob.com>
344 * test-skeleton.c (signal_handler): Kill the whole process group
345 before killing the child individually.
346 (main): Report any failure on `setpgid'.
348 2014-06-30 Roland McGrath <roland@hack.frob.com>
350 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
351 from _TLS_H to _ARM_NPTL_TLS_H.
352 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
353 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
355 2014-06-30 Joseph Myers <joseph@codesourcery.com>
358 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
359 (__expm1l): Return argument unchanged when small but not
362 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
364 (_FP_UNPACK_RAW_1_P): Likewise.
365 (_FP_PACK_RAW_1): Likewise.
366 (_FP_PACK_RAW_1_P): Likewise.
367 (_FP_MUL_MEAT_1_wide): Likewise.
368 (_FP_MUL_MEAT_DW_1_hard): Likewise.
369 (_FP_MUL_MEAT_1_hard): Likewise.
370 (_FP_DIV_MEAT_1_imm): Likewise.
371 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
372 (_FP_DIV_MEAT_1_udiv): Likewise.
373 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
374 (_FP_UNPACK_RAW_2): Likewise.
375 (_FP_UNPACK_RAW_2_P): Likewise.
376 (_FP_PACK_RAW_2): Likewise.
377 (_FP_PACK_RAW_2_P): Likewise.
378 (_FP_MUL_MEAT_DW_2_wide): Likewise.
379 (_FP_MUL_MEAT_2_wide): Likewise.
380 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
381 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
382 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
383 (_FP_MUL_MEAT_2_gmp): Likewise.
384 (_FP_DIV_MEAT_2_udiv): Likewise.
385 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
386 (_FP_FRAC_SRL_4): Likewise.
387 (_FP_FRAC_SRST_4): Likewise.
388 (_FP_FRAC_SRS_4): Likewise.
389 (_FP_UNPACK_RAW_4): Likewise.
390 (_FP_UNPACK_RAW_4_P): Likewise.
391 (_FP_PACK_RAW_4): Likewise.
392 (_FP_PACK_RAW_4_P): Likewise.
393 (_FP_MUL_MEAT_DW_4_wide): Likewise.
394 (_FP_MUL_MEAT_4_wide): Likewise.
395 (_FP_MUL_MEAT_4_gmp): Likewise.
396 (umul_ppppmnnn): Likewise.
397 (_FP_DIV_MEAT_4_udiv): Likewise.
398 (__FP_FRAC_ADD_4): Likewise.
399 (__FP_FRAC_SUB_3): Likewise.
400 (__FP_FRAC_SUB_4): Likewise.
401 (__FP_FRAC_DEC_3): Likewise.
402 (__FP_FRAC_DEC_4): Likewise.
403 (__FP_FRAC_ADDI_4): Likewise.
404 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
405 (_FP_FRAC_SRL_8): Likewise.
406 (_FP_FRAC_SRS_8): Likewise.
408 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
410 (FP_UNPACK_RAW_EP): Likewise.
411 (FP_PACK_RAW_E): Likewise.
412 (FP_PACK_RAW_EP): Likewise.
413 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
414 (_FP_ISSIGNAN): Likewise.
415 (_FP_ADD_INTERNAL): Likewise.
418 (_FP_SQRT): Likewise.
419 (_FP_TO_INT): Likewise.
420 (_FP_FROM_INT): Likewise.
421 (FP_EXTEND): Likewise.
422 (_FP_DIV_MEAT_N_loop): Likewise.
424 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
426 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
429 2014-06-29 Joseph Myers <joseph@codesourcery.com>
432 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
433 result with correct sign in case of exponents that produce
434 overflow except for X very close to 1.
436 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
438 mktime: merge #if/#ifdef usage from glibc
439 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
440 as that works with both Glibc's and Gnulib's style.
441 See thread starting at Siddhesh Poyarekar's bug report at:
442 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
444 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
446 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
447 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
448 * sysdeps/tile/tilegx/memmove.c: Remove file.
450 2014-06-27 Joseph Myers <joseph@codesourcery.com>
452 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
454 * scripts/soversions.awk: Do not handle or generate ABI lines.
455 * shlib-versions: Remove ABI entries.
456 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
457 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
459 2014-06-27 Roland McGrath <roland@hack.frob.com>
461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
462 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
463 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
469 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
495 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
497 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
509 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
512 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
514 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
517 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
519 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
522 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
524 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
525 Identical file removed.
526 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
528 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
530 Identical file removed.
531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
535 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
537 Identical file removed.
538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
541 Identical file removed.
542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
545 Identical file removed.
546 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
549 Identical file removed.
550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
552 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
553 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
554 Identical file removed.
555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
557 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
559 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
561 Identical file removed.
562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
564 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
567 Identical file removed.
568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
570 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
572 Identical file removed.
573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
575 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
577 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
578 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
579 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
582 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
583 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
584 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
586 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
587 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
588 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
589 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
590 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
592 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
595 * nscd/nscd.c (monitor_child): Return exit status of child
596 instead of return value from wait syscall.
598 2014-06-27 Joseph Myers <joseph@codesourcery.com>
600 * configure.ac (libc_commonpagesize): Remove variable.
601 (libc_relro_required): Likewise.
602 (libc_cv_z_relro): Remove configure test.
603 * configure: Regenerated.
604 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
606 (libc_relro_required): Likewise.
607 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
608 (libc_relro_required): Likewise.
609 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
610 (libc_relro_required): Likewise.
611 * sysdeps/arm/preconfigure: Regenerated.
612 * sysdeps/ia64/preconfigure: Remove file.
613 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
615 (libc_relro_required): Likewise.
619 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
620 (__ieee754_yn): Set FE_TONEAREST mode internally and then
621 recompute overflowing results in original rounding mode.
622 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
623 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
624 recompute overflowing results in original rounding mode.
625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
626 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
627 recompute overflowing results in original rounding mode.
628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
629 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
630 recompute overflowing results in original rounding mode.
631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
632 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
633 recompute overflowing results in original rounding mode.
634 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
635 (libc_feholdsetround_ctx): New macro.
636 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
638 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
640 2014-06-26 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
643 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
644 corresponding .cpsetup call.
646 2014-06-26 Roland McGrath <roland@hack.frob.com>
648 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
649 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
650 * sysdeps/arm/Makefile [$(subdir) = csu]
651 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
652 (static-only-routines): Add aeabi_read_tp here.
653 (shared-only-routines): Add libc-aeabi_read_tp here.
654 (CFLAGS-libc-start.c): Add -fexceptions here.
655 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
656 (sysdep_routines, static-only-routines, shared-only-routines):
657 Don't add to these here.
658 (CFLAGS-libc-start.c): Likewise.
660 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
661 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
662 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
663 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
664 * sysdeps/arm/Makefile [$(subdir) = rt]
665 (librt-sysdep_routines, librt-shared-only-routines):
666 Append rt-aeabi_unwind_cpp_pr1 here.
667 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
668 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
669 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
670 (libpthread-sysdep_routines, libpthread-shared-only-routines):
671 Append nptl-aeabi_unwind_cpp_pr1 here.
672 (tests): Filter out tst-cleanupx4 here.
673 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
674 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
677 2014-06-26 Joseph Myers <joseph@codesourcery.com>
679 * scripts/list-sources.sh: Do not handle ports specially.
681 2014-06-26 Roland McGrath <roland@hack.frob.com>
683 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
684 * sysdeps/arm/feupdateenv.c: Likewise.
686 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
688 2014-06-26 Joseph Myers <joseph@codesourcery.com>
690 * manual/texinfo.tex: Update to version 2014-05-05.10 with
691 trailing whitespace removed.
692 * scripts/config.guess: Update to version 2014-03-23.
693 * scripts/config.sub: Update to version 2014-05-01
694 * scripts/install-sh: Update to version 2013-12-25.23.
695 * scripts/move-if-change: Update from gnulib.
697 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
699 * debug/memmove_chk.c: Remove pagecopy.h include.
701 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
703 * time/mktime.c (leapyear): Remove inline keyword. The code is now
704 identical to gnulib mktime.
706 2014-06-26 Joseph Myers <joseph@codesourcery.com>
708 * configure.ac: Do not test for machine being rs6000. Do not test
710 * configure: Regenerated.
712 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
714 * configure: Regenerated.
715 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
716 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
717 Remove configure test.
718 * sysdeps/arm/configure: Regenerated.
719 * sysdeps/nptl/configure.ac: Do not check
720 libc_cv_asm_cfi_directives.
721 * sysdeps/nptl/configure: Regenerated.
722 * sysdeps/x86_64/nptl/configure.ac: Remove file.
723 * sysdeps/x86_64/nptl/configure: Remove generated file.
724 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
726 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
728 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
730 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
731 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
732 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
735 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
736 instead of whether it is defined.
737 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
738 * sysdeps/hppa/dl-machine.h: Likewise.
739 * sysdeps/ia64/dl-machine.h: Likewise.
740 * sysdeps/m68k/dl-machine.h: Likewise.
741 * sysdeps/microblaze/dl-machine.h: Likewise.
742 * sysdeps/mips/dl-machine.: Likewise.
743 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
744 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
745 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
746 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
747 * sysdeps/sh/dl-machine.h: Likewise.
748 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
749 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
750 * sysdeps/tile/dl-machine.h: Likewise.
751 * sysdeps/x86_64/dl-machine.h: Likewise.
753 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
755 (verify_persistent_db): Likewise.
757 2014-06-26 Roland McGrath <roland@hack.frob.com>
759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
760 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
765 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
770 Identical file removed.
771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
783 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
785 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
787 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
790 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
794 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
796 Identical file removed.
797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
798 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
803 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
814 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
817 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
820 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
822 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
825 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
829 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
831 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
832 * sysdeps/unix/sysv/linux/s390/Versions
833 (libpthread: GLIBC_2.19): New version set.
834 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
835 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
836 (librt: GLIBC_2.3.3): New version set.
837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
838 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
839 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
840 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
841 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
842 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
843 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
844 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
845 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
846 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
847 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
848 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
849 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
850 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
851 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
852 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
853 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
854 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
855 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
856 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
857 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
859 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
860 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
861 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
862 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
863 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
864 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
865 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
866 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
867 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
868 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
875 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
877 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
879 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
881 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
884 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
885 (__libc_vfork): Define the function under this name.
886 [!NOT_IN_libc] (__vfork): Make this an alias.
887 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
889 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
890 (__libc_vfork): Define the function under this name.
891 [!NOT_IN_libc] (__vfork): Make this an alias.
892 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
893 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
897 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
899 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
900 code that was previously under [RESET_PID].
901 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
902 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
905 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
906 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
907 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
908 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
909 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
910 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
911 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
912 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
913 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
914 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
915 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
917 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
918 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
920 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
922 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
923 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
924 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
925 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
926 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
928 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
930 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
931 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
932 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
933 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
934 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
935 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
936 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
937 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
938 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
940 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
941 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
942 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
943 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
945 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
947 2014-06-25 Roland McGrath <roland@hack.frob.com>
949 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
950 that was previously under [RESET_PID].
951 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
953 2014-06-25 Joseph Myers <joseph@codesourcery.com>
955 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
956 not undefine and redefine.
957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
958 [O_CLOEXEC]: Make code unconditional.
959 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
960 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
962 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
963 conditional variable definition.
964 (shm_open) [O_CLOEXEC]: Make code unconditional.
965 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
968 * configure.ac (USE_REGPARMS): Don't define here.
969 * configure: Regenerated.
970 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
971 * sysdeps/i386/configure: Regenerated.
973 * nptl/createthread.c: Don't include kernel-features.h.
974 * nptl/pthread_cancel.c: Likewise.
975 * nptl/pthread_condattr_setclock.c: Likewise.
976 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
977 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
978 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
979 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
980 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
981 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
982 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
983 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
984 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
985 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
986 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
987 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
988 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
989 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
990 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
991 * nscd/gai.c: Likewise.
992 * nss/nss_db/db-open.c: Likewise.
993 * sysdeps/generic/ldsodefs.h: Likewise.
994 * sysdeps/sh/nptl/tls.h: Likewise.
995 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
996 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
997 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
998 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
999 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1000 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1001 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1002 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1004 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1005 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1006 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1007 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1008 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1009 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1010 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1011 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1012 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1013 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1014 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1015 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1016 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1017 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1018 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1019 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1020 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1021 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1022 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1023 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1024 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1025 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1026 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1027 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1028 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1029 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1030 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1031 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1032 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1033 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1034 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1035 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1036 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1037 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1038 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1039 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1040 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1041 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1042 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1043 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1044 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1045 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1046 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1047 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1048 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1049 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1050 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1075 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1076 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1077 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1078 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1079 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1080 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1082 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1083 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1084 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1085 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1086 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1087 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1088 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1089 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1090 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1091 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1092 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1093 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1094 * sysdeps/unix/sysv/linux/system.c: Likewise.
1095 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1096 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1097 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1098 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1099 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1101 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1103 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1104 * configure: Regenerated.
1105 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1107 * configure.ac (base_machine): Do not set specially for particular
1109 * configure: Regenerated.
1110 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1111 settings from configure.ac.
1112 * sysdeps/i386/preconfigure: New file.
1113 * sysdeps/s390/preconfigure: Likewise.
1114 * sysdeps/sh/preconfigure: Likewise.
1115 * sysdeps/sparc/preconfigure: Likewise.
1117 2014-06-25 Roland McGrath <roland@hack.frob.com>
1119 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1120 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1121 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1122 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1123 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1124 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1125 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1126 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1127 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1128 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1129 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1130 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1131 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1132 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1133 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1134 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1135 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1136 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1137 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1139 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1140 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1141 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1142 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1143 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1144 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1145 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1146 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1147 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1148 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1149 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1150 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1151 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1152 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1153 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1154 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1155 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1156 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1157 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1158 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1160 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1162 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1166 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1169 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1170 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1172 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1173 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1174 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1175 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1176 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1192 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1201 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1204 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1209 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1211 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1213 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1225 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1228 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1232 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1234 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1237 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1240 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1242 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1245 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1247 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1249 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1251 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1253 * timezone/checktab.awk: Update from tzcode 2014e.
1254 * timezone/private.h: Likewise.
1255 * timezone/tzfile.h: Likewise.
1256 * timezone/zdump.c: Likewise.
1257 * timezone/zic.c: Likewise.
1259 * sysdeps/unix/sysv/linux/kernel-features.h
1260 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1262 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1263 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1264 Remove conditional code.
1266 2014-06-25 Will Newton <will.newton@linaro.org>
1268 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1269 (_dl_arm_cap_flags): Add HWCAP2 values.
1270 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1271 (_DL_HWCAP_COUNT): Increase to 37.
1272 (_DL_HWCAP_LAST): New define.
1273 (_DL_HWCAP2_LAST): New define.
1274 (_dl_procinfo): Add support for printing
1276 (_dl_string_hwcap): Use _dl_hwcap_string.
1278 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1282 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1284 * README: Do not mention ports directory.
1286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1288 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1289 <kernel-features.h>.
1290 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1291 conditional variable definition.
1292 (__futimes): Update comment.
1293 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1294 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1297 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1298 arguments close to 0.
1299 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1303 * math/auto-libm-test-in: Add more tests of exp10.
1304 * math/auto-libm-test-out: Regenerated.
1305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1307 * sysdeps/unix/sysv/linux/kernel-features.h
1308 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1309 * sysdeps/unix/sysv/linux/readv.c: Do not include
1310 <kernel-features.h>.
1311 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1312 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1313 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1315 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1317 * sysdeps/unix/sysv/linux/writev.c: Do not include
1318 <kernel-features.h>.
1319 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1320 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1321 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1323 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1326 2014-06-25 Will Newton <will.newton@linaro.org>
1328 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1329 comment changes throughout the file. Remove checks
1330 for HAVE_*_H definitions that are not required.
1331 (__gen_tempname): Call abort if an unknown kind value is
1334 2014-06-25 Andreas Schwab <schwab@suse.de>
1337 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1338 scalbln, scalblnf, scalblnl in libc.
1340 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1343 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1344 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1345 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1347 2014-06-24 Roland McGrath <roland@hack.frob.com>
1349 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1350 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1351 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1352 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1354 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1355 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1357 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1358 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1359 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1360 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1361 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1362 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1363 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1364 * sysdeps/x86/bits/semaphore.h: ... here.
1365 * sysdeps/x86/nptl/elide.h: Moved ...
1366 * sysdeps/x86/elide.h: ... here.
1367 * sysdeps/x86_64/nptl/Implies: File removed.
1368 * sysdeps/i386/nptl/Implies: File removed.
1370 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1374 return the argument for normal arguments with exponent below -64.
1375 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1377 * math/auto-libm-test-in: Add another test of expm1.
1378 * math/auto-libm-test-out: Regenerated.
1381 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1382 calling __erfcl for arguments at least 16.
1383 * math/auto-libm-test-in: Add more tests of erf.
1384 * math/auto-libm-test-out: Regenerated.
1386 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1387 individual architectures.
1388 * sysdeps/unix/sysv/linux/configure: Regenerated.
1389 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1390 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1391 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1392 (ldd_rewrite_script): Define variable.
1393 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1398 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1399 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1400 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1401 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1402 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1403 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1404 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1405 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1407 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1410 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1411 Rename member __data.d to __data.__elision_data.
1413 2014-06-24 Wilco <wdijkstr@arm.com>
1415 * NEWS: Add 16918 to fixed bug list.
1417 2014-06-24 Wilco <wdijkstr@arm.com>
1419 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1421 2014-06-24 Wilco <wdijkstr@arm.com>
1423 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1424 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1425 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1426 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1427 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1428 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1429 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1432 2014-06-24 Wilco <wdijkstr@arm.com>
1434 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1436 2014-06-24 Wilco <wdijkstr@arm.com>
1438 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1439 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1440 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1441 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1443 2014-06-24 Wilco <wdijkstr@arm.com>
1446 * sysdeps/arm/feupdateenv.c (feupdateenv):
1447 Rewrite to reduce FPSCR accesses and fix return value.
1449 2014-06-24 Wilco <wdijkstr@arm.com>
1451 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1452 Optimize to avoid unnecessary FPSCR writes.
1453 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1454 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1455 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1456 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1458 2014-06-24 Wilco <wdijkstr@arm.com>
1460 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1461 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1462 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1463 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1464 Call libc_fetestexcept_vfp.
1465 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1466 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1467 __SOFTFP__ ifdef so that they can be built for softfp.
1469 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1471 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1472 argument type signed char.
1474 * Makerules (check-abi): Dump diff of symlist if the test
1477 2014-06-23 Roland McGrath <roland@hack.frob.com>
1479 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1482 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1483 Remove unused variable ST.
1485 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1489 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1490 small arguments before calling __expm1.
1491 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1492 small arguments before calling __expm1f.
1493 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1494 small arguments before calling __expm1l.
1495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1497 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1498 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1499 spurious underflow for some cosh tests.
1500 * math/auto-libm-test-out: Regenerated.
1501 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1505 (__ieee754_y1): Set errno if return value overflows.
1506 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1507 (__ieee754_y1f): Set errno if return value overflows.
1508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1509 (__ieee754_y1l): Set errno if return value overflows.
1510 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1511 (__ieee754_y1l): Set errno if return value overflows.
1512 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1513 * math/auto-libm-test-out: Regenerated.
1515 * math/gen-auto-libm-tests.c: Document use of
1516 ignore-zero-inf-sign.
1517 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1518 (input_flags): Add ignore-zero-inf-sign.
1519 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1520 * math/gen-libm-test.pl (generate_testfile): Handle
1521 ignore-zero-inf-sign.
1522 * math/auto-libm-test-in: Mark some cpow tests with
1523 ignore-zero-inf-sign and some with xfail-rounding.
1524 * math/auto-libm-test-out: Regenerated.
1525 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1526 * sysdeps/i386/fpu/libm-test-ulps: Update.
1527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1530 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1531 overflowing or underflowing operations take place with sign of
1533 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1534 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1535 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1536 (__ieee754_pow): Recompute overflowing and underflowing results in
1537 original rounding mode.
1538 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1539 (__powl_helper): Allow negative argument X and scale negated value
1540 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1541 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1542 overflowing or underflowing operations take place with sign of
1544 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1546 * math/auto-libm-test-in: Add more tests of pow.
1547 * math/auto-libm-test-out: Regenerated.
1548 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1549 (pow_tonearest_test_data): Remove.
1550 (pow_test_tonearest): Likewise.
1551 (pow_towardzero_test_data): Likewise.
1552 (pow_test_towardzero): Likewise.
1553 (pow_downward_test_data): Likewise.
1554 (pow_test_downward): Likewise.
1555 (pow_upward_test_data): Likewise.
1556 (pow_test_upward): Likewise.
1557 (main): Don't call removed functions.
1558 * sysdeps/i386/fpu/libm-test-ulps: Update.
1559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1561 2014-06-23 Roland McGrath <roland@hack.frob.com>
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1737 2014-06-23 Will Newton <will.newton@linaro.org>
1738 Wilco <wdijkstr@arm.com>
1740 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1741 implementation. Include get-rounding-mode.h.
1742 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1743 [!libc_feholdsetround_noex_ctx]: Define
1744 libc_feholdsetround_noex_ctx.
1745 [!libc_feholdsetround_noexf_ctx]: Define
1746 libc_feholdsetround_noexf_ctx.
1747 [!libc_feholdsetround_noexl_ctx]: Define
1748 libc_feholdsetround_noexl_ctx.
1749 (libc_feholdsetround_ctx): New function.
1750 (libc_feresetround_ctx): New function.
1751 (libc_feholdsetround_noex_ctx): New function.
1752 (libc_feresetround_noex_ctx): New function.
1754 2014-06-23 Roland McGrath <roland@hack.frob.com>
1756 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1757 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1758 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1759 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1760 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1761 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1763 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1764 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1765 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1766 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1767 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1768 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1770 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1775 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1783 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1792 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1795 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1800 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1804 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1805 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1806 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1811 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1818 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1820 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1824 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1827 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1834 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1836 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1838 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1840 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1841 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1842 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1861 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1864 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1865 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1867 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1869 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1871 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1872 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1873 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1874 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1875 (IPV6_PMTUDISC_INTERFACE): Likewise.
1876 (IPV6_PMTUDISC_OMIT): Likewise.
1878 2014-06-23 Andreas Schwab <schwab@suse.de>
1880 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1881 Remove unused errout label.
1883 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1886 macro: hardware supports Vector Crypto instructions.
1888 2014-06-23 Will Newton <will.newton@linaro.org>
1890 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1891 rather than __builtin_expect.
1893 * elf/dl-lookup.c (undefined_msg): Remove variable.
1894 (_dl_lookup_symbol_x): Replace undefined_msg with string
1897 * elf/dl-lookup.c (do_lookup_unique): New function.
1898 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1899 to a separate function.
1901 2014-06-23 Andreas Schwab <schwab@suse.de>
1904 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1905 before reading the next line.
1907 2014-06-23 Will Newton <will.newton@linaro.org>
1909 * test-skeleton.c (signal_handler): Use printf and %m
1910 rather than perror. Use printf rather than fprintf to
1911 stderr. Use puts rather than fputs to stderr.
1914 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1916 * nscd/nscd.c (thread_info_t): Remove typedef.
1917 (thread_info): Remove variable.
1919 2014-06-21 Allan McRae <allan@archlinux.org>
1921 * NEWS: Mention CVE-2014-4043.
1923 2014-06-20 Roland McGrath <roland@hack.frob.com>
1925 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1926 * nptl/smp.h: ... here.
1928 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1930 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1931 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1932 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1933 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1935 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1936 * nptl/stack-aliasing.h: New file.
1937 * sysdeps/i386/i686/stack-aliasing.h: New file.
1938 * sysdeps/i386/i686/nptl/Makefile: File removed.
1939 * sysdeps/x86_64/stack-aliasing.h: New file.
1940 * sysdeps/x86_64/nptl/Makefile
1941 (CFLAGS-pthread_create.c): Variable removed.
1943 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1944 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1946 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1947 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1950 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1953 (__ASSUME_SIGFRAME_V2): Remove macro.
1954 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1955 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1956 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1957 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1958 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1959 Declare as function. Remove conditional macro definitions.
1960 (__default_rt_sa_restorer): Likewise.
1961 (__default_sa_restorer_v1): Remove declaration.
1962 (__default_sa_restorer_v2): Likewise.
1963 (__default_rt_sa_restorer_v1): Likewise.
1964 (__default_rt_sa_restorer_v2): Likewise.
1965 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1966 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1967 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1969 2014-06-20 Roland McGrath <roland@hack.frob.com>
1971 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1972 (libpthread-routines): Add sysdep.
1973 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1974 * sysdeps/unix/sysv/linux/sparc/Versions
1975 (libpthread: GLIBC_2.3.3): New version set.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1977 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1978 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1979 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1980 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1981 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1983 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1985 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1987 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1989 * sysdeps/sparc/nptl/sem_init.c: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1991 * sysdeps/sparc/nptl/sem_post.c: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1993 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1995 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1997 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1998 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1999 (libpthread-routines): Add cpu_relax.
2000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2002 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2003 (librt: GLIBC_2.3.3): New version set.
2004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2005 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2006 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2007 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2010 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2013 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2015 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2017 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2019 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2021 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2024 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2040 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2044 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2047 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2053 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2055 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2062 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2064 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2066 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2067 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2068 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2069 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2070 * nscd/nscd.c: Likewise.
2071 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2072 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2073 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2074 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2076 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2077 <kernel-features.h>.
2078 (init_mq_netlink): Remove conditional have_sock_cloexec
2079 definitions. Remove code conditional on have_sock_cloexec < 0.
2080 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2081 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2082 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2083 <kernel-features.h>.
2084 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2085 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2087 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2090 Add tests for memset_chk and memset.
2092 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2095 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2098 * elf/tst-dl-iter-static.c: New file.
2099 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2101 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2104 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2106 * sysdeps/unix/sysv/linux/kernel-features.h
2107 (__ASSUME_F_GETOWN_EX): Remove macro.
2108 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2109 <kernel-features.h>.
2110 (miss_F_GETOWN_EX): Remove variable or macro.
2111 (do_fcntl): Do not check miss_F_GETOWN_EX.
2112 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2114 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2117 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2118 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2120 * sysdeps/unix/sysv/linux/kernel-features.h
2121 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2122 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2123 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2124 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2126 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2129 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2130 Fix calculation of the symbol's value.
2131 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2132 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2133 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2134 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2135 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2136 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2137 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2138 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2139 (modules-names): Add `tst-armtlsdescmod',
2140 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2141 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2142 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2143 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2144 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2145 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2146 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2147 ($(objpfx)tst-armtlsdescloc): New dependency.
2148 ($(objpfx)tst-armtlsdescextnow): Likewise.
2149 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2150 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2152 * sysdeps/arm/configure: Regenerate.
2154 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2156 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2157 (__atfct_seterrno_2): Likewise.
2158 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2159 <kernel-features.h>.
2160 (__ASSUME_ATFCTS): Do not undefine and redefine.
2161 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2162 (__have_atfcts): Remove conditional definition.
2163 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2164 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2165 unreachable if [__ASSUME_ATFCTS].
2166 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2167 not undefine and redefine.
2168 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2169 <kernel-features.h>.
2170 (faccessat) [__NR_faccessat]: Make code unconditional.
2171 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2172 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2173 <kernel-features.h>.
2174 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2175 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2176 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2177 <kernel-features.h>.
2178 (fchownat) [__NR_fchownat]: Make code unconditional.
2179 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2180 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2181 <kernel-features.h>.
2182 (futimesat) [__NR_futimesat]: Make code unconditional.
2183 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2184 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2185 <kernel-features.h>.
2186 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2187 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2188 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2189 <kernel-features.h>.
2190 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2191 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2192 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2193 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2194 <kernel-features.h>.
2195 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2196 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2197 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2198 <kernel-features.h>.
2199 (linkat) [__NR_linkat]: Make code unconditional.
2200 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2201 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2202 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2203 <kernel-features.h>.
2204 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2205 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2206 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2207 <kernel-features.h>.
2208 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2209 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2210 * sysdeps/unix/sysv/linux/openat.c: Do not include
2211 <kernel-features.h>.
2212 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2213 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2214 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2215 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2216 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2217 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2218 <kernel-features.h>.
2219 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2220 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2221 result of INLINE_SYSCALL directly, not via int variable.
2222 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2223 <kernel-features.h>.
2224 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2225 (renameat) [__NR_renameat]: Make code unconditional.
2226 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2227 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2228 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2229 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2231 (__ASSUME_ATFCTS): Do not undefine and redefine.
2232 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2233 <kernel-features.h>.
2234 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2235 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2236 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2237 <kernel-features.h>.
2238 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2239 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2240 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2241 (__ASSUME_ATFCTS): Do not undefine and redefine.
2242 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2243 <kernel-features.h>.
2244 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2245 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2246 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2247 <kernel-features.h>.
2248 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2249 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2251 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2253 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2255 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2258 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2259 constructed tree before returning error.
2260 * posix/bug-regexp36.c: Expand test case.
2262 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2265 * math/libm-test.inc (scalbln_test_date):
2266 Add errno expectations.
2267 * math/w_scalblnf.c: New File.
2268 Add wrapper which checks for setting errno to ERANGE.
2269 Add weak_alias for corresponding scalbln function.
2270 * math/w_scalbln.c: Likewise.
2271 * math/w_scalblnl.c: Likewise.
2272 * math/Makefile (libm-calls): Add w_scalbln.
2273 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2274 Remove weak_alias for corresponding scalbln function.
2275 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2279 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2280 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2281 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2282 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2283 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2284 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2285 Remove long_double_symbol for scalblnl function in libm, libc.
2286 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2287 Add wrapper which checks for setting errno to ERANGE.
2288 Add long_double_symbol for scalblnl function in libm, libc.
2289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2290 Remove long_double_symbol for scalblnl in libm.
2291 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2292 Add wrapper which checks for setting errno to ERANGE.
2293 Add long_double_symbol for scalblnl function in libm.
2294 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2295 Do not use wrapper because of own implementation.
2297 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2299 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2300 3 bytes for __pad1 for x32.
2301 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2303 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2304 H.J. Lu <hongjiu.lu@intel.com>
2306 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2307 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2310 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2312 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2315 * posix/regcomp.c (parse_expression): Deallocate partially
2316 constructed tree before returning error.
2317 * posix/Makefile.c (tests): Add bug-regex36.
2318 (generated): Add bug-regex36.mtrace.
2319 (tests-special): Add $(objpfx)bug-regex36-mem.out
2320 (bug-regex36-ENV): New variable.
2321 ($(objpfx)bug-regex36-mem.out): New rule.
2322 * posix/bug-regex36.c: New file.
2324 2014-06-19 Will Newton <will.newton@linaro.org>
2326 * malloc/malloc.c (systrim): If extra is zero then return
2329 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2331 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2333 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2335 * sysdeps/aarch64/strchr.S: New file.
2337 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2340 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2341 from arguments -2 or below.
2342 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2343 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2345 2014-06-18 Andreas Schwab <schwab@suse.de>
2348 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2349 of a bracket expr not to run off the end of the string.
2350 * posix/Makefile (tests): Add tst-fnmatch3.
2351 * posix/tst-fnmatch3.c: New file.
2353 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2355 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2356 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2357 [$(cross-compiling) = no]: Likewise.
2358 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2359 [$(cross-compiling) = no]: Likewise.
2361 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2365 double, adjusted for any remainder from the high double.
2366 * math/libm-test.inc (nearbyint): Add tests.
2369 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2371 * nptl/sysdeps/powerpc/Makefile: Moved ...
2372 * sysdeps/powerpc/nptl/Makefile: ... here.
2373 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2374 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2375 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2376 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2377 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2378 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2379 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2380 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2381 * nptl/sysdeps/powerpc/tls.h: Moved ...
2382 * sysdeps/powerpc/nptl/tls.h: ... here.
2384 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2387 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2388 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2389 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2390 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2391 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2392 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2393 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2394 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2395 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2397 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2399 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2401 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2403 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2406 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2409 2014-06-16 Florian Weimer <fweimer@redhat.com>
2412 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2413 non-executed part of the test.
2415 2014-06-16 Andreas Schwab <schwab@suse.de>
2417 * string/bits/string2.h (strdup, strndup): Update feature guard.
2419 2014-06-14 David S. Miller <davem@davemloft.net>
2421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2423 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2425 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2426 that was previously under [RESET_PID].
2427 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2429 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2430 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2431 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2432 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2433 (__libc_vfork): New strong alias.
2434 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2436 2014-06-14 Andi Kleen <ak@linux.intel.com>
2438 * sysdeps/generic/elide.h: New file.
2440 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2442 * Makefile (installed-headers): Adjust path of pthread.h header.
2444 2014-06-13 Roland McGrath <roland@hack.frob.com>
2446 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2447 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2449 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2451 * nptl/sysdeps/s390/Makefile: Moved ...
2452 * sysdeps/s390/nptl/Makefile: ... here.
2453 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2454 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2455 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2456 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2457 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2458 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2459 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2460 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2461 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2462 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2463 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2464 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2465 * nptl/sysdeps/s390/tls.h: Moved ...
2466 * sysdeps/s390/nptl/tls.h: ... here.
2468 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2469 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2471 2014-06-13 David S. Miller <davem@davemloft.net>
2473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2476 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2480 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2481 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2482 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2483 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2484 Remove RESET_PID cpp guards.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2486 Remove RESET_PID cpp guards.
2487 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2489 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2491 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2494 2014-06-13 Andi Kleen <ak@linux.intel.com>
2496 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2497 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2499 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2500 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2504 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2507 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2508 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2514 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2517 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2518 (pthread_rwlock_rdlock): Add elision.
2519 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2520 (pthread_rwlock_wrlock): Add elision.
2521 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2522 (pthread_rwlock_trywrlock): Add elision.
2523 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2524 (pthread_rwlock_tryrdlock): Add elision.
2525 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2526 (pthread_rwlock_tryrdlock): Add elision unlock.
2527 * nptl/sysdeps/pthread/pthread.h:
2528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2529 (PTHREAD_RWLOCK_INITIALIZER,
2530 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2531 Handle new elision field.
2532 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2533 * sysdeps/arm/nptl/bits/pthreadtypes.h
2534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2535 * sysdeps/sh/nptl/bits/pthreadtypes.h
2536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2537 * sysdeps/tile/nptl/bits/pthreadtypes.h
2538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2539 * sysdeps/a/nptl/bits/pthreadtypes.h
2540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2541 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2543 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2545 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2547 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2549 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2551 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2553 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2555 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2557 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2558 (elision_init): Set try_xbegin to zero when no RTM.
2559 * sysdeps/x86/nptl/bits/pthreadtypes.h
2560 (pthread_rwlock_t): Change __pad1 to __rwelision.
2561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2563 2014-06-13 Andi Kleen <ak@linux.intel.com>
2565 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2566 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2567 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2568 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2570 2014-06-13 Meador Inge <meadori@codesourcery.com>
2573 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2574 that the cached result has been set before returning it.
2576 2014-06-12 Roland McGrath <roland@hack.frob.com>
2578 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2579 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2581 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2583 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2585 * nptl/sysdeps/sparc/Makefile: Moved ...
2586 * sysdeps/sparc/nptl/Makefile: ... here.
2587 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2588 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2589 * nptl/sysdeps/sparc/tls.h: Moved ...
2590 * sysdeps/sparc/nptl/tls.h: ... here.
2591 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2592 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2593 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2594 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2595 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2596 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2597 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2598 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2599 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2600 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2601 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2602 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2603 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2604 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2605 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2606 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2607 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2610 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2611 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2613 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2616 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2620 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2622 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2623 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2625 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2626 (struct list_links): Type removed.
2627 (struct thread_node, struct timer_node): Replace struct list_links
2628 with struct list_head.
2629 (list_unlink_ip): Likewise.
2630 * sysdeps/pthread/timer_routines.c
2631 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2632 (list_append, list_insbefore): Likewise.
2633 (list_init): Function removed.
2634 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2635 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2636 * sysdeps/pthread/Makefile: ... here, new file.
2638 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2639 * sysdeps/nptl/Implies: ... here.
2640 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2641 * nptl/sysdeps/pthread/list.h: Moved ...
2642 * include/list.h: ... here.
2643 * nptl/sysdeps/pthread/createthread.c: Moved ...
2644 * nptl/createthread.c: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2646 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2647 * nptl/pt-longjmp.c: ... here.
2648 * nptl/sysdeps/pthread/Makefile: Moved ...
2649 * sysdeps/nptl/Makefile: ... here.
2650 * nptl/sysdeps/pthread/Subdirs: Moved ...
2651 * sysdeps/nptl/Subdirs: ... here.
2652 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2653 * sysdeps/nptl/aio_misc.h: ... here.
2654 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2655 * sysdeps/nptl/bits/libc-lock.h: ... here.
2656 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2657 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2658 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2659 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2660 * nptl/sysdeps/pthread/configure: Moved ...
2661 * sysdeps/nptl/configure: ... here.
2662 * nptl/sysdeps/pthread/configure.ac: Moved ...
2663 * sysdeps/nptl/configure.ac: ... here.
2664 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2665 * sysdeps/nptl/gai_misc.h: ... here.
2666 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2667 * sysdeps/nptl/librt-cancellation.c: ... here.
2668 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2669 * sysdeps/nptl/malloc-machine.h: ... here.
2670 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2671 * sysdeps/nptl/pthread-functions.h: ... here.
2672 * nptl/sysdeps/pthread/pthread.h: Moved ...
2673 * sysdeps/nptl/pthread.h: ... here.
2674 * nptl/sysdeps/pthread/setxid.h: Moved ...
2675 * sysdeps/nptl/setxid.h: ... here.
2676 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2677 * sysdeps/nptl/sigfillset.c: ... here.
2678 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2679 * sysdeps/nptl/tcb-offsets.h: ... here.
2680 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2681 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2682 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2683 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2684 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2685 * sysdeps/pthread/allocalim.h: ... here.
2686 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2687 * sysdeps/pthread/bits/sigthread.h: ... here.
2688 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2689 * sysdeps/pthread/flockfile.c: ... here.
2690 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2691 * sysdeps/pthread/ftrylockfile.c: ... here.
2692 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2693 * sysdeps/pthread/funlockfile.c: ... here.
2694 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2695 * sysdeps/pthread/posix-timer.h: ... here.
2696 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2697 * sysdeps/pthread/timer_create.c: ... here.
2698 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2699 * sysdeps/pthread/timer_delete.c: ... here.
2700 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2701 * sysdeps/pthread/timer_getoverr.c: ... here.
2702 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2703 * sysdeps/pthread/timer_gettime.c: ... here.
2704 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2705 * sysdeps/pthread/timer_routines.c: ... here.
2706 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2707 * sysdeps/pthread/timer_settime.c: ... here.
2708 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2709 * sysdeps/pthread/tst-timer.c: ... here.
2710 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2711 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2713 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2714 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2716 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2717 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2718 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2719 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2720 Update #include target.
2721 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2722 * sysdeps/i386/i686/nptl/Makefile: ... here.
2723 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2724 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2725 Update #include target.
2726 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2727 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2728 * nptl/sysdeps/i386/Makefile: Moved ...
2729 * sysdeps/i386/nptl/Makefile: ... here.
2730 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2731 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2732 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2733 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2734 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2735 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2736 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2737 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2738 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2739 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2740 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2741 * nptl/sysdeps/i386/tls.h: Moved ...
2742 * sysdeps/i386/nptl/tls.h: ... here.
2744 * sysdeps/sh/Makefile [$(subdir) = csu]
2745 (gen-as-const-headers): Add tcb-offsets.sym.
2746 * nptl/sysdeps/sh/Makefile: File removed.
2747 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2748 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2749 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2750 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2751 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2752 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2753 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2754 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2755 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2756 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2757 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2758 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2759 * nptl/sysdeps/sh/tls.h: Moved ...
2760 * sysdeps/sh/nptl/tls.h: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2762 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2764 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2766 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2768 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2770 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2772 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2774 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2776 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2778 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2780 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2782 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2787 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2790 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2791 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2792 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2793 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2796 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2797 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2798 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2799 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2800 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2801 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2802 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2803 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2804 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2805 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2806 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2807 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2808 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2810 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2812 * posix/spawn_faction_addopen.c: Include string.h.
2814 2014-06-11 Roland McGrath <roland@hack.frob.com>
2816 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2817 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2818 * nptl/sysdeps/x86_64/Makefile: Moved ...
2819 * sysdeps/x86_64/nptl/Makefile: ... here.
2820 * nptl/sysdeps/x86_64/configure: Moved ...
2821 * sysdeps/x86_64/nptl/configure: ... here.
2822 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2823 * sysdeps/x86_64/nptl/configure.ac: ... here.
2824 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2825 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2826 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2827 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2828 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2829 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2830 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2831 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2832 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2833 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2834 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2835 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2836 * nptl/sysdeps/x86_64/tls.h: Moved ...
2837 * sysdeps/x86_64/nptl/tls.h: ... here.
2838 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2839 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2840 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2841 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2843 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2845 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2849 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2851 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2853 [POSIX] (off_t): Likewise.
2854 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2855 [POSIX] (S_ISBLK): Require macro.
2856 [POSIX] (S_ISCHR): Likewise.
2857 [POSIX] (S_ISDIR): Likewise.
2858 [POSIX] (S_ISFIFO): Likewise.
2859 [POSIX] (S_ISREG): Likewise.
2860 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2862 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2864 [POSIX] (time_t): Likewise.
2865 [POSIX] (timer_t): Likewise.
2867 2014-06-11 Florian Weimer <fweimer@redhat.com>
2870 * posix/spawn_int.h (struct __spawn_action): Make the path string
2871 non-const to support deallocation.
2872 * posix/spawn_faction_addopen.c
2873 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2874 * posix/spawn_faction_destroy.c
2875 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2876 path in all spawn_do_open actions.
2877 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2878 posix_spawn_file_actions_addopen.
2880 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2882 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2883 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2884 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2885 conditional code always true.
2886 (__libc_vfork): New alias.
2888 2014-06-11 Roland McGrath <roland@hack.frob.com>
2890 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2891 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2893 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2895 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2896 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2898 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2899 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2901 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2902 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2904 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2906 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2907 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2908 multiarch strcmp for PPC64.
2909 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2910 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2912 multiarch optimizations.
2913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2914 (__libc_ifunc_impl_list): Likewise.
2916 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2918 * benchtests/scripts/validate_benchout.py: New script.
2919 * benchtests/Makefile (bench-func): Call it.
2920 * benchtests/scripts/benchout.schema.json: New file.
2922 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2924 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2925 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2926 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2927 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2928 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2929 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2930 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2931 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2932 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2933 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2934 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2935 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2936 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2937 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2938 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2939 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3044 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3046 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3049 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3052 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3054 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3056 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3058 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3060 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3062 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3065 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3068 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3070 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3073 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3075 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3076 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3077 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3078 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3079 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3081 2014-06-10 Wilco <wdijkstr@arm.com>
3083 * math/test-fenv-return.c: New file.
3084 * math/Makefile: Add new test test-fenv-return.
3086 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3089 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3091 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3092 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3093 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3094 0.0L for an argument of 1.0L.
3095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3097 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3098 value when x - 1 is zero.
3099 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3100 * sysdeps/i386/fpu/libm-test-ulps: Update.
3101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3103 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3106 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3108 2014-06-09 Roland McGrath <roland@hack.frob.com>
3110 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3111 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3113 2014-06-09 Roland McGrath <roland@hack.frob.com>
3115 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3116 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3118 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3119 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3121 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3122 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3124 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3125 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3127 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3128 if not already defined.
3129 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3130 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3131 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3132 (TLS_INIT_TP): Use it.
3133 (TLS_DEFINE_INIT_TP): New macro.
3134 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3136 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3138 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3140 [POSIX] (IXANY): Likewise.
3141 [POSIX] (OLCUC): Likewise.
3142 [POSIX || POSIX2008] (CBAUD): Do not allow.
3143 [POSIX || POSIX2008] (DEFECHO): Likewise.
3144 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3145 [POSIX || POSIX2008] (ECHOKE): Likewise.
3146 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3147 [POSIX || POSIX2008] (EXTA): Likewise.
3148 [POSIX || POSIX2008] (EXTB): Likewise.
3149 [POSIX || POSIX2008] (FLUSHO): Likewise.
3150 [POSIX || POSIX2008] (LOBLK): Likewise.
3151 [POSIX || POSIX2008] (PENDIN): Likewise.
3152 [POSIX || POSIX2008] (SWTCH): Likewise.
3153 [POSIX || POSIX2008] (VDISCARD): Likewise.
3154 [POSIX || POSIX2008] (VDSUSP): Likewise.
3155 [POSIX || POSIX2008] (VLNEXT): Likewise.
3156 [POSIX || POSIX2008] (VREPRINT): Likewise.
3157 [POSIX || POSIX2008] (VSTATUS): Likewise.
3158 [POSIX || POSIX2008] (VWERASE): Likewise.
3159 (B*): Change to B[0123456789]*.
3160 * conform/data/time.h-data [POSIX || UNIX98]
3161 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3162 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3163 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3164 [POSIX] (tm_*): Do not allow.
3166 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3168 * Makefile (install): Don't set LANGUAGE.
3169 * Makefile.in (install): Likewise.
3170 * assert/Makefile (test-assert-ENV): Remove variable.
3171 (test-assert-perr-ENV): Likewise.
3172 * elf/Makefile (neededtest4-ENV): Likewise.
3173 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3174 [$(cross-compiling) = no]: Don't set LANGUAGE.
3175 * io/ftwtest-sh (LANG): Remove variable.
3176 * libio/Makefile (tst-widetext-ENV): Likewise.
3177 * manual/install.texi (Running make install): Don't refer to
3178 environment settings for make install.
3179 * INSTALL: Regenerated.
3180 * nptl/tst-tls6.sh: Don't set LANG.
3181 * posix/globtest.sh (LANG): Remove variable.
3182 * string/Makefile (tester-ENV): Likewise.
3183 (inl-tester-ENV): Likewise.
3184 (noinl-tester-ENV): Likewise.
3185 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3186 [$(cross-compiling) = no]: Don't set LANGUAGE.
3187 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3188 without explicit environment settings.
3190 2014-06-06 Roland McGrath <roland@hack.frob.com>
3192 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3193 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3195 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3197 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3199 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3200 other files in the crypt directory.
3201 * crypt/crypt.c: Remove duplicate includes.
3202 * crypt/crypt-entry.c: Likewise.
3203 * crypt/crypt_util.c: Likewise.
3205 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3207 * Makeconfig (run-program-env): New variable.
3208 (run-program-prefix-before-env): Likewise.
3209 (run-program-prefix-after-env): Likewise.
3210 (run-program-prefix): Define in terms of new variables.
3211 (built-program-cmd-before-env): New variable.
3212 (built-program-cmd-after-env): Likewise.
3213 (built-program-cmd): Define in terms of new variables.
3214 (test-program-prefix-before-env): New variable.
3215 (test-program-prefix-after-env): Likewise.
3216 (test-program-prefix): Define in terms of new variables.
3217 (test-program-cmd-before-env): New variable.
3218 (test-program-cmd-after-env): Likewise.
3219 (test-program-cmd): Define in terms of new variables.
3220 * Rules (make-test-out): Use $(run-program-env).
3221 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3222 (help): Do not mention environment variables. Mention
3223 --timeoutfactor option.
3224 (timeoutfactor): New variable.
3225 (blacklist_exports): Remove function.
3226 (exports): Remove variable.
3227 (command): Do not include ${exports}.
3228 * manual/install.texi (Configuring and compiling): Do not mention
3229 test wrappers preserving environment variables. Mention that last
3230 assignment to a variable must take precedence.
3231 * INSTALL: Regenerated.
3232 * benchtests/Makefile (run-bench): Use $(run-program-env).
3233 * catgets/Makefile ($(objpfx)test1.cat): Use
3234 $(built-program-cmd-before-env), $(run-program-env) and
3235 $(built-program-cmd-after-env).
3236 ($(objpfx)test2.cat): Do not specify environment variables
3238 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3239 $(run-program-env) and $(built-program-cmd-after-env).
3240 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3241 $(run-program-env) and $(test-program-cmd-after-env).
3242 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3244 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3245 run_program_env and test_program_cmd_after_env arguments.
3246 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3247 * elf/tst-pathopt.sh: Use run_program_env argument.
3248 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3249 $(test-wrapper-env) and $(run-program-env).
3250 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3251 run_program_env arguments.
3252 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3253 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3254 $(test-program-prefix-before-env), $(run-program-env) and
3255 $(test-program-prefix-after-env).
3256 ($(objpfx)tst-gettext2.out): Likewise.
3257 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3258 run_program_env and test_program_prefix_after_env arguments.
3259 * intl/tst-gettext2.sh: Likewise.
3260 * intl/tst-gettext4.sh: Do not set environment variables
3262 * intl/tst-gettext6.sh: Likewise.
3263 * intl/tst-translit.sh: Likewise.
3264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3265 $(test-program-prefix-before-env), $(run-program-env) and
3266 $(test-program-prefix-after-env).
3267 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3268 run_program_env and test_program_prefix_after_env arguments.
3269 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3270 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3271 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3272 explicitly with each use of ${test_wrapper_env}.
3273 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3274 $(test-program-prefix-before-env), $(run-program-env) and
3275 $(test-program-prefix-after-env).
3276 * posix/tst-getconf.sh: Do not set environment variables
3278 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3279 run_program_env and test_program_prefix_after_env arguments.
3280 * stdio-common/tst-printf.sh: Do not set environment variables
3282 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3283 $(test-program-prefix-before-env), $(run-program-env) and
3284 $(test-program-prefix-after-env).
3285 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3286 run_program_env and test_program_prefix_after_env arguments.
3287 Split $test calls into $test_pre and $test.
3288 * timezone/Makefile (build-testdata): Use
3289 $(built-program-cmd-before-env), $(run-program-env) and
3290 $(built-program-cmd-after-env).
3292 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3295 strlen for non SHARED builds.
3297 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3299 * nptl/allocatestack.c (check_list): Inlined function...
3300 (__reclaim_stacks): ... here.
3302 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3305 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3308 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3310 * Rules (make-test-out): Include
3311 LOCPATH=$(common-objpfx)localedata in default environment.
3312 * debug/Makefile (tst-chk1-ENV): Remove variable.
3313 (tst-chk2-ENV): Likewise.
3314 (tst-chk3-ENV): Likewise.
3315 (tst-chk4-ENV): Likewise.
3316 (tst-chk5-ENV): Likewise.
3317 (tst-chk6-ENV): Likewise.
3318 (tst-lfschk1-ENV): Likewise.
3319 (tst-lfschk2-ENV): Likewise.
3320 (tst-lfschk3-ENV): Likewise.
3321 (tst-lfschk4-ENV): Likewise.
3322 (tst-lfschk5-ENV): Likewise.
3323 (tst-lfschk6-ENV): Likewise.
3324 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3325 (tst-iconv7-ENV): Likewise.
3326 * intl/Makefile (LOCPATH-ENV): Likewise.
3327 (tst-codeset-ENV): Likewise.
3328 (tst-gettext3-ENV): Likewise.
3329 (tst-gettext5-ENV): Likewise.
3330 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3331 (tst-fopenloc-ENV): Likewise.
3332 (tst-fgetws-ENV): Remove variable.
3333 (tst-ungetwc1-ENV): Likewise.
3334 (tst-ungetwc2-ENV): Likewise.
3335 (bug-ungetwc2-ENV): Likewise.
3336 (tst-swscanf-ENV): Likewise.
3337 (bug-ftell-ENV): Likewise.
3338 (tst-fgetwc-ENV): Likewise.
3339 (tst-fseek-ENV): Likewise.
3340 (tst-ftell-partial-wide-ENV): Likewise.
3341 (tst-ftell-active-handler-ENV): Likewise.
3342 (tst-ftell-append-ENV): Likewise.
3343 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3344 (tst-regexloc-ENV): Likewise.
3345 (bug-regex1-ENV): Likewise.
3346 (tst-regex-ENV): Likewise.
3347 (tst-regex2-ENV): Likewise.
3348 (bug-regex5-ENV): Likewise.
3349 (bug-regex6-ENV): Likewise.
3350 (bug-regex17-ENV): Likewise.
3351 (bug-regex18-ENV): Likewise.
3352 (bug-regex19-ENV): Likewise.
3353 (bug-regex20-ENV): Likewise.
3354 (bug-regex22-ENV): Likewise.
3355 (bug-regex23-ENV): Likewise.
3356 (bug-regex25-ENV): Likewise.
3357 (bug-regex26-ENV): Likewise.
3358 (bug-regex30-ENV): Likewise.
3359 (bug-regex32-ENV): Likewise.
3360 (bug-regex33-ENV): Likewise.
3361 (bug-regex34-ENV): Likewise.
3362 (bug-regex35-ENV): Likewise.
3363 (tst-rxspencer-ENV): Likewise.
3364 (tst-rxspencer-no-utf8-ENV): Likewise.
3365 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3366 (tst-sscanf-ENV): Likewise.
3367 (tst-swprintf-ENV): Likewise.
3368 (tst-swscanf-ENV): Likewise.
3369 (test-vfprintf-ENV): Likewise.
3370 (scanf13-ENV): Likewise.
3371 (bug14-ENV): Likewise.
3372 (tst-grouping-ENV): Likewise.
3373 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3374 (tst-strtod3-ENV): Likewise.
3375 (tst-strtod4-ENV): Likewise.
3376 (tst-strtod5-ENV): Likewise.
3377 (testmb2-ENV): Likewise./
3378 * string/Makefile (tst-strxfrm-ENV): Likewise.
3379 (tst-strxfrm2-ENV): Likewise.
3380 (bug-strcoll1-ENV): Likewise.
3381 (test-strcasecmp-ENV): Likewise.
3382 (test-strncasecmp-ENV): Likewise.
3383 * time/Makefile (tst-strptime-ENV): Likewise.
3384 (tst-ftime_l-ENV): Likewise.
3385 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3386 (tst-mbrtowc-ENV): Likewise.
3387 (tst-wcrtomb-ENV): Likewise.
3388 (tst-mbrtowc2-ENV): Likewise.
3389 (tst-c16c32-1-ENV): Likewise.
3390 (tst-mbsnrtowcs-ENV): Likewise.
3392 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3394 * manual/resource.texi (How to get information about the memory
3395 subsystem?): Fix typo.
3396 Reported by Peon de la Parra Ivan <peon@keba.com>
3398 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3401 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3402 (pthread_spin_lock): Branch out of spin loop to proper location.
3403 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3404 (pthread_spin_lock): Likewise.
3406 * nptl/tst-spin4.c: New test.
3407 * nptl/Makefile (tests): Add tst-spin4.
3409 2014-06-03 Andreas Schwab <schwab@suse.de>
3412 * resolv/res_send.c (send_dg): Reload file descriptor after
3415 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3419 2014-06-03 Richard Henderson <rth@redhat.com>
3421 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3422 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3423 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3424 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3425 in the SAVE_PID block.
3426 (__libc_vfork): New alias.
3427 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3429 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3430 child in registers, not on the stack. Remove RESET_PID conditionals.
3431 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3433 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3435 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3437 2014-06-03 Wilco <wdijkstr@arm.com>
3439 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3440 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3441 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3442 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3443 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3446 2014-06-03 Wilco <wdijkstr@arm.com>
3448 * sysdeps/aarch64/fpu/math_private.h
3449 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3450 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3451 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3452 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3455 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3457 * crypt/crypt-private.h: Include ufc-crypt.h.
3458 (__b64_from_24bit): Declare extern.
3459 * crypt/crypt_util.c(__b64_from_24bit): New function.
3460 (b64t): New static const variable.
3461 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3462 (b64t): Remove variable.
3463 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3464 * crypt/sha256-crypt.c: Include crypt-private.h.
3465 (b64t): Remove variable.
3466 (__sha256_crypt_r): Remove b64_from_24bit and replace
3467 with __b64_from_24bit.
3468 * crypt/sha512-crypt.c: Likewise.
3470 2014-06-02 Roland McGrath <roland@hack.frob.com>
3472 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3473 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3474 Label the code __libc_vfork rather than __vfork.
3475 [!NOT_IN_libc] (vfork): Define as weak alias.
3476 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3477 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3478 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3480 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3482 * malloc/malloc.c (malloc_info): Fix format specifier for
3485 2014-06-02 Wilco <wdijkstr@arm.com>
3487 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3490 2014-06-02 Wilco <wdijkstr@arm.com>
3493 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3494 Rewrite to reduce FPCR/FPSR accesses.
3496 2014-06-01 David S. Miller <davem@davemloft.net>
3498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3500 2014-05-31 David S. Miller <davem@davemloft.net>
3502 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3503 to occur in round to nearest mode when |x| >= 2.0
3505 2014-05-30 Richard Henderson <rth@twiddle.net>
3507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3508 (PSEUDO_RET_NOERRNO): Remove.
3509 (ret): Don't redefine.
3510 (ret_NOERRNO): Define in terms of ret.
3511 (ret_ERRVAL): Likewise.
3513 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3514 use of PSEUDO_RET; perform the error check directly.
3516 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3518 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3521 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3523 * malloc/malloc (malloc_info): Fix formatting.
3525 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3526 Roland McGrath <roland@hack.frob.com>
3528 * malloc/malloc (malloc_info): Also print mmapped statistics.
3530 2014-05-30 Roland McGrath <roland@hack.frob.com>
3532 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3533 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3535 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3537 * malloc/malloc.c (malloc_info): Inline mi_arena.
3539 2014-05-29 Richard Henderson <rth@twiddle.net>
3541 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3542 Remove comma before expanding ASM_ARGS_##nr.
3543 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3544 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3546 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3547 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3548 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3549 (ASM_ARGS_1): Add leading comma.
3551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3552 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3553 to __errno_location.
3554 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3555 Remove the expected plt for __errno_location.
3557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3558 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3562 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3563 it and break it down.
3564 (DOCARGS_0, DOCARGS_1): Do nothing.
3565 (DOCARGS_2): Update to store into the new stack frame.
3566 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3567 (UNDOCARGS_1): Update to restore from the new stack frame.
3568 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3569 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3571 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3572 (SINGLE_THREAD_P): New parameter for result regno.
3573 (PSEUDO): Update to match; use cbz instead of beq.
3575 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3576 Use ENTRY to define the _nocancel entry point. Share the syscall
3577 and syscall error check paths with the cancel path.
3580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3581 whitespace; tabs before and after asm mnemonics.
3583 2014-05-29 Eric Wong <normalperson@yhbt.net>
3586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3587 Call fstat64 or stat64 internally, depending on arguments passed.
3588 Replace stat buffer argument with file descriptor argument.
3589 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3590 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3591 Pass fd to __internal_statvfs instead of calling fstat64.
3592 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3593 Pass fd to __internal_statvfs64 instead of calling fstat64.
3594 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3595 Pass -1 to __internal_statvfs instead of calling stat64.
3596 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3597 Pass -1 to __internal_statvfs64 instead of calling stat64.
3599 2014-05-28 Roland McGrath <roland@hack.frob.com>
3601 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3602 that was previously under [RESET_PID].
3603 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3605 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3606 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3608 2014-05-27 Roland McGrath <roland@hack.frob.com>
3610 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3612 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3613 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3615 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3617 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3619 2014-05-27 Andreas Schwab <schwab@suse.de>
3621 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3623 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3624 * elf/rtld.c (init_tls, dl_main): Likewise.
3625 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3626 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3627 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3628 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3629 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3630 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3631 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3632 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3633 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3634 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3635 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3636 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3637 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3638 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3639 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3640 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3641 * sysdeps/generic/tls.h: Update description.
3643 2014-05-27 Will Newton <will.newton@linaro.org>
3646 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3647 and restore r2 rather than just restoring.
3649 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3652 * libio/tst-ftell-append.c: New test case.
3653 * libio/Makefile (tests): Add test case.
3654 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3656 * libio/wfileops.c (do_ftell_wide): Likewise.
3658 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3666 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3667 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3669 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3671 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3679 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3681 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3684 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3687 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3689 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3691 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3693 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3696 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3698 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3721 conditional [RESET_PID].
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3730 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3731 (__libc_vfork): New strong alias.
3732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3739 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3740 (__libc_vfork): New strong alias.
3741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3743 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3746 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3748 * malloc/malloc.c (mi_arena): New function.
3749 (malloc_info): Remove nested function mi_arena. Call non-nosted
3752 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3754 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3756 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3757 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3758 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3759 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3760 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3761 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3762 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3764 2014-05-26 Andreas Schwab <schwab@suse.de>
3767 * locale/programs/repertoire.c (repertoire_read): Add slash
3768 between I18NPATH element and file name.
3769 * locale/programs/locfile.c (locfile_read): Likewise.
3771 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3773 * nptl/pthread_mutexattr_settype.c
3774 (__pthread_mutexattr_settype):
3775 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3777 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3779 * nptl/tst-mutex5 (do_test):
3780 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3782 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3784 * benchtests/README: Document 'init' directive.
3785 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3787 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3788 (parse_file): Recognize 'init' directive.
3790 2014-05-26 Kyle McMartin <kyle@redhat.com>
3793 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3794 alignment of struct pthread.
3796 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3799 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3800 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3801 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3802 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3804 2014-05-25 Richard Henderson <rth@twiddle.net>
3806 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3807 (SINGLE_THREAD_P_PIC): Remove.
3808 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3809 (SINGLE_THREAD_P_PIC): Remove.
3811 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3812 branch to syscall error ...
3814 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3815 from __local_syscall_error to .Lsyscall_error.
3816 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3817 (SYSCALL_ERROR): Update label name.
3819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3820 Do not use DOARGS/UNDOARGS.
3821 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3822 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3823 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3824 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3825 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3830 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3831 define if !NOT_IN_libc.
3832 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3833 define with non-default symbol versions.
3835 2014-05-23 Richard Henderson <rth@twiddle.net>
3837 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3838 (vfork, __vfork): Define via compat_symbol.
3840 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3841 [!HAVE_IFUNC] (vfork_compat): Remove.
3842 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3844 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3847 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3848 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3851 2014-05-23 Richard Henderson <rth@twiddle.net>
3853 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3854 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3855 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3856 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3858 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3859 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3860 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3861 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3862 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3863 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3864 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3865 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3866 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3867 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3868 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3869 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3870 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3879 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3883 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3885 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3889 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3893 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3897 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3898 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3899 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3900 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3901 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3902 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3903 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3905 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3906 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3907 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3908 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3909 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3911 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3912 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3913 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3915 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3916 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3917 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3918 before exiting on error.
3919 (__libc_vfork): New strong alias.
3920 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3921 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3923 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3924 that was previously under [RESET_PID].
3925 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3927 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3929 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3932 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3933 value when x - 1 is zero.
3934 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3935 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3936 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3937 0.0L for an argument of 1.0L.
3938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3940 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3941 value when x - 1 is zero.
3942 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3943 * sysdeps/i386/fpu/libm-test-ulps: Update.
3944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3946 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3948 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3949 alphasort and versionsort.
3951 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3953 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3955 [copysignf]: Likewise.
3957 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3959 * crypt/md5-crypt.c: Fix formatting.
3961 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3963 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3964 (b64_from_24bit): New function.
3966 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3969 libc_hidden_builtin_def to ifunc.
3970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3971 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3973 2014-05-21 Roland McGrath <roland@hack.frob.com>
3975 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3976 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3978 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3980 * nscd/Depend (linuxthreads): Remove.
3982 * resolv/Depend (linuxthreads): Remove.
3983 * rt/Depend (linuxthreads): Remove.
3985 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3986 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3987 $(common-objpfx)elf/.
3988 (link-libc-before-gnulib): Likewise.
3989 (elfobjdir): Remove variable.
3990 * Makefile (install): Use $(elf-objpfx) instead of
3991 $(common-objpfx)elf/.
3992 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3994 (link-libc-deps): Likewise.
3995 ($(common-objpfx)libc.so): Likewise.
3996 ($(common-objpfx)linkobj/libc.so): Likewise.
3997 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3998 instead of $(common-objpfx)elf/.
3999 (symbolic-link-list): Likewise.
4000 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4001 [$(cross-compiling) = no]: Likewise.
4002 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4004 (static-gnulib-arch): Likewise.
4005 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4006 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4007 $(common-objpfx)elf/.
4009 2014-05-21 Richard Henderson <rth@redhat.com>
4011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4012 (SINGLE_THREAD_P): Use the correct width load. Fold
4013 into the ldr offset.
4015 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4016 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4018 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4020 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4021 (libgcc_s_resume): Use __attribute_used__.
4022 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4025 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4027 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4028 optimization when used with float constants.
4030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4032 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4035 * locale/nl_langinfo_l.c: Make direct reference to every
4036 _nl_current_CATEGORY symbol.
4037 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4038 (tests-static): Add tst-langinfo-static.
4039 (tests-special): Add tst-langinfo-static.out.
4040 ($(objpfx)tst-langinfo.out): Redirect output.
4041 ($(objpfx)tst-langinfo-static.out): New.
4042 * localedata/tst-langinfo.sh: Send output to stdout.
4043 * localedata/tst-langinfo-static.c: New file.
4046 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4047 when the shift amount is modulo the limb size.
4049 2014-05-20 Richard Henderson <rth@redhat.com>
4052 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4053 Change type of sa_flags from unsigned int to int.
4056 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4058 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4060 2014-05-20 Will Newton <will.newton@linaro.org>
4062 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4063 Test the return value of the system call in the nocancel case.
4065 2014-05-20 Will Newton <will.newton@linaro.org>
4066 Yvan Roux <yvan.roux@linaro.org>
4068 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4069 #include of asm/ptrace.h.
4070 (PTRACE_GET_THREAD_AREA): Remove #undef.
4071 (PTRACE_GETHBPREGS): Likewise.
4072 (PTRACE_SETHBPREGS): Likewise.
4073 (struct user_regs_struct): New structure.
4074 (struct user_fpsimd_struct): New structure.
4075 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4076 #include of asm/ptrace.h and second #include of sys/user.h.
4077 (PTRACE_GET_THREAD_AREA): Remove #undef.
4078 (PTRACE_GETHBPREGS): Likewise.
4079 (PTRACE_SETHBPREGS): Likewise.
4080 (ELF_NGREG): Use new struct user_regs_struct.
4081 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4083 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4086 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4088 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4092 membar to avoid block loads/stores to overlap previous stores.
4094 2014-05-17 Richard Henderson <rth@redhat.com>
4096 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4097 Create the __##syscall_name##_nocancel entry point.
4098 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4099 Remove; let the sysdep-cancel.h code create it.
4101 2014-05-17 David S. Miller <davem@davemloft.net>
4103 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4104 Protect with __USE_GNU.
4105 (TIOCSET_TEMPT): Likewise.
4106 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4107 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4108 these are already provided in bits/ioctl-types.h
4110 2014-05-16 Roland McGrath <roland@hack.frob.com>
4112 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4113 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4115 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4116 Use wait4 regardless of [__NR_waitpid].
4118 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4121 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4122 (_FP_NANSIGN_Q): Set the quiet bit.
4124 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4126 * benchtests/Makefile
4127 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4128 not $(common-objpfx)math/libm.so.
4129 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4130 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4131 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4132 $(common-objpfx)dlfcn/libdl.so.
4133 ($(objpfx)tst-audit8): Depend on $(libm), not
4134 $(common-objpfx)math/libm.so.
4135 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4136 not $(common-objpfx)dlfcn/libdl.so.
4138 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4139 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4140 [$(build-shared) = yes].
4141 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4142 $(common-objpfx)nptl/libpthread.so.
4143 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4144 $(common-objpfx)math/libm.so$(libm.so-version) or
4145 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4146 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4147 $(common-objpfx)dlfcn/libdl.so.
4148 * setjmp/Makefile (link-libm): Remove variable.
4149 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4150 * stdio-common/Makefile (link-libm): Remove variable.
4151 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4152 * stdlib/Makefile (link-libm): Remove variable.
4153 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4154 ($(objpfx)tst-strtod-round): Likewise.
4155 ($(objpfx)tst-tininess): Likewise.
4156 ($(objpfx)tst-strtod-underflow): Likewise.
4157 ($(objpfx)tst-strtod6): Likewise.
4158 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4159 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4160 $(common-objpfx)dlfcn/libdl.so.
4162 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4165 BSD terminal modes definitions.
4167 2014-05-16 Roland McGrath <roland@hack.frob.com>
4169 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4170 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4172 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4173 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4174 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4175 Don't do #include_next.
4176 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4177 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4178 Don't do #include_next.
4179 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4180 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4181 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4182 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4184 2014-05-16 Allan McRae <allan@archlinux.org>
4186 * po/sv.po: Update Swedish translation from translation project.
4188 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4191 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4194 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4195 errno if the TIOCGPTN ioctl fails with an error different than
4197 * login/tst-ptsname.c: New file.
4198 * login/Makefile (tests): Add tst-ptsname.
4201 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4204 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4208 herrno to return EAI_AGAIN.
4210 2014-05-14 Roland McGrath <roland@hack.frob.com>
4212 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4213 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4214 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4231 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4232 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4239 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4241 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4243 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4245 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4248 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4272 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4274 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4277 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4279 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4285 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4289 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4291 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4293 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4295 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4298 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4302 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4303 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4304 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4305 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4306 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4308 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4310 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4312 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4314 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4316 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4318 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4320 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4322 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4323 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4324 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4326 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4327 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4328 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4329 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4330 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4331 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4332 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4334 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4335 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4337 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4338 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4339 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4340 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4341 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4347 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4350 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4353 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4355 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4358 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4359 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4360 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4363 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4364 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4367 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4372 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4373 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4375 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4378 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4384 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4386 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4392 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4395 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4399 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4400 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4401 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4403 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4404 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4405 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4409 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4410 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4412 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4417 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4418 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4419 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4420 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4423 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4427 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4428 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4429 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4430 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4431 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4432 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4434 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4435 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4441 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4444 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4445 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4448 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4449 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4450 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4451 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4454 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4455 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4456 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4458 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4459 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4460 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4463 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4468 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4469 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4470 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4471 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4474 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4479 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4480 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4481 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4482 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4483 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4484 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4486 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4487 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4488 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4490 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4491 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4493 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4494 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4496 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4497 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4498 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4499 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4500 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4501 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4502 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4504 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4507 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4509 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4510 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4512 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4515 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4517 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4520 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4522 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4524 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4532 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4536 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4538 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4539 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4540 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4542 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4544 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4545 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4546 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4548 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4551 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4552 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4553 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4554 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4556 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4557 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4558 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4559 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4560 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4561 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4562 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4563 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4564 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4565 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4570 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4571 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4573 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4575 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4576 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4577 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4578 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4579 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4580 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4581 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4582 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4583 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4604 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4609 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4611 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4613 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4614 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4615 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4616 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4617 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4618 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4621 that was previously under [RESET_PID].
4622 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4623 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4624 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4626 * sysdeps/i386/nptl/Implies: New file.
4627 * sysdeps/x86_64/nptl/Implies: New file.
4628 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4629 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4631 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4633 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4634 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4635 (__libc_vfork): New strong alias.
4636 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4637 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4639 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4640 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4641 (__libc_vfork): New strong alias.
4642 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4643 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4645 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4646 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4647 (__libc_vfork): New strong alias.
4648 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4649 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4650 * nptl/pt-vfork.c: New file.
4651 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4652 (libpthread: GLIBC_2.20): New version set (empty).
4654 2014-05-14 Will Newton <will.newton@linaro.org>
4656 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4659 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4662 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4663 arguments with exponent 65 or above.
4664 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4665 arguments 0x1p113L or above.
4666 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4667 to arguments 0x1p107L or above.
4668 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4669 positive arguments with exponent 65 or above.
4670 * math/auto-libm-test-in: Add more tests of log1p.
4671 * math/auto-libm-test-out: Regenerated.
4674 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4675 non-finite arguments is +0.
4676 * math/s_cacosf.c (__cacosf): Likewise.
4677 * math/s_cacosl.c (__cacosl): Likewise.
4678 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4679 * sysdeps/i386/fpu/libm-test-ulps: Update.
4680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4683 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4685 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4686 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4687 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4688 for explicit high bit of mantissa when testing for argument equal
4690 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4691 * sysdeps/i386/fpu/libm-test-ulps: Update.
4692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4696 (__erf): Scale by 16 instead of 8 in potentially underflowing
4697 case. Ensure exception if result actually underflows.
4698 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4699 (__erff): Scale by 16 instead of 8 in potentially underflowing
4700 case. Ensure exception if result actually underflows.
4701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4702 (efx8): Remove variable.
4703 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4704 case. Ensure exception if result actually underflows.
4705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4706 (efx8): Remove variable.
4707 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4708 case. Ensure exception if result actually underflows.
4709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4710 (efx8): Remove variable.
4711 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4712 case. Ensure exception if result actually underflows.
4713 * math/auto-libm-test-in: Add more tests of erf.
4714 * math/auto-libm-test-out: Regenerated.
4716 2014-05-14 Andreas Schwab <schwab@suse.de>
4718 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4719 Remove code conditionalized on USE___THREAD.
4721 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4722 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4725 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4728 Define unconditionally.
4729 (__ASSUME_O_CLOEXEC): Likewise.
4730 (__ASSUME_SOCK_CLOEXEC): Likewise.
4731 (__ASSUME_IN_NONBLOCK): Likewise.
4732 (__ASSUME_PIPE2): Likewise.
4733 (__ASSUME_EVENTFD2): Likewise.
4734 (__ASSUME_SIGNALFD4): Likewise.
4735 (__ASSUME_DUP3): Likewise.
4736 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4737 (__ASSUME_DUP3): Do not define.
4738 (__ASSUME_EVENTFD2): Likewise.
4739 (__ASSUME_IN_NONBLOCK): Likewise.
4740 (__ASSUME_O_CLOEXEC): Likewise.
4741 (__ASSUME_PIPE2): Likewise.
4742 (__ASSUME_SIGNALFD4): Likewise.
4743 (__ASSUME_SOCK_CLOEXEC): Likewise.
4744 (__ASSUME_UTIMES): Undefine.
4745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4746 (__ASSUME_UTIMES): Do not define.
4747 (__ASSUME_O_CLOEXEC): Likewise.
4748 (__ASSUME_SOCK_CLOEXEC): Likewise.
4749 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4750 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4752 (__ASSUME_PIPE2): Likewise.
4753 (__ASSUME_EVENTFD2): Likewise.
4754 (__ASSUME_SIGNALFD4): Likewise.
4755 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4756 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4758 (__ASSUME_EVENTFD2): Likewise.
4759 (__ASSUME_SIGNALFD4): Likewise.
4760 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4761 (__ASSUME_32BITUIDS): Likewise.
4762 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4763 (__ASSUME_IPC64): Likewise.
4764 (__ASSUME_ST_INO_64_BIT): Likewise.
4765 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4766 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4767 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4768 (__ASSUME_UTIMES): Do not define.
4769 (__ASSUME_PSELECT): Likewise.
4770 (__ASSUME_PPOLL): Likewise.
4771 (__ASSUME_O_CLOEXEC): Likewise.
4772 (__ASSUME_SOCK_CLOEXEC): Likewise.
4773 (__ASSUME_IN_NONBLOCK): Likewise.
4774 (__ASSUME_PIPE2): Likewise.
4775 (__ASSUME_EVENTFD2): Likewise.
4776 (__ASSUME_SIGNALFD4): Likewise.
4777 (__ASSUME_DUP3): Likewise.
4778 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4779 (__ASSUME_UTIMES): Likewise.
4780 (__ASSUME_O_CLOEXEC): Likewise.
4781 (__ASSUME_SOCK_CLOEXEC): Likewise.
4782 (__ASSUME_IN_NONBLOCK): Likewise.
4783 (__ASSUME_PIPE2): Likewise.
4784 (__ASSUME_EVENTFD2): Likewise.
4785 (__ASSUME_SIGNALFD4): Likewise.
4786 (__ASSUME_DUP3): Likewise.
4787 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4788 (__ASSUME_UTIMES): Likewise.
4789 (__ASSUME_O_CLOEXEC): Likewise.
4790 (__ASSUME_SOCK_CLOEXEC): Likewise.
4791 (__ASSUME_IN_NONBLOCK): Likewise.
4792 (__ASSUME_PIPE2): Likewise.
4793 (__ASSUME_EVENTFD2): Likewise.
4794 (__ASSUME_SIGNALFD4): Likewise.
4795 (__ASSUME_DUP3): Likewise.
4796 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4798 (__ASSUME_UTIMES): Likewise.
4799 (__ASSUME_EVENTFD2): Likewise.
4800 (__ASSUME_SIGNALFD4): Likewise.
4801 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4802 (__ASSUME_O_CLOEXEC): Likewise.
4803 (__ASSUME_SOCK_CLOEXEC): Likewise.
4804 (__ASSUME_IN_NONBLOCK): Likewise.
4805 (__ASSUME_PIPE2): Likewise.
4806 (__ASSUME_EVENTFD2): Likewise.
4807 (__ASSUME_SIGNALFD4): Likewise.
4808 (__ASSUME_DUP3): Likewise.
4809 (__ASSUME_UTIMES): Undefine.
4811 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4812 feclearexcept. Remove symbol versioning code.
4813 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4814 symbol versioning code.
4815 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4816 symbol versioning code.
4817 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4818 feupdateenv. Remove symbol versioning code.
4819 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4820 fegetexceptflag. Remove symbol versioning code.
4821 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4822 fesetexceptflag. Remove symbol versioning code.
4823 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4824 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4825 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4826 (__posix_fadvise64_l32): Remove prototype.
4827 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4830 2014-05-13 Roland McGrath <roland@hack.frob.com>
4832 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4833 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4834 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4835 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4837 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4839 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4840 current working directory
4842 2014-05-13 Roland McGrath <roland@hack.frob.com>
4844 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4845 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4846 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4847 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4848 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4849 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4850 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4851 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4869 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4871 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4873 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4877 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4878 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4879 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4880 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4881 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4882 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4883 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4884 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4885 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4887 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4888 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4890 * sysdeps/unix/sysv/linux/arm/Makefile
4891 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4892 Add rt-aeabi_unwind_cpp_pr1.
4893 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4894 Add nptl-aeabi_unwind_cpp_pr1.
4895 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4896 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4897 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4898 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4899 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4900 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4902 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4903 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4904 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4905 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4907 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4908 Deconditionalize the code that was previously under [RESET_PID].
4909 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4911 * sysdeps/generic/exit-thread.h: New file.
4912 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4913 * include/unistd.h (__exit_thread): Remove declaration.
4914 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4915 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4916 * csu/libc-start.c: Include <exit-thread.h>.
4917 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4918 * nptl/pthread_create.c: Include <exit-thread.h>.
4919 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4920 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4921 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4922 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4923 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4924 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4925 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4926 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4927 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4928 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4929 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4930 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4931 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4932 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4933 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4934 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4935 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4937 2014-05-13 Andreas Schwab <schwab@suse.de>
4939 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4941 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4944 (__ASSUME_UTIMES): Do not condition on kernel version.
4945 (__ASSUME_PSELECT): Define unconditionally.
4946 (__ASSUME_PPOLL): Likewise.
4947 (__ASSUME_ATFCTS): Likewise.
4948 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4949 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4950 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4951 (__ASSUME_UTIMENSAT): Define unconditionally.
4952 (__ASSUME_PRIVATE_FUTEX): Likewise.
4953 (__ASSUME_FALLOCATE): Likewise.
4954 (__ASSUME_O_CLOEXEC): Likewise.
4955 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4956 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4957 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4958 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4959 (__ASSUME_IN_NONBLOCK): Likewise.
4960 (__ASSUME_PIPE2): Likewise.
4961 (__ASSUME_EVENTFD2): Likewise.
4962 (__ASSUME_SIGNALFD4): Likewise.
4963 (__ASSUME_DUP3): Likewise.
4964 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4965 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4966 (__ASSUME_AT_RANDOM): Likewise.
4967 (__ASSUME_PREADV): Likewise.
4968 (__ASSUME_PWRITEV): Likewise.
4969 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4970 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4971 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4972 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4973 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4975 (__ASSUME_O_CLOEXEC): Define unconditionally.
4976 (__ASSUME_PSELECT): Do not undefine conditionally.
4977 (__ASSUME_PPOLL): Likewise.
4978 (__ASSUME_ATFCTS): Likewise.
4979 (__ASSUME_SET_ROBUST_LIST): Likewise.
4980 (__ASSUME_UTIMENSAT): Likewise.
4981 (__ASSUME_FDATASYNC): Define unconditionally.
4982 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4983 (__ASSUME_SIGFRAME_V2): Likewise.
4984 )__ASSUME_EVENTFD2): Likewise.
4985 (__ASSUME_SIGNALFD4): Likewise.
4986 (__ASSUME_PSELECT): Do not undefine conditionally.
4987 (__ASSUME_PPOLL): Likewise.
4988 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4989 (__ASSUME_PSELECT): Define unconditionally.
4990 (__ASSUME_PPOLL): Likewise.
4991 (__ASSUME_O_CLOEXEC): Likewise.
4992 (__ASSUME_SOCK_CLOEXEC): Likewise.
4993 (__ASSUME_IN_NONBLOCK): Likewise.
4994 (__ASSUME_PIPE2): Likewise.
4995 (__ASSUME_EVENTFD2): Likewise.
4996 (__ASSUME_SIGNALFD4): Likewise.
4997 (__ASSUME_DUP3): Likewise.
4998 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4999 (__ASSUME_O_CLOEXEC): Likewise.
5000 (__ASSUME_SOCK_CLOEXEC): Likewise.
5001 (__ASSUME_IN_NONBLOCK): Likewise.
5002 (__ASSUME_PIPE2): Likewise.
5003 (__ASSUME_EVENTFD2): Likewise.
5004 (__ASSUME_SIGNALFD4): Likewise.
5005 (__ASSUME_DUP3): Likewise.
5006 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5007 (__ASSUME_EVENTFD2): Likewise.
5008 (__ASSUME_SIGNALFD4): Likewise.
5009 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5011 2014-05-12 Andreas Schwab <schwab@suse.de>
5014 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5015 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5016 than maximum RPC packet size.
5017 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5018 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5019 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5020 (_nss_nis_getservbyport_r): Likewise.
5022 2014-05-12 Will Newton <will.newton@linaro.org>
5024 * malloc/Makefile (tests): Add tst-mallopt.
5025 * malloc/tst-mallopt.c: New file.
5027 2014-05-09 Roland McGrath <roland@hack.frob.com>
5029 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5030 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5032 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5034 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5035 (tst-tlsmod6.so): Likewise.
5037 2014-05-09 Roland McGrath <roland@hack.frob.com>
5039 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5041 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5045 and <dl-procinfo.h>.
5046 (__fegetenv): Save SSE state in envp->__eip if supported.
5047 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5048 envp->__eip if supported.
5049 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5050 and <dl-procinfo.h>.
5051 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5052 __data_offset and __data_selector in environment to 0. Set SSE
5054 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5056 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5058 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5060 2014-05-09 Will Newton <will.newton@linaro.org>
5062 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5063 and libc_relro_required for ARM.
5064 * sysdeps/arm/preconfigure: Regenerate.
5066 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5067 Stefan Liebler <stli@linux.vnet.ibm.com>
5069 * config.make.in (enable-lock-elision): New Makefile variable.
5070 * configure.ac: Likewise.
5071 * configure: Regenerate.
5072 * sysdeps/s390/configure.ac:
5073 Add check for gcc transactions support.
5074 * sysdeps/s390/configure: Regenerate.
5075 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5076 Build elision files if enabled.
5077 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5078 Add lock elision support for s390.
5079 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5080 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5081 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5082 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5083 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5084 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5085 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5087 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5089 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5091 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5093 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5094 (__lll_timedlock_elision, __lll_lock_elision)
5095 (__lll_unlock_elision, __lll_trylock_elision)
5096 (lll_timedlock_elision, lll_lock_elision)
5097 (lll_unlock_elision, lll_trylock_elision): Add.
5098 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5099 (pthread_mutex_t): Add lock elision support for s390.
5101 2014-05-14 Wilco <wdijkstr@arm.com>
5103 * sysdeps/arm/fclrexcpt.c: Cleanup.
5104 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5105 * sysdeps/arm/feenablxcpt.c: Cleanup.
5106 * sysdeps/arm/fegetenv.c: Cleanup.
5107 * sysdeps/arm/fegetexcept.c: Cleanup.
5108 * sysdeps/arm/fegetround.c: Cleanup.
5109 * sysdeps/arm/feholdexcpt.c: Cleanup.
5110 * sysdeps/arm/fesetenv.c: Cleanup.
5111 * sysdeps/arm/fesetround.c: Cleanup.
5112 * sysdeps/arm/feupdateenv.c: Cleanup.
5113 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5114 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5115 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5116 * sysdeps/arm/ftestexcept.c: Cleanup.
5117 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5118 * sysdeps/arm/setfpucw.c: Cleanup.
5120 2014-05-09 Will Newton <will.newton@linaro.org>
5122 * sysdeps/arm/armv7/strcmp.S: New file.
5123 * NEWS: Mention addition of ARMv7 optimized strcmp.
5125 2014-05-08 Roland McGrath <roland@hack.frob.com>
5127 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5128 look for %.ac rather than %.in.
5130 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5131 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5132 * sysdeps/mach/hurd/configure: Regenerated.
5133 * sysdeps/unix/sysv/linux/configure: Regenerated.
5135 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5137 2014-05-07 Steve Ellcey <sellcey@mips.com>
5140 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5144 2014-05-07 Andreas Schwab <schwab@suse.de>
5146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5147 when skipping over non-matching result from nscd.
5149 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5152 * nptl/sockperf.c (client): Check socket return value.
5155 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5156 nscd security class.
5158 2014-05-06 Roland McGrath <roland@hack.frob.com>
5160 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5161 * sysdeps/arm/unwind.h: ... here.
5163 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5166 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5169 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5171 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5172 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5173 multiarch strncpy for PPC64.
5174 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5175 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5177 multiarch optimizations.
5178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5179 (__libc_ifunc_impl_list): Likewise.
5180 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5181 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5182 multiarch stpncpy for PPC64.
5183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5184 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5186 2014-05-06 Andreas Schwab <schwab@suse.de>
5189 * gmon/mcount.c (_MCOUNT_DECL): Use
5190 atomic_compare_and_exchange_bool_acq instead of
5191 catomic_compare_and_exchange_bool_acq.
5193 2014-05-05 Roland McGrath <roland@hack.frob.com>
5195 * elf/Makefile (others, install-bin): Remove pldd.
5196 (pldd-modules): Variable removed.
5197 ($(objpfx)pldd): Target removed.
5198 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5199 (others, install-bin): Append pldd here.
5200 ($(objpfx)pldd): New target.
5202 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5203 to 0, so the first #if test emitted later doesn't see it undefined.
5204 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5205 * sysdeps/gnu/errlist.c: Regenerated.
5207 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5210 [libc_hidden_builtin_def]: Define to empty value.
5211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5212 [libc_hidden_builtin_def]: Likewise.
5213 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5214 [libc_hidden_builtin_def]: Likewise.
5215 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5216 [libc_hidden_builtin_def]: Likewise.
5217 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5218 __redirect_memcpy and define ifunc as default hidden symbol.
5219 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5220 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5222 2014-05-04 Adam Conrad <adconrad@0c3.net>
5224 * locale/iso-4217.def: Reintroduce XDR currency.
5226 2014-05-04 Allan McRae <allan@archlinux.org>
5228 * po/eo.po: Update Esperanto translation from translation project.
5230 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5232 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5233 and FEATURE_INDEX_MAX to 1.
5234 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5236 2014-05-01 Steve Ellcey <sellcey@mips.com>
5238 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5239 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5240 * iconvdata/big5.c (ONE_DIRECTION): Define.
5241 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5242 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5243 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5244 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5245 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5246 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5247 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5248 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5249 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5250 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5251 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5252 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5253 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5254 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5255 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5256 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5257 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5258 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5259 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5260 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5261 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5262 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5263 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5264 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5265 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5266 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5267 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5268 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5269 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5270 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5271 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5272 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5273 * iconvdata/johab.c (ONE_DIRECTION): Define.
5274 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5275 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5276 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5277 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5278 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5279 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5280 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5281 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5282 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5283 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5285 2014-05-01 Roland McGrath <roland@hack.frob.com>
5287 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5288 (_IO_JUMPS_OFFSET): Define to 0.
5290 * nptl/sysdeps/pthread/bits/libc-lock.h
5291 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5292 (__libc_lock_define_initialized_recursive): Always define using
5293 initializer. Modern compilers treat uninitialized (implicit zero) and
5294 explicit zero initializers the same (i.e. put the datum in bss).
5296 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5298 * nscd/nscd-client.h: Include <string.h>.
5300 2014-05-01 David S. Miller <davem@davemloft.net>
5303 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5304 multiple zero bytes exist at the end of a string.
5305 Reported by Aurelien Jarno <aurelien@aurel32.net>
5307 * string/test-strcmp.c (check): Add explicit test for situations where
5308 there are multiple zero bytes after the first.
5310 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5313 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5314 when compiling wprintf.
5315 * stdio-common/tstdiomisc.c (t3): New function.
5318 2014-05-01 Steve Ellcey <sellcey@mips.com>
5320 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5321 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5322 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5323 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5325 2014-05-01 Steve Ellcey <sellcey@mips.com>
5327 * stdlib/longlong.h: Updated from GCC.
5329 2014-05-01 Will Newton <will.newton@linaro.org>
5330 Bernard Ogden <bernie.ogden@linaro.org>
5332 * NEWS: Update fixed bug list.
5335 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5337 2014-04-30 David S. Miller <davem@davemloft.net>
5339 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5340 (libc_feholdexcept_setround_sparc_ctx): New function.
5341 (libc_fesetenv_sparc_ctx): Likewise.
5342 (libc_feupdateenv_sparc_ctx): Likewise.
5343 (libc_feholdsetround_sparc_ctx): Likewise.
5344 (libc_feholdexcept_setround_ctx): Define.
5345 (libc_feholdexcept_setroundf_ctx): Likewise.
5346 (libc_feholdexcept_setroundl_ctx): Likewise.
5347 (libc_fesetenv_ctx): Likewise.
5348 (libc_fesetenvf_ctx): Likewise.
5349 (libc_fesetenvl_ctx): Likewise.
5350 (libc_feupdateenv_ctx): Likewise.
5351 (libc_feupdateenvf_ctx): Likewise.
5352 (libc_feupdateenvl_ctx): Likewise.
5353 (libc_feresetround_ctx): Likewise.
5354 (libc_feresetroundf_ctx): Likewise.
5355 (libc_feresetroundl_ctx): Likewise.
5356 (libc_feholdsetround_ctx): Likewise.
5357 (libc_feholdsetroundf_ctx): Likewise.
5358 (libc_feholdsetroundl_ctx): Likewise.
5360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5361 with __USE_GNU instead of XOPEN cpp guards.
5363 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5367 with XOPEN cpp guards.
5369 2014-04-30 Julian Brown <julian@codesourcery.com>
5372 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5375 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5378 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5380 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5381 * sysdeps/unix/sysv/linux/configure: Regenerated.
5382 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5383 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5384 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5385 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5386 * README: Update reference to required Linux kernel version.
5387 * manual/install.texi (Linux): Update reference to required Linux
5388 kernel headers version.
5389 * INSTALL: Regenerated.
5391 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5393 [POSIX] (limits.h): Likewise.
5394 [POSIX] (math.h): Likewise.
5395 [POSIX] (sys/wait.h): Likewise.
5396 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5398 [POSIX] (stddef.h): Do not allow header inclusion.
5400 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5404 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5406 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5407 Return immediately after lll_futex_wake.
5409 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5412 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5414 (datahead_init_pos): Call datahead_init_common early.
5415 (datahead_init_neg): Likewise.
5417 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5418 datahead_init_neg): New functions.
5419 * nscd/aicache.c (addhstaiX): Use them.
5420 * nscd/grpcache.c (cache_addgr): Likewise.
5421 * nscd/hstcache.c (cache_addhst): Likewise.
5422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5423 * nscd/netgroupcache.c (do_notfound): Likewise.
5424 (addgetnetgrentX): Likewise.
5425 (addinnetgrX): Likewise.
5426 * nscd/pwdcache.c (cache_addpw): Likewise.
5427 * nscd/servicescache.c (cache_addserv): Likewise.
5429 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5430 Atsushi Onoe <atsushi@onoe.org>
5435 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5436 one response is valid.
5437 * resolv/res_send.c (send_dg): Check for validity of other
5438 response if the current response is a referral.
5440 2014-04-29 Steve Ellcey <sellcey@mips.com>
5442 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5444 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5447 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5448 Always divide by positive zero when computing -Inf result.
5449 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5450 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5452 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5454 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5455 FPSCR if value do not change.
5456 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5457 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5458 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5459 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5460 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5461 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5464 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5466 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5467 * sysdeps/unix/sysv/linux/hppa: Move directory from
5468 ports/systeps/unix/sysv/linux/hppa.
5469 * README: Update listing for hppa-*-linux-gnu.
5471 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5474 * manual/stdio.texi (Hook functions): Fix types of stream hook
5477 * socket/sys/socket.h: Fix typo in comment.
5479 2014-04-28 Wilco <wdijkstr@arm.com>
5481 * sysdeps/arm/fenv_private.h: New file.
5482 * sysdeps/arm/math_private.h: New file.
5483 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5485 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5487 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5489 (La_x86_64_retval): Likewise.
5491 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5493 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5494 fpsr if value didn't change.
5495 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5496 to fpcr if value didn't change.
5497 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5498 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5499 fpsr or fpcr if value didn't change.
5500 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5501 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5502 fpcr if value didn't change.
5503 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5504 to fpsr if value didn't change.
5506 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5508 * nptl/tst-sem3.c: Use test-skeleton.c
5509 (main): Rename to do_test. Use return instead of
5511 * nptl/tst-sem4.c: Use test-skeleton.c
5512 (main): Rename to do_test.
5514 2014-04-22 David S. Miller <davem@davemloft.net>
5516 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5517 (struct sigaction): New struct member __glibc_reserved0, change
5518 type of sa_flags to int.
5520 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5522 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5523 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5525 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5527 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5528 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5530 2014-04-22 Will Newton <will.newton@linaro.org>
5531 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5533 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5534 (__longjmp): Add longjmp and longjmp_target SystemTap
5536 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5537 (__sigsetjmp): Add setjmp SystemTap probe.
5539 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5541 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5544 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5548 * sysdeps/powerpc/fpu/fenv_private.h
5549 (libc_feholdexcept_setroundl_ctx): Define to
5550 libc_feholdexcept_setround_ppc_ctx.
5551 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5552 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5553 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5554 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5556 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5558 * sysdeps/aarch64/math-tests.h: New file.
5560 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5562 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5565 Check and set bit_AVX2_Usable.
5566 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5568 (bit_AVX2): Likewise.
5569 (index_AVX2_Usable): Likewise.
5570 (CPUID_AVX2): Likewise.
5571 (HAS_AVX2): Likewise.
5573 2014-04-17 Will Newton <will.newton@linaro.org>
5575 * manual/setjmp.texi (System V contexts): Add note that
5576 calling setcontext on a context created by a call to a
5577 signal handler is undefined. Update text to note that
5578 setcontext from a signal handler is possible but not
5582 * stdlib/tst-setcontext.c: Include signal.h.
5583 (main): Check that the signal stack before and
5584 after swapcontext is the same.
5586 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5587 Re-implement to restore registers in user code and avoid
5588 rt_sigreturn system call.
5590 2014-04-17 Wilco <wdijkstr@arm.com>
5592 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5593 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5594 * math/test-fenv.c: Skip exception trap tests on targets which only
5595 support non-stop mode.
5597 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5598 Wilco Dijkstra <wilco.dijkstra@arm.com>
5600 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5601 (libc_feholdsetround_aarch64_ctx)
5602 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5603 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5604 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5605 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5606 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5607 (libc_feresetround_noexl_ctx): Define.
5609 2014-04-16 Richard Henderson <rth@redhat.com>
5611 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5613 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5616 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5617 const from the non-libc, non-ldso copy.
5619 * sysdeps/alpha/libm-test-ulps: Regenerate.
5621 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5622 Wilco Dijkstra <wilco.dijkstra@arm.com>
5624 * sysdeps/aarch64/fpu/math_private.h: New file.
5626 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5628 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5630 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5632 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5633 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5635 Intel MPX bound registers before _dl_profile_fixup.
5636 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5637 registers after _dl_profile_fixup. Save and restore bound
5638 registers bnd0/bnd1 when calling _dl_call_pltexit.
5639 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5640 (LR_BND_OFFSET): Likewise.
5641 (LRV_BND0_OFFSET): Likewise.
5642 (LRV_BND1_OFFSET): Likewise.
5644 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5646 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5648 * sysdeps/mach/hurd/i386/tls.h: ... here.
5649 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5650 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5653 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5655 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5657 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5659 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5661 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5664 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5665 * sysdeps/s390/configure: Regenerate.
5668 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5669 Set round-to-nearest internally to reduce error accumulation.
5671 2014-04-16 Alan Modra <amodra@gmail.com>
5675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5676 * math/libm-test.inc (frexp_test_data): Add tests.
5677 * NEWS: Update fixed bug list.
5679 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5681 * benchtests/Makefile: Depend on libraries in build directory.
5682 (bench-math): Separate out math tests.
5683 (bench-pthread): Separate out pthread tests.
5684 (bench): Include math and pthread tests.
5686 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5689 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5690 _dl_debug_initialize.
5692 * configure.ac: Remove SELinux header check.
5693 * configure: Regenerate.
5694 * nscd/selinux.c (perms): Array of const char* to permission names.
5695 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5696 default policy. Call string_to_security_class and string_to_av_perm to
5697 translate strings. Enforce default policy and call avs_has_perm with
5698 results of translated strings.
5700 2014-04-13 David S. Miller <davem@davemloft.net>
5702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5704 2014-04-12 Allan McRae <allan@archlinux.org>
5707 * manual/string.texi (Collation Functions): Fix qsort argument
5709 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5711 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5713 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5714 Make the test a no-op if there are no exceptions defined.
5716 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5718 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5719 enable-hardcoded-path-in-tests
5721 2014-04-11 Will Newton <will.newton@linaro.org>
5723 * benchtests/Makefile (extra-objs): Add json-lib.o.
5724 (bench-func): Tidy up JSON output.
5725 * benchtests/bench-skeleton.c: Include json-lib.h.
5726 (main): Use JSON library functions to do output of
5728 * benchtests/bench-timing-type.c (main): Output the
5729 timing type simply, leaving formatting to the user.
5730 * benchtests/json-lib.c: New file.
5731 * benchtests/json-lib.h: Likewise.
5733 2014-04-11 Torvald Riegel <triegel@redhat.com>
5736 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5737 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5738 memory barriers. Add comments.
5739 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5740 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5741 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5742 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5743 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5744 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5746 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5748 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5749 * sysdeps/s390/s390-64/configure.ac: ... this ...
5750 * sysdeps/s390/configure.ac: ... to here.
5751 * sysdeps/s390/s390-32/configure: Delete file.
5752 * sysdeps/s390/s390-64/configure: Delete file.
5753 * sysdeps/s390/configure: Regenerate.
5755 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5757 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5759 2014-04-11 Will Newton <will.newton@linaro.org>
5761 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5762 to zero if it is not defined elsewhere. (mtrim): Test
5763 the value of MALLOC_DEBUG with #if rather than #ifdef.
5765 2014-04-10 Torvald Riegel <triegel@redhat.com>
5767 * benchtests/pthread_once-inputs: New file.
5768 * benchtests/pthread_once-source.c: New file.
5769 * benchtests/README: Update documentation.
5771 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5772 H.J. Lu <hongjiu.lu@intel.com>
5774 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5775 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5776 * sysdeps/x86_64/configure: Regenerated.
5777 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5779 (REGISTER_SAVE_RAX): Likewise.
5780 (REGISTER_SAVE_RCX): Likewise.
5781 (REGISTER_SAVE_RDX): Likewise.
5782 (REGISTER_SAVE_RSI): Likewise.
5783 (REGISTER_SAVE_RDI): Likewise.
5784 (REGISTER_SAVE_R8): Likewise.
5785 (REGISTER_SAVE_R9): Likewise.
5786 (REGISTER_SAVE_BND0): Likewise.
5787 (REGISTER_SAVE_BND1): Likewise.
5788 (REGISTER_SAVE_BND2): Likewise.
5789 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5790 bound registers when calling _dl_fixup.
5792 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5794 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5795 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5797 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5798 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5799 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5800 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5801 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5802 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5803 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5805 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5808 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5809 pathconf(_PC_NAME_MAX).
5811 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5813 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5815 (__PTHREAD_SPINS): Move definition to ...
5816 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5817 (__PTHREAD_SPINS): ... here.
5818 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5819 (__PTHREAD_SPIN): Likewise.
5820 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5821 (__PTHREAD_SPIN): Likewise.
5822 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5823 (__PTHREAD_SPIN): Likewise.
5824 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5825 (__PTHREAD_SPIN): Likewise.
5826 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5827 (__PTHREAD_SPIN): Likewise.
5828 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5829 (__PTHREAD_SPIN): Likewise.
5830 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5831 (__PTHREAD_SPIN): Likewise.
5832 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5833 (__PTHREAD_SPIN): Likewise.
5834 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5835 (__PTHREAD_SPIN): Likewise.
5836 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5837 (__PTHREAD_SPIN): Likewise.
5838 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5839 (__PTHREAD_SPIN): Likewise.
5840 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5841 (__PTHREAD_SPIN): Likewise.
5843 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5844 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5845 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5846 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5848 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5849 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5850 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5851 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5853 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5854 strlen symbol for non multi-arch builds.
5855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5856 missing hidden_def and weak_alias.
5858 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5860 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5862 2014-04-07 Will Newton <will.newton@linaro.org>
5864 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5865 and contents. [!_LIBC] Remove #ifndef and contents.
5866 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5867 * string/memccpy.c (__memccpy): Use ANSI prototype.
5868 * string/memfrob.c (memfrob): Likewise.
5869 * string/strcoll.c (STRCOLL): Likewise.
5870 * string/strlen.c (strlen): Likewise.
5871 * string/strtok.c (STRTOK): Likewise.
5872 * string/strcat.c: Remove unused #include of memcopy.h.
5873 (strcat): Use ANSI prototype.
5874 * string/strchr.c: Remove unused #include of memcopy.h.
5875 (strchr): Use ANSI prototype.
5876 * string/strcmp.c: Remove unused #include of memcopy.h.
5877 (strcmp): Use ANSI prototype.
5878 * string/strcpy.c: Remove unused #include of memcopy.h.
5879 (strcpy): Use ANSI prototype.
5881 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5884 * config.make.in (config-extra-cppflags): Set it from
5885 libc_extra_cppflags.
5886 * configure.ac (libc_extra_cflags): Make it accumulate over
5887 configure fragments.
5888 (libc_extra_cppflags): New flag.
5889 * configure. Regenerate.
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5891 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5892 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5897 result for FE_DOWNWARD rounding mode.
5898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5902 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5904 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5905 in function argument name.
5907 2014-04-03 David Svoboda <svoboda@cert.org>
5910 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5913 2014-04-03 Roland McGrath <roland@hack.frob.com>
5915 * elf/dl-unmap-segments.h: New file.
5916 * sysdeps/generic/ldsodefs.h
5917 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5918 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5919 * elf/dl-fptr.c: Likewise.
5920 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5921 * sysdeps/aarch64/tlsdesc.c: Likewise.
5922 * sysdeps/arm/tlsdesc.c: Likewise.
5923 * sysdeps/i386/tlsdesc.c: Likewise.
5924 * sysdeps/tile/dl-runtime.c: Likewise.
5925 * sysdeps/x86_64/tlsdesc.c: Likewise.
5926 * elf/dl-load.h: New file.
5927 * elf/dl-load.c: Include it.
5928 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5929 Macros moved to dl-load.h.
5930 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5931 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5932 Use _dl_unmap_segments in place of __munmap.
5933 Break out segment-mapping loop into ...
5934 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5936 2014-04-03 Will Newton <will.newton@linaro.org>
5938 * elf/dl-lookup.c (do_lookup_x): Remove comment
5939 referring to nested function and move variable
5940 declarations down to before first use.
5942 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5946 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5948 * math/s_catanf.c (__catanf): Likewise.
5949 * math/s_catanh.c (__catanh): Likewise.
5950 * math/s_catanhf.c (__catanhf): Likewise.
5951 * math/s_catanhl.c (__catanhl): Likewise.
5952 * math/s_catanl.c (__catanl): Likewise.
5953 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5954 by positive zero when computing -Inf result.
5955 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5956 (catanh_test): Likewise.
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5962 instead of using underflowing value in computing result.
5963 * math/s_clog10.c (__clog10): Likewise.
5964 * math/s_clog10f.c (__clog10f): Likewise.
5965 * math/s_clog10l.c (__clog10l): Likewise.
5966 * math/s_clogf.c (__clogf): Likewise.
5967 * math/s_clogl.c (__clogl): Likewise.
5968 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5969 (clog10_test): Likewise.
5970 * sysdeps/i386/fpu/libm-test-ulps: Update.
5971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5973 2014-04-02 Alan Modra <amodra@gmail.com>
5976 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5977 output when value is near a power of two. Use int64_t for lx and
5978 remove casts. Use decimal rather than hex exponent constants.
5979 Don't use long double multiplication when double will suffice.
5980 * math/libm-test.inc (nextafter_test_data): Add tests.
5981 * NEWS: Add 16739 and 16786 to bug list.
5983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5985 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5987 2014-04-01 Will Newton <will.newton@linaro.org>
5989 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5990 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5992 2014-04-01 Florian Weimer <fweimer@redhat.com>
5995 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5996 * nptl/tst-setuid2.c: New file.
5997 * nptl/Makefile (xtests): Add tst-setuid2.
5999 2014-04-01 Alan Modra <amodra@gmail.com>
6002 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6004 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6008 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6009 set errno as appropriate.
6010 * math/w_scalbf.c (__scalbf): Likewise.
6011 * math/w_scalbl.c (__scalbl): Likewise.
6012 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6013 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6014 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6018 * math/w_atan2.c: Include <errno.h>.
6019 (__atan2): Set errno for result underflowing to zero.
6020 * math/w_atan2f.c: Include <errno.h>.
6021 (__atan2f): Set errno for result underflowing to zero.
6022 * math/w_atan2l.c: Include <errno.h>.
6023 (__atan2l): Set errno for result underflowing to zero.
6024 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6026 * math/auto-libm-test-out: Regenerated.
6028 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6030 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6031 Encode instruction correctly in little endian.
6032 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6036 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6038 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6041 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/unix/sysv/linux/kernel-features.h
6045 [__sparc__ && !__arch64__ && !__sparc_v9__]
6046 (__ASSUME_SET_ROBUST_LIST): Do not define.
6047 [__sparc__ && !__arch64__ && !__sparc_v9__]
6048 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6049 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6051 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6052 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6053 (__ASSUME_REQUEUE_PI): Likewise.
6054 (__ASSUME_SET_ROBUST_LIST): Likewise.
6055 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6056 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6058 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6059 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6061 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6065 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6066 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6068 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6069 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6074 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6075 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6077 2014-03-31 Will Newton <will.newton@linaro.org>
6079 * benchtests/Makefile (bench): Add ffs and ffsll to list
6081 * benchtests/ffs-inputs: New file.
6082 * benchtests/ffsll-inputs: Likewise.
6084 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6087 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6088 too large before casting to int.
6089 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6090 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6091 * math/libm-test.inc (scalb_test_data): Add more tests.
6093 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6095 * benchtests/Makefile (DETAILED_OPT): New make option.
6096 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6098 * benchtests/bench-skeleton.c: Include stdbool.h.
6099 (main): Store and print timings per input.
6100 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6101 member to each argument value.
6102 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6103 (_print_arg_data): Initialize per-input timing to 0.
6105 * benchtests/Makefile (timing-type): New binary.
6106 (bench-clean): Also remove bench-timing-type.
6107 (bench): New target for timing-type.
6108 (bench-func): Print output in JSON format.
6109 * benchtests/bench-skeleton.c (main): Print output in JSON
6111 * benchtests/bench-timing-type.c: New file.
6112 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6113 (TIMING_PRINT_STATS): Remove.
6114 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6117 * benchtests/bench-modf.c: Remove.
6118 * benchtests/modf-inputs: New inputs file.
6120 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6123 * math/s_clog10.c (M_PI_LOG10E): New macro.
6124 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6125 imaginary parts are 0.
6126 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6127 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6128 imaginary parts are 0.
6129 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6130 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6131 imaginary parts are 0.
6132 * math/libm-test.inc (clog10_test_data): Update expected results
6133 for when real and imaginary parts are 0.
6135 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6137 * elf/dl-load.c: Finish conversion of __builtin_expect into
6140 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6144 1+x for argument with exponent below -67.
6145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6147 * math/auto-libm-test-in: Add more tests of exp.
6148 * math/auto-libm-test-out: Regenerated.
6150 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6153 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6154 (nscd_getnetgrent): Use it.
6157 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6160 2014-03-27 Andi Kleen <ak@linux.intel.com>
6162 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6163 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6164 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6165 (lll_robust_unlock): Remove out of line section. Use cfi
6167 (LLL_STUB_UNWIND_INFO*): Remove.
6168 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6169 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6170 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6171 (lll_robust_unlock): Remove out of line section. Use cfi
6173 (LLL_STUB_UNWIND_INFO*): Remove.
6175 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6178 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6181 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6183 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6185 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6188 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6190 * math/test-fenv-preserve.c: New file.
6191 * math/Makefile (tests): Add test-fenv-preserve.
6193 2014-03-26 Will Newton <will.newton@linaro.org>
6195 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6197 2014-03-25 Roland McGrath <roland@hack.frob.com>
6199 * scripts/versionlist.awk: Partition the version sets and emit all
6200 GLIBC_* (sorted) before all others (sorted).
6202 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6204 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6205 GLIBC_2.2.5 version.
6207 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6212 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6217 2014-03-25 Andreas Schwab <schwab@suse.de>
6219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6220 label to be used after in6ailist is initialized.
6222 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6224 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6225 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6227 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6231 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6233 (fp_formats): Update initializers.
6234 (init_fp_formats): Initialize new field.
6235 (output_for_one_input_case): Allow underflow for results up to
6237 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6238 * math/auto-libm-test-in: Don't mark some underflows from asin and
6240 * math/auto-libm-test-out: Regenerated.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6244 2014-03-25 Andreas Schwab <schwab@suse.de>
6246 * libio/Makefile (tst-ftell-partial-wide-ENV)
6247 (tst-ftell-active-handler-ENV): Define.
6249 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6251 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6253 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6255 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6257 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6259 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6260 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6261 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6263 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6266 * elf/dl-load.c (open_verify): Add mode parameter.
6267 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6268 (open_path): Change from boolean 'secure' to complete flag 'mode'
6269 (_dl_map_object): Adjust.
6270 * elf/Makefile (tests): Add tst-dlopen-aout.
6271 * elf/tst-dlopen-aout.c: New test.
6273 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6276 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6277 (struct stat): Rename member pad0 to __glibc_reserved0.
6280 * sysdeps/s390/s390-32/bits/wordsize.h
6281 (__WORDSIZE32_SIZE_ULONG): New define.
6282 * sysdeps/s390/s390-64/bits/wordsize.h
6283 (__WORDSIZE32_SIZE_ULONG): Likewise.
6284 * sysdeps/generic/stdint.h (SIZE_MAX):
6285 Define as UL if __WORDSIZE32_SIZE_ULONG.
6288 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6289 (__glibc_reserved0): New variable.
6290 (sa_flags): Change type to int.
6292 * posix/Makefile (before-compile): Use += before-compile instead
6295 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6296 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6298 2014-03-20 Andreas Schwab <schwab@suse.de>
6301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6302 non-matching result from nscd.
6304 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6306 * scripts/bench.py: Moved to ...
6307 * benchtests/scripts/bench.py: ... here.
6308 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6310 2014-03-24 Andreas Schwab <schwab@suse.de>
6313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6314 alloca_account and account alloca use for struct in6ailist.
6316 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6319 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6320 rounding mode to recompute results that overflow to infinity or
6322 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6324 * math/auto-libm-test-out: Regenerated.
6325 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6326 (ccosh_test): Likewise.
6327 (csin_test_data): Use plus_oflow.
6328 (csin_test): Use ALL_RM_TEST.
6329 (csinh_test_data): Use plus_oflow.
6330 (csinh_test): Use ALL_RM_TEST.
6331 * sysdeps/i386/fpu/libm-test-ulps: Update.
6332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6334 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6336 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6337 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6338 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6341 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6343 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6344 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6345 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6346 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6348 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6349 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6351 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6352 * sysdeps/i386/fpu/libm-test-ulps: Update.
6353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6355 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6357 * scripts/bench.pl: Remove file.
6358 * scripts/bench.py: New benchmark script.
6359 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6360 * benchtests/README: Mention python dependency.
6361 * scripts/pylintrc: New file.
6362 * scripts/pylint: New file.
6364 * bits/mathdef.h: Use #ifdef instead of #if.
6365 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6366 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6367 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6368 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6369 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6370 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6372 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6375 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6377 and strpbrk-ppc64 objects.
6378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6379 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6380 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6381 multiarch strpbrk for POWER7.
6382 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6383 multiarch strpbrk for PPC64.
6384 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6386 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6389 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6391 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6392 (atan_test): Likewise.
6393 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6394 (atanh_test): Use ALL_RM_TEST.
6395 (atan2_test_data): Likewise.
6396 (cabs_test): Likewise.
6397 (cacosh_test): Likewise.
6398 (carg_test): Likewise.
6399 (casin_test): Likewise.
6400 (casinh_test): Likewise.
6401 (cbrt_test): Likewise.
6402 (csqrt_test): Likewise.
6403 (erf_test): Likewise.
6404 (erfc_test): Likewise.
6405 (pow10_test): Likewise.
6406 (exp2_test): Likewise.
6407 (hypot_test): Likewise.
6408 (j0_test): Likewise.
6409 (j1_test): Likewise.
6410 (lgamma_test): Likewise.
6411 (gamma_test): Likewise.
6412 (sincos_test): Likewise.
6413 (tanh_test): Likewise.
6414 (y0_test): Likewise.
6415 (y1_test): Likewise.
6416 * sysdeps/i386/fpu/libm-test-ulps: Update.
6417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6419 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6421 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6423 and strcspn-ppc64 objects.
6424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6425 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6426 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6427 multiarch strcspn for POWER7.
6428 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6429 multiarch strcspn for PPC64.
6430 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6432 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6435 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6437 * math/gen-libm-test.pl (generate_testfile): Expect only function
6438 name as argument to AUTO_TESTS_* and pass results for all rounding
6439 modes to parse_args.
6440 (parse_auto_input): Separate inputs of automatic tests from
6441 outputs before storing in %auto_tests.
6442 * math/libm-test.inc (acos_test_data): Update call to
6444 (acos_test): Use ALL_RM_TEST.
6445 (acos_tonearest_test_data): Remove.
6446 (acos_test_tonearest): Likewise.
6447 (acos_towardzero_test_data): Likewise.
6448 (acos_test_towardzero): Likewise.
6449 (acos_downward_test_data): Likewise.
6450 (acos_test_downward): Likewise.
6451 (acos_upward_test_data): Likewise.
6452 (acos_test_upward): Likewise.
6453 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6454 (asin_test_data): Likewise.
6455 (asin_test): Use ALL_RM_TEST.
6456 (asin_tonearest_test_data): Remove.
6457 (asin_test_tonearest): Likewise.
6458 (asin_towardzero_test_data): Likewise.
6459 (asin_test_towardzero): Likewise.
6460 (asin_downward_test_data): Likewise.
6461 (asin_test_downward): Likewise.
6462 (asin_upward_test_data): Likewise.
6463 (asin_test_upward): Likewise.
6464 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6465 (atan_test_data): Likewise.
6466 (atanh_test_data): Likewise.
6467 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6468 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6469 (carg_test_data): Likewise.
6470 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6471 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6472 (ccosh_test_data): Likewise.
6473 (cexp_test_data): Likewise.
6474 (clog_test_data): Likewise.
6475 (clog10_test_data): Likewise.
6476 (cos_test_data): Update call to AUTO_TESTS_f_f.
6477 (cos_test): Use ALL_RM_TEST.
6478 (cos_tonearest_test_data): Remove.
6479 (cos_test_tonearest): Likewise.
6480 (cos_towardzero_test_data): Likewise.
6481 (cos_test_towardzero): Likewise.
6482 (cos_downward_test_data): Likewise.
6483 (cos_test_downward): Likewise.
6484 (cos_upward_test_data): Likewise.
6485 (cos_test_upward): Likewise.
6486 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6487 (cosh_test): Use ALL_RM_TEST.
6488 (cosh_tonearest_test_data): Remove.
6489 (cosh_test_tonearest): Likewise.
6490 (cosh_towardzero_test_data): Likewise.
6491 (cosh_test_towardzero): Likewise.
6492 (cosh_downward_test_data): Likewise.
6493 (cosh_test_downward): Likewise.
6494 (cosh_upward_test_data): Likewise.
6495 (cosh_test_upward): Likewise.
6496 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6497 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6498 (ctan_test_data): Likewise.
6499 (ctan_test): Use ALL_RM_TEST.
6500 (ctan_tonearest_test_data): Remove.
6501 (ctan_test_tonearest): Likewise.
6502 (ctan_towardzero_test_data): Likewise.
6503 (ctan_test_towardzero): Likewise.
6504 (ctan_downward_test_data): Likewise.
6505 (ctan_test_downward): Likewise.
6506 (ctan_upward_test_data): Likewise.
6507 (ctan_test_upward): Likewise.
6508 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6509 (ctanh_test): Use ALL_RM_TEST.
6510 (ctanh_tonearest_test_data): Remove.
6511 (ctanh_test_tonearest): Likewise.
6512 (ctanh_towardzero_test_data): Likewise.
6513 (ctanh_test_towardzero): Likewise.
6514 (ctanh_downward_test_data): Likewise.
6515 (ctanh_test_downward): Likewise.
6516 (ctanh_upward_test_data): Likewise.
6517 (ctanh_test_upward): Likewise.
6518 (erf_test_data): Update call to AUTO_TESTS_f_f.
6519 (erfc_test_data): Likewise.
6520 (exp_test_data): Likewise.
6521 (exp_test): Use ALL_RM_TEST.
6522 (exp_tonearest_test_data): Remove.
6523 (exp_test_tonearest): Likewise.
6524 (exp_towardzero_test_data): Likewise.
6525 (exp_test_towardzero): Likewise.
6526 (exp_downward_test_data): Likewise.
6527 (exp_test_downward): Likewise.
6528 (exp_upward_test_data): Likewise.
6529 (exp_test_upward): Likewise.
6530 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6531 (exp10_test): Use ALL_RM_TEST.
6532 (exp10_tonearest_test_data): Remove.
6533 (exp10_test_tonearest): Likewise.
6534 (exp10_towardzero_test_data): Likewise.
6535 (exp10_test_towardzero): Likewise.
6536 (exp10_downward_test_data): Likewise.
6537 (exp10_test_downward): Likewise.
6538 (exp10_upward_test_data): Likewise.
6539 (exp10_test_upward): Likewise.
6540 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6541 (expm1_test_data): Likewise.
6542 (expm1_test): Use ALL_RM_TEST.
6543 (expm1_tonearest_test_data): Remove.
6544 (expm1_test_tonearest): Likewise.
6545 (expm1_towardzero_test_data): Likewise.
6546 (expm1_test_towardzero): Likewise.
6547 (expm1_downward_test_data): Likewise.
6548 (expm1_test_downward): Likewise.
6549 (expm1_upward_test_data): Likewise.
6550 (expm1_test_upward): Likewise.
6551 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6552 (fma_test): Use ALL_RM_TEST.
6553 (fma_towardzero_test_data): Remove.
6554 (fma_test_towardzero): Likewise.
6555 (fma_downward_test_data): Likewise.
6556 (fma_test_downward): Likewise.
6557 (fma_upward_test_data): Likewise.
6558 (fma_test_upward): Likewise.
6559 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6560 (j0_test_data): Update call to AUTO_TESTS_f_f.
6561 (j1_test_data): Likewise.
6562 (jn_test_data): Update call to AUTO_TESTS_if_f.
6563 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6564 (log_test_data): Update call to AUTO_TESTS_f_f.
6565 (log10_test_data): Likewise.
6566 (log1p_test_data): Likewise.
6567 (log2_test_data): Likewise.
6568 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6569 (pow_tonearest_test_data): Likewise.
6570 (sin_test_data): Update call to AUTO_TESTS_f_f.
6571 (sin_test): Use ALL_RM_TEST.
6572 (sin_tonearest_test_data): Remove.
6573 (sin_test_tonearest): Likewise.
6574 (sin_towardzero_test_data): Likewise.
6575 (sin_test_towardzero): Likewise.
6576 (sin_downward_test_data): Likewise.
6577 (sin_test_downward): Likewise.
6578 (sin_upward_test_data): Likewise.
6579 (sin_test_upward): Likewise.
6580 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6581 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6582 (sinh_test): Use ALL_RM_TEST.
6583 (sinh_tonearest_test_data): Remove.
6584 (sinh_test_tonearest): Likewise.
6585 (sinh_towardzero_test_data): Likewise.
6586 (sinh_test_towardzero): Likewise.
6587 (sinh_downward_test_data): Likewise.
6588 (sinh_test_downward): Likewise.
6589 (sinh_upward_test_data): Likewise.
6590 (sinh_test_upward): Likewise.
6591 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6592 (sqrt_test): Use ALL_RM_TEST.
6593 (sqrt_tonearest_test_data): Remove.
6594 (sqrt_test_tonearest): Likewise.
6595 (sqrt_towardzero_test_data): Likewise.
6596 (sqrt_test_towardzero): Likewise.
6597 (sqrt_downward_test_data): Likewise.
6598 (sqrt_test_downward): Likewise.
6599 (sqrt_upward_test_data): Likewise.
6600 (sqrt_test_upward): Likewise.
6601 (tan_test_data): Update call to AUTO_TESTS_f_f.
6602 (tan_test): Use ALL_RM_TEST.
6603 (tan_tonearest_test_data): Remove.
6604 (tan_test_tonearest): Likewise.
6605 (tan_towardzero_test_data): Likewise.
6606 (tan_test_towardzero): Likewise.
6607 (tan_downward_test_data): Likewise.
6608 (tan_test_downward): Likewise.
6609 (tan_upward_test_data): Likewise.
6610 (tan_test_upward): Likewise.
6611 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6612 (tgamma_test_data): Likewise.
6613 (y0_test_data): Likewise.
6614 (y1_test_data): Likewise.
6615 (yn_test_data): Update call to AUTO_TESTS_if_f.
6616 (main): Do not call removed functions.
6618 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6620 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6621 (ldexp_test_data): Remove.
6622 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6624 (scalb_test): Use ALL_RM_TEST.
6626 2014-03-19 Andreas Schwab <schwab@suse.de>
6628 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6630 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6633 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6634 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6637 (__ASSUME_PREADV): Undefine.
6638 (__ASSUME_PWRITEV): Likewise.
6640 2014-03-18 Roland McGrath <roland@hack.frob.com>
6642 * bits/mman-linux.h: Add comment about non-Linux use.
6643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6644 bits/mman-linux.h resting place.
6646 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6647 * bits/mman-linux.h: ... here.
6649 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651 * conform/conformtest.pl: Add standard definition when calling C
6652 preprocessor on data files.
6653 (checknamespace): Remove unused variable.
6655 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6657 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6658 minus_oflow, plus_uflow and minus_uflow in expected results.
6659 * math/libm-test.inc (scalbn_test_data): Add more tests of
6660 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6662 (scalbn_test): Use ALL_RM_TEST.
6663 (scalbln_test_data): Add more tests of negative arguments. Use
6664 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6665 (scalbln_test): Use ALL_RM_TEST.
6667 2014-03-18 Roland McGrath <roland@hack.frob.com>
6669 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6671 2014-03-18 Will Newton <will.newton@linaro.org>
6673 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6676 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6678 * Makerules [!subdir] (check-abi): Exit with error status if a
6681 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6683 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6684 for rint. Include results for all rounding modes.
6685 (nearbyint_test): Use ALL_RM_TEST.
6686 (rint_test_data): Include all tests used for nearbyint.
6688 2014-03-17 Will Newton <will.newton@linaro.org>
6690 * nptl/sysdeps/pthread/pthread.h: Revert previous
6693 * sysdeps/generic/ldsodefs.h: Revert previous
6696 * libio/genops.c: Revert previous change.
6697 * libio/libioP.h: Likewise.
6698 * stdio-common/vfprintf.c: Likewise.
6700 * sysdeps/generic/math_private.h: Revert previous
6703 * sysdeps/generic/math_private.h: Check whether
6704 HAVE_RM_CTX is defined with #ifdef rather
6707 * argp/argp-fmtstream.h: Check whether
6708 __STRICT_ANSI__ is defined with #ifdef rather
6710 * argp/argp.h: Likewise.
6712 * libio/genops.c: Check whether
6713 _IO_JUMPS_OFFSET is defined with #ifdef rather
6715 * libio/libioP.h: Likewise.
6716 * stdio-common/vfprintf.c: Likewise.
6718 * sysdeps/generic/ldsodefs.h: Check whether
6719 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6722 * nptl/sysdeps/pthread/pthread.h: Check
6723 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6726 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6728 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6730 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6734 * libio/fileops.c (_IO_file_open): Seek to end of file but
6735 don't cache the offset.
6736 (get_file_offset): Remove function.
6737 (do_ftell): Use cached offset when available.
6738 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6739 don't cache the offset.
6740 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6742 (do_one_test): Call it.
6743 (do_ftell_test): Fix up expected old offset for a+ mode.
6744 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6747 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6748 up test status with function return status.
6749 (do_write_test): Likewise.
6750 (do_append_test): Likewise.
6752 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6753 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6756 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6758 * math/gen-libm-test.pl (parse_args): Handle results specified for
6759 each rounding mode separately.
6760 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6761 tests and results from lrint_tonearest_test_data,
6762 lrint_towardzero_test_data, lrint_downward_test_data and
6763 lrint_upward_test_data.
6764 (lrint_test): Use ALL_RM_TEST.
6765 (lrint_tonearest_test_data): Remove.
6766 (lrint_test_tonearest): Likewise.
6767 (lrint_towardzero_test_data): Likewise.
6768 (lrint_test_towardzero): Likewise.
6769 (lrint_downward_test_data): Likewise.
6770 (lrint_test_downward): Likewise.
6771 (lrint_upward_test_data): Likewise.
6772 (lrint_test_upward): Likewise.
6773 (llrint_test_data): Merge in per-rounding-mode tests and results
6774 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6775 llrint_downward_test_data and llrint_upward_test_data.
6776 (llrint_test): Use ALL_RM_TEST.
6777 (llrint_tonearest_test_data): Remove.
6778 (llrint_test_tonearest): Likewise.
6779 (llrint_towardzero_test_data): Likewise.
6780 (llrint_test_towardzero): Likewise.
6781 (llrint_downward_test_data): Likewise.
6782 (llrint_test_downward): Likewise.
6783 (llrint_upward_test_data): Likewise.
6784 (llrint_test_upward): Likewise.
6785 (rint_test_data): Merge in per-rounding-mode tests and results
6786 from rint_tonearest_test_data, rint_towardzero_test_data,
6787 rint_downward_test_data and rint_upward_test_data. Add
6788 per-rounding-mode results for tests not in those arrays.
6789 (rint_test): Use ALL_RM_TEST.
6790 (rint_tonearest_test_data): Remove.
6791 (rint_test_tonearest): Likewise.
6792 (rint_towardzero_test_data): Likewise.
6793 (rint_test_towardzero): Likewise.
6794 (rint_downward_test_data): Likewise.
6795 (rint_test_downward): Likewise.
6796 (rint_upward_test_data): Likewise.
6797 (rint_test_upward): Likewise.
6798 (main): Don't call removed functions.
6800 2014-03-14 Roland McGrath <roland@hack.frob.com>
6802 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6803 "Compiled on ..." crapola. It is anti-useful.
6805 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6807 * scripts/evaluate-test.sh: Handle fourth argument to determine
6808 whether test run should stop on failure.
6809 * Makeconfig (stop-on-test-failure): New variable.
6810 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6811 $(stop-on-test-failure).
6812 * Makefile (tests): Give a summary of results from testing and
6813 exit with failure status if they include an ERROR or FAIL.
6815 * manual/install.texi (Configuring and compiling): Mention
6816 stop-on-test-failure=y.
6817 * INSTALL: Regenerated.
6819 2014-03-14 Roland McGrath <roland@hack.frob.com>
6821 * scripts/versionlist.awk: New file.
6822 * Makerules [$(build-shared) = yes]
6823 (postclean-generated): Add Versions.def, not Versions.def.v and
6825 ($(common-objpfx)Versions.def.v.i): Target removed.
6826 ($(common-objpfx)Versions.def): New target.
6827 ($(common-objpfx)Versions.all): Depend on that rather that
6828 $(common-objpfx)Versions.def.v.
6829 * Versions.def: File removed.
6831 * Makeconfig (+gccwarn): Add -Wundef.
6832 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6833 a dl-sysdep.h breaking its contract.
6834 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6835 * include/stackinfo.h: New file.
6836 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6837 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6838 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6839 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6840 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6841 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6842 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6843 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6844 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6845 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6846 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6847 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6848 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6849 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6850 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6852 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6857 * math/libm-test.inc (round_test_data): Add more tests.
6860 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6862 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6865 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6867 * math/libm-test.inc (ceil_test_data): Add more tests.
6869 * math/libm-test.inc (trunc_test_data): Add more tests related to
6872 2014-03-14 Roland McGrath <roland@hack.frob.com>
6874 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6875 with #if rather than #ifdef.
6876 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6878 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6880 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6881 first. Disable AVX-512 GCC support if assembler doesn't support
6883 * sysdeps/x86_64/configure: Regenerated.
6885 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6887 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6888 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6889 (__old_pthread_attr_setstack): Likewise.
6890 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6891 [!_STACK_GROWS_DOWN]: Likewise.
6893 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6895 * config.make.in (have-bash2): Delete.
6896 * configure.ac (libc_cv_have_bash2): Delete.
6897 * configure: Regenerate.
6898 * elf/Makefile (common-ldd-rewrite): Rename to ...
6899 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6900 (sh-ldd-rewrite): Delete.
6901 (bash-ldd-rewrite): Delete.
6902 (have-bash2): Delete checks.
6903 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6906 * config.make.in (have-ksh): Delete.
6908 * configure.ac (libc_cv_have_ksh): Delete.
6909 * configure: Regenerate.
6911 * elf/Makefile: Delete $(have-ksh) check.
6912 ($(objpfx)sotruss): Change KSH to BASH.
6913 * elf/sotruss.ksh: Rename to ...
6914 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6915 function style to match POSIX. Drop ksh vim mode setting.
6917 * manual/time.texi (Specifying the Time Zone with TZ): Change
6918 Tuesday to Thursday.
6920 * debug/tst-longjmp_chk2.c: Update header comment.
6921 (stackoverflow_handler): Add comment. Call assert on pass value.
6923 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6925 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6926 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6927 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6928 (La_x86_64_vector): Add zmm.
6929 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6930 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6931 ($(objpfx)tst-audit10): New target.
6932 ($(objpfx)tst-audit10.out): Likewise.
6933 (tst-audit10-ENV): New.
6934 (AVX512-CFLAGS): Likewise.
6935 (CFLAGS-tst-audit10.c): Likewise.
6936 (CFLAGS-tst-auditmod10a.c): Likewise.
6937 (CFLAGS-tst-auditmod10b.c): Likewise.
6938 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6939 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6940 * sysdeps/x86_64/configure: Regenerated.
6941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6942 AVX-512 zmm register support.
6943 (_dl_x86_64_save_sse): Likewise.
6944 (_dl_x86_64_restore_sse): Likewise.
6945 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6946 size vector registers.
6947 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6948 (ZMM_SIZE): Likewise.
6949 * sysdeps/x86_64/tst-audit10.c: New file.
6950 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6951 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6953 2014-03-13 Roland McGrath <roland@hack.frob.com>
6955 * configure.ac (HAVE_EHDR_START): New check.
6956 * configure: Regenerated.
6957 * config.h.in (HAVE_EHDR_START): New #undef.
6958 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6959 assuming the lowest-addressed segment maps the start of the file.
6961 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6963 * INSTALL: Regenerated.
6965 2014-03-13 Will Newton <will.newton@linaro.org>
6967 * manual/setjmp.texi (System V contexts): Improve
6968 clarity and grammar of documentation.
6970 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6973 * elf/Makefile (tests): Add tst-pie2.
6974 (tests-pie): Add tst-pie2.
6975 * elf/tst-pie2.c: New file.
6976 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6978 * elf/rtld.c (map_doit): Load executable as lt_executable.
6979 (dl_main): Likewise.
6981 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6985 (__ASSUME_PSELECT): Undefine.
6987 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6991 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6994 selector for static builds.
6996 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6999 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7002 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7005 IFUNC selector for static builds.
7007 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7009 * sysdeps/mips/math_private.h [__mips_hard_float]
7010 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7011 libc_feresetround_mips_ctx.
7012 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7013 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7014 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7017 * math/s_nextafter.c (__nextafter): Do not return value from
7018 overflowing computation.
7019 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7020 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7021 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7025 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7026 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7028 2014-03-11 Roland McGrath <roland@hack.frob.com>
7030 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7031 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7032 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7033 the new mov targetting sp.
7035 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7039 Define it for static builds as well.
7040 (NO_BZERO_IMPL): Likewise.
7042 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7044 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7045 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7046 multiarch strspn for PPC64.
7047 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7048 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7050 (__libc_ifunc_impl_list): Likewise.
7051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7052 multiarch optimizations
7053 * string/strspn.c (strspn): Using macro to redefine symbol name.
7055 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7056 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7058 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7059 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7060 multiarch strncat for PPC64.
7061 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7062 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7064 (__libc_ifunc_impl_list): Likewise.
7065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7066 multiarch optimizations
7068 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7071 * nscd/nscd.service: Make service type forking.
7073 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7075 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7076 sign in non default rounding modes.
7077 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7079 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7081 * math/libm-test.inc (ALL_RM_TEST): New macro.
7082 (ceil_test): Use ALL_RM_TEST.
7083 (cimag_test): Likewise.
7084 (conj_test): Likewise.
7085 (copysign_test): Likewise.
7086 (cproj_test): Likewise.
7087 (creal_test): Likewise.
7088 (fabs_test): Likewise.
7089 (floor_test): Likewise.
7090 (fmax_test): Likewise.
7091 (fmin_test): Likewise.
7092 (fmod_test): Likewise.
7093 (fpclassify_test): Likewise.
7094 (frexp_test): Likewise.
7095 (ilogb_test): Likewise.
7096 (isfinite_test): Likewise.
7097 (finite_test): Likewise.
7098 (isgreater_test): Likewise.
7099 (isgreaterequal_test): Likewise.
7100 (isinf_test): Likewise.
7101 (isless_test): Likewise.
7102 (islessequal_test): Likewise.
7103 (islessgreater_test): Likewise.
7104 (isnan_test): Likewise.
7105 (isnormal_test): Likewise.
7106 (issignaling_test): Likewise.
7107 (isunordered_test): Likewise.
7108 (logb_test): Likewise.
7109 (logb_downward_test_data): Remove.
7110 (logb_test_downward): Likewise.
7111 (lround_test): Use ALL_RM_TEST.
7112 (llround_test): Likewise.
7113 (modf_test): Likewise.
7114 (nexttoward_test): Likewise.
7115 (remainder_test): Likewise.
7116 (drem_test): Likewise.
7117 (remainder_tonearest_test_data): Likewise.
7118 (remainder_test_tonearest): Likewise.
7119 (drem_test_tonearest): Likewise.
7120 (remainder_towardzero_test_data): Likewise.
7121 (remainder_test_towardzero): Likewise.
7122 (drem_test_towardzero): Likewise.
7123 (remainder_downward_test_data): Likewise.
7124 (remainder_test_downward): Likewise.
7125 (drem_test_downward): Likewise.
7126 (remainder_upward_test_data): Likewise.
7127 (remainder_test_upward): Likewise.
7128 (drem_test_upward): Likewise.
7129 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7130 (round_test): Use ALL_RM_TEST.
7131 (signbit_test): Likewise.
7132 (trunc_test): Likewise.
7133 (significand_test): Likewise.
7134 (main): Don't call removed functions.
7136 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7139 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7141 (ILL_ILLOPN): Likewise.
7142 (ILL_ILLADR): Likewise.
7143 (ILL_ILLTRP): Likewise.
7144 (ILL_PRVOPC): Likewise.
7145 (ILL_PRVREG): Likewise.
7146 (ILL_COPROC): Likewise.
7147 (ILL_BADSTK): Likewise.
7148 (FPE_INTDIV): Likewise.
7149 (FPE_INTOVF): Likewise.
7150 (FPE_FLTDIV): Likewise.
7151 (FPE_FLTOVF): Likewise.
7152 (FPE_FLTUND): Likewise.
7153 (FPE_FLTRES): Likewise.
7154 (FPE_FLTINV): Likewise.
7155 (FPE_FLTSUB): Likewise.
7156 (SEGV_MAPERR): Likewise.
7157 (SEGV_ACCERR): Likewise.
7158 (BUS_ADRALN): Likewise.
7159 (BUS_ADRERR): Likewise.
7160 (BUS_OBJERR): Likewise.
7161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7162 (TRAP_TRACE): Likewise.
7163 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7165 (CLD_KILLED): Likewise.
7166 (CLD_DUMPED): Likewise.
7167 (CLD_TRAPPED): Likewise.
7168 (CLD_STOPPED): Likewise.
7169 (CLD_CONTINUED): Likewise.
7170 (POLL_IN): Likewise.
7171 (POLL_OUT): Likewise.
7172 (POLL_MSG): Likewise.
7173 (POLL_ERR): Likewise.
7174 (POLL_PRI): Likewise.
7175 (POLL_HUP): Likewise.
7176 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7178 (ILL_ILLOPN): Likewise.
7179 (ILL_ILLADR): Likewise.
7180 (ILL_ILLTRP): Likewise.
7181 (ILL_PRVOPC): Likewise.
7182 (ILL_PRVREG): Likewise.
7183 (ILL_COPROC): Likewise.
7184 (ILL_BADSTK): Likewise.
7185 (FPE_INTDIV): Likewise.
7186 (FPE_INTOVF): Likewise.
7187 (FPE_FLTDIV): Likewise.
7188 (FPE_FLTOVF): Likewise.
7189 (FPE_FLTUND): Likewise.
7190 (FPE_FLTRES): Likewise.
7191 (FPE_FLTINV): Likewise.
7192 (FPE_FLTSUB): Likewise.
7193 (SEGV_MAPERR): Likewise.
7194 (SEGV_ACCERR): Likewise.
7195 (BUS_ADRALN): Likewise.
7196 (BUS_ADRERR): Likewise.
7197 (BUS_OBJERR): Likewise.
7198 (BUS_MCEERR_AR): Likewise.
7199 (BUS_MCEERR_AO): Likewise.
7200 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7201 (TRAP_TRACE): Likewise.
7202 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7204 (CLD_KILLED): Likewise.
7205 (CLD_DUMPED): Likewise.
7206 (CLD_TRAPPED): Likewise.
7207 (CLD_STOPPED): Likewise.
7208 (CLD_CONTINUED): Likewise.
7209 (POLL_IN): Likewise.
7210 (POLL_OUT): Likewise.
7211 (POLL_MSG): Likewise.
7212 (POLL_ERR): Likewise.
7213 (POLL_PRI): Likewise.
7214 (POLL_HUP): Likewise.
7215 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7216 (ILL_ILLOPN): Likewise.
7217 (ILL_ILLADR): Likewise.
7218 (ILL_ILLTRP): Likewise.
7219 (ILL_PRVOPC): Likewise.
7220 (ILL_PRVREG): Likewise.
7221 (ILL_COPROC): Likewise.
7222 (ILL_BADSTK): Likewise.
7223 (FPE_INTDIV): Likewise.
7224 (FPE_INTOVF): Likewise.
7225 (FPE_FLTDIV): Likewise.
7226 (FPE_FLTOVF): Likewise.
7227 (FPE_FLTUND): Likewise.
7228 (FPE_FLTRES): Likewise.
7229 (FPE_FLTINV): Likewise.
7230 (FPE_FLTSUB): Likewise.
7231 (SEGV_MAPERR): Likewise.
7232 (SEGV_ACCERR): Likewise.
7233 (BUS_ADRALN): Likewise.
7234 (BUS_ADRERR): Likewise.
7235 (BUS_OBJERR): Likewise.
7236 (BUS_MCEERR_AR): Likewise.
7237 (BUS_MCEERR_AO): Likewise.
7238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7239 (TRAP_TRACE): Likewise.
7240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7242 (CLD_KILLED): Likewise.
7243 (CLD_DUMPED): Likewise.
7244 (CLD_TRAPPED): Likewise.
7245 (CLD_STOPPED): Likewise.
7246 (CLD_CONTINUED): Likewise.
7247 (POLL_IN): Likewise.
7248 (POLL_OUT): Likewise.
7249 (POLL_MSG): Likewise.
7250 (POLL_ERR): Likewise.
7251 (POLL_PRI): Likewise.
7252 (POLL_HUP): Likewise.
7253 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7255 (ILL_ILLOPN): Likewise.
7256 (ILL_ILLADR): Likewise.
7257 (ILL_ILLTRP): Likewise.
7258 (ILL_PRVOPC): Likewise.
7259 (ILL_PRVREG): Likewise.
7260 (ILL_COPROC): Likewise.
7261 (ILL_BADSTK): Likewise.
7262 (ILL_BADIADDR): Likewise.
7263 (ILL_BREAK): Likewise.
7264 (FPE_INTDIV): Likewise.
7265 (FPE_INTOVF): Likewise.
7266 (FPE_FLTDIV): Likewise.
7267 (FPE_FLTOVF): Likewise.
7268 (FPE_FLTUND): Likewise.
7269 (FPE_FLTRES): Likewise.
7270 (FPE_FLTINV): Likewise.
7271 (FPE_FLTSUB): Likewise.
7272 (FPE_DECOVF): Likewise.
7273 (FPE_DECDIV): Likewise.
7274 (FPE_DECERR): Likewise.
7275 (FPE_INVASC): Likewise.
7276 (FPE_INVDEC): Likewise.
7277 (SEGV_MAPERR): Likewise.
7278 (SEGV_ACCERR): Likewise.
7279 (SEGV_PSTKOVF): Likewise.
7280 (BUS_ADRALN): Likewise.
7281 (BUS_ADRERR): Likewise.
7282 (BUS_OBJERR): Likewise.
7283 (BUS_MCEERR_AR): Likewise.
7284 (BUS_MCEERR_AO): Likewise.
7285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7286 (TRAP_TRACE): Likewise.
7287 (TRAP_BRANCH): Likewise.
7288 (TRAP_HWBKPT): Likewise.
7289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7291 (CLD_KILLED): Likewise.
7292 (CLD_DUMPED): Likewise.
7293 (CLD_TRAPPED): Likewise.
7294 (CLD_STOPPED): Likewise.
7295 (CLD_CONTINUED): Likewise.
7296 (POLL_IN): Likewise.
7297 (POLL_OUT): Likewise.
7298 (POLL_MSG): Likewise.
7299 (POLL_ERR): Likewise.
7300 (POLL_PRI): Likewise.
7301 (POLL_HUP): Likewise.
7302 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7303 (ILL_ILLOPN): Likewise.
7304 (ILL_ILLADR): Likewise.
7305 (ILL_ILLTRP): Likewise.
7306 (ILL_PRVOPC): Likewise.
7307 (ILL_PRVREG): Likewise.
7308 (ILL_COPROC): Likewise.
7309 (ILL_BADSTK): Likewise.
7310 (FPE_INTDIV): Likewise.
7311 (FPE_INTOVF): Likewise.
7312 (FPE_FLTDIV): Likewise.
7313 (FPE_FLTOVF): Likewise.
7314 (FPE_FLTUND): Likewise.
7315 (FPE_FLTRES): Likewise.
7316 (FPE_FLTINV): Likewise.
7317 (FPE_FLTSUB): Likewise.
7318 (SEGV_MAPERR): Likewise.
7319 (SEGV_ACCERR): Likewise.
7320 (BUS_ADRALN): Likewise.
7321 (BUS_ADRERR): Likewise.
7322 (BUS_OBJERR): Likewise.
7323 (BUS_MCEERR_AR): Likewise.
7324 (BUS_MCEERR_AO): Likewise.
7325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7326 (TRAP_TRACE): Likewise.
7327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7329 (CLD_KILLED): Likewise.
7330 (CLD_DUMPED): Likewise.
7331 (CLD_TRAPPED): Likewise.
7332 (CLD_STOPPED): Likewise.
7333 (CLD_CONTINUED): Likewise.
7334 (POLL_IN): Likewise.
7335 (POLL_OUT): Likewise.
7336 (POLL_MSG): Likewise.
7337 (POLL_ERR): Likewise.
7338 (POLL_PRI): Likewise.
7339 (POLL_HUP): Likewise.
7340 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7341 (ILL_ILLOPN): Likewise.
7342 (ILL_ILLADR): Likewise.
7343 (ILL_ILLTRP): Likewise.
7344 (ILL_PRVOPC): Likewise.
7345 (ILL_PRVREG): Likewise.
7346 (ILL_COPROC): Likewise.
7347 (ILL_BADSTK): Likewise.
7348 (FPE_INTDIV): Likewise.
7349 (FPE_INTOVF): Likewise.
7350 (FPE_FLTDIV): Likewise.
7351 (FPE_FLTOVF): Likewise.
7352 (FPE_FLTUND): Likewise.
7353 (FPE_FLTRES): Likewise.
7354 (FPE_FLTINV): Likewise.
7355 (FPE_FLTSUB): Likewise.
7356 (SEGV_MAPERR): Likewise.
7357 (SEGV_ACCERR): Likewise.
7358 (BUS_ADRALN): Likewise.
7359 (BUS_ADRERR): Likewise.
7360 (BUS_OBJERR): Likewise.
7361 (BUS_MCEERR_AR): Likewise.
7362 (BUS_MCEERR_AO): Likewise.
7363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7364 (TRAP_TRACE): Likewise.
7365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7367 (CLD_KILLED): Likewise.
7368 (CLD_DUMPED): Likewise.
7369 (CLD_TRAPPED): Likewise.
7370 (CLD_STOPPED): Likewise.
7371 (CLD_CONTINUED): Likewise.
7372 (POLL_IN): Likewise.
7373 (POLL_OUT): Likewise.
7374 (POLL_MSG): Likewise.
7375 (POLL_ERR): Likewise.
7376 (POLL_PRI): Likewise.
7377 (POLL_HUP): Likewise.
7378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7379 (ILL_ILLOPN): Likewise.
7380 (ILL_ILLADR): Likewise.
7381 (ILL_ILLTRP): Likewise.
7382 (ILL_PRVOPC): Likewise.
7383 (ILL_PRVREG): Likewise.
7384 (ILL_COPROC): Likewise.
7385 (ILL_BADSTK): Likewise.
7386 (FPE_INTDIV): Likewise.
7387 (FPE_INTOVF): Likewise.
7388 (FPE_FLTDIV): Likewise.
7389 (FPE_FLTOVF): Likewise.
7390 (FPE_FLTUND): Likewise.
7391 (FPE_FLTRES): Likewise.
7392 (FPE_FLTINV): Likewise.
7393 (FPE_FLTSUB): Likewise.
7394 (SEGV_MAPERR): Likewise.
7395 (SEGV_ACCERR): Likewise.
7396 (BUS_ADRALN): Likewise.
7397 (BUS_ADRERR): Likewise.
7398 (BUS_OBJERR): Likewise.
7399 (BUS_MCEERR_AR): Likewise.
7400 (BUS_MCEERR_AO): Likewise.
7401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7402 (TRAP_TRACE): Likewise.
7403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7405 (CLD_KILLED): Likewise.
7406 (CLD_DUMPED): Likewise.
7407 (CLD_TRAPPED): Likewise.
7408 (CLD_STOPPED): Likewise.
7409 (CLD_CONTINUED): Likewise.
7410 (POLL_IN): Likewise.
7411 (POLL_OUT): Likewise.
7412 (POLL_MSG): Likewise.
7413 (POLL_ERR): Likewise.
7414 (POLL_PRI): Likewise.
7415 (POLL_HUP): Likewise.
7416 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7417 (ILL_ILLOPN): Likewise.
7418 (ILL_ILLADR): Likewise.
7419 (ILL_ILLTRP): Likewise.
7420 (ILL_PRVOPC): Likewise.
7421 (ILL_PRVREG): Likewise.
7422 (ILL_COPROC): Likewise.
7423 (ILL_BADSTK): Likewise.
7424 (ILL_DBLFLT): Likewise.
7425 (ILL_HARDWALL): Likewise.
7426 (FPE_INTDIV): Likewise.
7427 (FPE_INTOVF): Likewise.
7428 (FPE_FLTDIV): Likewise.
7429 (FPE_FLTOVF): Likewise.
7430 (FPE_FLTUND): Likewise.
7431 (FPE_FLTRES): Likewise.
7432 (FPE_FLTINV): Likewise.
7433 (FPE_FLTSUB): Likewise.
7434 (SEGV_MAPERR): Likewise.
7435 (SEGV_ACCERR): Likewise.
7436 (BUS_ADRALN): Likewise.
7437 (BUS_ADRERR): Likewise.
7438 (BUS_OBJERR): Likewise.
7439 (BUS_MCEERR_AR): Likewise.
7440 (BUS_MCEERR_AO): Likewise.
7441 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7442 (TRAP_TRACE): Likewise.
7443 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7445 (CLD_KILLED): Likewise.
7446 (CLD_DUMPED): Likewise.
7447 (CLD_TRAPPED): Likewise.
7448 (CLD_STOPPED): Likewise.
7449 (CLD_CONTINUED): Likewise.
7450 (POLL_IN): Likewise.
7451 (POLL_OUT): Likewise.
7452 (POLL_MSG): Likewise.
7453 (POLL_ERR): Likewise.
7454 (POLL_PRI): Likewise.
7455 (POLL_HUP): Likewise.
7456 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7457 (ILL_ILLOPN): Likewise.
7458 (ILL_ILLADR): Likewise.
7459 (ILL_ILLTRP): Likewise.
7460 (ILL_PRVOPC): Likewise.
7461 (ILL_PRVREG): Likewise.
7462 (ILL_COPROC): Likewise.
7463 (ILL_BADSTK): Likewise.
7464 (FPE_INTDIV): Likewise.
7465 (FPE_INTOVF): Likewise.
7466 (FPE_FLTDIV): Likewise.
7467 (FPE_FLTOVF): Likewise.
7468 (FPE_FLTUND): Likewise.
7469 (FPE_FLTRES): Likewise.
7470 (FPE_FLTINV): Likewise.
7471 (FPE_FLTSUB): Likewise.
7472 (SEGV_MAPERR): Likewise.
7473 (SEGV_ACCERR): Likewise.
7474 (BUS_ADRALN): Likewise.
7475 (BUS_ADRERR): Likewise.
7476 (BUS_OBJERR): Likewise.
7477 (BUS_MCEERR_AR): Likewise.
7478 (BUS_MCEERR_AO): Likewise.
7479 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7480 (TRAP_TRACE): Likewise.
7481 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7483 (CLD_KILLED): Likewise.
7484 (CLD_DUMPED): Likewise.
7485 (CLD_TRAPPED): Likewise.
7486 (CLD_STOPPED): Likewise.
7487 (CLD_CONTINUED): Likewise.
7488 (POLL_IN): Likewise.
7489 (POLL_OUT): Likewise.
7490 (POLL_MSG): Likewise.
7491 (POLL_ERR): Likewise.
7492 (POLL_PRI): Likewise.
7493 (POLL_HUP): Likewise.
7494 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7495 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7498 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7499 before #include of <time.h>.
7500 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7501 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7502 (test-xfail-UNIX98/sched.h/conform): Likewise.
7504 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7506 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7507 error absence of trapping exception support.
7508 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7510 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7512 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7513 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7514 * timezone/Makefile (testdata): Move definition above include of
7516 (test-zones): New variable.
7517 (tests-special): Add zone files.
7518 (build-testdata): Use $(evaluate-test).
7520 * elf/Makefile (tests-special): Rename tests to end with .out.
7521 ($(objpfx)noload-mem): Likewise.
7522 ($(objpfx)tst-leaks1-mem): Likewise.
7523 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7524 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7525 $(objpfx)test-iconvconfig.out.
7526 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7527 set -e inside subshell and redirect output to file.
7528 * iconvdata/Makefile (generated): Rename tests to end with .out.
7530 (tests-special): Rename tests to end with .out.
7531 ($(objpfx)mtrace-tst-loading): Likewise.
7532 * intl/Makefile (generated): Likewise.
7533 (tests-special): Likewise.
7534 ($(objpfx)mtrace-tst-gettext): Likewise.
7535 * misc/Makefile (generated): Likewise.
7536 (tests-special): Likewise.
7537 ($(objpfx)tst-error1-mem): Likewise.
7538 * nptl/Makefile (tests-special): Likewise.
7539 ($(objpfx)tst-stack3-mem): Likewise.
7540 (generated): Likewise.
7541 * posix/Makefile (generated): Likewise.
7542 (tests-special): Likewise.
7543 (xtests-special): Likewise.
7544 ($(objpfx)tst-fnmatch-mem): Likewise.
7545 ($(objpfx)bug-regex2-mem): Likewise.
7546 ($(objpfx)bug-regex14-mem): Likewise.
7547 ($(objpfx)bug-regex21-mem): Likewise.
7548 ($(objpfx)bug-regex31-mem): Likewise.
7549 ($(objpfx)tst-vfork3-mem): Likewise.
7550 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7551 ($(objpfx)tst-pcre-mem): Likewise.
7552 ($(objpfx)tst-boost-mem): Likewise.
7553 ($(objpfx)bug-ga2-mem): Likewise.
7554 ($(objpfx)bug-glob2-mem): Likewise.
7555 * resolv/Makefile (generate): Likewise.
7556 (tests-special): Likewise.
7557 (xtests-special): Likewise.
7558 (generated): Likewise.
7559 ($(objpfx)mtrace-tst-leaks): Likewise.
7560 ($(objpfx)mtrace-tst-leaks2): Likewise.
7562 * scripts/merge-test-results.sh: New file.
7563 * Makefile (tests-special-notdir): New variable.
7564 (tests): Run merge-test-results.sh.
7566 * Rules (tests-special-notdir): New variable.
7567 (xtests-special-notdir): Likewise.
7568 (tests): Run merge-test-results.sh
7571 * Makeconfig (test-xfail-name): New variable.
7572 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7573 compute variable name for expected failures.
7574 * conform/Makefile (conformtest-headers-data): New variable.
7575 (conformtest-standards): Likewise.
7576 (conformtest-headers-ISO): Likewise.
7577 (conformtest-headers-ISO99): Likewise.
7578 (conformtest-headers-ISO11): Likewise.
7579 (conformtest-headers-POSIX): Likewise.
7580 (conformtest-headers-XPG3): Likewise.
7581 (conformtest-headers-XPG4): Likewise.
7582 (conformtest-headers-UNIX98): Likewise.
7583 (conformtest-headers-XOPEN2K): Likewise.
7584 (conformtest-headers-POSIX2008): Likewise.
7585 (conformtest-headers-XOPEN2K8): Likewise.
7586 (conformtest-header-list-base): Likewise.
7587 (conformtest-header-list-tests): Likewise.
7588 (conformtest-header-base): Likewise.
7589 (conformtest-header-tests): Likewise.
7590 (tests-special): Add $(conformtest-header-list-tests). If
7591 [$(fast-check) && !$(cross-compiling)], add
7592 $(conformtest-header-tests) instead of
7593 $(objpfx)run-conformtest.out.
7594 (generated): Add $(conformtest-header-list-base). If
7595 [$(fast-check) && !$(cross-compiling)], add
7596 $(conformtest-header-base). Remove previous setting.
7597 ($(conformtest-header-list-tests)): New target.
7598 (test-xfail-run-conformtest): Remove variable.
7599 ($(objpfx)run-conformtest.out): Remove target.
7600 (test-xfail-ISO11/complex.h/conform): New variable.
7601 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7602 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7603 (test-xfail-XPG3/varargs.h/conform): Likewise.
7604 (test-xfail-XPG4/varargs.h/conform): Likewise.
7605 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7606 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7607 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7608 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7609 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7610 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7611 (test-xfail-XPG3/ftw.h/conform): Likewise.
7612 (test-xfail-XPG3/grp.h/conform): Likewise.
7613 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7614 (test-xfail-XPG3/limits.h/conform): Likewise.
7615 (test-xfail-XPG3/pwd.h/conform): Likewise.
7616 (test-xfail-XPG3/search.h/conform): Likewise.
7617 (test-xfail-XPG3/signal.h/conform): Likewise.
7618 (test-xfail-XPG3/stdio.h/conform): Likewise.
7619 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7620 (test-xfail-XPG3/string.h/conform): Likewise.
7621 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7622 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7623 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7624 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7625 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7626 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7627 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7628 (test-xfail-XPG3/termios.h/conform): Likewise.
7629 (test-xfail-XPG3/time.h/conform): Likewise.
7630 (test-xfail-XPG3/unistd.h/conform): Likewise.
7631 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7632 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7633 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7634 (test-xfail-XPG4/netdb.h/conform): Likewise.
7635 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7636 (test-xfail-XPG4/signal.h/conform): Likewise.
7637 (test-xfail-XPG4/stdio.h/conform): Likewise.
7638 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7639 (test-xfail-XPG4/stropts.h/conform): Likewise.
7640 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7641 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7642 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7643 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7644 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7645 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7646 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7647 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7648 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7649 (test-xfail-XPG4/termios.h/conform): Likewise.
7650 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7651 (test-xfail-XPG4/unistd.h/conform): Likewise.
7652 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7653 (test-xfail-POSIX/sched.h/conform): Likewise.
7654 (test-xfail-POSIX/signal.h/conform): Likewise.
7655 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7656 (test-xfail-POSIX/tar.h/conform): Likewise.
7657 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7658 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7659 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7660 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7661 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7662 (test-xfail-UNIX98/sched.h/conform): Likewise.
7663 (test-xfail-UNIX98/signal.h/conform): Likewise.
7664 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7665 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7666 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7667 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7668 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7669 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7670 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7671 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7672 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7673 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7674 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7675 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7676 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7677 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7678 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7679 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7680 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7681 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7682 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7683 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7684 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7685 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7686 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7687 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7688 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7689 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7690 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7691 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7692 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7693 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7694 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7695 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7696 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7697 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7698 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7699 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7700 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7701 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7702 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7703 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7704 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7705 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7706 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7707 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7708 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7709 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7710 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7711 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7712 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7713 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7714 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7715 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7716 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7717 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7718 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7719 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7720 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7721 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7722 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7723 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7724 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7725 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7726 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7727 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7728 (conformtest-cc-flags): Likewise.
7729 ($(conformtest-header-tests): New target.
7730 * conform/check-header-lists.sh: New file.
7731 * conform/run-conformtest.sh: Remove.
7733 * conform/conformtest.pl: Allow ' and \ in values given for
7735 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7737 [POSIX] (sys/types.h): Likewise.
7738 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7740 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7742 * conform/data/signal.h-data (SIGIO): Remove expectation.
7743 [XPG3] (SIGBUS): Do not expect.
7744 [POSIX || XPG3] (SIGPOLL): Likewise.
7745 [POSIX || XPG3] (SIGPROF): Likewise.
7746 [POSIX || XPG3] (SIGSYS): Likewise.
7747 [XPG3] (SIGTRAP): Likewise.
7748 [POSIX || XPG3] (SIGURG): Likewise.
7749 [POSIX || XPG3] (SIGVTALRM): Likewise.
7750 [POSIX || XPG3] (SIGXCPU): Likewise.
7751 [POSIX || XPG3] (SIGXFSZ): Likewise.
7752 [POSIX] (SA_SIGINFO): Expect.
7753 [XPG3] (siginfo_t): Do not expect type or contents.
7754 [POSIX] (si_pid): Do not expect element.
7755 [POSIX] (si_uid): Likewise.
7756 [POSIX] (si_addr): Likewise.
7757 [POSIX] (si_status): Likewise.
7758 [POSIX] (si_band): Likewise.
7759 [XPG4] (si_value): Likewise.
7760 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7761 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7762 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7763 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7764 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7765 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7766 [POSIX || XPG3] (ILL_COPROC): Likewise.
7767 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7768 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7769 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7770 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7771 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7772 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7773 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7774 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7775 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7776 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7777 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7778 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7779 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7780 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7781 [POSIX || XPG3] (CLD_EXITED): Likewise.
7782 [POSIX || XPG3] (CLD_KILLED): Likewise.
7783 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7784 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7785 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7786 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7787 [POSIX || XPG3] (POLL_IN): Likewise.
7788 [POSIX || XPG3] (POLL_OUT): Likewise.
7789 [POSIX || XPG3] (POLL_MSG): Likewise.
7790 [POSIX || XPG3] (POLL_ERR): Likewise.
7791 [POSIX || XPG3] (POLL_PRI): Likewise.
7792 [POSIX || XPG3] (POLL_HUP): Likewise.
7793 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7794 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7795 (SIG*): Do not allow.
7796 [XPG3] (si_*): Likewise.
7797 [XPG3] (SI_*): Likewise.
7798 [XPG3 || XPG4] (sigev_*): Likewise.
7799 [XPG3 || XPG4] (SIGEV_*): Likewise.
7800 [XPG3 || XPG4] (sival_*): Likewise.
7801 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7802 [POSIX || XPG3] (BUS_*): Likewise.
7803 [POSIX || XPG3] (CLD_*): Likewise.
7804 [POSIX || XPG3] (FPE_*): Likewise.
7805 [POSIX || XPG3] (ILL_*): Likewise.
7806 [POSIX || XPG3] (POLL_*): Likewise.
7807 [POSIX || XPG3] (SEGV_*): Likewise.
7808 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7809 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7810 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7811 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7812 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7813 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7814 Specify type and value.
7815 (TVERSLEN): Likewise.
7816 (REGTYPE): Likewise.
7817 (AREGTYPE): Likewise.
7818 (LNKTYPE): Likewise.
7819 (SYMTYPE): Likewise.
7820 (CHRTYPE): Likewise.
7821 (BLKTYPE): Likewise.
7822 (DIRTYPE): Likewise.
7823 (FIFOTYPE): Likewise.
7824 (CONTTYPE): Likewise.
7829 (TUWRITE): Likewise.
7832 (TGWRITE): Likewise.
7835 (TOWRITE): Likewise.
7837 [POSIX] (TSVTX): Expect constant.
7839 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7841 * Makefile (tests): Change dependencies to ....
7842 (tests-special): ... additions to this variable.
7843 (tests): Depend on $(tests-special).
7844 * Makerules (check-abi-list): New variable.
7845 (check-abi): Depend on $(check-abi-list).
7846 [$(subdir) = elf] (tests-special): Add
7847 $(objpfx)check-abi-libc.out.
7848 [$(build-shared) = yes && subdir] (tests-special): Add
7850 [$(build-shared) = yes && subdir] (tests): Do not depend on
7852 * Rules (tests): Depend on $(tests-special).
7853 (xtests): Depend on $(xtests-special).
7854 * catgets/Makefile (tests): Change dependencies to ....
7855 (tests-special): ... additions to this variable.
7856 * conform/Makefile (tests): Change dependencies to ....
7857 (tests-special): ... additions to this variable.
7858 * elf/Makefile (tests): Change dependencies to ....
7859 (tests-special): ... additions to this variable.
7860 * grp/Makefile (tests): Change dependencies to ....
7861 (tests-special): ... additions to this variable.
7862 * iconv/Makefile (xtests): Change dependencies to ....
7863 (xtests-special): ... additions to this variable.
7864 * iconvdata/Makefile (tests): Change dependencies to ....
7865 (tests-special): ... additions to this variable.
7866 * intl/Makefile (tests): Change dependencies to ....
7867 (tests-special): ... additions to this variable. Also add
7868 $(objpfx)tst-gettext.out.
7869 * io/Makefile (tests): Change dependencies to ....
7870 (tests-special): ... additions to this variable.
7871 * libio/Makefile (tests): Change dependencies to ....
7872 (tests-special): ... additions to this variable.
7873 * malloc/Makefile (tests): Change dependencies to ....
7874 (tests-special): ... additions to this variable.
7875 * misc/Makefile (tests): Change dependencies to ....
7876 (tests-special): ... additions to this variable.
7877 * nptl/Makefile (tests): Change dependencies to ....
7878 (tests-special): ... additions to this variable.
7879 * nptl_db/Makefile (tests): Change dependencies to ....
7880 (tests-special): ... additions to this variable.
7881 * posix/Makefile (tests): Change dependencies to ....
7882 (tests-special): ... additions to this variable.
7883 (xtests): Change dependencies to ....
7884 (xtests-special): ... additions to this variable.
7885 * resolv/Makefile (tests): Change dependencies to ....
7886 (tests-special): ... additions to this variable.
7887 (xtests): Change dependencies to ....
7888 (xtests-special): ... additions to this variable.
7889 * stdio-common/Makefile (tests): Change dependencies to ....
7890 (tests-special): ... additions to this variable.
7891 (do-tst-unbputc): Remove target.
7892 (do-tst-printf): Likewise.
7893 * stdlib/Makefile (tests): Change dependencies to ....
7894 (tests-special): ... additions to this variable.
7895 * string/Makefile (tests): Change dependencies to ....
7896 (tests-special): ... additions to this variable.
7897 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7898 (tests-special): ... additions to this variable.
7900 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7902 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7904 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7905 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7907 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7908 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7909 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7910 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7911 * conform/data/libgen.h-data [XPG3]: Likewise.
7912 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7913 * conform/data/ndbm.h-data [XPG3]: Likewise.
7914 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7915 * conform/data/netdb.h-data [XPG3]: Likewise.
7916 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7917 * conform/data/poll.h-data [XPG3]: Likewise.
7918 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7919 * conform/data/strings.h-data [XPG3]: Likewise.
7920 * conform/data/stropts.h-data [XPG3]: Likewise.
7921 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7922 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7923 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7925 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7926 * conform/data/sys/time.h-data [XPG3]: Likewise.
7927 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7928 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7929 * conform/data/sys/un.h-data [XPG3]: Likewise.
7930 * conform/data/syslog.h-data [XPG3]: Likewise.
7931 * conform/data/ucontext.h-data [XPG3]: Likewise.
7932 * conform/data/utmpx.h-data [XPG3]: Likewise.
7933 * conform/data/varargs.h-data [UNIX98]: Enable file.
7935 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7937 * math/libm-test.inc (struct test_f_f_data): Move expected results
7938 into structure for each rounding mode.
7939 (struct test_ff_f_data): Likewise.
7940 (struct test_ff_f_data_nexttoward): Likewise.
7941 (struct test_fi_f_data): Likewise.
7942 (struct test_fl_f_data): Likewise.
7943 (struct test_if_f_data): Likewise.
7944 (struct test_fff_f_data): Likewise.
7945 (struct test_c_f_data): Likewise.
7946 (struct test_f_f1_data): Likewise.
7947 (struct test_fF_f1_data): Likewise.
7948 (struct test_ffI_f1_data): Likewise.
7949 (struct test_c_c_data): Likewise.
7950 (struct test_cc_c_data): Likewise.
7951 (struct test_f_i_data): Likewise.
7952 (struct test_ff_i_data): Likewise.
7953 (struct test_f_l_data): Likewise.
7954 (struct test_f_L_data): Likewise.
7955 (struct test_fFF_11_data): Likewise.
7957 (RM_FE_DOWNWARD): Likewise.
7958 (RM_FE_TONEAREST): Likewise.
7959 (RM_FE_TOWARDZERO): Likewise.
7960 (RM_FE_UPWARD): Likewise.
7961 (RUN_TEST_LOOP_f_f): Update references to expected results.
7962 (RUN_TEST_LOOP_2_f): Likewise.
7963 (RUN_TEST_LOOP_fff_f): Likewise.
7964 (RUN_TEST_LOOP_c_f): Likewise.
7965 (RUN_TEST_LOOP_f_f1): Likewise.
7966 (RUN_TEST_LOOP_fF_f1): Likewise.
7967 (RUN_TEST_LOOP_fI_f1): Likewise.
7968 (RUN_TEST_LOOP_ffI_f1): Likewise.
7969 (RUN_TEST_LOOP_c_c): Likewise.
7970 (RUN_TEST_LOOP_cc_c): Likewise.
7971 (RUN_TEST_LOOP_f_i): Likewise.
7972 (RUN_TEST_LOOP_f_i_tg): Likewise.
7973 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7974 (RUN_TEST_LOOP_f_b): Likewise.
7975 (RUN_TEST_LOOP_f_b_tg): Likewise.
7976 (RUN_TEST_LOOP_f_l): Likewise.
7977 (RUN_TEST_LOOP_f_L): Likewise.
7978 (RUN_TEST_LOOP_fFF_11): Likewise.
7979 * math/gen-libm-test.pl (parse_args): Output four copies of
7980 expected results for each test.
7982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7983 (__ASSUME_UTIMES): Remove.
7984 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7985 (__ASSUME_UTIMES): Likewise.
7987 * math/gen-auto-libm-tests.c: Update comment on output format.
7988 (output_for_one_input_case): Generate before-rounding and
7989 after-rounding information as conditions on output flags not
7990 floating-point format.
7991 * math/auto-libm-test-out: Regenerated.
7992 * math/gen-libm-test.pl (cond_value): New function.
7993 (or_cond_value): Use cond_value.
7994 (generate_testfile): Handle conditional exceptions.
7996 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7998 * math/libm-test.inc (max_valid_error): New variable.
7999 (init_max_error): Take new argument specifying whether function
8000 results are exactly determined. Set max_valid_error and bound
8001 other variables for errors based on this argument.
8002 (set_max_error): Do not record results above max_valid_error.
8003 (check_float_internal): Only accept errors of up to 0.5ulps if
8004 also at most max_valid_error.
8005 (START): Take new argument EXACT and pass it to init_max_error.
8006 (acos_test): Update call to START.
8007 (acos_test_tonearest): Likewise.
8008 (acos_test_towardzero): Likewise.
8009 (acos_test_downward): Likewise.
8010 (acos_test_upward): Likewise.
8011 (acosh_test): Likewise.
8012 (asin_test): Likewise.
8013 (asin_test_tonearest): Likewise.
8014 (asin_test_towardzero): Likewise.
8015 (asin_test_downward): Likewise.
8016 (asin_test_upward): Likewise.
8017 (asinh_test): Likewise.
8018 (atan_test): Likewise.
8019 (atanh_test): Likewise.
8020 (atan2_test): Likewise.
8021 (cabs_test): Likewise.
8022 (cacos_test): Likewise.
8023 (cacosh_test): Likewise.
8024 (carg_test): Likewise.
8025 (casin_test): Likewise.
8026 (casinh_test): Likewise.
8027 (catan_test): Likewise.
8028 (catanh_test): Likewise.
8029 (cbrt_test): Likewise.
8030 (ccos_test): Likewise.
8031 (ccosh_test): Likewise.
8032 (ceil_test): Likewise.
8033 (cexp_test): Likewise.
8034 (cimag_test): Likewise.
8035 (clog_test): Likewise.
8036 (clog10_test): Likewise.
8037 (conj_test): Likewise.
8038 (copysign_test): Likewise.
8039 (cos_test): Likewise.
8040 (cos_test_tonearest): Likewise.
8041 (cos_test_towardzero): Likewise.
8042 (cos_test_downward): Likewise.
8043 (cos_test_upward): Likewise.
8044 (cosh_test): Likewise.
8045 (cosh_test_tonearest): Likewise.
8046 (cosh_test_towardzero): Likewise.
8047 (cosh_test_downward): Likewise.
8048 (cosh_test_upward): Likewise.
8049 (cpow_test): Likewise.
8050 (cproj_test): Likewise.
8051 (creal_test): Likewise.
8052 (csin_test): Likewise.
8053 (csinh_test): Likewise.
8054 (csqrt_test): Likewise.
8055 (ctan_test): Likewise.
8056 (ctan_test_tonearest): Likewise.
8057 (ctan_test_towardzero): Likewise.
8058 (ctan_test_downward): Likewise.
8059 (ctan_test_upward): Likewise.
8060 (ctanh_test): Likewise.
8061 (ctanh_test_tonearest): Likewise.
8062 (ctanh_test_towardzero): Likewise.
8063 (ctanh_test_downward): Likewise.
8064 (ctanh_test_upward): Likewise.
8065 (erf_test): Likewise.
8066 (erfc_test): Likewise.
8067 (exp_test): Likewise.
8068 (exp_test_tonearest): Likewise.
8069 (exp_test_towardzero): Likewise.
8070 (exp_test_downward): Likewise.
8071 (exp_test_upward): Likewise.
8072 (exp10_test): Likewise.
8073 (exp10_test_tonearest): Likewise.
8074 (exp10_test_towardzero): Likewise.
8075 (exp10_test_downward): Likewise.
8076 (exp10_test_upward): Likewise.
8077 (pow10_test): Likewise.
8078 (exp2_test): Likewise.
8079 (expm1_test): Likewise.
8080 (expm1_test_tonearest): Likewise.
8081 (expm1_test_towardzero): Likewise.
8082 (expm1_test_downward): Likewise.
8083 (expm1_test_upward): Likewise.
8084 (fabs_test): Likewise.
8085 (fdim_test): Likewise.
8086 (floor_test): Likewise.
8087 (fma_test): Likewise.
8088 (fma_test_towardzero): Likewise.
8089 (fma_test_downward): Likewise.
8090 (fma_test_upward): Likewise.
8091 (fmax_test): Likewise.
8092 (fmin_test): Likewise.
8093 (fmod_test): Likewise.
8094 (fpclassify_test): Likewise.
8095 (frexp_test): Likewise.
8096 (hypot_test): Likewise.
8097 (ilogb_test): Likewise.
8098 (isfinite_test): Likewise.
8099 (finite_test): Likewise.
8100 (isgreater_test): Likewise.
8101 (isgreaterequal_test): Likewise.
8102 (isinf_test): Likewise.
8103 (isless_test): Likewise.
8104 (islessequal_test): Likewise.
8105 (islessgreater_test): Likewise.
8106 (isnan_test): Likewise.
8107 (isnormal_test): Likewise.
8108 (issignaling_test): Likewise.
8109 (isunordered_test): Likewise.
8110 (j0_test): Likewise.
8111 (j1_test): Likewise.
8112 (jn_test): Likewise.
8113 (ldexp_test): Likewise.
8114 (lgamma_test): Likewise.
8115 (gamma_test): Likewise.
8116 (lrint_test): Likewise.
8117 (lrint_test_tonearest): Likewise.
8118 (lrint_test_towardzero): Likewise.
8119 (lrint_test_downward): Likewise.
8120 (lrint_test_upward): Likewise.
8121 (llrint_test): Likewise.
8122 (llrint_test_tonearest): Likewise.
8123 (llrint_test_towardzero): Likewise.
8124 (llrint_test_downward): Likewise.
8125 (llrint_test_upward): Likewise.
8126 (log_test): Likewise.
8127 (log10_test): Likewise.
8128 (log1p_test): Likewise.
8129 (log2_test): Likewise.
8130 (logb_test): Likewise.
8131 (logb_test_downward): Likewise.
8132 (lround_test): Likewise.
8133 (llround_test): Likewise.
8134 (modf_test): Likewise.
8135 (nearbyint_test): Likewise.
8136 (nextafter_test): Likewise.
8137 (nexttoward_test): Likewise.
8138 (pow_test): Likewise.
8139 (pow_test_tonearest): Likewise.
8140 (pow_test_towardzero): Likewise.
8141 (pow_test_downward): Likewise.
8142 (pow_test_upward): Likewise.
8143 (remainder_test): Likewise.
8144 (drem_test): Likewise.
8145 (remainder_test_tonearest): Likewise.
8146 (drem_test_tonearest): Likewise.
8147 (remainder_test_towardzero): Likewise.
8148 (drem_test_towardzero): Likewise.
8149 (remainder_test_downward): Likewise.
8150 (drem_test_downward): Likewise.
8151 (remainder_test_upward): Likewise.
8152 (drem_test_upward): Likewise.
8153 (remquo_test): Likewise.
8154 (rint_test): Likewise.
8155 (rint_test_tonearest): Likewise.
8156 (rint_test_towardzero): Likewise.
8157 (rint_test_downward): Likewise.
8158 (rint_test_upward): Likewise.
8159 (round_test): Likewise.
8160 (scalb_test): Likewise.
8161 (scalbn_test): Likewise.
8162 (scalbln_test): Likewise.
8163 (signbit_test): Likewise.
8164 (sin_test): Likewise.
8165 (sin_test_tonearest): Likewise.
8166 (sin_test_towardzero): Likewise.
8167 (sin_test_downward): Likewise.
8168 (sin_test_upward): Likewise.
8169 (sincos_test): Likewise.
8170 (sinh_test): Likewise.
8171 (sinh_test_tonearest): Likewise.
8172 (sinh_test_towardzero): Likewise.
8173 (sinh_test_downward): Likewise.
8174 (sinh_test_upward): Likewise.
8175 (sqrt_test): Likewise.
8176 (sqrt_test_tonearest): Likewise.
8177 (sqrt_test_towardzero): Likewise.
8178 (sqrt_test_downward): Likewise.
8179 (sqrt_test_upward): Likewise.
8180 (tan_test): Likewise.
8181 (tan_test_tonearest): Likewise.
8182 (tan_test_towardzero): Likewise.
8183 (tan_test_downward): Likewise.
8184 (tan_test_upward): Likewise.
8185 (tanh_test): Likewise.
8186 (tgamma_test): Likewise.
8187 (trunc_test): Likewise.
8188 (y0_test): Likewise.
8189 (y1_test): Likewise.
8190 (yn_test): Likewise.
8191 (significand_test): Likewise.
8193 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8194 individual tests in comment.
8195 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8196 (prev_max_error): New variable.
8197 (prev_real_max_error): Likewise.
8198 (prev_imag_max_error): Likewise.
8199 (compare_ulp_data): Don't refer to test names in comment.
8200 (find_test_ulps): Remove function.
8201 (find_function_ulps): Likewise.
8202 (find_complex_function_ulps): Likewise.
8203 (init_max_error): Take function name as argument. Look up ulps
8205 (print_ulps): Remove function.
8206 (print_max_error): Use prev_max_error instead of calling
8208 (print_complex_max_error): Use prev_real_max_error and
8209 prev_imag_max_error instead of calling find_complex_function_ulps.
8210 (check_float_internal): Take max_ulp parameter instead of calling
8211 find_test_ulps. Don't call print_ulps.
8212 (check_float): Update call to check_float_internal.
8213 (check_complex): Update calls to check_float_internal.
8214 (START): Pass argument to init_max_error.
8215 * math/gen-libm-test.pl (%results): Don't include "kind"
8217 (parse_ulps): Don't handle ulps of individual tests.
8218 (print_ulps_file): Likewise.
8219 (output_ulps): Likewise.
8220 * math/README.libm-test: Update.
8221 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8223 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8224 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8225 * sysdeps/arm/libm-test-ulps: Likewise.
8226 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8227 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8228 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8229 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8230 * sysdeps/microblaze/libm-test-ulps: Likewise.
8231 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8232 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8234 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8235 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8236 * sysdeps/sh/libm-test-ulps: Likewise.
8237 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8238 * sysdeps/tile/libm-test-ulps: Likewise.
8239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8243 * math/libm-test.inc (print_complex_max_error): Check separately
8244 whether real and imaginary errors are within allowed range and
8245 pass 0 to print_complex_function_ulps instead of value within
8248 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8250 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8252 (get_handles_fopen): Likewise.
8253 (do_write_test): Likewise.
8255 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8257 * libio/fileops.c (do_ftell): Use cached offset when
8259 * libio/iofwide.c (do_ftell_wide): Likewise.
8260 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8262 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8265 * libio/libioP.h (get_file_offset): New function.
8266 * libio/fileops.c (get_file_offset): Likewise.
8267 (do_ftell): Likewise.
8268 (_IO_new_file_seekoff): Split out ftell logic.
8269 * libio/wfileops.c (do_ftell_wide): Likewise.
8270 (_IO_wfile_seekoff): Split out ftell logic.
8271 * libio/tst-ftell-active-handler.c: New test case.
8272 * libio/Makefile (tests): Add it.
8274 2014-03-03 Roland McGrath <roland@hack.frob.com>
8276 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8277 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8279 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8282 * nscd/connections.c (nscd_init): Call do_exit.
8283 (start_threads): Call do_exit and notify_parent.
8284 (begin_drop_privileges): Call do_exit.
8285 (finish_drop_privileges): Likewise.
8286 * nscd/selinux.c (preserve_capabilities): Likewise.
8287 (install_real_capabilities): Likewise.
8288 (nscd_selinux_enabled): Likewise.
8289 (avc_create_thread): Likewise.
8290 (avc_alloc_lock): Likewise.
8291 (nscd_avc_init): Likewise.
8292 * nscd/nscd.c (parent_fd): New static variable.
8293 (main): Create a pipe between parent and child processes.
8294 Skip closing parent_fd.
8295 (monitor_child): New function.
8296 (do_exit): Likewise.
8297 (notify_parent): Likewise.
8298 * nscd/nscd.h (notify_parent): Likewise.
8299 (do_exit): Likewise.
8301 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8303 * malloc/malloc.c (__libc_calloc): Revert last change.
8305 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8309 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8311 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8315 (__libc_ifunc_impl_list): Likewise.
8316 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8317 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8318 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8319 * string/strrchr.c: Define STRRCHR.
8321 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8323 * benchtest/bench-strtok.c (simple_strtok): Delete.
8324 (strtok_string): Use as benchmark.
8325 * string/strtok (STRTOK): New macro.
8327 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8329 * manual/threads.texi: Add header and standard comments to all
8332 * elf/dl-lookup.c (check_match): New function.
8333 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8334 (do_lookup_x): Remove nested function check_match. Use non-nested
8335 function check_match.
8337 2014-02-28 Roland McGrath <roland@hack.frob.com>
8339 * csu/Makefile (generated, before-compile): Use += rather than =.
8340 * catgets/Makefile (generated, generated-dirs): Likewise.
8341 * debug/Makefile (generated): Likewise.
8342 * dlfcn/Makefile (generated): Likewise.
8343 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8344 * iconvdata/Makefile (before-compile, generated): Likewise.
8345 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8346 * libio/Makefile (generated): Likewise.
8347 * malloc/Makefile (generated): Likewise.
8348 * manual/Makefile (generated, generated-dirs): Likewise.
8349 * misc/Makefile (generated): Likewise.
8350 * posix/Makefile (generated): Likewise.
8351 * resolv/Makefile (generated): Likewise.
8352 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8353 * timezone/Makefile (generated, generated-dirs): Likewise.
8355 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8357 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8360 power8 implementation.
8361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8362 file: POWER8 llround ifunc implementation.
8363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8364 (__lllround): Add POWER8 implementation.
8365 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8366 POWER8 llround implementation.
8368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8369 power8 implementation.
8370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8371 file: POWER8 llrint ifunc implementation.
8372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8373 Add POWER8 implementation.
8374 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8375 POWER8 llrint implementation.
8377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8378 power8 implementation.
8379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8380 file: POWER8 finite ifunc implementation.
8381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8382 Add POWER8 implementation.
8383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8385 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8386 POWER8 finite implementation.
8387 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8390 power8 implementation.
8391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8392 file: POWER8 isinf ifunc implementation.
8393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8394 POWER8 implementation.
8395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8398 isinf implementation.
8399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8401 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8402 (INIT_ARCH): Add hwcap2 initialization.
8403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8404 power8 implementation.
8405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8406 file: POWER8 isnan ifunc implementation.
8407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8408 POWER8 implementation.
8409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8411 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8412 isnan implementation.
8413 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8415 2014-02-27 Joey Ye <joey.ye@arm.com>
8417 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8418 (_FP_NANFRAC_Q): Set to zero.
8420 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * math/auto-libm-test-in: New test inputs.
8424 * math/auto-libm-test-out: Regenerate.
8425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8430 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8432 * scripts/evaluate-test.sh: Take new argument indicating whether
8433 failure is expected.
8434 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8435 indicating whether failure is expected.
8436 * conform/Makefile (test-xfail-run-conformtest): New variable.
8437 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8439 * posix/Makefile (test-xfail-annexc): New variable.
8440 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8442 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8444 * argp/Makefile: Include Makeconfig immediately after defining
8446 * assert/Makefile: Likewise.
8447 * benchtests/Makefile: Likewise.
8448 * catgets/Makefile: Likewise.
8449 * conform/Makefile: Likewise.
8450 * crypt/Makefile: Likewise.
8451 * csu/Makefile: Likewise.
8452 (all): Remove target.
8453 * ctype/Makefile: Include Makeconfig immediately after defining
8455 * debug/Makefile: Likewise.
8456 * dirent/Makefile: Likewise.
8457 * dlfcn/Makefile: Likewise.
8458 * gmon/Makefile: Likewise.
8459 * gnulib/Makefile: Likewise.
8460 * grp/Makefile: Likewise.
8461 * gshadow/Makefile: Likewise.
8462 * hesiod/Makefile: Likewise.
8463 * hurd/Makefile: Likewise.
8464 (all): Remove target.
8465 * iconvdata/Makefile: Include Makeconfig immediately after
8467 * inet/Makefile: Likewise.
8468 * intl/Makefile: Likewise.
8469 * io/Makefile: Likewise.
8470 * libio/Makefile: Likewise.
8471 (all): Remove target.
8472 * locale/Makefile: Include Makeconfig immediately after defining
8474 * login/Makefile: Likewise.
8475 * mach/Makefile: Likewise.
8476 (all): Remove target.
8477 * malloc/Makefile: Include Makeconfig immediately after defining
8479 (all): Remove target.
8480 * manual/Makefile: Include Makeconfig immediately after defining
8482 * math/Makefile: Likewise.
8483 * misc/Makefile: Likewise.
8484 * nis/Makefile: Likewise.
8485 * nss/Makefile: Likewise.
8486 * po/Makefile: Likewise.
8487 (all): Remove target.
8488 * posix/Makefile: Include Makeconfig immediately after defining
8490 * pwd/Makefile: Likewise.
8491 * resolv/Makefile: Likewise.
8492 * resource/Makefile: Likewise.
8493 * rt/Makefile: Likewise.
8494 * setjmp/Makefile: Likewise.
8495 * shadow/Makefile: Likewise.
8496 * signal/Makefile: Likewise.
8497 * socket/Makefile: Likewise.
8498 * soft-fp/Makefile: Likewise.
8499 * stdio-common/Makefile: Likewise.
8500 * stdlib/Makefile: Likewise.
8501 * streams/Makefile: Likewise.
8502 * string/Makefile: Likewise.
8503 * sunrpc/Makefile: Likewise.
8504 (all): Remove target.
8505 * sysvipc/Makefile: Include Makeconfig immediately after defining
8507 * termios/Makefile: Likewise.
8508 * time/Makefile: Likewise.
8509 * timezone/Makefile: Likewise.
8510 (all): Remove target.
8511 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8513 * wctype/Makefile: Likewise.
8515 2014-02-26 Steve Ellcey <sellcey@mips.com>
8517 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8518 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8519 (libc_feholdexcept_setround_mips): Ditto.
8520 (libc_feholdsetround): New.
8521 (libc_feholdsetroundf): New.
8522 (libc_feholdsetroundl): New.
8523 (libc_feupdateenv_test_mips): New.
8524 (libc_feupdateenv_test): New.
8525 (libc_feupdateenv_testf): New.
8526 (libc_feupdateenv_testl): New.
8527 (libc_feresetround): New.
8528 (libc_feresetroundf): New.
8529 (libc_feresetroundl): New.
8530 (libc_fetestexcept_mips): New.
8531 (libc_fetestexcept): New.
8532 (libc_fetestexceptf): New.
8533 (libc_fetestexceptl): New.
8535 (libc_feholdexcept_setround_mips_ctx): New.
8536 (libc_feholdexcept_setround_ctx): New.
8537 (libc_feholdexcept_setroundf_ctx): New.
8538 (libc_feholdexcept_setroundl_ctx): New.
8539 (libc_fesetenv_mips_ctx): New.
8540 (libc_fesetenv_ctx): New.
8541 (libc_fesetenv_ctxf): New.
8542 (libc_fesetenv_ctxl): New.
8543 (libc_feupdateenv_mips_ctx): New.
8544 (libc_feupdateenv_ctx): New.
8545 (libc_feupdateenvf_ctx): New.
8546 (libc_feupdateenvl_ctx): New.
8547 (libc_feholdsetround_mips_ctx): New.
8548 (libc_feholdsetround_ctx): New.
8549 (libc_feholdsetroundf_ctx): New.
8550 (libc_feholdsetroundl_ctx): New.
8551 (libc_feresetround_mips_ctx): New.
8552 (libc_feresetround_ctx): New.
8553 (libc_feresetroundf_ctx): New.
8554 (libc_feresetroundl_ctx): New.
8556 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8558 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8560 * manual/ipc.texi: New file.
8561 * manual/Makefile (chapters): Add ipc.
8562 * manual/job.texi: Add "Inter-Process Communication" to next.
8563 * manual/process.texi: Add "Inter-Process Communication" to prev.
8565 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8569 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8571 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8573 * manual/arith.texi: Fix spaces after sentences.
8574 * manual/charset.texi: Likewise.
8575 * manual/errno.texi: Likewise.
8576 * manual/install.texi: Likewise.
8577 * manual/llio.texi: Likewise.
8578 * manual/locale.texi: Likewise.
8579 * manual/maint.texi: Likewise.
8580 * manual/math.texi: Likewise.
8581 * manual/memory.texi: Likewise.
8582 * manual/message.texi: Likewise.
8583 * manual/probes.texi: Likewise.
8584 * manual/resource.texi: Likewise.
8585 * manual/signal.texi: Likewise.
8586 * manual/socket.texi: Likewise.
8587 * manual/stdio.texi: Likewise.
8588 * manual/string.texi: Likewise.
8589 * manual/time.texi: Likewise.
8590 * manual/users.texi: Likewise.
8592 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8595 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8596 _DEFAULT_SOURCE is defined.
8598 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8599 Carlos O'Donell <carlos@redhat.com>
8602 * elf/dl-tls.c (_dl_count_modids): New function.
8603 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8604 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8605 audit library and increment generation counter.
8606 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8607 * elf/tst-audit9.c: New file.
8608 * elf/tst-auditmod9a.c: New file.
8609 * elf/tst-auditmod9b.c: New file.
8610 * elf/Makefile: Add rules to build and run tst-audit9.
8612 2014-02-25 Florian Weimer <fweimer@redhat.com>
8615 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8617 2014-02-25 Will Newton <will.newton@linaro.org>
8619 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8620 (__longjmp): Restore sp and lr before restoring callee
8621 saved registers. Add longjmp and longjmp_target
8622 SystemTap probe point.
8623 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8624 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8625 Define to zero to match jmpbuf layout.
8626 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8627 (__sigsetjmp): Save sp and lr before saving callee
8628 saved registers. Add setjmp SystemTap probe point.
8630 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8632 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8634 2014-02-24 Andreas Schwab <schwab@suse.de>
8637 * elf/pldd.c (wait_for_ptrace_stop): New function.
8638 (main): Call it after attaching.
8640 2014-02-22 Roland McGrath <roland@hack.frob.com>
8642 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8643 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8644 Versions files is now verboten.
8645 * hurd/Versions (libc: GLIBC_2.0):
8646 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8647 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8648 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8649 * mach/Versions: Likewise.
8651 * csu/Versions: Remove unused %include.
8652 * resolv/Versions: Likewise.
8654 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8656 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8657 ($(objpfx)check-local-headers.out): Likewise.
8658 ($(objpfx)begin-end-check.out): Likewise.
8659 * Makerules (check-abi-%.out): Likewise.
8660 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8661 ($(objpfx)test2.cat): Likewise.
8662 ($(objpfx)de/libc.cat): Likewise.
8663 ($(objpfx)test-gencat.out): Likewise.
8664 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8665 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8666 ($(objpfx)noload-mem): Likewise.
8667 ($(objpfx)tst-pathopt.out): Likewise.
8668 ($(objpfx)tst-rtld-load-self.out): Likewise.
8669 ($(objpfx)tst-array1-cmp.out): Likewise.
8670 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8671 ($(objpfx)tst-array2-cmp.out): Likewise.
8672 ($(objpfx)tst-array3-cmp.out): Likewise.
8673 ($(objpfx)tst-array4-cmp.out): Likewise.
8674 ($(objpfx)tst-array5-cmp.out): Likewise.
8675 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8676 ($(objpfx)check-textrel.out): Likewise.
8677 ($(objpfx)check-execstack.out): Likewise.
8678 ($(objpfx)check-localplt.out): Likewise.
8679 ($(objpfx)order2-cmp.out): Likewise.
8680 ($(objpfx)tst-leaks1-mem): Likewise.
8681 ($(objpfx)tst-leaks1-static-mem): Likewise.
8682 ($(objpfx)tst-initorder-cmp.out): Likewise.
8683 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8684 ($(objpfx)tst-unused-dep.out): Likewise.
8685 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8686 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8687 * iconv/Makefile (test-iconvconfig): Likewise.
8688 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8689 ($(objpfx)iconv-test.out): Likewise.
8690 ($(objpfx)tst-tables.out): Likewise.
8691 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8692 ($(objpfx)tst-gettext.out): Likewise.
8693 ($(objpfx)tst-translit.out): Likewise.
8694 ($(objpfx)tst-gettext2.out): Likewise.
8695 ($(objpfx)tst-gettext4.out): Likewise.
8696 ($(objpfx)tst-gettext6.out): Likewise.
8697 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8698 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8699 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8700 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8701 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8702 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8703 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8704 ($(objpfx)wordexp-tst.out): Likewise.
8705 ($(objpfx)annexc.out): Likewise.
8706 ($(objpfx)tst-fnmatch-mem): Likewise.
8707 ($(objpfx)bug-regex2-mem): Likewise.
8708 ($(objpfx)bug-regex14-mem): Likewise.
8709 ($(objpfx)bug-regex21-mem): Likewise.
8710 ($(objpfx)bug-regex31-mem): Likewise.
8711 ($(objpfx)tst-vfork3-mem): Likewise.
8712 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8713 ($(objpfx)tst-pcre-mem): Likewise.
8714 ($(objpfx)tst-boost-mem): Likewise.
8715 ($(objpfx)tst-getconf.out): Likewise.
8716 ($(objpfx)bug-ga2-mem): Likewise.
8717 ($(objpfx)bug-glob2-mem): Likewise.
8718 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8719 ($(objpfx)mtrace-tst-leaks2): Likewise.
8720 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8721 ($(objpfx)tst-printf.out): Likewise.
8722 ($(objpfx)tst-setvbuf1.out): Likewise.
8723 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8724 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8725 ($(objpfx)tst-fmtmsg.out): Likewise.
8726 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8727 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8729 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8730 * bits/sigaction.h [__USE_MISC]: Likewise.
8731 * bits/waitstatus.h: Update #endif comments.
8732 * ctype/ctype.h: Likewise.
8733 * dirent/dirent.h: Likewise.
8734 [__USE_MISC]: Remove redundant conditionals.
8735 * grp/grp.h: Update #endif comments.
8736 [__USE_GNU]: Remove redundant conditionals.
8737 [__USE_MISC]: Likewise.
8738 * inet/netinet/in.h [__USE_GNU]: Likewise.
8739 * io/sys/stat.h [__USE_MISC]: Likewise.
8740 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8741 * libio/bits/stdio.h: Update #endif comments.
8742 [__USE_MISC]: Remove redundant conditionals.
8743 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8744 * libio/stdio.h: Update #endif comments.
8745 [__USE_MISC]: Remove redundant conditionals.
8746 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8747 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8748 * math/math.h: Update #else and #endif comments.
8749 [__USE_MISC]: Remove redundant conditionals.
8750 * misc/sys/uio.h: Update #endif comments.
8751 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8752 * posix/glob.h [__USE_MISC]: Likewise.
8753 * posix/sys/types.h: Update #endif comments.
8754 [__USE_MISC]: Remove redundant conditionals.
8755 * posix/sys/wait.h: Update #endif comments.
8756 [__USE_MISC]: Remove redundant conditionals.
8757 * posix/unistd.h: Update #endif comments.
8758 [__USE_MISC]: Remove redundant conditionals.
8759 * pwd/pwd.h [__USE_GNU]: Likewise.
8760 [__USE_MISC]: Likewise.
8761 * resolv/netdb.h [__USE_GNU]: Likewise.
8762 * signal/signal.h: Update #endif comments.
8763 [__USE_MISC]: Remove redundant conditionals.
8764 * stdlib/stdlib.h: Update #else and #endif comments.
8765 [__USE_MISC]: Remove redundant conditionals.
8766 [__USE_GNU]: Likewise.
8767 * string/bits/string2.h [__USE_MISC]: Likewise.
8768 * string/string.h: Update #endif comments.
8769 [__USE_MISC]: Remove redundant conditionals.
8770 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8772 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8773 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8774 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8776 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8780 [__USE_MISC]: Remove redundant conditionals.
8781 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8782 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8783 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8784 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8785 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8787 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8788 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8790 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8791 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8793 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8795 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8798 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8800 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8801 * sysdeps/x86/bits/string.h: Update #endif comments.
8802 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8804 * time/sys/time.h: Update #endif comments.
8805 * time/time.h: Likewise.
8806 [__USE_MISC]: Remove redundant conditionals.
8808 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8811 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8813 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8815 * Versions.def (librt): Add GLIBC_2.17.
8817 2014-02-21 Adam Conrad <adconrad@0c3.net>
8819 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8820 synonym for _SYS_AUXV_H to allow direct inclusion.
8821 * sysdeps/sparc/bits/hwcap.h: Likewise.
8822 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8823 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8824 * sysdeps/sparc/sysdep.h: Likewise.
8826 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8828 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8830 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8832 * benchtests/bench-strrchr.c: Print length instead of position.
8834 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8837 * sysdeps/unix/sysv/linux/kernel-features.h
8838 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8839 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8840 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8841 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8843 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8844 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8845 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8846 (__ASSUME_SENDMMSG): Define instead of using previous
8847 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8848 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8849 (__ASSUME_SENDMMSG_SYSCALL): Define.
8850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8851 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8853 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8854 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8856 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8857 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8859 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8860 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8861 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8862 [__ASSUME_SENDMMSG]: Change conditionals to
8863 [__ASSUME_SENDMMSG_SOCKETCALL].
8864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8865 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8867 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8868 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8870 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8871 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8872 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8873 [!__ASSUME_SENDMMSG]: Change conditional to
8874 [!__ASSUME_SENDMMSG_SOCKETCALL].
8875 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8876 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8880 * sysdeps/unix/sysv/linux/kernel-features.h
8881 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8882 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8883 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8884 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8885 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8886 [__i386__ || __sparc__]
8887 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8888 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8889 (__ASSUME_RECVMMSG): Define instead of using previous
8890 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8891 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8892 (__ASSUME_RECVMMSG_SYSCALL): Define.
8893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8897 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8899 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8900 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8902 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8903 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8904 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8905 [__ASSUME_RECVMMSG]: Change condition to
8906 [__ASSUME_RECVMMSG_SOCKETCALL].
8907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8908 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8910 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8911 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8914 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8915 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8916 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8917 [!__ASSUME_RECVMMSG]: Change condition to
8918 [!__ASSUME_RECVMMSG_SOCKETCALL].
8919 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8920 (__ASSUME_RECVMMSG_SYSCALL): Define.
8923 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8924 __powerpc__ || __s390__ || __sh__ || __sparc__]
8925 (__ASSUME_SOCKETCALL): Define.
8926 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8927 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8928 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8929 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8930 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8931 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8932 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8933 (__ASSUME_ACCEPT4): Define instead of using previous
8934 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8935 __powerpc__ || __sparc__ || __s390__)] condition.
8936 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8937 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8938 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8939 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8940 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8941 [!__ASSUME_ACCEPT4]: Change condition to
8942 [!__ASSUME_ACCEPT4_SOCKETCALL].
8943 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8944 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8945 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8946 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8947 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8948 __ASSUME_ACCEPT4_SYSCALL.
8949 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8950 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8951 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8952 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8953 __ASSUME_ACCEPT4_SYSCALL.
8954 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8955 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8956 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8957 [__ASSUME_ACCEPT4]: Change condition to
8958 [__ASSUME_ACCEPT4_SOCKETCALL].
8959 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8960 (__ASSUME_SOCKETCALL): Define.
8961 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8962 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8963 (__ASSUME_SOCKETCALL): Define.
8964 (__ASSUME_ACCEPT4): Remove.
8965 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8968 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8970 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8971 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8973 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8975 (HWCAP_ARM_LPAE): Likewise.
8976 (HWCAP_ARM_EVTSTRM): Likewise.
8977 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8978 Add vpfd32, lpae and evtstrm.
8979 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8982 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8984 * math/auto-libm-test-in: Add tests of clog10.
8985 * math/auto-libm-test-out: Regenerated.
8986 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8987 * sysdeps/i386/fpu/libm-test-ulps: Update.
8988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8990 2014-02-18 Andreas Schwab <schwab@suse.de>
8993 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8994 Store non-zero if the second buffer was newly allocated.
8995 (send_dg): Likewise.
8996 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8997 to send_vc and send_dg.
8998 (res_nsend): Pass NULL for ansp2_malloced.
8999 * resolv/res_query.c (__libc_res_nquery): Add parameter
9000 answerp2_malloced and pass it down to __libc_res_nsend.
9001 (res_nquery): Pass additional NULL to __libc_res_nquery.
9002 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9003 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9004 second answer buffer if answerp2_malloced was set.
9005 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9006 (__libc_res_nquerydomain): Add parameter
9007 answerp2_malloced and pass it down to __libc_res_nquery.
9008 (res_nquerydomain): Pass additional NULL to
9009 __libc_res_nquerydomain.
9010 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9011 additional NULL to __libc_res_nsend and __libc_res_nquery.
9012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9013 additional NULL to __libc_res_nsearch.
9014 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9015 parameter of __libc_res_nsearch to check for separately allocated
9017 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9019 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9020 additional NULL to __libc_res_nquery.
9021 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9023 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9024 * include/resolv.h: Update prototypes of __libc_res_nquery,
9025 __libc_res_nsearch, __libc_res_nsend.
9027 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9029 * math/auto-libm-test-in: Add tests of fma.
9030 * math/auto-libm-test-out: Regenerated.
9031 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9032 (fma_towardzero_test_data): Likewise.
9033 (fma_downward_test_data): Likewise.
9034 (fma_upward_test_data): Likewise.
9035 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9037 (rounding_modes): Add values for new field.
9038 (func_calc_method): Add value mpfr_fff_f.
9039 (func_calc_desc): Add mpfr_fff_f union field.
9040 (test_function): Add field exact_args.
9041 (FUNC): Add macro argument EXACT_ARGS.
9042 (FUNC_mpfr_f_f): Update call to FUNC.
9043 (FUNC_mpfr_f_f): Likewise.
9044 (FUNC_mpfr_ff_f): Likewise.
9045 (FUNC_mpfr_if_f): Likewise.
9046 (FUNC_mpc_c_f): Likewise.
9047 (FUNC_mpc_c_c): Likewise.
9048 (test_functions): Add fma. Update calls to FUNC.
9049 (handle_input_arg): Add argument exact_args.
9050 (add_test): Update call to handle_input_arg.
9051 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9052 (output_for_one_input_case): Update call to calc_generic_results.
9053 Recalculate exact zero results in each rounding mode.
9055 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9056 non-negative before setting low bit.
9057 * math/auto-libm-test-in: Mark one asin test possibly having
9059 * math/auto-libm-test-out: Regenerated.
9060 * sysdeps/i386/fpu/libm-test-ulps: Update.
9061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9063 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9065 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9066 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9067 ports/sysdeps/unix/sysv/linux/microblaze.
9068 * README: Add missing listing for microblaze*-*-linux-gnu.
9070 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9072 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9073 * sysdeps/unix/sysv/linux/ia64: Move directory from
9074 ports/sysdeps/unix/sysv/linux/ia64.
9075 * README: Update listing for ia64-*-linux-gnu.
9077 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9078 Joseph Myers <joseph@codesourcery.com>
9080 * Makeconfig (test-name): New variable.
9081 (evaluate-test): Likewise.
9082 * Makerules (do-test-clean): Remove .test-result files.
9083 (common-mostlyclean): Likewise.
9084 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9085 * scripts/evaluate-test.sh: New file.
9087 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9089 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9090 separate $(objpfx)tst-fopenloc-cmp.out and
9091 $(objpfx)tst-fopenloc-mem.out targets.
9092 (tests): Update dependencies.
9093 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9094 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9095 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9096 (tst-rxspencer-no-utf8-ARGS): New variable.
9097 (tst-rxspencer-no-utf8-ENV): Likewise.
9098 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9099 instead of $(objpfx)tst-rxspencer-mem.
9100 ($(objpfx)tst-rxspencer-mem): Change target to
9101 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9102 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9103 * posix/tst-rxspencer-no-utf8.c: New file.
9105 * elf/Makefile ($(objpfx)order.out): Remove rule.
9106 [$(run-built-tests) = yes] (tests): Depend on
9107 $(objpfx)order-cmp.out.
9108 ($(objpfx)order-cmp.out): New rule.
9109 [$(run-built-tests) = yes] (tests): Depend on
9110 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9111 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9112 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9113 $(objpfx)tst-array5-static-cmp.out.
9114 ($(objpfx)tst-array1.out): Remove rule.
9115 ($(objpfx)tst-array1-cmp.out): New rule.
9116 ($(objpfx)tst-array1-static.out): Remove rule.
9117 ($(objpfx)tst-array1-static-cmp.out): New rule.
9118 ($(objpfx)tst-array2.out): Remove rule.
9119 ($(objpfx)tst-array2-cmp.out): New rule.
9120 ($(objpfx)tst-array3.out): Remove rule.
9121 ($(objpfx)tst-array3-cmp.out): New rule.
9122 ($(objpfx)tst-array4.out): Remove rule.
9123 ($(objpfx)tst-array4-cmp.out): New rule.
9124 ($(objpfx)tst-array5.out): Remove rule.
9125 ($(objpfx)tst-array5-cmp.out): New rule.
9126 ($(objpfx)tst-array5-static.out): Remove rule.
9127 ($(objpfx)tst-array5-static-cmp.out): New rule.
9128 [$(run-built-tests) = yes] (tests): Depend on
9129 $(objpfx)order2-cmp.out.
9130 ($(objpfx)order2.out): Remove rule.
9131 ($(objpfx)order2-cmp.out): New rule.
9132 ($(objpfx)tst-initorder.out): Remove rule.
9133 [$(run-built-tests) = yes] (tests): Depend on
9134 $(objpfx)tst-initorder-cmp.out.
9135 ($(objpfx)tst-initorder-cmp.out): New rule.
9136 ($(objpfx)tst-initorder2.out): Remove rule.
9137 [$(run-built-tests) = yes] (tests): Depend on
9138 $(objpfx)tst-initorder2-cmp.out.
9139 ($(objpfx)tst-initorder2-cmp.out): New rule.
9140 [$(run-built-tests) = yes] (tests): Depend on
9141 $(objpfx)tst-unused-dep-cmp.out.
9142 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9143 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9144 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9145 on $(objpfx)tst-setvbuf1-cmp.out.
9146 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9147 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9148 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9149 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9150 ($(objpfx)tst-svc.out): Remove rule.
9151 ($(objpfx)tst-svc-cmp.out): New rule.
9153 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9155 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9156 * ctype/ctype.h [__USE_MISC]: Likewise.
9157 * dirent/dirent.h [__USE_MISC]: Likewise.
9158 * grp/grp.h [__USE_MISC]: Likewise.
9159 * io/fcntl.h [__USE_MISC]: Likewise.
9160 * io/sys/stat.h [__USE_MISC]: Likewise.
9161 * libio/stdio.h [__USE_MISC]: Likewise.
9162 * posix/unistd.h [__USE_MISC]: Likewise.
9163 * pwd/pwd.h [__USE_MISC]: Likewise.
9164 * stdlib.h [__USE_MISC]: Likewise.
9165 * string/bits/string2.h [__USE_MISC]: Likewise.
9166 * string/string.h [__USE_MISC]: Likewise.
9167 * time/time.h [__USE_MISC]: Likewise.
9169 2014-02-13 Andreas Schwab <schwab@suse.de>
9172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9173 second answer buffer if it was separately allocated.
9175 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9177 * sysdeps/mips/math-tests.h: Include <features.h>.
9178 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9179 (ROUNDING_TESTS_long_double): Do not define.
9180 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9181 (EXCEPTION_TESTS_long_double): Likewise.
9182 * sysdeps/mips/mips64/libm-test-ulps: Update.
9184 * include/features.h (__USE_BSD): Remove macro definitions.
9185 (__USE_SVID): Likewise.
9186 (_BSD_SOURCE): Likewise.
9187 (_SVID_SOURCE): Likewise.
9188 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9189 from definition of _DEFAULT_SOURCE.
9190 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9192 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9193 * bits/mman.h [__USE_BSD]: Likewise.
9194 * bits/termios.h [__USE_BSD]: Likewise.
9195 * bits/waitstatus.h [__USE_BSD]: Likewise.
9196 * ctype/ctype.h [__USE_SVID]: Likewise.
9197 * dirent/dirent.h [__USE_BSD]: Likewise.
9198 * grp/grp.h [__USE_SVID]: Likewise.
9199 [__USE_BSD]: Likewise.
9200 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9201 * io/fcntl.h [__USE_BSD]: Likewise.
9202 * io/ftw.h [__USE_BSD]: Likewise.
9203 * io/sys/stat.h [__USE_BSD]: Likewise.
9204 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9205 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9206 * libio/stdio.h [__USE_SVID]: Likewise.
9207 [__USE_BSD]: Likewise.
9208 * math/math.h [__USE_SVID]: Likewise.
9209 [__USE_BSD]: Likewise.
9210 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9211 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9212 * misc/search.h [__USE_SVID]: Likewise.
9213 * misc/sys/mman.h [__USE_BSD]: Likewise.
9214 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9215 * misc/sys/uio.h [__USE_BSD]: Likewise.
9216 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9217 * posix/glob.h [__USE_BSD]: Likewise.
9218 * posix/regex.h [__USE_BSD]: Likewise.
9219 * posix/sys/types.h [__USE_BSD]: Likewise.
9220 [__USE_SVID]: Likewise.
9221 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9222 * posix/sys/wait.h [__USE_BSD]: Likewise.
9223 [__USE_SVID]: Likewise.
9224 * posix/unistd.h [__USE_BSD]: Likewise.
9225 [__USE_SVID]: Likewise.
9226 * pwd/pwd.h [__USE_SVID]: Likewise.
9227 * resolv/netdb.h [__USE_BSD]: Likewise.
9228 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9229 * signal/signal.h [__USE_BSD]: Likewise.
9230 [__USE_SVID]: Likewise.
9231 * socket/sys/socket.h [__USE_BSD]: Likewise.
9232 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9233 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9234 [__USE_SVID]: Likewise.
9235 * string/bits/string2.h [__USE_BSD]: Likewise.
9236 [__USE_SVID]: Likewise.
9237 * string/bits/string3.h [__USE_BSD]: Likewise.
9238 * string/endian.h [__USE_BSD]: Likewise.
9239 * string/string.h [__USE_SVID]: Likewise.
9240 [__USE_BSD]: Likewise.
9241 * string/strings.h [__USE_BSD]: Likewise.
9242 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9243 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9244 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9245 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9246 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9247 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9251 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9252 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9254 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9255 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9257 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9259 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9260 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9265 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9266 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9267 * termios/termios.h [__USE_BSD]: Likewise.
9268 * time/sys/time.h [__USE_BSD]: Likewise.
9269 * time/time.h [__USE_BSD]: Likewise.
9270 [__USE_SVID]: Likewise.
9272 * Makefile (subdir_targets): Remove subdir_lint.out.
9274 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9275 (do-tst-printf): Likewise.
9276 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9277 $(objpfx)tst-printf.out.
9279 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9281 * Makerules (check-abi-%): Change target to
9282 $(objpfx)check-abi-%.out.
9283 (check-abi target): Update dependencies.
9284 (check-abi-pattern variable): Redirect output of diff to $@.
9285 (check-abi variable): Likewise.
9286 * elf/Makefile (check-abi): Update dependencies.
9288 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9290 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9291 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9293 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9294 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9295 value has largest subnormal exponent.
9296 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9297 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9298 * sysdeps/aarch64/soft-fp/sfp-machine.h
9299 (_FP_TININESS_AFTER_ROUNDING): New macro.
9300 * sysdeps/alpha/soft-fp/sfp-machine.h
9301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9302 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9304 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9306 * sysdeps/mips/soft-fp/sfp-machine.h
9307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9308 * sysdeps/powerpc/soft-fp/sfp-machine.h
9309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9310 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9315 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9316 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9319 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9322 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9325 2014-02-12 Richard Henderson <rth@redhat.com>
9327 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9328 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9329 * sysdeps/unix/sysv/linux/alpha: Move directory from
9330 ports/sysdeps/unix/sysv/linux/alpha.
9331 * README: Update listing for alpha-*-linux-gnu.
9333 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9335 * include/features.h: Update comment documenting feature test
9337 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9339 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9340 (_SVID_SOURCE): Likewise.
9341 (_DEFAULT_SOURCE): Update description of default features.
9342 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9344 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9345 (S_ISVTX): Likewise.
9346 * manual/math.texi (Mathematical Constants): Likewise.
9347 * manual/signal.texi (Interrupted Primitives): Likewise.
9348 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9349 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9350 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9351 Don't refer to _SVID_SOURCE in warning text.
9353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9355 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9357 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9358 * sysdeps/mips/dl-lookup.c: Remove.
9359 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9361 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9364 * math/auto-libm-test-in: Add testcase for expl.
9365 * math/auto-libm-test-out: Regenerate.
9366 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9367 calculation of unsafe.
9368 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9370 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9372 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9373 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9374 ports/sysdeps/unix/sysv/linux/aarch64.
9375 * README: Update listing for aarch64*-*-linux-gnu.
9377 2014-02-11 Will Newton <will.newton@linaro.org>
9379 * manual/probes.texi (Mathematical Function Probes): Use
9380 "triggered" instead of "hit".
9382 * manual/probes.texi (Internal Probes): Add documentation
9383 of setjmp, longjmp and longjmp_target probes.
9385 * include/stap-probe.h: Add comment about probe argument
9388 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9389 definition. (tr_where, tr_freehook, tr_mallochook,
9390 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9392 2014-02-11 David S. Miller <davem@davemloft.net>
9394 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9395 processing int_tests.
9397 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9399 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9400 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9401 * sysdeps/unix/sysv/linux/mips: Move directory from
9402 ports/sysdeps/unix/sysv/linux/mips.
9403 * README: Update listing for mips-*-linux-gnu and
9406 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9408 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9409 * sysdeps/unix/sysv/linux/m68k: Move directory from
9410 ports/sysdeps/unix/sysv/linux/m68k.
9411 * README: Update listing for m68k-*-linux-gnu.
9413 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9415 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9416 * sysdeps/unix/sysv/linux/generic: Move directory from
9417 ports/sysdeps/unix/sysv/linux/generic.
9418 * sysdeps/unix/sysv/linux/tile: Move directory from
9419 ports/sysdeps/unix/sysv/linux/tile.
9420 * README: Update listing for tile*-*-linux-gnu.
9422 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9424 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9426 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9427 * catgets/open_catalog.c (__open_catalog): Likewise.
9428 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9429 * debug/confstr_chk.c: Likewise.
9430 * debug/fread_chk.c (__fread_chk): Likewise.
9431 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9432 * debug/getgroups_chk.c: Likewise.
9433 * debug/mbsnrtowcs_chk.c: Likewise.
9434 * debug/mbsrtowcs_chk.c: Likewise.
9435 * debug/mbstowcs_chk.c: Likewise.
9436 * debug/memcpy_chk.c: Likewise.
9437 * debug/memmove_chk.c: Likewise.
9438 * debug/mempcpy_chk.c: Likewise.
9439 * debug/memset_chk.c: Likewise.
9440 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9441 * debug/strcat_chk.c (__strcat_chk): Likewise.
9442 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9443 * debug/strncat_chk.c (__strncat_chk): Likewise.
9444 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9445 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9446 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9447 * debug/wcpncpy_chk.c: Likewise.
9448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9449 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9450 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9451 * debug/wcsncpy_chk.c: Likewise.
9452 * debug/wcsnrtombs_chk.c: Likewise.
9453 * debug/wcsrtombs_chk.c: Likewise.
9454 * debug/wcstombs_chk.c: Likewise.
9455 * debug/wmemcpy_chk.c: Likewise.
9456 * debug/wmemmove_chk.c: Likewise.
9457 * debug/wmempcpy_chk.c: Likewise.
9458 * debug/wmemset_chk.c: Likewise.
9459 * dirent/scandirat.c (SCANDIRAT): Likewise.
9460 * dlfcn/dladdr1.c (dladdr1): Likewise.
9461 * dlfcn/dladdr.c (dladdr): Likewise.
9462 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9463 * dlfcn/dlerror.c (__dlerror): Likewise.
9464 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9465 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9466 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9467 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9468 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9469 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9470 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9471 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9473 * elf/dl-conflict.c: Likewise.
9474 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9475 * elf/dl-dst.h: Likewise.
9476 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9477 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9478 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9479 * elf/dl-init.c (call_init, _dl_init): Likewise.
9480 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9481 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9482 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9484 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9486 * elf/dl-minimal.c (__libc_memalign): Likewise.
9487 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9489 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9490 * elf/dl-sym.c (do_sym): Likewise.
9491 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9492 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9493 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9494 * elf/dl-writev.h (_dl_writev): Likewise.
9495 * elf/ldconfig.c (search_dir): Likewise.
9496 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9497 (dl_main): Likewise.
9498 * elf/setup-vdso.h (setup_vdso): Likewise.
9499 * grp/compat-initgroups.c (compat_call): Likewise.
9500 * grp/fgetgrent.c (fgetgrent): Likewise.
9501 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9502 * grp/putgrent.c (putgrent): Likewise.
9503 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9505 * hurd/hurdinit.c: Likewise.
9506 * iconvdata/8bit-gap.c (struct): Likewise.
9507 * iconvdata/ansi_x3.110.c : Likewise.
9508 * iconvdata/big5.c : Likewise.
9509 * iconvdata/big5hkscs.c : Likewise.
9510 * iconvdata/cp1255.c: Likewise.
9511 * iconvdata/cp1258.c : Likewise.
9512 * iconvdata/cp932.c : Likewise.
9513 * iconvdata/euc-cn.c: Likewise.
9514 * iconvdata/euc-jisx0213.c : Likewise.
9515 * iconvdata/euc-jp.c: Likewise.
9516 * iconvdata/euc-jp-ms.c : Likewise.
9517 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9518 * iconvdata/gb18030.c : Likewise.
9519 * iconvdata/gbbig5.c (const): Likewise.
9520 * iconvdata/gbgbk.c: Likewise.
9521 * iconvdata/gbk.c : Likewise.
9522 * iconvdata/ibm1364.c : Likewise.
9523 * iconvdata/ibm930.c : Likewise.
9524 * iconvdata/ibm932.c: Likewise.
9525 * iconvdata/ibm933.c : Likewise.
9526 * iconvdata/ibm935.c : Likewise.
9527 * iconvdata/ibm937.c : Likewise.
9528 * iconvdata/ibm939.c : Likewise.
9529 * iconvdata/ibm943.c: Likewise.
9530 * iconvdata/iso_11548-1.c: Likewise.
9531 * iconvdata/iso-2022-cn.c : Likewise.
9532 * iconvdata/iso-2022-cn-ext.c : Likewise.
9533 * iconvdata/iso-2022-jp-3.c: Likewise.
9534 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9535 * iconvdata/iso-2022-kr.c : Likewise.
9536 * iconvdata/iso646.c (gconv_end): Likewise.
9537 * iconvdata/iso_6937-2.c : Likewise.
9538 * iconvdata/iso_6937.c : Likewise.
9539 * iconvdata/iso8859-1.c: Likewise.
9540 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9541 * iconvdata/shift_jisx0213.c : Likewise.
9542 * iconvdata/sjis.c : Likewise.
9543 * iconvdata/t.61.c : Likewise.
9544 * iconvdata/tcvn5712-1.c : Likewise.
9545 * iconvdata/tscii.c: Likewise.
9546 * iconvdata/uhc.c : Likewise.
9547 * iconvdata/unicode.c (gconv_end): Likewise.
9548 * iconvdata/utf-16.c (gconv_end): Likewise.
9549 * iconvdata/utf-32.c (gconv_end): Likewise.
9550 * iconvdata/utf-7.c (base64): Likewise.
9551 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9552 * iconv/gconv_close.c (__gconv_close): Likewise.
9553 * iconv/gconv_open.c (__gconv_open): Likewise.
9554 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9555 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9556 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9557 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9558 (ucs4le_internal_loop_single): Likewise.
9559 * iconv/iconv.c (iconv): Likewise.
9560 * iconv/iconv_close.c: Likewise.
9561 * iconv/loop.c (SINGLE): Likewise.
9562 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9563 * include/atomic.h: Likewise.
9564 * inet/inet6_option.c (option_alloc): Likewise.
9565 * intl/bindtextdom.c (set_binding_values): Likewise.
9566 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9567 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9568 * intl/localealias.c (read_alias_file): Likewise.
9569 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9570 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9571 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9572 * libio/fmemopen.c (fmemopen): Likewise.
9573 * libio/iofgets.c (_IO_fgets): Likewise.
9574 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9575 * libio/iofgetws.c (fgetws): Likewise.
9576 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9577 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9578 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9579 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9580 * locale/findlocale.c (_nl_find_locale): Likewise.
9581 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9582 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9584 * locale/setlocale.c (setlocale): Likewise.
9585 * login/programs/pt_chown.c (main): Likewise.
9586 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9587 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9588 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9589 (mmap, mmap64, mremap, munmap): Likewise.
9590 * math/e_exp2l.c: Likewise.
9591 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9592 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9593 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9594 * math/s_catan.c (__catan): Likewise.
9595 * math/s_catanf.c (__catanf): Likewise.
9596 * math/s_catanh.c (__catanh): Likewise.
9597 * math/s_catanhf.c (__catanhf): Likewise.
9598 * math/s_catanhl.c (__catanhl): Likewise.
9599 * math/s_catanl.c (__catanl): Likewise.
9600 * math/s_ccosh.c (__ccosh): Likewise.
9601 * math/s_ccoshf.c (__ccoshf): Likewise.
9602 * math/s_ccoshl.c (__ccoshl): Likewise.
9603 * math/s_cexp.c (__cexp): Likewise.
9604 * math/s_cexpf.c (__cexpf): Likewise.
9605 * math/s_cexpl.c (__cexpl): Likewise.
9606 * math/s_clog10.c (__clog10): Likewise.
9607 * math/s_clog10f.c (__clog10f): Likewise.
9608 * math/s_clog10l.c (__clog10l): Likewise.
9609 * math/s_clog.c (__clog): Likewise.
9610 * math/s_clogf.c (__clogf): Likewise.
9611 * math/s_clogl.c (__clogl): Likewise.
9612 * math/s_csin.c (__csin): Likewise.
9613 * math/s_csinf.c (__csinf): Likewise.
9614 * math/s_csinh.c (__csinh): Likewise.
9615 * math/s_csinhf.c (__csinhf): Likewise.
9616 * math/s_csinhl.c (__csinhl): Likewise.
9617 * math/s_csinl.c (__csinl): Likewise.
9618 * math/s_csqrt.c (__csqrt): Likewise.
9619 * math/s_csqrtf.c (__csqrtf): Likewise.
9620 * math/s_csqrtl.c (__csqrtl): Likewise.
9621 * math/s_ctan.c (__ctan): Likewise.
9622 * math/s_ctanf.c (__ctanf): Likewise.
9623 * math/s_ctanh.c (__ctanh): Likewise.
9624 * math/s_ctanhf.c (__ctanhf): Likewise.
9625 * math/s_ctanhl.c (__ctanhl): Likewise.
9626 * math/s_ctanl.c (__ctanl): Likewise.
9627 * math/w_pow.c: Likewise.
9628 * math/w_powf.c: Likewise.
9629 * math/w_powl.c: Likewise.
9630 * math/w_scalb.c (sysv_scalb): Likewise.
9631 * math/w_scalbf.c (sysv_scalbf): Likewise.
9632 * math/w_scalbl.c (sysv_scalbl): Likewise.
9633 * misc/error.c (error_tail): Likewise.
9634 * misc/pselect.c (__pselect): Likewise.
9635 * nis/nis_callback.c (__nis_create_callback): Likewise.
9636 * nis/nis_call.c (__nisfind_server): Likewise.
9637 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9638 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9639 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9640 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9641 * nis/nis_lookup.c (nis_lookup): Likewise.
9642 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9643 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9644 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9645 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9646 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9647 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9648 * nis/nss_compat/compat-initgroups.c (add_group)
9649 (internal_getgrent_r): Likewise.
9650 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9651 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9652 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9653 (internal_getspnam_r): Likewise.
9654 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9655 (_nss_nis_getaliasbyname_r): Likewise.
9656 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9657 (_nss_nis_getntohost_r): Likewise.
9658 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9659 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9660 (_nss_nis_getgrgid_r): Likewise.
9661 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9662 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9663 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9664 (_nss_nis_gethostbyname4_r): Likewise.
9665 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9666 (initgroups_netid): Likewise.
9667 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9668 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9669 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9670 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9671 (_nss_nis_getprotobynumber_r): Likewise.
9672 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9673 (_nss_nis_getsecretkey): Likewise.
9674 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9675 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9676 (_nss_nis_getpwuid_r): Likewise.
9677 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9678 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9679 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9680 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9681 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9682 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9683 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9686 (_nss_nisplus_getntohost_r): Likewise.
9687 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9688 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9689 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9690 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9692 * nis/nss_nisplus/nisplus-initgroups.c
9693 (_nss_nisplus_initgroups_dyn): Likewise.
9694 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9695 (_nss_nisplus_getnetbyaddr_r): Likewise.
9696 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9697 (_nss_nisplus_getprotobynumber_r): Likewise.
9698 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9699 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9700 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9702 * nis/nss_nisplus/nisplus-service.c
9703 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9704 (_nss_nisplus_getservbyport_r): Likewise.
9705 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9706 (_nss_nisplus_getspnam_r): Likewise.
9707 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9709 * nscd/aicache.c (addhstaiX): Likewise.
9710 * nscd/cache.c (cache_search, prune_cache): Likewise.
9711 * nscd/connections.c (register_traced_file, send_ro_fd)
9712 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9713 (main_loop_epoll): Likewise.
9714 * nscd/grpcache.c (addgrbyX): Likewise.
9715 * nscd/hstcache.c (addhstbyX): Likewise.
9716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9717 * nscd/mem.c (gc, mempool_alloc): Likewise.
9718 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9719 (addinnetgrX): Likewise.
9720 * nscd/nscd-client.h (__nscd_acquire_maplock)
9721 (__nscd_drop_map_ref): Likewise.
9722 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9723 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9724 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9726 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9728 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9729 (__nscd_get_map_ref): Likewise.
9730 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9731 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9733 * nscd/pwdcache.c (addpwbyX): Likewise.
9734 * nscd/selinux.c (preserve_capabilities): Likewise.
9735 * nscd/servicescache.c (addservbyX): Likewise.
9736 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9737 * posix/fnmatch.c (fnmatch): Likewise.
9738 * posix/getopt.c (_getopt_internal_r): Likewise.
9739 * posix/glob.c (glob, glob_in_dir): Likewise.
9740 * posix/wordexp.c (exec_comm_child): Likewise.
9741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9742 (getanswer_r, gaih_getanswer_slice): Likewise.
9743 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9744 * resolv/res_init.c: Likewise.
9745 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9746 * resolv/res_query.c (__libc_res_nquery): Likewise.
9747 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9750 * stdio-common/perror.c (perror): Likewise.
9751 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9752 * stdio-common/tmpnam.c (tmpnam): Likewise.
9753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9754 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9755 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9757 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9758 * stdlib/putenv.c (putenv): Likewise.
9759 * stdlib/setenv.c (__add_to_environ): Likewise.
9760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9761 * stdlib/strtol_l.c (INTERNAL): Likewise.
9762 * string/memmem.c (memmem): Likewise.
9763 * string/strerror.c (strerror): Likewise.
9764 * string/strnlen.c (__strnlen): Likewise.
9765 * string/test-memmem.c (simple_memmem): Likewise.
9766 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9767 * sunrpc/pm_getport.c (__get_socket): Likewise.
9768 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9769 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9770 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9771 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9773 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9775 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9776 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9777 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9778 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9782 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9783 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9785 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9786 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9790 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9791 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9792 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9801 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9802 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9803 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9804 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9805 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9816 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9824 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9826 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9827 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9828 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9829 * sysdeps/posix/sleep.c: Likewise.
9830 * sysdeps/posix/tempname.c: Likewise.
9831 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9832 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9834 * sysdeps/powerpc/powerpc32/dl-machine.h
9835 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9836 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9838 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9839 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9841 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9843 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9845 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9846 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9847 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9848 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9850 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9852 (elf_machine_lazy_rel): Likewise.
9853 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9855 (elf_machine_lazy_rel): Likewise.
9856 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9857 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9858 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9859 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9860 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9861 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9865 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9866 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9867 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9868 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9869 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9871 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9872 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9873 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9875 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9877 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9878 (__posix_fallocate64_l64): Likewise.
9879 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9880 (posix_fallocate): Likewise.
9881 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9884 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9885 (getifaddrs_internal): Likewise.
9886 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9888 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9889 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9890 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9891 (__posix_fallocate64_l64): Likewise.
9892 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9894 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9896 (__get_clockfreq): Likewise.
9897 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9898 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9899 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9902 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9903 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9906 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9907 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9908 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9911 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9912 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9914 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9915 (posix_fallocate): Likewise.
9916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9917 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9918 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9919 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9920 (elf_machine_rela, elf_machine_rela_relative)
9921 (elf_machine_lazy_rel): Likewise.
9922 * time/asctime.c (asctime_internal): Likewise.
9923 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9924 * time/tzset.c (__tzset_parse_tz): Likewise.
9925 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9926 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9927 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9928 * wcsmbs/wcsmbsload.h: Likewise.
9931 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9933 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9934 (arena_get2): Remove THREAD_STATS conditionals.
9935 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9936 (__malloc_stats, int): Likewise.
9938 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9941 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9943 * manual/setjmp.texi: Fix typos/grammar errors.
9945 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9946 Only return early when n is <= 0. Delete unused return statement.
9948 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9949 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9950 * debug/tst-longjmp_chk3.c: New file.
9952 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9953 (test_main): Replace code with set_fortify_handler call.
9954 * debug/test-strcpy_chk.c: Likewise.
9955 * debug/tst-chk1.c: Likewise.
9956 * debug/tst-longjmp_chk.c: Likewise.
9957 * test-skeleton.c: Include fcntl.h & paths.h
9958 (set_fortify_handler): Define.
9960 * debug/tst-longjmp_chk.c: Add header comment and include
9962 (do_test): Mark static.
9963 (TEST_FUNCTION): Define.
9965 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9966 (IP_PMTUDISC_INTERFACE): Likewise.
9967 (IP_MULTICAST_IF): Likewise.
9968 (IP_MULTICAST_TTL): Likewise.
9969 (IP_MULTICAST_LOOP): Likewise.
9970 (IP_ADD_MEMBERSHIP): Likewise.
9971 (IP_DROP_MEMBERSHIP): Likewise.
9972 (IP_UNBLOCK_SOURCE): Likewise.
9973 (IP_BLOCK_SOURCE): Likewise.
9974 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9975 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9976 (IP_MSFILTER): Likewise.
9977 (MCAST_JOIN_GROUP): Likewise.
9978 (MCAST_BLOCK_SOURCE): Likewise.
9979 (MCAST_UNBLOCK_SOURCE): Likewise.
9980 (MCAST_LEAVE_GROUP): Likewise.
9981 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9982 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9983 (MCAST_MSFILTER): Likewise.
9984 (IP_MULTICAST_ALL): Likewise.
9985 (IP_UNICAST_IF): Likewise.
9987 * timezone/Makefile: Delete $(have-ksh) check.
9988 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9989 * timezone/tzselect.ksh: Add +x mode bits.
9991 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9992 (ANON_INODE_FS_MAGIC): Likewise.
9993 (BDEVFS_MAGIC): Likewise.
9994 (BINFMTFS_MAGIC): Likewise.
9995 (BTRFS_TEST_MAGIC): Likewise.
9996 (CRAMFS_MAGIC_WEND): Likewise.
9997 (DEBUGFS_MAGIC): Likewise.
9998 (ECRYPTFS_SUPER_MAGIC): Likewise.
9999 (EXT3_SUPER_MAGIC): Likewise.
10000 (EXT4_SUPER_MAGIC): Likewise.
10001 (FUTEXFS_SUPER_MAGIC): Likewise.
10002 (HOSTFS_SUPER_MAGIC): Likewise.
10003 (HUGETLBFS_MAGIC): Likewise.
10004 (MINIX3_SUPER_MAGIC): Likewise.
10005 (MTD_INODE_FS_MAGIC): Likewise.
10006 (NILFS_SUPER_MAGIC): Likewise.
10007 (OPENPROM_SUPER_MAGIC): Likewise.
10008 (PIPEFS_MAGIC): Likewise.
10009 (PSTOREFS_MAGIC): Likewise.
10010 (QNX6_SUPER_MAGIC): Likewise.
10011 (RAMFS_MAGIC): Likewise.
10012 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10013 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10014 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10015 (SECURITYFS_MAGIC): Likewise.
10016 (SELINUX_MAGIC): Likewise.
10017 (SMACK_MAGIC): Likewise.
10018 (SOCKFS_MAGIC): Likewise.
10019 (SQUASHFS_MAGIC): Likewise.
10020 (STACK_END_MAGIC): Likewise.
10021 (TMPFS_MAGIC): Likewise.
10022 (USBDEVICE_SUPER_MAGIC): Likewise.
10023 (V9FS_MAGIC): Likewise.
10024 (XENFS_SUPER_MAGIC): Likewise.
10025 (CRAMFS_MAGIC): Fix typo in comment.
10026 (EXT2_SUPER_MAGIC): Update comment.
10027 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10029 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10031 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10032 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10033 * sysdeps/unix/sysv/linux/arm: Move directory from
10034 ports/sysdeps/unix/sysv/linux/arm.
10035 * README: Update listing for arm-*-linux-gnueabi.
10037 * README: Remove mention of am33.
10039 2014-02-07 Roland McGrath <roland@hack.frob.com>
10041 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10042 than the comma operator, to avoid "rhs of comma has no effect"
10044 (__sigfillset, __sigandset, __sigorset): Likewise.
10045 * include/signal.h (__sigemptyset): Likewise.
10046 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10048 2014-02-07 Allan McRae <allan@archlinux.org>
10050 * version.h (RELEASE): Set to "development".
10051 (VERSION): Set to "2.19.90"
10052 * NEWS: Add 2.20 section.
10054 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10057 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10059 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10061 * manual/contrib.texi: Update entry for Carlos O'Donell,
10062 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10064 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10066 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10068 * sysdeps/unix/sysv/linux/kernel-features.h
10069 [__LINUX_KERNEL_VERSION >= 0x020621]
10070 (__ASSUME_PROC_PID_TASK_COMM): Define.
10072 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10075 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10076 conversion when destination buffer does not have enough space.
10077 * libio/tst-ftell-partial-wide.c: New test case.
10078 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10080 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10081 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10082 Leonard and Allan McRae.
10084 2014-02-04 David S. Miller <davem@davemloft.net>
10086 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10089 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10118 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10120 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10121 * shlib-versions: Likewise.
10123 2014-02-04 Roland McGrath <roland@hack.frob.com>
10124 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10126 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10127 (abilist-pattern): New variable, set to %-le.abilist.
10129 * Makerules (abilist-pattern): New variable.
10130 (vpath): Use $(abilist-pattern) in place of %.abilist.
10131 (check-abi-% pattern rule): Likewise.
10132 (check-abi, update-abi): Likewise.
10134 2014-02-04 Eric Wong <normalperson@yhbt.net>
10136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10138 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10140 * manual/startup.texi: Add next, previous, and top entries for
10141 the `Program Arguments' and `Environment Variables' nodes.
10143 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10145 * manual/macros.texi: Add comments before MTASC-safety macros.
10147 * manual/users.texi: Document MTASC-safety properties.
10149 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10150 (pthread_getspecific, pthread_setspecific): Format with
10151 @deftypefun, and add @safety note.
10152 * manual/signal.texi: Move comments that analyze the above
10153 functions to their home place.
10155 2014-02-03 Allan McRae <allan@archlinux.org>
10157 * po/sl.po: Update Slovenian translation from translation project.
10159 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10161 * manual/time.texi (timegm): Add missing blank after @c.
10162 Reported by Joseph Myers <joseph@codesourcery.com>.
10164 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10166 * manual/check-safety.sh: New.
10167 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10169 * manual/terminal.texi: Document MTASC-safety properties.
10171 * manual/filesys.texi: Document MTASC-safety properties.
10173 * manual/errno.texi: Document MTASC-safety properties.
10175 * manual/intro.texi: Document safety identifiers and
10178 * manual/string.texi (wcstok): Fix prototype.
10179 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10181 * manual/time.texi: Document MTASC-safety properties.
10183 * manual/string.texi: Document MTASC-safety properties.
10185 * manual/threads.texi: Document MTASC-safety properties.
10187 * manual/stdio.texi: Document MTASC-safety properties.
10189 * manual/syslog.texi: Document MTASC-safety properties.
10191 * manual/sysinfo.texi: Document MTASC-safety properties.
10193 * manual/startup.texi: Document MTASC-safety properties.
10195 * manual/socket.texi: Document MTASC-safety properties.
10197 * manual/signal.texi: Document MTASC-safety properties.
10199 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10201 * manual/setjmp.texi: Document MTASC-safety properties.
10203 * manual/search.texi: Document MTASC-safety properties.
10205 * manual/resource.texi: Document MTASC-safety properties.
10207 * manual/process.texi: Document MTASC-safety properties.
10209 * manual/platform.texi: Document MTASC-safety properties.
10211 * manual/pipe.texi: Document MTASC-safety properties.
10213 * manual/pattern.texi: Document MTASC-safety properties.
10215 * manual/message.texi: Document MTASC-safety properties.
10218 * manual/memory.texi: Document MTASC-safety properties.
10220 * manual/math.texi: Document MTASC-safety properties.
10222 * manual/locale.texi: Document MTASC-safety properties.
10224 * manual/llio.texi: Document MTASC-safety properties.
10226 * manual/libdl.texi: New.
10228 * manual/lang.texi: Document MTASC-safety properties.
10230 * manual/job.texi: Document MTASC-safety properties.
10232 * manual/getopt.texi: Document MTASC-safety properties.
10234 * manual/ctype.texi: Document MTASC-safety properties.
10236 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10239 * csu/libc-tls.c (static_map): Remove variable.
10240 (__libc_setup_tls): Use main executable's link map for TLS data.
10241 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10242 casing for LM_ID_BASE and GL(dl_nns).
10243 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10244 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10245 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10246 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10247 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10249 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10252 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10254 * manual/debug.texi: Document MTASC-safety properties.
10256 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10259 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10260 of __x86_64__ when disabling x87 inline functions.
10262 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10264 * manual/charset.texi: Document MTASC-safety properties.
10266 * manual/crypt.texi: Document MTASC-safety properties.
10268 * manual/conf.texi: Document MTASC-safety properties.
10270 * manual/arith.texi: Document MTASC-safety properties.
10272 * manual/argp.texi: Document MTASC-safety properties.
10274 * manual/macros.texi: Introduce macros to document multi
10275 thread, asynchronous signal and asynchronous cancellation
10277 * manual/intro.texi: Introduce the properties themselves.
10279 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10281 * sysdeps/sh/sh4/Makefile: New file.
10283 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10285 * math/gen-libm-test.pl ($srcdir): New variable.
10286 ($auto_input): Use it.
10288 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10291 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10292 access beyond array bounds when parsing netgroups file.
10294 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10295 the old buffer before realloc.
10297 2014-01-27 Allan McRae <allan@archlinux.org>
10299 * po/fr.po: Update French translation from translation project.
10301 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10303 * sysdeps/sh/libm-test-ulps: Regenerate.
10305 2014-01-24 David S. Miller <davem@davemloft.net>
10307 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10309 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10312 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10314 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10317 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10318 string pointers after reallocation.
10320 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10322 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10323 __SH4A__ instead of __SH_FPU_ANY__.
10325 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10327 * sysdeps/sh/fpu_control.h: New file.
10328 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10330 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10331 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10332 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10333 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10334 * sysdeps/sh/sys/ucontext.h: Remove.
10335 * sysdeps/sh/sys: Remove directory.
10337 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10339 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10340 s390/sys/ucontext.h.
10341 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10344 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10347 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10349 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10353 Adjust the vDSO correctly for internal calls.
10354 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10356 2014-01-20 Allan McRae <allan@archlinux.org>
10358 * po/ca.po: Update Catalan translation from translation project.
10360 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10362 * sysdeps/s390/sotruss-lib.c: New file.
10364 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10368 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10369 local calls issues by not having a PLT stub required for IFUNC calls.
10370 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10372 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10374 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10375 * math/test-fpucw-static.c: Likewise.
10377 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10380 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10382 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10384 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10385 implementation for powerpc.
10387 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10390 * sysdeps/posix/system.c (__libc_system): Do not enable
10391 asynchronous cancellation.
10393 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10396 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10397 handling only for numbers special also in the IEEE case.
10399 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10401 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10403 2014-01-11 Allan McRae <allan@archlinux.org>
10405 * po/bg.po: Update Bulgarian translation from translation project.
10407 * po/de.po: Update German translation from translation project.
10409 2014-01-10 Roland McGrath <roland@hack.frob.com>
10411 * sysdeps/generic/gcc-compat.h: New file.
10413 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10415 * benchtests/asin-inputs: Correct slow inputs.
10416 * benchtests/acos-inputs: Likewise.
10418 2014-01-10 Allan McRae <allan@archlinux.org>
10420 * po:sv.po: Update Swedish translation from translation project.
10422 * po/vi.po: Update Vietnamese translation from translation project.
10424 * po/eo.po: Update Esperanto translation from translation project.
10426 * po/cs.po: Update Czech translation from translation project.
10428 * po/nl.po: Update Dutch translation from translation project.
10430 * po/pl.po: Update Polish translation from translation project.
10432 * po/ru.po: Update Russian translation from translation project.
10434 * po/uk.po: Update Ukrainian translation from translation project.
10436 2014-01-08 Brooks Moses <bmoses@google.com>
10438 * elf/dl-load.c: Fix comment typo.
10440 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10442 * po/header.pot: Rename to...
10443 * po/pot.header: ... this.
10444 * po/Makefile: Use pot.header.
10446 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10447 Maxim Kuvyrkov <maxim@kugelworks.com>
10450 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10451 SRC and DEST against LEN.
10453 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10460 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10464 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10468 for large positive arguments.
10470 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10472 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10474 * math/auto-libm-test-in: Mark various tests with
10475 xfail-rounding:ldbl-128ibm.
10476 * math/auto-libm-test-out: Regenerated.
10479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10480 Increase overflow threshold.
10482 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10485 * stdio-common/vfprintf.c: Check for integer overflow.
10487 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10489 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10490 the first argument and return value of __tls_get_addr_internal.
10492 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10494 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10495 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10497 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10499 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10500 * sysdeps/s390/rtld-global-offsets.sym: New file.
10501 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10503 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10504 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10507 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10508 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10514 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10515 halfs of GPRs for high_gprs contexts.
10516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10517 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10521 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10523 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10524 for high GPRs (uc_high_gprs) and for future extensions
10526 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10527 for future extensions (__reserved).
10528 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10530 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10531 SC_HIGHGPRS offset definition.
10532 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10533 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10535 * Versions.def: Add GLIBC_2.19 for libpthread.
10536 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10537 siglongjmp for libpthread with GLIBC_2.19 symver.
10538 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10539 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10540 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10541 * sysdeps/s390/__longjmp.c: New file.
10542 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10543 * sysdeps/s390/longjmp.c: New file.
10544 * sysdeps/s390/setjmp.S: New file.
10545 * sysdeps/s390/sigjmp.S: New file.
10546 * sysdeps/s390/v1-longjmp.c: New file.
10547 * sysdeps/s390/v1-setjmp.h: New file.
10548 * sysdeps/s390/v1-sigjmp.c: New file.
10549 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10550 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10551 GLIBC_2.19 version.
10552 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10553 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10554 versioned symbols for ____longjmp_chk.
10555 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10565 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10566 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10567 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10568 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10569 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10570 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10571 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10572 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10573 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10574 * sysdeps/s390/rtld-__longjmp.c: New file.
10575 * sysdeps/s390/rtld-setjmp.S: New file.
10577 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10581 Return -__logl (x) for small positive arguments without evaluating
10584 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10586 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10588 (__ptrace_peeksiginfo_args): ... this.
10589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10593 2014-01-06 Allan McRae <allan@archlinux.org>
10595 * inet/netinet/in.h: Fix typo in comment.
10597 2014-01-05 Andreas Jaeger <aj@suse.de>
10599 * sysdeps/i386/fpu/libm-test-ulps: Update.
10601 2014-01-05 Allan McRae <allan@archlinux.org>
10603 * po/libc.pot: Regenerated.
10605 * malloc/memusagestat.c: Fix gettext call formatting.
10607 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10609 * nscd/nscd.c: Improve usage() output.
10611 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10613 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10614 * sysdeps/unix/sysv/linux/configure: Regenerated.
10615 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10616 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10618 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10621 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10622 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10624 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10627 extra tokens at end of #undef directive.
10628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10629 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10632 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10634 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10636 * math/auto-libm-test-in: Mark various tests with
10637 xfail-rounding:ldbl-128ibm.
10638 * math/auto-libm-test-out: Regenerated.
10640 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10643 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10644 numbers with subnormal high part when calculating exponent.
10647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10653 (__ieee754_acoshl): Use __log1pl not __log1p.
10655 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10657 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10658 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10659 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10660 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10661 (reused_arena, arena_get2): Convert to GNU style.
10662 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10663 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10664 (memalign_check, __malloc_set_state): Likewise.
10665 * malloc/mallocbug.c (main): Likewise.
10666 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10667 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10668 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10669 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10670 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10671 (__posix_memalign, malloc_info): Likewise.
10672 * malloc/malloc.h: Likewise.
10673 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10674 (mallochook, memalignhook, reallochook, mabort): Likewise.
10675 * malloc/mcheck.h: Likewise.
10676 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10677 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10678 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10679 * malloc/morecore.c (__default_morecore): Likewise.
10680 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10681 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10682 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10683 (print_and_abort): Likewise.
10684 * malloc/obstack.h: Likewise.
10685 * malloc/set-freeres.c (__libc_freeres): Likewise.
10686 * malloc/tst-mallocstate.c (main): Likewise.
10687 * malloc/tst-mtrace.c (main): Likewise.
10688 * malloc/tst-realloc.c (do_test): Likewise.
10690 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10693 * nscd/netgroupcache.c (do_notfound): New function.
10694 (addgetnetgrentX): Use it.
10697 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10698 NSS_STATUS_NOTFOUND.
10700 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705 2014-01-01 Allan McRae <allan@archlinux.org>
10707 * scripts/update-copyrights: Update configure input file suffix.
10709 * NEWS: Update copyright year.
10710 * catgets/gencat.c: Likewise.
10711 * csu/version.c: Likewise.
10712 * debug/catchsegv.sh: Likewise.
10713 * debug/pcprofiledump.c: Likewise.
10714 * debug/xtrace.sh: Likewise.
10715 * elf/ldconfig.c: Likewise.
10716 * elf/ldd.bash.in: Likewise.
10717 * elf/pldd.c: Likewise.
10718 * elf/sotruss.ksh: Likewise.
10719 * elf/sprof.c: Likewise.
10720 * iconv/iconv_prog.c: Likewise.
10721 * iconv/iconvconfig.c: Likewise.
10722 * locale/programs/locale.c: Likewise.
10723 * locale/programs/localedef.c: Likewise.
10724 * login/programs/pt_chown.c: Likewise.
10725 * malloc/memusage.sh: Likewise.
10726 * malloc/memusagestat.c: Likewise.
10727 * malloc/mtrace.pl: Likewise.
10728 * manual/libc.texinfo: Likewise.
10729 * nscd/nscd.c: Likewise.
10730 * nss/getent.c: Likewise.
10731 * nss/makedb.c: Likewise.
10732 * posix/getconf.c: Likewise.
10733 * scripts/test-installation.pl: Likewise.
10735 * All files with FSF copyright notices: Update copyright dates
10736 using scripts/update-copyrights.
10737 * intl/plural.c: Regenerated.
10738 * locale/programs/charmap-kw.h: Likewise.
10739 * locale/programs/locfile-kw.h: Likewise.
10741 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10743 * sysdeps/unix/sysv/linux/configure: Regenerated.
10744 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10745 the linux/fanotify.h header.
10746 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10747 HAVE_LINUX_FANOTIFY_H is defined.
10749 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10751 * benchtests/cos-inputs: New inputs.
10752 * benchtests/sin-inputs: Likewise.
10754 * benchtests/atan-inputs: New inputs. Fix name of multiple
10755 precision fallback inputs.
10757 * benchtests/atanh-inputs: New inputs.
10758 * benchtests/tanh-inputs: Likewise.
10760 * benchtests/acosh-inputs: New inputs.
10761 * benchtests/asinh-inputs: Likewise.
10763 * benchtests/cosh-inputs: New inputs.
10764 * benchtests/sinh-inputs: Likewise.
10766 * benchtests/acos-inputs: Add more inputs.
10767 * benchtests/asin-inputs: Likewise.
10769 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10772 * manual/arith.texi: Fix spelling.
10773 * manual/charset.texi: Likewise.
10774 * manual/errno.texi: Likewise.
10775 * manual/filesys.texi: Likewise.
10776 * manual/lang.texi: Likewise.
10777 * manual/llio.texi: Likewise.
10778 * manual/locale.texi: Likewise.
10779 * manual/message.texi: Likewise.
10780 * manual/resource.texi: Likewise.
10781 * manual/search.texi: Likewise.
10782 * manual/setjmp.texi: Likewise.
10783 * manual/stdio.texi: Likewise.
10784 * manual/string.texi: Likewise.
10785 * manual/sysinfo.texi: Likewise.
10786 * manual/time.texi: Likewise.
10788 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10790 * po/sl.po: New file.
10792 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10794 * .gitignore: Add core/.gdbinit/.gdb_history.
10796 2013-12-27 Allan McRae <allan@archlinux.org>
10799 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10800 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10802 2013-12-24 Brooks Moses <bmoses@google.com>
10804 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10805 all compilers that claim C++98 compliance, not just GCC.
10806 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10809 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10811 * NEWS: Restore accidentally deleted bug-fix entries.
10813 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10814 Ondřej Bílka <neleai@seznam.cz>
10817 * malloc/malloc.c (_int_free): Perform sanity check only if we
10820 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10823 * manual/stdio.texi (String Input Conversions): Clarify that character
10824 classes are not supported.
10826 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10830 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10833 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10834 Calculate results for small negative arguments directly rather
10835 than using reflection formula with special underflow handling.
10837 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10838 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10839 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10840 (fchflags): Likewise.
10841 (revoke): Likewise.
10842 (setlogin): Likewise.
10843 (sigaltstack): Likewise.
10845 (sigblock): Remove.
10846 (sigsetmask): Likewise.
10848 (waitpid): Likewise.
10849 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10850 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10852 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10853 * sysdeps/unix/bsd/Makefile: ... here.
10854 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10855 * sysdeps/unix/bsd/Versions: ... here.
10856 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10857 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10858 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10859 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10860 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10861 * sysdeps/unix/bsd/sigblock.c: ... here.
10862 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10863 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10864 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10865 * sysdeps/unix/bsd/sigvec.c: ... here.
10866 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10867 * sysdeps/unix/bsd/tcdrain.c: ... here.
10868 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10869 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10870 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10871 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10872 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10873 * sysdeps/unix/bsd/wait.c: ... here.
10874 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10875 * sysdeps/unix/bsd/wait3.c: ... here.
10876 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10877 * sysdeps/unix/bsd/waitpid.c: ... here.
10879 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10883 round-to-nearest for [!USE_AS_EXPM1L].
10884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10885 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10886 more tests of exp and exp10. Expect some exp10 tests to miss
10887 exceptions or fail in directed rounding modes.
10888 * math/auto-libm-test-out: Regenerated.
10889 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10890 (exp10_test_tonearest): New function.
10891 (exp10_towardzero_test_data): New array.
10892 (exp10_test_towardzero): New function.
10893 (exp10_downward_test_data): New array.
10894 (exp10_test_downward): New function.
10895 (exp10_upward_test_data): New array.
10896 (exp10_test_upward): New function.
10897 (main): Call the new functions.
10898 * sysdeps/i386/fpu/libm-test-ulps: Update.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10903 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10904 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10905 * math/auto-libm-test-out: Regenerated.
10906 * math/libm-test.inc (acosh_test_data): Add more tests.
10907 (atanh_test_data): Likewise.
10908 (ceil_test_data): Likewise.
10909 (copysign_test_data): Likewise.
10910 * sysdeps/i386/fpu/libm-test-ulps: Update.
10911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913 * timezone/checktab.awk: Update from tzcode 2013i.
10914 * timezone/private.h: Likewise.
10915 * timezone/scheck.c: Likewise.
10916 * timezone/tzfile.h: Likewise.
10917 * timezone/tzselect.ksh: Likewise.
10918 * timezone/zdump.c: Likewise.
10919 * timezone/zic.c: Likewise.
10921 * math/auto-libm-test-in: Add tests of cpow.
10922 * math/auto-libm-test-out: Regenerated.
10923 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10926 (func_calc_desc): Add mpc_cc_c union field.
10927 (test_functions): Add cpow.
10928 (special_fill_2pi): New function.
10929 (special_real_inputs): Add 2pi.
10930 (calc_generic_results): Handle mpc_cc_c.
10931 * sysdeps/i386/fpu/libm-test-ulps: Update.
10932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10934 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10935 csqrt, ctan and ctanh.
10936 * math/auto-libm-test-out: Regenerated.
10937 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10938 (TEST_COND_x86): Likewise.
10939 (ccos_test_data): Use AUTO_TESTS_c_c.
10940 (ccosh_test_data): Likewise.
10941 (cexp_test_data): Likewise.
10942 (clog_test_data): Likewise.
10943 (csqrt_test_data): Likewise.
10944 (ctan_test_data): Likewise.
10945 (ctan_tonearest_test_data): Likewise.
10946 (ctan_towardzero_test_data): Likewise.
10947 (ctan_downward_test_data): Likewise.
10948 (ctan_upward_test_data): Likewise.
10949 (ctanh_test_data): Likewise.
10950 (ctanh_tonearest_test_data): Likewise.
10951 (ctanh_towardzero_test_data): Likewise.
10952 (ctanh_downward_test_data): Likewise.
10953 (ctanh_upward_test_data): Likewise.
10954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10956 (func_calc_desc): Add mpc_c_c union field.
10957 (FUNC_mpc_c_c): New macro.
10958 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10959 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10961 (special_fill_min_subnorm_p120): New function.
10962 (special_real_inputs): Add min_subnorm_p120.
10963 (calc_generic_results): Handle mpc_c_c.
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10967 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10969 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10970 (do_sin_slow): New functions.
10971 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10972 (cslow2, csloww1, csloww2): Use the new functions.
10974 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10975 Use M to change sign of result instead of X. Assume X is
10977 (csloww1): Likewise.
10981 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10982 arguments A and DA.
10986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10988 (sloww1): Don't adjust sign of DX.
10989 (csloww1): Likewise.
10990 (sloww2): Use X directly and don't adjust sign of DX.
10991 (csloww2): Likewise.
10993 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10995 * math/auto-libm-test-in: Add tests of cabs and carg.
10996 * math/auto-libm-test-out: Regenerated.
10997 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10998 (carg_test_data): Likewise.
10999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11001 (func_calc_desc): Add mpc_c_f union field.
11002 (test_functions): Add cabs and carg.
11003 (calc_generic_results): Handle mpc_c_f.
11005 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11006 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11007 as a macro and a compat symbol.
11008 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11009 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11010 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11011 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11012 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11019 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11023 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11025 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11026 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11029 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11033 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11035 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11036 trailing whitespace removed.
11037 * scripts/config.guess: Update to version 2013-11-29.
11038 * scripts/config.sub: Update to version 2013-10-01.
11040 * math/auto-libm-test-in: Add tests of sincos.
11041 * math/auto-libm-test-out: Regenerated.
11042 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11045 (func_calc_desc): Add mpfr_f_11 union field.
11046 (test_functions): Add sincos.
11047 (calc_generic_results): Handle mpfr_f_11.
11048 * sysdeps/i386/fpu/libm-test-ulps: Update.
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11051 2013-12-19 Andreas Schwab <schwab@suse.de>
11053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11055 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11057 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11059 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11061 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11062 * sysdeps/i386/fpu/libm-test-ulps: Update.
11063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11067 round-to-nearest mode when using frndint.
11068 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11069 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11072 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11074 * math/auto-libm-test-out: Regenerated.
11075 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11076 (TEST_COND_x86): Likewise.
11077 (expm1_tonearest_test_data): New array.
11078 (expm1_test_tonearest): New function.
11079 (expm1_towardzero_test_data): New array.
11080 (expm1_test_towardzero): New function.
11081 (expm1_downward_test_data): New array.
11082 (expm1_test_downward): New function.
11083 (expm1_upward_test_data): New array.
11084 (expm1_test_upward): New function.
11085 (main): Run the new test functions.
11086 * sysdeps/i386/fpu/libm-test-ulps: Update.
11087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11089 * include/features.h: Update comment documenting feature test
11090 macros. Mention _DEFAULT_SOURCE in comment.
11091 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11092 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11093 _BSD_SOURCE and _SVID_SOURCE.
11094 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11095 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11096 !_SVID_SOURCE]: Likewise.
11097 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11098 (__USE_POSIX_IMPLICITLY): Define.
11099 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11100 (_POSIX_SOURCE): Undefine and redefine.
11101 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11102 (_POSIX_C_SOURCE): Likewise.
11103 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11104 (Feature Test Macros): Update documentation of default features.
11106 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11108 * benchtests/Makefile: Add bench-strtok.
11109 * benchtests/bench-strtok.c: New file: strtok benchtest.
11111 2013-12-19 Allan McRae <allan@archlinux.org>
11113 * manual/install.texi: Suppress menu for plain text output.
11114 * INSTALL: Regenerated.
11116 2013-12-18 Brooks Moses <bmoses@google.com>
11119 * misc/getauxval.c: Include errno.h.
11120 (__getauxval): Set errno to ENOENT if the requested type is not
11122 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11123 don't declare with __attribute_const__.
11124 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11125 * manual/startup.texi: Document that getauxval sets errno.
11127 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11129 * math/auto-libm-test-in: Add tests of jn and yn.
11130 * math/auto-libm-test-out: Regenerated.
11131 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11132 (yn_test_data): Likewise.
11133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11135 (func_calc_desc): Add mpfr_if_f union field.
11136 (FUNC_mpfr_if_f): New macro.
11137 (test_functions): Add jn and yn.
11138 (calc_generic_results): Assert type of second input for
11139 mpfr_ff_f. Handle mpfr_if_f.
11140 (output_for_one_input_case): Disable all checking for arguments
11141 fitting floating-point types in case of an integer argument.
11142 * sysdeps/i386/fpu/libm-test-ulps: Update.
11143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11146 Don't expect fegetround reference in libm.so.
11148 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11150 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11151 $(config-cflags-nofma).
11153 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11155 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11156 * math/auto-libm-test-out: Regenerated.
11159 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11160 to determine exponent and adjust argument to have exponent of -1.
11161 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11163 * math/auto-libm-test-out: Regenerated.
11164 * sysdeps/i386/fpu/libm-test-ulps: Update.
11165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11167 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11169 * manual/probes.texi: Remove cases when per-thread arenas are
11172 2013-12-18 Andreas Schwab <schwab@suse.de>
11174 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11175 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11176 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11177 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11178 * sysdeps/i386/i686/multiarch/Makefile: Update.
11179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11181 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11183 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11184 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11186 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11189 Support TZ transition times < 00:00:00.
11190 This is needed for version-3 tz-format files; it supports time
11191 stamps past 2037 for America/Godthab (the only entry in the tz
11192 database for which this change is relevant).
11193 * manual/time.texi (TZ Variable): Document transition times
11194 from -167:59:59 through -00:00:01.
11195 * time/tzset.c (tz_rule): Time of day is now signed.
11196 (__tzset_parse_tz): Parse negative time of day.
11198 Document TZ transition times >= 25:00:00.
11199 * manual/time.texi (TZ Variable): Document transition times from
11200 25:00:00 through 167:59:59. These are already supported, and this
11201 support will help with version-3 tz-format files.
11203 * manual/time.texi (TZ Variable): Modernize North America example
11204 to reflect current (i.e., 2007-and-later) daylight saving rules.
11206 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11208 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11210 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11211 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11214 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11215 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11216 * sysdeps/unix/bsd/clock.c: Likewise.
11217 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11218 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11219 * sysdeps/unix/bsd/init-posix.c: Likewise.
11220 * sysdeps/unix/bsd/poll.c: Likewise.
11221 * sysdeps/unix/bsd/ptsname.c: Likewise.
11222 * sysdeps/unix/bsd/seekdir.c: Likewise.
11223 * sysdeps/unix/bsd/setegid.c: Likewise.
11224 * sysdeps/unix/bsd/seteuid.c: Likewise.
11225 * sysdeps/unix/bsd/setgid.c: Likewise.
11226 * sysdeps/unix/bsd/setrgid.c: Likewise.
11227 * sysdeps/unix/bsd/setruid.c: Likewise.
11228 * sysdeps/unix/bsd/setsid.c: Likewise.
11229 * sysdeps/unix/bsd/setuid.c: Likewise.
11230 * sysdeps/unix/bsd/sigaction.c: Likewise.
11231 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11232 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11233 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11234 * sysdeps/unix/bsd/telldir.c: Likewise.
11235 * sysdeps/unix/bsd/times.c: Likewise.
11236 * sysdeps/unix/bsd/usleep.c: Likewise.
11238 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11239 ($(objpfx)libbsd-compat.a): Remove rule.
11241 * include/features.h (__FAVOR_BSD): Do not define.
11242 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11243 features conflicting with POSIX.
11244 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11245 (_BSD_SOURCE): Remove description of not being a subset of other
11246 feature test macros.
11247 * manual/job.texi (getpgrp): Do not document BSD version.
11248 (getpgid): Do not document by reference to BSD getpgrp.
11249 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11250 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11251 * signal/signal.h [__FAVOR_BSD]: Likewise.
11252 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11253 instead of making contents conditional on [__FAVOR_BSD].
11254 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11256 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11260 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11263 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11264 values below 2**-450, not 2**-500.
11265 * math/auto-libm-test-in: Don't allow spurious underflow from
11267 * math/auto-libm-test-out: Regenerated.
11271 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11272 values of ha and hb and sort them after adjusting subnormal
11274 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11276 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11277 values of ea and eb and sort them after adjusting subnormal
11279 * math/auto-libm-test-in: Do not expect some hypot tests of
11280 subnormals to fail. Add more hypot tests.
11281 * math/auto-libm-test-out: Regenerated.
11283 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11286 * sysdeps/sh/s_fma.c: New file.
11287 * sysdeps/sh/s_fmaf.c: New file.
11288 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11290 * sysdeps/sh/Implies: Add sh/soft-fp.
11292 2013-12-16 Roland McGrath <roland@hack.frob.com>
11294 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11295 level of indirection to members `objname', `errstring', `malloced'.
11296 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11297 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11298 it as the __longjmp argument (just pass 1 instead).
11299 (_dl_catch_error): Initialize C with argument pointers and address of
11300 volatile local ERRCODE rather than copying values out of C at return.
11302 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11304 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11305 * math/auto-libm-test-out: Regenerated.
11306 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11307 (hypot_test_data): Likewise.
11308 (pow_test_data): Likewise.
11309 (pow_tonearest_test_data): Likewise.
11310 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11312 (func_calc_desc): Add mpfr_ff_f union field.
11313 (FUNC_mpfr_ff_f): New macro.
11314 (test_functions): Add atan2, hypot and pow.
11315 (special_fill_min): New function.
11316 (special_fill_minus_min): Likewise.
11317 (special_fill_min_subnorm): Likewise.
11318 (special_fill_minus_min_subnorm): Likewise.
11319 (special_real_inputs): Add min, -min, min_subnorm and
11321 (calc_generic_results): Handle mpfr_ff_f.
11322 * sysdeps/i386/fpu/libm-test-ulps: Update.
11323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11325 2013-12-16 Will Newton <will.newton@linaro.org>
11327 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11328 (Aligned Memory Blocks): Add documentation for aligned_alloc
11329 and suggest it as an alternative to posix_memalign.
11330 (Hooks for Malloc): Document __memalign_hook is also called
11331 for aligned_alloc. (Summary of Malloc): Add summary for
11332 aligned alloc. Document __memalign_hook is also called
11335 2013-12-16 Will Newton <will.newton@linaro.org>
11337 * manual/memory.texi (Malloc Examples): Clarify default
11338 alignment documentation. Suggest posix_memalign rather
11339 than memalign or valloc.
11340 (Aligned Memory Blocks): Remove suggestion to use memalign
11341 or valloc. Remove obsolete comment about BSD.
11342 Document memalign errno values and mark the function obsolete.
11343 Document posix_memalign returned error codes. Mark valloc
11344 as obsolete. (Hooks for Malloc): __memalign_hook is also
11345 called for posix_memalign and valloc.
11346 (Summary of Malloc): Add posix_memalign to function summary.
11347 __memalign_hook is also called for posix_memalign and valloc.
11349 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11351 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11355 (sloww): Use mynumber union. Expand ternary operator into
11356 if-else statements.
11357 (cslow): use mynumber union.
11359 2013-12-16 Allan McRae <allan@archlinux.org>
11361 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11362 * configure: Regenerated.
11364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11367 * configure.ac: Added --enable-maintainer-mode. Check for
11368 autoconf when enabled.
11369 * configure: Regenerated.
11371 * nscd/nscd.service: New file.
11372 * nscd/nscd.tmpfiles: New file.
11374 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11377 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11378 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11379 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11380 (strstr): Add __strstr_sse2_unaligned ifunc.
11381 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11382 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11383 (strcasestr): Remove __strcasestr_sse42 ifunc.
11384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11388 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11390 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11391 * sysdeps/sh/bits/fenv.h: ... here.
11392 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11394 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11396 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11399 hypotf multiarch implementations.
11400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11402 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11403 multiarch hypot for PPC64.
11404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11407 multiarch hypotf for PPC64.
11409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11410 modff multiarch implementations.
11411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11414 multiarch modf for PPC64.
11415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11418 multiarch modff for PPC64.
11420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11421 and logl multiarch implementations.
11422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11425 multiarch logb for PPC64.
11426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11429 multiarch logb for PPC64.
11430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11433 multiarch logb for PPC64.
11435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11436 isinff multiarch implementation.
11437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11441 multiarch isinf for PPC64.
11442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11445 multiarch isinff for PPC64.
11447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11448 finitef multiarch implementation.
11449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11453 multiarch finite for PPC64.
11454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11457 multiarch finitef for PPC64.
11459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11460 lrint multiarch implementation.
11461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11465 multiarch llrint for PPC64.
11466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11467 multiarch lrint for PPC64.
11469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11470 copysignf multiarch implementation.
11471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11476 multiarch copysign for PPC64.
11477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11478 multiarch copysignf for PPC64.
11480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11481 multiarch implementation.
11482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11490 multiarch llround for PPC64.
11491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11492 multiarch trunc for PPC64.
11493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11494 multiarch truncf for PPC64.
11496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11497 multiarch implementation.
11498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11506 multiarch llround for PPC64.
11507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11508 multiarch round for PPC64.
11509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11510 multiarch roundf for PPC64.
11512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11513 multiarch implementation.
11514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11522 multiarch llround for PPC64.
11523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11524 multiarch floor for PPC64.
11525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11526 multiarch floorf for PPC64.
11528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11529 multiarch implementation.
11530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11538 multiarch llround for PPC64.
11539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11540 multiarch ceil for PPC64.
11541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11542 multiarch ceilf for PPC64.
11544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11545 multiarch implementation.
11546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11553 multiarch llround for PPC64.
11554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11555 multiarch lround for PPC64.
11557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11558 multiarch implementation.
11559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11566 multiarch isnan for PPC64.
11567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11568 multiarch isnanf for PPC64.
11570 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11571 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11572 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11573 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11574 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11577 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11583 multiarch implementations.
11584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11585 (__libc_ifunc_impl_list): Likewise.
11586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11589 multiarch stpcpy for PPC64.
11591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11592 multiarch implementations.
11593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11594 (__libc_ifunc_impl_list): Likewise.
11595 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11596 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11597 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11598 multiarch strcpy for PPC64.
11600 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11601 redefine function name.
11602 (_wordcopy_fwd_dest_aligned): Likewise.
11603 (_wordcopy_bwd_aligned): Likewise.
11604 (_wordcopy_bwd_dest_aligned): Likewise.
11605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11606 multiarch implementations.
11607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11608 (__libc_ifunc_impl_list): Likewise.
11609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11610 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11613 multiarch wcscpy for PPC64.
11615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11616 multiarch implementations.
11617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11618 (__libc_ifunc_impl_list): Likewise.
11619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11621 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11623 multiarch wcscpy for PPC64.
11625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11626 multiarch implementations.
11627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11628 (__libc_ifunc_impl_list): Likewise.
11629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11630 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11631 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11632 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11633 multiarch wcsrchr for PPC64.
11635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11636 multiarch implementations.
11637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11638 (__libc_ifunc_impl_list): Likewise.
11639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11640 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11641 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11642 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11643 multiarch wcschr for PPC64.
11645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11646 multiarch implementations.
11647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11648 (__libc_ifunc_impl_list): Likewise.
11649 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11650 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11651 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11652 multiarch strchrnul for PPC64.
11654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11657 (__libc_ifunc_impl_list): Likewise.
11658 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11659 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11660 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11661 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11667 (__libc_ifunc_impl_list): Likewise.
11668 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11669 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11670 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11671 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11675 multiarch implementations.
11676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11677 (__libc_ifunc_impl_list): Likewise.
11678 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11679 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11680 strncasecmp for PPC64.
11681 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11682 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11683 multiarch strncasecmp_l for PPC64.
11685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11686 multiarch implementations.
11687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11688 (__libc_ifunc_impl_list): Likewise.
11689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11691 multiarch strcasecmp for PPC64.
11692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11695 multiarch strcasecmp_l for PPC64.
11697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11700 (__libc_ifunc_impl_list): Likewise.
11701 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11702 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11703 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11709 (__libc_ifunc_impl_list): Likewise.
11710 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11711 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11712 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11718 (__libc_ifunc_impl_list): Likewise.
11719 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11720 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11721 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11722 rawmemrchr for PPC64.
11724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11727 (__libc_ifunc_impl_list): Likewise.
11728 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11729 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11730 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11736 (__libc_ifunc_impl_list): Likewise.
11737 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11738 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11739 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11745 (__libc_ifunc_impl_list): Likewise.
11746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11751 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11752 avoid cretion of __bzero symbol.
11753 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11755 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11757 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11760 multiarch implementations.
11761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11762 (__libc_ifunc_impl_list): Likewise.
11763 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11764 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11765 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11766 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11768 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11769 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11770 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11771 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11772 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11774 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11776 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11780 (__libc_ifunc_impl_list): Likewise.
11781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11782 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11783 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11784 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11788 multiarch for POWER/PPC64.
11789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11790 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11795 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11797 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11800 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11801 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11802 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11803 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11804 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11805 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11806 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11807 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11808 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11809 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11810 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11811 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11812 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11813 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11814 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11823 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11827 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11829 * benchtests/Makefile (bench): Add exp2 and log2.
11830 (LDLIBS-bench-exp2): Add -lm.
11831 (LDLIBS-bench-log2): Likewise.
11832 * benchtests/exp2-inputs: New inputs file.
11833 * benchtests/log2-inputs: New inputs file.
11834 * benchtests/log-inputs: Add new inputs.
11835 * benchtests/tan-inputs: Likewise.
11837 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11839 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11841 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11842 (csloww2): ... from here.
11844 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11845 instead of structures.
11846 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11847 (POLYNOMIAL): Likewise.
11848 (TAYLOR_SLOW): Likewise.
11854 (sloww1); Likewise.
11855 (sloww2): Likewise.
11856 (bsloww1): Likewise.
11857 (bsloww2): Likewise.
11858 (cslow2): Likewise.
11859 (csloww): Likewise.
11860 (csloww1): Likewise.
11861 (csloww2): Likewise.
11863 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11865 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11866 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11867 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11868 * malloc/hooks.c (realloc_check): Likewise.
11870 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11871 * malloc/arena.c: Remove PER_THREAD conditional.
11872 [!PER_THREAD]: Remove code.
11873 (ptmalloc_unlock_all2): Likewise.
11874 (ptmalloc_init): Likewise.
11875 (_int_new_arena): Likewise.
11876 (arena_get2): Likewise.
11877 * malloc/hooks.c (__malloc_get_state): Likewise.
11878 (__malloc_set_state): Likewise.
11879 * malloc/malloc.c: Likewise.
11880 (struct malloc_state): Likewise.
11881 (struct malloc_par): Likewise.
11882 (__libc_realloc): Likewise.
11883 (__libc_mallopt): Likewise.
11885 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11887 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11889 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11891 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11892 macro to a function. Check for zero perturb_byte.
11893 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11895 * malloc/malloc.c: (force_reg): Remove.
11896 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11897 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11898 force_reg by atomic_forced_read.
11899 * malloc/arena.c (ptmalloc_init): Likewise.
11900 * malloc/hooks.c (top_check): Likewise.
11902 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11906 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11910 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11912 * math/auto-libm-test-in: Add tests of lgamma.
11913 * math/auto-libm-test-out: Regenerated.
11914 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11915 (M_LOG_2_SQRT_PIl): Likewise.
11916 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11917 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11919 (func_calc_desc): Add mpfr_f_f1 union field.
11920 (ARGS1): New macro.
11928 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11929 (test_functions): Add lgamma.
11930 (calc_generic_results): Handle mpfr_f_f1.
11931 * sysdeps/i386/fpu/libm-test-ulps: Update.
11932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11936 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11937 __mpn_add_n for PowerPC64/POWER7.
11938 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11939 __mpn_sub_n for PowerPC64/POWER7.
11941 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11942 __mpn_addmul_1 for PowerPC64.
11943 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11944 __mpn_submul_1 for PowerPC64.
11945 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11947 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11950 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11953 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11959 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11960 add multiarch folders.
11961 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11962 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11963 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11964 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11965 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11966 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11967 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11968 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11969 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11970 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11971 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11980 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11986 multiarch __ieee754_hypot for PowerPC32.
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11992 multiarch __ieee754_hypotf for PowerPC32.
11994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11995 long_double_symbol only if __logbl is defined.
11996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11997 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11999 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12001 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12003 path for implementation.
12004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12007 logb, and logbl multiarch implementations for PowerPC32.
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12013 multiarch logb for PowerPC32.
12014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12019 multiarch logbf for PowerPC32.
12020 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12024 multiarch logbl implementation for PowerPC32.
12026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12027 and modff multiarch implementations.
12028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12033 multiarch modf for PowerPC32.
12034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12039 multiarch modff for PowerPC32.
12041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12042 and lrintf multiarch implementations.
12043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12048 multiarch lrint for PowerPC32.
12049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12050 file: multiarch lrintf for PowerPC32.
12052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12053 and lroundf multiarch implementations.
12054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12061 multiarch lround for PowerPC32.
12062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12063 file: multiarch lroundf for PowerPC32.
12065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12066 copysign and copysignf multiarch implementations.
12067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12072 file: multiarch copysign for PowerPC32.
12073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12074 file: multiarch copysignf for PowerPC32.
12076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12077 and truncf multiarch implementations.
12078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12083 multiarch trunc for PowerPC32.
12084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12089 multiarch truncf for PowerPC32.
12091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12092 and roundf multiarch implementations.
12093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12098 multiarch round for PowerPC32.
12099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12104 multiarch roundf for PowerPC32.
12106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12107 and floorf multiarch implementations.
12108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12113 multiarch floor for PowerPC32.
12114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12119 multiarch floorf for PowerPC32.
12121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12122 and ceilf multiarch implementations.
12123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12128 multiarch ceil for PowerPC32.
12129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12134 multiarch ceilf for PowerPC32.
12136 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12138 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12139 FINITEF is defined.
12140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12141 and finitef multiarch implementations.
12142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12147 multiarch finite for PowerPC32.
12148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12151 file: multiarch finitef for PowerPC32.
12153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12154 and isinff multiarch implementations.
12155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12160 multiarch isinf for PowerPC32.
12161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12164 multiarch isinff for PowerPC32.
12166 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12167 alias when __isnan is defined.
12168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12169 and isnanf multiarch implementations.
12170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12179 multiarch isnan for PowerPC32.
12180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12185 multiarch isnanf for PowerPC32.
12187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12188 and sqrtf multiarch implementations.
12189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12194 multiarch sqrt for PowerPC32.
12195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12200 multiarch sqrtf for PowerPC32.
12202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12203 and llroundf multiarch implementations.
12204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12211 file: multiarch llround for PowerPC32.
12212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12213 file: multiarch llroundf for PowerPC32.
12215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12216 multiarch PowerPC32 fpu implementations.
12217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12222 multiarch llrint for PowerPC32.
12223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12234 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12236 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12238 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12239 multiarch wordcopy for PPC32.
12240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12243 (__libc_ifunc_impl_list): Likewise.
12244 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12245 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12247 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12249 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12251 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12259 multiarch wcscpy for PPC32.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12263 (__libc_ifunc_impl_list): Likewise.
12264 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12265 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12266 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12267 sysdeps/powerpc/power6/wcscpy.c.
12269 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12277 multiarch wcsrchr for PPC32.
12278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12281 (__libc_ifunc_impl_list): Likewise.
12282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12283 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12284 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12285 sysdeps/powerpc/power6/wcsrchr.c.
12287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12293 multiarch wcschr for PPc32.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12297 (__libc_ifunc_impl_list): Likewise.
12298 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12299 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12300 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12301 sysdeps/powerpc/power6/wcschr.c.
12303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12306 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12307 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12308 file: multiarch strchr for PPC32.
12309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12312 (__libc_ifunc_impl_list): Likewise.
12314 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12316 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12320 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12321 multiarch strchrnul for PPC32.
12322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12325 (__libc_ifunc_impl_list): Likewise.
12327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12330 multiarch strncasecmp for PPC32.
12331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12334 multiarch strncasecmp_l for PPC32.
12335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12336 strncasecmp multiarch objects.
12337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12338 (__libc_ifunc_impl_list): Likewise.
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12343 multiarch strncasecmp for PPC32.
12344 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12346 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12347 multiarch strcasecmp_l for PPC32.
12348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12351 (__libc_ifunc_impl_list): Likewise.
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12358 multiarch strncmp for PPC32.
12359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12362 (__libc_ifunc_impl_list): Likewise.
12364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12365 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12367 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12368 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12372 (__libc_ifunc_impl_list): Likewise.
12374 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12376 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12378 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12382 (__libc_ifunc_impl_list): Likewise.
12384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12386 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12388 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12389 multiarch rawmemchr for PPC32.
12390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12393 (__libc_ifunc_impl_list): Likewise.
12395 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12397 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12399 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12400 file: memrchr multiarch for PPC32.
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12404 (__libc_ifunc_impl_list): Likewise.
12406 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12409 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12411 multiarch memchr for PPC32.
12412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12415 (__libc_ifunc_impl_list): Likewise.
12417 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12418 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12420 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12422 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12423 file: multiarch mempcpy for PPC32.
12424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12427 (__libc_ifunc_impl_list): Likewise.
12429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12433 multiarch bzero for PPC32.
12434 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12436 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12439 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12440 file: multiarch memset for PPC32.
12441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12443 memset multiarch objects.
12444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12445 (__libc_ifunc_impl_list): Likewise.
12447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12456 (__libc_ifunc_impl_list): Likewise.
12458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12467 multiarch memcpy for PPC32.
12468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12471 (__libc_ifunc_impl_list): Likewise.
12473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12474 support multiarch for POWER/PPC32.
12475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12477 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12479 Implies file to make multiarch folder appers before the fpu and
12480 default folder for power4 configuration.
12482 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12484 * scripts/bench.pl: Append volatile keyword to type.
12486 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12488 * sysdeps/sh/sotruss-lib.c: New file.
12489 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12491 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12495 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12498 * math/w_tgamma.c: Include <errno.h>.
12499 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12500 * math/w_tgammaf.c: Include <errno.h>.
12501 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12502 * math/w_tgammal.c: Include <errno.h>.
12503 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12504 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12505 underflow. Add more tgamma tests.
12506 * math/auto-libm-test-out: Regenerated.
12507 * sysdeps/i386/fpu/libm-test-ulps: Update.
12508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12510 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12511 sin, sinh, tan, tanh, tgamma, y0 and y1.
12512 * math/auto-libm-test-out: Regenerated.
12513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12514 (TEST_COND_x86): Likewise.
12515 (M_E2l): Remove macro.
12517 (M_2_SQRT_PIl): Likewise.
12518 (M_SQRT_PIl): Likewise.
12519 (M_1_DIV_El): Likewise.
12520 (log_test_data): Use AUTO_TESTS_f_f.
12521 (log10_test_data): Likewise.
12522 (log1p_test_data): Likewise.
12523 (log2_test_data): Likewise.
12524 (sin_test_data): Likewise.
12525 (sin_tonearest_test_data): Likewise.
12526 (sin_towardzero_test_data): Likewise.
12527 (sin_downward_test_data): Likewise.
12528 (sin_upward_test_data): Likewise.
12529 (sinh_test_data): Likewise.
12530 (sinh_tonearest_test_data): Likewise.
12531 (sinh_towardzero_test_data): Likewise.
12532 (sinh_downward_test_data): Likewise.
12533 (sinh_upward_test_data): Likewise.
12534 (tan_test_data): Likewise.
12535 (tan_tonearest_test_data): Likewise.
12536 (tan_towardzero_test_data): Likewise.
12537 (tan_downward_test_data): Likewise.
12538 (tan_upward_test_data): Likewise.
12539 (tanh_test_data): Likewise.
12540 (tgamma_test_data): Likewise.
12541 (y0_test_data): Likewise.
12542 (y1_test_data): Likewise.
12543 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12544 (special_real_inputs): Add pi/4.
12545 * sysdeps/i386/fpu/libm-test-ulps: Update.
12546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12548 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12550 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12551 "longjmp_target" static probes.
12552 (__longjmp): Rename to __longjmp_symbol.
12553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12554 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12555 on which longjmp to generate.
12556 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12560 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12562 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12563 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12564 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12566 __longjmp_symbol based on which __longjmp to generate.
12567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12569 (setjmp): Rename to setjmp_symbol.
12570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12571 (_setjmp): Rename to _setjmp_symbol.
12572 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12573 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12574 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12575 which setjmp to generate.
12576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12577 "longjmp_target" static probes.
12579 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12581 * benchtests/README: Add note about output arguments.
12582 * benchtests/bench-sincos.c: Remove file.
12583 * benchtests/sincos-inputs: New file.
12584 * scripts/bench.pl: Identify output arguments and define
12585 static variables for them.
12587 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12590 * Makefile (INSTALL): Add install-plain.texi as the primary
12592 * manual/install-plain.texi: New file.
12593 * manual/install.texi: Include node directive only for
12594 non-plaintext output.
12596 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12598 * stdlib/longlong.h: Update from GCC.
12602 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12603 * math/w_j0f.c (y0f): Likewise.
12604 * math/w_j0l.c (__y0l): Likewise.
12605 * math/w_j1.c (y1): Likewise.
12606 * math/w_j1f.c (y1f): Likewise.
12607 * math/w_j1l.c (__y1l): Likewise
12608 * math/w_jn.c (yn): Likewise.
12609 * math/w_jnf.c (ynf): Likewise.
12610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12611 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12612 value for Bessel function domain errors outside _SVID_ mode.
12613 Adjust sign of return value for yn (negative integer, 0).
12614 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12615 by zero in return for negative x and set sign appropriately for
12617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12619 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12620 expectations in error cases.
12621 (y1_test_data): Likewise.
12622 (yn_test_data): Likewise.
12623 * sysdeps/i386/fpu/libm-test-ulps: Update.
12624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12626 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12628 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12629 "64" to "64-v1". Add "64-v2".
12630 (abi-64-options): Rename to ...
12631 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12632 (abi-64-condition): Rename to ...
12633 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12634 (abi-64-ld-soname): Rename to ...
12635 (abi-64-v1-ld-soname): ... this.
12636 (abi-64-v2-options): Define.
12637 (abi-64-v2-condition): Likewise.
12638 (abi-64-v2-ld-soname): Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12640 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12645 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12646 Alan Modra <amodra@gmail.com>
12648 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12649 New versions for use with the ELFv2 ABI.
12650 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12651 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12653 (struct La_ppc64v2_retval): Likewise.
12654 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12655 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12656 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12657 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12658 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12660 Do not save or restore CR.
12661 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12662 (_dl_profile_resolve): Do no save or restore CR. Support extended
12663 return values for ELFv2 ABI. Fix location of FPR return registers.
12664 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12665 updated values for _CALL_ELF == 2.
12666 (La_regs, La_retval, int_retval): Likewise.
12668 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12670 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12671 (FRAME_MIN_SIZE_PARM): Likewise.
12672 (FRAME_BACKCHAIN): Likewise.
12673 (FRAME_CR_SAVE): Likewise.
12674 (FRAME_LR_SAVE): Likewise.
12675 (FRAME_TOC_SAVE): Likewise.
12676 (FRAME_PARM_SAVE): Likewise.
12677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12678 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12679 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12680 (call_mcount_parm_offset): New macro.
12681 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12682 (PROF): Use symbolic stack frame offsets.
12683 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12685 Redefine in terms of FRAME_MIN_SIZE.
12686 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12687 (_dl_profile_resolve): Likewise. Update comment.
12688 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12689 symbols stack frame offsets.
12690 (__sigsetjmp): Likewise.
12691 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12692 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12694 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12697 (FRAME_BACKCHAIN): Remove.
12698 (FRAME_CR_SAVE): Likewise.
12699 (FRAME_LR_SAVE): Likewise.
12700 (FRAME_COMPILER_DW): Likewise.
12701 (FRAME_LINKER_DW): Likewise.
12702 (FRAME_TOC_SAVE): Likewise.
12703 (FRAME_PARM_SAVE): Likewise.
12704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12705 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12706 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12708 (CHECK_SP): Use symbolic stack frame offsets.
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12710 zone" instead of caller's parameter save area for temp storage.
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12712 Likewise. Also, use symbolic stack frame offsets.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12714 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12715 our own stack frame instead of the caller's.
12716 (__socket): Use symbolic stack frame offsets.
12718 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12719 Alan Modra <amodra@gmail.com>
12721 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12723 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12724 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12725 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12727 (elf_machine_fixup_plt): Call it.
12728 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12730 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12732 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12733 r2 before calling target.
12735 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12736 Alan Modra <amodra@gmail.com>
12738 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12739 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12740 versions of macros to support ELFv2 ABI.
12741 (LOCALENTRY): New macro.
12742 (ENTRY, EALIGN): Use it.
12743 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12744 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12745 fall through into ENTRY entry point.
12746 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12747 Only define if _CALL_ELF != 2.
12749 (elf_machine_matches_host): Verify ABI version matches.
12750 (RTLD_START): Use LOCALENTRY.
12751 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12752 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12753 (PLT_ENTRY_WORDS): New macro.
12754 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12755 (elf_machine_runtime_setup): Support ELFv2 ABI.
12756 (elf_machine_fixup_plt): Likewise.
12757 (elf_machine_plt_conflict): Likewise.
12758 (resolve_ifunc): Likewise.
12759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12763 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12765 (makecontext): Support ELFv2 ABI.
12766 * elf/elf.h (EF_PPC64_ABI): Define.
12768 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12770 * sysdeps/powerpc/powerpc64/sysdep.h
12771 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12772 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12773 (ENTRY) [ASSEMBLER]: ... but instead here ...
12774 (EALIGN) [ASSEMBLER]: ... and here.
12775 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12776 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12777 (ENTRY_2) [!ASSEMBLER]: Use it.
12778 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12779 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12781 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12784 Use PPC64_LOAD_FUNCPTR.
12786 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12788 2013-12-04 Alan Modra <amodra@gmail.com>
12790 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12791 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12792 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12793 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12796 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12797 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12798 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12799 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12800 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12805 (__makecontext): Fix incorrect CFI when backtracing out of
12806 context created via makecontext.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12808 (__setcontext): Fix incorrect CFI during switch to new context.
12809 (__novec_setcontext): Likewise.
12811 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12814 * time/strptime_l.c (__strptime_internal): Allow modifiers
12816 * time/tst-strptime.c (day_tests): Add testcase.
12818 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12820 * scripts/bench.pl: Skip over blank lines.
12822 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12825 * manual/time.texi (Calendar Time): Clarify what timezone functions
12828 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12832 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12834 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12836 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12837 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12838 * debug/memset_chk.c (__memset_chk): Likewise.
12839 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12840 * debug/strncpy_chk.c: Likewise.
12842 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12846 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12847 (__ieee754_exp): For possibly underflowing results, check size of
12848 result and force underflow exception if required.
12849 * math/auto-libm-test-in: Add more tests of exp.
12850 * math/auto-libm-test-out: Regenerated.
12851 * sysdeps/i386/fpu/libm-test-ulps: Update.
12852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12855 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12856 * math/w_exp2f.c (__exp2f): Likewise.
12857 * math/w_exp2l.c (__exp2l): Likewise.
12858 * math/auto-libm-test-in: Do not allow missing errno on exp2
12860 * math/auto-libm-test-out: Regenerated.
12862 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12865 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12866 handle filename validation.
12867 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12870 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12873 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12874 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12875 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12877 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12879 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12881 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12883 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12884 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12885 Add more erfc tests.
12886 * math/auto-libm-test-out: Regenerated.
12887 * sysdeps/i386/fpu/libm-test-ulps: Update.
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12890 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12891 exp2, expm1, j0 and j1.
12892 * math/auto-libm-test-out: Regenerated.
12893 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12894 (erfc_test_data): Likewise.
12895 (exp_test_data): Likewise.
12896 (exp_tonearest_test_data): Likewise.
12897 (exp_towardzero_test_data): Likewise.
12898 (exp_downward_test_data): Likewise.
12899 (exp_upward_test_data): Likewise.
12900 (exp10_test_data): Likewise.
12901 (exp2_test_data): Likewise.
12902 (expm1_test_data): Likewise.
12903 (j0_test_data): Likewise.
12904 (j1_test_data): Likewise.
12905 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12906 (input_flag_type): Add flag_xfail_rounding.
12907 (input_flags): Add xfail-rounding.
12908 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12909 (output_for_one_input_case): Handle flag_xfail_rounding.
12910 * sysdeps/i386/fpu/libm-test-ulps: Update.
12911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12913 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12916 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12919 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12922 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12923 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12924 (STAP_PROBE0): New macro.
12925 (STAP_PROBE1): Likewise.
12926 (STAP_PROBE2): Likewise.
12927 (STAP_PROBE3): Likewise.
12928 (STAP_PROBE4): Likewise.
12930 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12932 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12934 2013-12-02 Steve Ellcey <sellcey@mips.com>
12936 * benchtests/Makefile (bench): Add sqrt.
12937 (LDLIBS-bench-sqrt): New.
12938 * benchtests/sqrt-input: New.
12940 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12942 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12943 (GAIH_EAI): Likewise.
12944 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12945 (gaih_inet): Likewise.
12946 (getaddrinfo): Don't use GAIH_EAI.
12948 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12949 (struct gaih): Remove definition.
12951 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12953 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12954 Use HERRNOP directly.
12956 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12960 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12962 * math/gen-auto-libm-tests.c (test_functions): Add more
12963 single-argument functions.
12964 (special_fill_pi_2): New function.
12965 (special_fill_minus_pi_2): Likewise.
12966 (special_fill_pi_6): Likewise.
12967 (special_fill_minus_pi_6): Likewise.
12968 (special_fill_pi_3): Likewise.
12969 (special_fill_2pi_3): Likewise.
12970 (special_fill_e): Likewise.
12971 (special_fill_1_e): Likewise.
12972 (special_fill_e_minus_1): Likewise.
12973 (special_real_inputs): Add more special inputs.
12974 (output_for_one_input_case): Do not require ERANGE on underflow to
12975 zero if round-to-nearest result does not underflow to zero, unless
12976 exact results required.
12977 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12978 atan, atanh, cbrt, cos and cosh.
12979 * math/auto-libm-test-out: Regenerated.
12980 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12981 (acos_tonearest_test_data): Likewise.
12982 (acos_towardzero_test_data): Likewise.
12983 (acos_downward_test_data): Likewise.
12984 (acos_upward_test_data): Likewise.
12985 (acosh_test_data): Likewise.
12986 (asin_test_data): Likewise.
12987 (asin_tonearest_test_data): Likewise.
12988 (asin_towardzero_test_data): Likewise.
12989 (asin_upward_test_data): Likewise.
12990 (asinh_test_data): Likewise.
12991 (atan_test_data): Likewise.
12992 (atanh_test_data): Likewise.
12993 (cbrt_test_data): Likewise.
12994 (cos_test_data): Likewise.
12995 (cos_tonearest_test_data): Likewise.
12996 (cos_towardzero_test_data): Likewise.
12997 (cos_downward_test_data): Likewise.
12998 (cos_upward_test_data): Likewise.
12999 (cosh_test_data): Likewise.
13000 (cosh_tonearest_test_data): Likewise.
13001 (cosh_towardzero_test_data): Likewise.
13002 (cosh_downward_test_data): Likewise.
13003 (cosh_upward_test_data): Likewise.
13004 * sysdeps/i386/fpu/libm-test-ulps: Update.
13005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13007 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13010 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13011 * math/w_exp10f.c (__exp10f): Likewise.
13012 * math/w_exp10l.c (__exp10l): Likewise.
13013 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13014 errno settings in existing tests.
13017 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13018 precision control set to double precision.
13019 * sysdeps/i386/fpu/w_sqrt.c: New file.
13020 * math/auto-libm-test-in: Add more tests.
13021 * math/auto-libm-test-out: Update.
13023 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13024 (sqrt_test_tonearest): New function.
13025 (sqrt_towardzero_test_data): New variable.
13026 (sqrt_test_towardzero): New function.
13027 (sqrt_downward_test_data): New variable.
13028 (sqrt_test_downward): New function.
13029 (sqrt_upward_test_data): New variable.
13030 (sqrt_test_upward): New function.
13031 (main): Call the new functions.
13033 * math/gen-auto-libm-tests.c: New file.
13034 * math/auto-libm-test-in: Likewise.
13035 * math/auto-libm-test-out: New generated file.
13036 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13038 (%beautify): Add generated representations of zero.
13039 (top level): Set $auto_input and call parse_auto_input.
13040 (beautify): Remove trailing "f" from hex float constants.
13041 (parse_args): Handle XFAIL_TEST.
13042 (convert_condition): New function.
13043 (or_value): Likewise.
13044 (or_cond_value): Likewise.
13045 (generate_testfile): Handle AUTO_TESTS_* lines.
13046 (parse_auto_input): New function.
13047 * math/libm-test.inc (XFAIL_TEST): New macro.
13048 (ERRNO_UNCHANGED): Update value.
13049 (ERRNO_EDOM): Likewise.
13050 (ERRNO_ERANGE): Likewise.
13051 (IGNORE_RESULT): Likewise.
13052 (TEST_COND_flt_32): New macro.
13053 (TEST_COND_dbl_64): Likewise.
13054 (TEST_COND_ldbl_96_intel): Likewise.
13055 (TEST_COND_ldbl_96_m68k): Likewise.
13056 (TEST_COND_ldbl_128): Likewise.
13057 (TEST_COND_ldbl_128ibm): Likewise.
13058 (TEST_COND_long32): Likewise.
13059 (TEST_COND_long64): Likewise.
13060 (TEST_COND_before_rounding): Likewise.
13061 (TEST_COND_after_rounding): Likewise.
13062 (enable_test): Handle XFAIL_TEST flag.
13063 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13064 with finite results.
13065 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13066 auto-libm-test-out.
13068 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13069 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13072 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13073 __tls_get_addr_internal instead of __tls_get_offset in order to
13074 avoid GOT pointer dependency. Make rtld export
13075 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13076 __tls_get_addr since we are a __tls_get_offset platform.
13077 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13078 GOT pointer being set up before.
13079 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13081 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13083 * manual/math.texi (Errors in Math Functions): Document accuracy
13087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13088 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13104 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13105 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13106 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13107 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13108 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13110 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13112 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13114 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13115 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13116 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13117 atomic-feupdateenv and flt-rounds.
13118 * sysdeps/powerpc/nofpu/Versions (libc): Add
13119 __atomic_feholdexcept, __atomic_feclearexcept,
13120 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13121 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13122 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13123 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13124 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13129 * manual/arith.texi (FP Exceptions): Document that exceptions may
13130 not be raised when matherr is used.
13131 (Math Error Reporting): Document overflow in directed rounding
13132 modes. Document that errno may not be set when finite values are
13133 returned on overflow. Document intent to set errno on underflow
13134 only for underflow to zero.
13137 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13138 round-to-nearest then adjust result for other rounding modes.
13139 * include/fenv.h (fegetround): Use libm_hidden_proto.
13140 * math/fegetround.c (fegetround): Use libm_hidden_def.
13141 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13142 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13143 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13146 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13148 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13149 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13151 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13154 * nss/Versions (libnss_files): Add
13155 _nss_files_gethostbyname3_r.
13156 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13158 (HOST_DB_LOOKUP): Remove macro.
13159 (_nss_files_gethostbyname_r): Implement function without the
13160 HOST_DB_LOOKUP macro.
13161 (_nss_files_gethostbyname2_r): Likewise.
13163 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13165 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13167 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13169 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13170 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13173 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13175 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13176 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13177 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13180 __fe_nomask_env_priv and attribute_hidden.
13181 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13182 (libc_feupdateenv_test_ppc): Likewise.
13183 (libc_feresetround_ppc): Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13185 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13186 compat_symbol macro.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13188 (__fe_nomask_env): Likewise.
13189 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13191 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13193 * string/Makefile: Remove ifunc tests.
13194 * string/test-string.h: Define TEST_IFUNC.
13195 * string/test-bcopy-ifunc.c: Remove.
13196 * string/test-bzero-ifunc.c: Likewise.
13197 * string/test-memccpy-ifunc.c: Likewise.
13198 * string/test-memchr-ifunc.c: Likewise.
13199 * string/test-memcmp-ifunc.c: Likewise.
13200 * string/test-memcpy-ifunc.c: Likewise.
13201 * string/test-memmem-ifunc.c: Likewise.
13202 * string/test-memmove-ifunc.c: Likewise.
13203 * string/test-mempcpy-ifunc.c: Likewise.
13204 * string/test-memrchr-ifunc.c: Likewise.
13205 * string/test-memset-ifunc.c: Likewise.
13206 * string/test-rawmemchr-ifunc.c: Likewise.
13207 * string/test-stpcpy-ifunc.c: Likewise.
13208 * string/test-stpncpy-ifunc.c: Likewise.
13209 * string/test-strcasecmp-ifunc.c: Likewise.
13210 * string/test-strcasestr-ifunc.c: Likewise.
13211 * string/test-strcat-ifunc.c: Likewise.
13212 * string/test-strchr-ifunc.c: Likewise.
13213 * string/test-strchrnul-ifunc.c: Likewise.
13214 * string/test-strcmp-ifunc.c: Likewise.
13215 * string/test-strcpy-ifunc.c: Likewise.
13216 * string/test-strcspn-ifunc.c: Likewise.
13217 * string/test-strlen-ifunc.c: Likewise.
13218 * string/test-strncasecmp-ifunc.c: Likewise.
13219 * string/test-strncat-ifunc.c: Likewise.
13220 * string/test-strncmp-ifunc.c: Likewise.
13221 * string/test-strncpy-ifunc.c: Likewise.
13222 * string/test-strnlen-ifunc.c: Likewise.
13223 * string/test-strpbrk-ifunc.c: Likewise.
13224 * string/test-strrchr-ifunc.c: Likewise.
13225 * string/test-strspn-ifunc.c: Likewise.
13226 * string/test-strstr-ifunc.c: Likewise.
13228 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13230 * benchtests/Makefile: Remove ifunc tests.
13231 * benchtests/bench-string.h: Define TEST_IFUNC.
13232 * benchtests/bench-bcopy-ifunc.c: Remove.
13233 * benchtests/bench-bzero-ifunc.c: Likewise.
13234 * benchtests/bench-memccpy-ifunc.c: Likewise.
13235 * benchtests/bench-memchr-ifunc.c: Likewise.
13236 * benchtests/bench-memcmp-ifunc.c: Likewise.
13237 * benchtests/bench-memcpy-ifunc.c: Likewise.
13238 * benchtests/bench-memmem-ifunc.c: Likewise.
13239 * benchtests/bench-memmove-ifunc.c: Likewise.
13240 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13241 * benchtests/bench-memrchr-ifunc.c: Likewise.
13242 * benchtests/bench-memset-ifunc.c: Likewise.
13243 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13244 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13245 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13246 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13247 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13248 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13249 * benchtests/bench-strcat-ifunc.c: Likewise.
13250 * benchtests/bench-strchr-ifunc.c: Likewise.
13251 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13252 * benchtests/bench-strcmp-ifunc.c: Likewise.
13253 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13254 * benchtests/bench-strcpy-ifunc.c: Likewise.
13255 * benchtests/bench-strcspn-ifunc.c: Likewise.
13256 * benchtests/bench-strlen-ifunc.c: Likewise.
13257 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13258 * benchtests/bench-strncat-ifunc.c: Likewise.
13259 * benchtests/bench-strncmp-ifunc.c: Likewise.
13260 * benchtests/bench-strncpy-ifunc.c: Likewise.
13261 * benchtests/bench-strnlen-ifunc.c: Likewise.
13262 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13263 * benchtests/bench-strrchr-ifunc.c: Likewise.
13264 * benchtests/bench-strsep-ifunc.c: Likewise.
13265 * benchtests/bench-strspn-ifunc.c: Likewise.
13266 * benchtests/bench-strstr-ifunc.c: Likewise.
13268 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13270 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13272 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13274 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13275 * rt/aio.h: Likewise.
13276 * sysdeps/gnu/bits/utmp.h: Likewise.
13277 * sysdeps/gnu/bits/utmpx.h: Likewise.
13278 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13279 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13280 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13281 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13282 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13283 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13284 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13285 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13286 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13288 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13289 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13290 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13292 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13293 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13295 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13297 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13298 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13299 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13300 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13301 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13302 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13305 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13310 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13312 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13313 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13314 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13316 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13317 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13318 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13319 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13321 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13325 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13327 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13329 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13330 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13333 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13336 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13337 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13338 (__fesetround): Remove define.
13339 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13340 rounding and exceptions handling.
13341 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13342 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13343 (__fe_nomask_env): Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13345 __fegetround instead of fegetround.
13346 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13349 2013-11-21 Roland McGrath <roland@hack.frob.com>
13351 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13354 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13356 2013-11-21 Meador Inge <meadori@codesourcery.com>
13359 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13360 (encrypt_r): Likewise.
13361 * malloc/obstack.h (obstack_free): Likewise.
13362 * posix/unistd.h (encrypt): Likewise.
13364 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13366 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13367 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13368 DL_CALL_DT_FINI() that call the functions directly.
13369 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13370 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13371 * elf/dl-fini.c: Likewise.
13373 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13375 * malloc/hooks.c (memalign_check): Add alignment rounding.
13376 * malloc/malloc.c (_mid_memalign): New function.
13377 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13378 Implement by calling _mid_memalign.
13379 * manual/probes.texi (Memory Allocation Probes): Remove
13380 memory_valloc_retry and memory_pvalloc_retry.
13382 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13384 * locale/programs/locarchive.c (open_archive): Add const
13385 qualifier to ARCHIVEFNAME and copy default fname to
13389 * libio/tst-widetext.input: Rename Oriya to Odia.
13390 * locale/iso-639.def: Likewise.
13392 * manual/probes.texi (Mathematical Function Probes): Add
13393 documentation for sin, cos, asin and acos probes.
13394 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13395 (__sin32): Add slowasin probe.
13396 (__cos32): Add slowacos probe.
13397 (__mpsin): Add slowsin probe.
13398 (__mpcos): Add slowcos probe.
13400 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13403 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13404 thread-local __sim_exceptions_thread and global
13405 __sim_exceptions_global.
13406 (__sim_disabled_exceptions): Change to thread-local
13407 __sim_disabled_exceptions_thread and global
13408 __sim_disabled_exceptions_global.
13409 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13410 and global __sim_round_mode_global.
13411 (__simulate_exceptions): Use thread-local floating-point state and
13412 set global state from it as needed.
13413 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13414 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13415 __sim_round_mode_thread.
13416 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13417 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13418 and global __sim_exceptions_global.
13419 (__sim_disabled_exceptions): Change to thread-local
13420 __sim_disabled_exceptions_thread and global
13421 __sim_disabled_exceptions_global.
13422 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13423 and global __sim_round_mode_global.
13424 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13425 (SIM_SET_GLOBAL): Likewise.
13426 * sysdeps/powerpc/soft-fp/sfp-machine.h
13427 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13428 __sim_round_mode_thread.
13429 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13430 __sim_disabled_exceptions_thread.
13431 (__sim_exceptions): Change to __sim_exceptions_thread.
13432 (__sim_disabled_exceptions): Change to
13433 __sim_disabled_exceptions_thread.
13434 (__sim_round_mode): Change to __sim_round_mode_thread.
13435 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13436 thread-local floating-point state and set global state from it as
13438 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13439 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13440 (__sim_disabled_exceptions): Remove extern declaration.
13441 (feenableexcept): Use thread-local floating-point state and set
13442 global state from it as needed.
13443 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13444 extern declaration.
13445 (__sim_disabled_exceptions): Likewise.
13446 (__sim_round_mode): Likewise.
13447 (__fegetenv): Use thread-local floating-point state.
13448 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13449 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13450 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13451 floating-point state and set global state from it as needed.
13452 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13453 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13454 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13456 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13457 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13459 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13460 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13461 Use __sim_round_mode_thread.
13462 * math/test-fenv-tls.c: New file.
13463 * math/Makefile (tests): Add test-fenv-tls.
13464 ($(objpfx)test-fenv-tls): Depend on
13465 $(common-objpfx)nptl/libpthread.so.
13467 2013-11-19 Andreas Schwab <schwab@suse.de>
13469 * locale/programs/locale.c (show_info): Decode wordarray elements.
13470 * locale/categories.def (LC_MONETARY): Add element for
13471 _NL_MONETARY_CRNCYSTR.
13472 * locale/C-monetary.c (conversion_rate): New variable.
13473 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13476 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13478 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13479 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13481 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13483 * elf/Makefile (tst-auxv): New test.
13484 * elf/tst-auxv.c: New
13485 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13487 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13489 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13490 (hidden_proto): Caller changed.
13491 (hidden_tls_proto): New macro.
13492 (libc_hidden_tls_proto): Likewise.
13493 (rtld_hidden_tls_proto): Likewise.
13494 (libm_hidden_tls_proto): Likewise.
13495 (libresolv_hidden_tls_proto): Likewise.
13496 (librt_hidden_tls_proto): Likewise.
13497 (libdl_hidden_tls_proto): Likewise.
13498 (libnss_files_hidden_tls_proto): Likewise.
13499 (libnsl_hidden_tls_proto): Likewise.
13500 (libnss_nisplus_hidden_tls_proto): Likewise.
13501 (libutil_hidden_tls_proto): Likewise.
13503 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13506 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13507 (decompose_rpath): Defer expansion to fillin_rpath.
13508 (_dl_init_paths): Pass linkmap to fillin_rpath.
13510 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13512 * benchtests/Makefile: Add strsep.
13513 * benchtests/bench-strsep.c: New file: strsep benchtest.
13514 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13516 2013-11-18 Andreas Schwab <schwab@suse.de>
13518 * locale/programs/locale.c (show_info) [case byte]: Check for
13519 '\377' instead of '\177'.
13520 * locale/C-monetary.c (not_available): Always use "\377".
13521 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13522 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13523 detect unavailable sign_posn locale elements.
13524 * locale/localeconv.c (__localeconv): For grouping and
13525 mon_grouping handle "\177" and "\377" like no grouping.
13526 (INT_ELEM): New macro. Use it to set all numeric members.
13527 * locale/programs/ld-monetary.c (monetary_read)
13528 <tok_mon_grouping>: Normalize single -1 to the empty string.
13529 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13532 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13536 when we match (nil).
13537 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13539 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13541 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13542 (NO_TEST_INLINE): Update value.
13543 (ERRNO_UNCHANGED): Likewise.
13544 (ERRNO_EDOM): Likewise.
13545 (ERRNO_ERANGE): Likewise.
13546 (IGNORE_RESULT): Likewise.
13547 (check_float_internal): Check signs of NaN results if
13548 TEST_NAN_SIGN used.
13549 (check_complex): Pass TEST_NAN_SIGN flag through to second
13550 check_float_internal call.
13551 (copysign_test_data): Add tests with quiet NaNs as second
13552 argument. Use TEST_NAN_SIGN.
13553 (fabs_test_data): Add test of negative quiet NaN argument. Use
13555 (signbit_test_data): Add tests of quiet NaN argument.
13556 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13558 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13560 (parse_args): Handle function results specified as IGNORE.
13561 * math/libm-test.inc (IGNORE_RESULT): New macro.
13562 (check_float_internal): Do not check numerical result if flag
13564 (check_complex): Pass through IGNORE_RESULT to second
13565 check_float_internal call.
13566 (check_int): Do not check numerical result if flag IGNORE_RESULT
13568 (check_long): Likewise.
13569 (check_bool): Likewise.
13570 (check_longlong): Likewise.
13571 (lrint_test_data): Add tests of infinite and NaN arguments.
13572 (lrint_tonearest_test_data): Likewise.
13573 (lrint_towardzero_test_data): Likewise.
13574 (lrint_downward_test_data): Likewise.
13575 (lrint_upward_test_data): Likewise.
13576 (llrint_test_data): Likewise.
13577 (llrint_tonearest_test_data): Likewise.
13578 (llrint_towardzero_test_data): Likewise.
13579 (llrint_downward_test_data): Likewise.
13580 (llrint_upward_test_data): Likewise.
13581 (lround_test_data): Likewise.
13582 (llround_test_data): Likewise.
13584 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13585 (ERRNO_UNCHANGED): Update value.
13586 (ERRNO_EDOM): Likewise.
13587 (ERRNO_ERANGE): Likewise.
13588 (NO_TEST_INLINE_FLOAT): New macro.
13589 (NO_TEST_INLINE_DOUBLE): Likewise.
13590 (enable_test): New function.
13591 (RUN_TEST_f_f): Check enable_test before running test.
13592 (RUN_TEST_2_f): Likewise.
13593 (RUN_TEST_fff_f): Likewise.
13594 (RUN_TEST_c_f): Likewise.
13595 (RUN_TEST_f_f1): Likewise.
13596 (RUN_TEST_fF_f1): Likewise.
13597 (RUN_TEST_fI_f1): Likewise.
13598 (RUN_TEST_ffI_f1): Likewise.
13599 (RUN_TEST_c_c): Likewise.
13600 (RUN_TEST_cc_c): Likewise.
13601 (RUN_TEST_f_i): Likewise.
13602 (RUN_TEST_f_i_tg): Likewise.
13603 (RUN_TEST_ff_i_tg): Likewise.
13604 (RUN_TEST_f_b): Likewise.
13605 (RUN_TEST_f_b_tg): Likewise.
13606 (RUN_TEST_f_l): Likewise.
13607 (RUN_TEST_f_L): Likewise.
13608 (RUN_TEST_fFF_11): Likewise.
13609 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13611 (cosh_test_data): Likewise.
13612 (exp_test_data): Likewise.
13613 (expm1_test_data): Likewise.
13614 (hypot_test_data): Likewise.
13615 (pow_test_data): Likewise.
13616 (sinh_test_data): Likewise.
13617 (tanh_test_data): Likewise.
13618 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13621 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13622 tests with quiet NaN input and output.
13623 (acosh_test_data): Likewise.
13624 (asin_test_data): Likewise.
13625 (asinh_test_data): Likewise.
13626 (atan_test_data): Likewise.
13627 (atanh_test_data): Likewise.
13628 (atan2_test_data): Likewise.
13629 (cbrt_test_data): Likewise.
13630 (cos_test_data): Likewise.
13631 (cosh_test_data): Likewise.
13632 (erf_test_data): Likewise.
13633 (erfc_test_data): Likewise.
13634 (exp_test_data): Likewise.
13635 (exp10_test_data): Likewise.
13636 (exp2_test_data): Likewise.
13637 (expm1_test_data): Likewise.
13638 (hypot_test_data): Likewise.
13639 (j0_test_data): Likewise.
13640 (j1_test_data): Likewise.
13641 (jn_test_data): Likewise.
13642 (lgamma_test_data): Likewise.
13643 (log_test_data): Likewise.
13644 (log10_test_data): Likewise.
13645 (log1p_test_data): Likewise.
13646 (log2_test_data): Likewise.
13647 (pow_test_data): Likewise.
13648 (scalb_test_data): Likewise.
13649 (sin_test_data): Likewise.
13650 (sincos_test_data): Likewise.
13651 (sinh_test_data): Likewise.
13652 (tan_test_data): Likewise.
13653 (tanh_test_data): Likewise.
13654 (tgamma_test_data): Likewise.
13655 (y0_test_data): Likewise.
13656 (y1_test_data): Likewise.
13657 (yn_test_data): Likewise.
13660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13661 argument being NaN and avoid computations with second argument in
13663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13665 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13667 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13669 * locale/iso-639.def: Add Chitwani Tharu (the).
13671 2013-11-14 Andreas Schwab <schwab@suse.de>
13673 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13674 word instead of empty string.
13676 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13679 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13681 (__fe_nomask_env): Likewise.
13683 2013-11-13 Steve Ellcey <sellcey@mips.com>
13685 * benchtests/bench-timing.h: Include time.h.
13687 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13690 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13692 * sysdeps/unix/sysv/linux/configure: Regenerated.
13694 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13697 * stdlib/strtod_l.c (round_and_return): Do not consider
13698 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13699 exponent one less than half the least subnormal exponent.
13700 * stdlib/test-strtod-round-data: Add more tests.
13701 * stdlib/tst-strtod-round.c (tests): Regenerated.
13703 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13706 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13707 (__fe_mask_env): Likewise.
13708 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13709 libm_hidden_proto and add function prototype.
13710 (__fe_mask_env): Add function prototype.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13712 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13714 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13716 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13718 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13720 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13721 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13723 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13725 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13726 of htab_find_slot().
13728 2013-11-11 David S. Miller <davem@davemloft.net>
13731 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13732 symbol in the non-vis3 case in static builds.
13733 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13734 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13735 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13736 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13738 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13741 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13744 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13746 * benchtests/Makefile: Add bench-strtod.
13747 * benchtests/bench-strtod.c: New file: strtod benchtest
13749 2013-11-11 Andreas Schwab <schwab@suse.de>
13752 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13753 terminating NUL in key length.
13755 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13757 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13758 Add artificial ODP entry for vDSO symbol for PPC64.
13759 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13760 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13762 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13765 * nss/getent.c (services_keys): Recognize services starting with digit.
13767 2013-11-06 David S. Miller <davem@davemloft.net>
13770 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13771 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13773 2013-11-06 Will Newton <will.newton@linaro.org>
13775 * manual/memory.texi (Malloc Examples): Remove register
13776 keyword from examples.
13778 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13780 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13782 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13785 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13786 depending on [__GCC_IEC_559 > 0].
13787 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13788 depending on [__GCC_IEC_559_COMPLEX > 0].
13790 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13792 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13795 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13797 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13799 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13802 * malloc/malloc (malloc_info): Do not handle first bin as
13805 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13807 * locale/iso-639.def: Add Central Nahuatl (nhn).
13809 2013-11-01 Bruno Haible <bruno@clisp.org>
13812 * manual/math.texi (BSD Random): Specify range upper bound as
13815 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13817 * locale/iso-639.def: Add Meadow Mari (mhr).
13819 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13821 [BZ #14752], [BZ #15763]
13822 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13824 * rt/tst_shm.c: Add test for escaping directory.
13826 2013-10-31 Andreas Schwab <schwab@suse.de>
13829 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13830 followed by 'x' as part of digit sequence.
13831 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13833 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13836 * configure.ac: allow GNU Make 4.0 and greater.
13837 * configure: Regenerated.
13839 2013-10-30 Will Newton <will.newton@linaro.org>
13842 * malloc/hooks.c (memalign_check): Limit alignment to the
13843 maximum representable power of two.
13844 * malloc/malloc.c (__libc_memalign): Likewise.
13845 * malloc/tst-memalign.c (do_test): Add test for very
13846 large alignment values.
13847 * malloc/tst-posix_memalign.c (do_test): Likewise.
13849 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13852 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13853 (munmap_chunk): Likewise.
13854 (mremap_chunk): Likewise.
13856 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13859 * stdlib/div.c (div): Remove obsolete code.
13860 * stdlib/ldiv.c (ldiv): Likewise.
13861 * stdlib/lldiv.c (lldiv): Likewise.
13863 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13866 * nss/nss_files/files-XXX.c (get_contents_ret): New
13868 (get_contents): New function.
13869 (internal_getent): Use it. Expand size of LINEBUFLEN.
13871 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13873 * configure.in: Moved to ...
13874 * configure.ac: ... here. Change reference to configure.in
13876 * sysdeps/arm/preconfigure.ac: ... here.
13877 configure.in to configure.ac.
13878 * sysdeps/gnu/configure.in: Moved to ...
13879 * sysdeps/gnu/configure.ac: ... here.
13880 * sysdeps/i386/configure.in: Moved to ...
13881 * sysdeps/i386/configure.ac: ... here.
13882 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13883 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13884 * sysdeps/mach/configure.in: Moved to ...
13885 * sysdeps/mach/configure.ac: ... here.
13886 * sysdeps/mach/hurd/configure.in: Moved to ...
13887 * sysdeps/mach/hurd/configure.ac: ... here.
13888 * sysdeps/powerpc/configure.in: Moved to ...
13889 * sysdeps/powerpc/configure.ac: ... here.
13890 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13891 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13892 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13893 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13894 * sysdeps/s390/s390-32/configure.in: Moved to ...
13895 * sysdeps/s390/s390-32/configure.ac: ... here.
13896 * sysdeps/s390/s390-64/configure.in: Moved to ...
13897 * sysdeps/s390/s390-64/configure.ac: ... here.
13898 * sysdeps/sh/configure.in: Moved to ...
13899 * sysdeps/sh/configure.ac: ... here.
13900 * sysdeps/sparc/configure.in: Moved to ...
13901 * sysdeps/sparc/configure.ac: ... here.
13902 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13903 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13904 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13905 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13906 * sysdeps/x86_64/configure.in: Moved to ...
13907 * sysdeps/x86_64/configure.ac: ... here.
13908 * sysdeps/x86_64/preconfigure.in: Moved to ...
13909 * sysdeps/x86_64/preconfigure.ac: ... here.
13910 * aclocal.m4: Change reference to configure.in to configure.ac.
13911 * config.h.in: Likewise.
13912 * manual/install.texi: Likewise.
13913 * manual/maint.texi: Likewise.
13914 * Makefile: Likewise.
13915 * malloc/Makefile: Likewise.
13916 * nscd/Makefile: Likewise.
13917 * Makeconfig: Change reference to configure.in and
13918 preconfigure.in to configure.ac and preconfigure.ac
13920 * INSTALL: Regenerated.
13921 * configure: Likewise.
13922 * sysdeps/gnu/configure: Likewise.
13923 * sysdeps/i386/configure: Likewise.
13924 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13925 * sysdeps/mach/configure: Likewise.
13926 * sysdeps/mach/hurd/configure: Likewise.
13927 * sysdeps/powerpc/configure: Likewise.
13928 * sysdeps/powerpc/powerpc32/configure: Likewise.
13929 * sysdeps/powerpc/powerpc64/configure: Likewise.
13930 * sysdeps/s390/s390-32/configure: Likewise.
13931 * sysdeps/s390/s390-64/configure: Likewise.
13932 * sysdeps/sh/configure: Likewise.
13933 * sysdeps/sparc/configure: Likewise.
13934 * sysdeps/unix/sysv/linux/configure: Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13936 * sysdeps/x86_64/configure: Likewise.
13937 * sysdeps/x86_64/preconfigure: Likewise.
13939 2013-10-29 Andreas Schwab <schwab@suse.de>
13941 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13943 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13945 * benchtests/pow-inputs: Add new inputs.
13947 * benchtests/exp-inputs: Add new inputs.
13949 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13950 conditional check for return value.
13951 (__cos32): Likewise.
13953 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13955 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13956 to provide a boost for large inputs with word alignment.
13957 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13958 implementation based on optimized PPC64 strcpy.
13959 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13960 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13961 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13962 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13964 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13967 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13969 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13972 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13973 * time/tst-strptime.c (day_tests): Add testcase.
13975 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13978 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13980 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13983 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13984 MAP_FAILED on error.
13986 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13990 heap for large requests.
13992 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13995 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13996 result if the result has no associated interface.
13997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13998 interface for all 127.X.Y.Z addresses.
14000 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14002 * locale/iso-639.def: Add Ligurian (lij)
14004 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14007 * sunrpc/rpc_main.c: Document rpcgen -5.
14009 2013-10-19 Michael Stahl <mstahl@redhat.com>
14011 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14013 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14016 * posix/glob.c: Match only directories when trailing slash is present.
14017 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14018 (main): Add testcase.
14020 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14023 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14025 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14027 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14028 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14029 AUTH_DES and cindex for FIPS 140-2.
14030 (DES Encryption): Add cindex FIPS 46-3.
14032 * locale/locarchive.h (struct locarhandle): Add fname.
14033 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14034 if an optional argument was specified to --list-archive,
14036 * locale/programs/locarchive.c (show_archive_content): Take new
14037 argument fname and pass it via ah.fname to open_archive.
14038 * locale/programs/localedef.h: Update decl.
14039 (open_archive): If AH->fname is non-null, open that file
14040 rather than the default file name, and don't ignore ENOENT.
14041 (create_archive): Set AH.fname to NULL.
14042 (delete_locales_from_archive): Likewise.
14043 (add_locales_to_archive): Likewise.
14044 * locale/programs/locfile.c (write_all_categories): Likewise.
14046 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14047 Aldy Hernandez <aldyh@redhat.com>
14049 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14050 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14051 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14052 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14053 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14057 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14059 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14060 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14061 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14062 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14071 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14075 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14076 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14077 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14079 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14080 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14081 * sysdeps/powerpc/preconfigure: Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14084 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14085 Replace contents of file by #include of <fenv_libc.h>.
14086 * sysdeps/powerpc/soft-fp/sfp-machine.h
14087 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14089 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14102 Allow copysignl PLT reference to be missing.
14104 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14105 Joseph Myers <joseph@codesourcery.com
14108 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14110 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14112 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14114 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14115 * elf/tst-tls1.c: Likewise.
14116 * elf/tst-tls10.h: Likewise.
14117 * elf/tst-tls14.c: Likewise.
14118 * elf/tst-tls2.c: Likewise.
14119 * elf/tst-tls3.c: Likewise.
14120 * elf/tst-tls4.c: Likewise.
14121 * elf/tst-tls5.c: Likewise.
14122 * elf/tst-tls6.c: Likewise.
14123 * elf/tst-tls7.c: Likewise.
14124 * elf/tst-tls8.c: Likewise.
14125 * elf/tst-tls9.c: Likewise.
14126 * elf/tst-tlsmod1.c: Likewise.
14127 * elf/tst-tlsmod13.c: Likewise.
14128 * elf/tst-tlsmod13a.c: Likewise.
14129 * elf/tst-tlsmod14a.c: Likewise.
14130 * elf/tst-tlsmod16a.c: Likewise.
14131 * elf/tst-tlsmod16b.c: Likewise.
14132 * elf/tst-tlsmod2.c: Likewise.
14133 * elf/tst-tlsmod3.c: Likewise.
14134 * elf/tst-tlsmod4.c: Likewise.
14135 * elf/tst-tlsmod5.c: Likewise.
14136 * elf/tst-tlsmod6.c: Likewise.
14138 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14141 * malloc/malloc.c: remove checks for statistics.
14143 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14146 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14147 * inet/tst-network.c: Add testcase.
14149 2013-10-17 Andreas Schwab <schwab@suse.de>
14152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14153 to determine canonical name.
14155 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14157 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14158 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14182 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14216 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14219 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14220 make result into a quiet NaN.
14222 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14224 * soft-fp/adddf3.c: Fix horizontal whitespace.
14225 * soft-fp/addsf3.c: Likewise.
14226 * soft-fp/addtf3.c: Likewise.
14227 * soft-fp/divdf3.c: Likewise.
14228 * soft-fp/divsf3.c: Likewise.
14229 * soft-fp/divtf3.c: Likewise.
14230 * soft-fp/double.h: Likewise.
14231 * soft-fp/eqdf2.c: Likewise.
14232 * soft-fp/eqsf2.c: Likewise.
14233 * soft-fp/eqtf2.c: Likewise.
14234 * soft-fp/extenddftf2.c: Likewise.
14235 * soft-fp/extended.h: Likewise.
14236 * soft-fp/extendsfdf2.c: Likewise.
14237 * soft-fp/extendsftf2.c: Likewise.
14238 * soft-fp/extendxftf2.c: Likewise.
14239 * soft-fp/fixdfdi.c: Likewise.
14240 * soft-fp/fixdfsi.c: Likewise.
14241 * soft-fp/fixdfti.c: Likewise.
14242 * soft-fp/fixsfdi.c: Likewise.
14243 * soft-fp/fixsfsi.c: Likewise.
14244 * soft-fp/fixsfti.c: Likewise.
14245 * soft-fp/fixtfdi.c: Likewise.
14246 * soft-fp/fixtfsi.c: Likewise.
14247 * soft-fp/fixtfti.c: Likewise.
14248 * soft-fp/fixunsdfdi.c: Likewise.
14249 * soft-fp/fixunsdfsi.c: Likewise.
14250 * soft-fp/fixunsdfti.c: Likewise.
14251 * soft-fp/fixunssfdi.c: Likewise.
14252 * soft-fp/fixunssfsi.c: Likewise.
14253 * soft-fp/fixunssfti.c: Likewise.
14254 * soft-fp/fixunstfdi.c: Likewise.
14255 * soft-fp/fixunstfsi.c: Likewise.
14256 * soft-fp/fixunstfti.c: Likewise.
14257 * soft-fp/floatdidf.c: Likewise.
14258 * soft-fp/floatdisf.c: Likewise.
14259 * soft-fp/floatditf.c: Likewise.
14260 * soft-fp/floatsidf.c: Likewise.
14261 * soft-fp/floatsisf.c: Likewise.
14262 * soft-fp/floatsitf.c: Likewise.
14263 * soft-fp/floattidf.c: Likewise.
14264 * soft-fp/floattisf.c: Likewise.
14265 * soft-fp/floattitf.c: Likewise.
14266 * soft-fp/floatundidf.c: Likewise.
14267 * soft-fp/floatundisf.c: Likewise.
14268 * soft-fp/floatunditf.c: Likewise.
14269 * soft-fp/floatunsidf.c: Likewise.
14270 * soft-fp/floatunsisf.c: Likewise.
14271 * soft-fp/floatunsitf.c: Likewise.
14272 * soft-fp/floatuntidf.c: Likewise.
14273 * soft-fp/floatuntisf.c: Likewise.
14274 * soft-fp/floatuntitf.c: Likewise.
14275 * soft-fp/fmadf4.c: Likewise.
14276 * soft-fp/fmasf4.c: Likewise.
14277 * soft-fp/fmatf4.c: Likewise.
14278 * soft-fp/gedf2.c: Likewise.
14279 * soft-fp/gesf2.c: Likewise.
14280 * soft-fp/getf2.c: Likewise.
14281 * soft-fp/ledf2.c: Likewise.
14282 * soft-fp/lesf2.c: Likewise.
14283 * soft-fp/letf2.c: Likewise.
14284 * soft-fp/muldf3.c: Likewise.
14285 * soft-fp/mulsf3.c: Likewise.
14286 * soft-fp/multf3.c: Likewise.
14287 * soft-fp/negdf2.c: Likewise.
14288 * soft-fp/negsf2.c: Likewise.
14289 * soft-fp/negtf2.c: Likewise.
14290 * soft-fp/op-1.h: Likewise.
14291 * soft-fp/op-2.h: Likewise.
14292 * soft-fp/op-4.h: Likewise.
14293 * soft-fp/op-8.h: Likewise.
14294 * soft-fp/op-common.h: Likewise.
14295 * soft-fp/quad.h: Likewise.
14296 * soft-fp/single.h: Likewise.
14297 * soft-fp/soft-fp.h: Likewise.
14298 * soft-fp/sqrtdf2.c: Likewise.
14299 * soft-fp/sqrtsf2.c: Likewise.
14300 * soft-fp/sqrttf2.c: Likewise.
14301 * soft-fp/subdf3.c: Likewise.
14302 * soft-fp/subsf3.c: Likewise.
14303 * soft-fp/subtf3.c: Likewise.
14304 * soft-fp/truncdfsf2.c: Likewise.
14305 * soft-fp/trunctfdf2.c: Likewise.
14306 * soft-fp/trunctfsf2.c: Likewise.
14307 * soft-fp/trunctfxf2.c: Likewise.
14308 * soft-fp/unorddf2.c: Likewise.
14309 * soft-fp/unordsf2.c: Likewise.
14310 * soft-fp/unordtf2.c: Likewise.
14312 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14314 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14315 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14317 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14319 * elf/dl-libc.c: Clear initfini list after freeing.
14321 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14323 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14324 * soft-fp/addsf3.c: Likewise.
14325 * soft-fp/addtf3.c: Likewise.
14326 * soft-fp/divdf3.c: Likewise.
14327 * soft-fp/divsf3.c: Likewise.
14328 * soft-fp/divtf3.c: Likewise.
14329 * soft-fp/double.h: Likewise.
14330 * soft-fp/eqdf2.c: Likewise.
14331 * soft-fp/eqsf2.c: Likewise.
14332 * soft-fp/eqtf2.c: Likewise.
14333 * soft-fp/extenddftf2.c: Likewise.
14334 * soft-fp/extended.h: Likewise.
14335 * soft-fp/extendsfdf2.c: Likewise.
14336 * soft-fp/extendsftf2.c: Likewise.
14337 * soft-fp/extendxftf2.c: Likewise.
14338 * soft-fp/fixdfdi.c: Likewise.
14339 * soft-fp/fixdfsi.c: Likewise.
14340 * soft-fp/fixdfti.c: Likewise.
14341 * soft-fp/fixsfdi.c: Likewise.
14342 * soft-fp/fixsfsi.c: Likewise.
14343 * soft-fp/fixsfti.c: Likewise.
14344 * soft-fp/fixtfdi.c: Likewise.
14345 * soft-fp/fixtfsi.c: Likewise.
14346 * soft-fp/fixtfti.c: Likewise.
14347 * soft-fp/fixunsdfdi.c: Likewise.
14348 * soft-fp/fixunsdfsi.c: Likewise.
14349 * soft-fp/fixunsdfti.c: Likewise.
14350 * soft-fp/fixunssfdi.c: Likewise.
14351 * soft-fp/fixunssfsi.c: Likewise.
14352 * soft-fp/fixunssfti.c: Likewise.
14353 * soft-fp/fixunstfdi.c: Likewise.
14354 * soft-fp/fixunstfsi.c: Likewise.
14355 * soft-fp/fixunstfti.c: Likewise.
14356 * soft-fp/floatdidf.c: Likewise.
14357 * soft-fp/floatdisf.c: Likewise.
14358 * soft-fp/floatditf.c: Likewise.
14359 * soft-fp/floatsidf.c: Likewise.
14360 * soft-fp/floatsisf.c: Likewise.
14361 * soft-fp/floatsitf.c: Likewise.
14362 * soft-fp/floattidf.c: Likewise.
14363 * soft-fp/floattisf.c: Likewise.
14364 * soft-fp/floattitf.c: Likewise.
14365 * soft-fp/floatundidf.c: Likewise.
14366 * soft-fp/floatundisf.c: Likewise.
14367 * soft-fp/floatunsidf.c: Likewise.
14368 * soft-fp/floatunsisf.c: Likewise.
14369 * soft-fp/floatuntidf.c: Likewise.
14370 * soft-fp/floatuntisf.c: Likewise.
14371 * soft-fp/floatuntitf.c: Likewise.
14372 * soft-fp/fmadf4.c: Likewise.
14373 * soft-fp/fmasf4.c: Likewise.
14374 * soft-fp/fmatf4.c: Likewise.
14375 * soft-fp/gedf2.c: Likewise.
14376 * soft-fp/gesf2.c: Likewise.
14377 * soft-fp/getf2.c: Likewise.
14378 * soft-fp/ledf2.c: Likewise.
14379 * soft-fp/lesf2.c: Likewise.
14380 * soft-fp/letf2.c: Likewise.
14381 * soft-fp/muldf3.c: Likewise.
14382 * soft-fp/mulsf3.c: Likewise.
14383 * soft-fp/multf3.c: Likewise.
14384 * soft-fp/negdf2.c: Likewise.
14385 * soft-fp/negsf2.c: Likewise.
14386 * soft-fp/negtf2.c: Likewise.
14387 * soft-fp/op-1.h: Likewise.
14388 * soft-fp/op-2.h: Likewise.
14389 * soft-fp/op-4.h: Likewise.
14390 * soft-fp/op-8.h: Likewise.
14391 * soft-fp/op-common.h: Likewise.
14392 * soft-fp/quad.h: Likewise.
14393 * soft-fp/single.h: Likewise.
14394 * soft-fp/soft-fp.h: Likewise.
14395 * soft-fp/sqrtdf2.c: Likewise.
14396 * soft-fp/sqrtsf2.c: Likewise.
14397 * soft-fp/sqrttf2.c: Likewise.
14398 * soft-fp/subdf3.c: Likewise.
14399 * soft-fp/subsf3.c: Likewise.
14400 * soft-fp/subtf3.c: Likewise.
14401 * soft-fp/truncdfsf2.c: Likewise.
14402 * soft-fp/trunctfdf2.c: Likewise.
14403 * soft-fp/trunctfsf2.c: Likewise.
14404 * soft-fp/trunctfxf2.c: Likewise.
14405 * soft-fp/unorddf2.c: Likewise.
14406 * soft-fp/unordsf2.c: Likewise.
14407 * soft-fp/unordtf2.c: Likewise.
14409 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14412 * misc/error.c (error_tail): Fix possible buffer overflow.
14414 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14417 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14420 2013-10-14 P. J. McDermott <pj@pehjota.net>
14423 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14424 testing pipefail option.
14426 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14428 * soft-fp/double.h: Indent preprocessor directives inside #if.
14429 * soft-fp/extended.h: Likewise.
14430 * soft-fp/op-2.h: Likewise.
14431 * soft-fp/op-4.h: Likewise.
14432 * soft-fp/op-common.h: Likewise.
14433 * soft-fp/quad.h: Likewise.
14434 * soft-fp/single.h: Likewise.
14435 * soft-fp/soft-fp.h: Likewise.
14437 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14439 * iconv/iconv_prog.c: Fix typos.
14440 * stdio-common/psiginfo-data.h: Likewise.
14442 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14445 * locale/setlocale.c: Fix typo.
14447 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14450 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14451 signaling NaN arguments.
14452 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14453 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14456 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14457 unordered operands.
14458 * soft-fp/gesf2.c (__gesf2): Likewise.
14459 * soft-fp/getf2.c (__getf2): Likewise.
14460 * soft-fp/ledf2.c (__ledf2): Likewise.
14461 * soft-fp/lesf2.c (__lesf2): Likewise.
14462 * soft-fp/letf2.c (__letf2): Likewise.
14464 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14465 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14466 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14467 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14468 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14469 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14470 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14471 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14472 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14473 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14474 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14475 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14476 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14477 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14478 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14479 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14480 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14481 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14482 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14483 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14484 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14485 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14486 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14487 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14488 * soft-fp/floattidf.c (__floattidf): Likewise.
14489 * soft-fp/floattisf.c (__floattisf): Likewise.
14490 * soft-fp/floattitf.c (__floattitf): Likewise.
14491 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14492 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14493 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14494 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14495 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14496 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14497 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14498 * soft-fp/gesf2.c (__gesf2): Likewise.
14499 * soft-fp/getf2.c (__getf2): Likewise.
14500 * soft-fp/ledf2.c (__ledf2): Likewise.
14501 * soft-fp/lesf2.c (__lesf2): Likewise.
14502 * soft-fp/letf2.c (__letf2): Likewise.
14504 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14505 Undefine and redefine.
14506 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14507 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14508 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14509 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14510 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14511 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14512 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14513 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14514 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14515 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14516 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14517 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14518 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14519 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14520 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14523 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14524 without decrementing exponent if mantissa >= that for the
14525 denominator, not >.
14526 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14527 denominator, not >. Decrement exponent in < case instead of
14528 incrementing in >= case.
14529 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14530 without decrementing exponent if mantissa >= that for the
14531 denominator, not >.
14533 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14534 computing saturated result for unsigned overflow.
14536 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14537 Jeff Law <law@redhat.com>
14539 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14540 (atan2Mp): Add systemtap probe marker.
14541 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14542 (__ieee754_log): Add systemtap probe marker.
14543 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14544 (atanMp): Add systemtap probe marker.
14545 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14546 (tanMp): Add systemtap probe marker.
14547 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14548 (__slowexp): Add systemtap probe marker.
14549 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14550 (__slowpow): Add systemtap probe marker.
14551 * manual/probes.texi: Document probes.
14553 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14556 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14558 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14560 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14561 written to buffer but not flushed.
14562 * libio/iofwrite_u.c: Likewise.
14563 * libio/iopadn.c: Return bytes returned even if EOF was
14565 * libio/iowpadn.c: Likewise.
14566 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14567 if _IO_padn does not write the whole buffer.
14568 [!COMPILE_WPRINTF] (PAD): Likewise.
14570 2013-10-10 David S. Miller <davem@davemloft.net>
14572 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14575 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14577 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14578 instead of FSF address.
14579 * soft-fp/fixdfti.c: Likewise.
14580 * soft-fp/fixsfti.c: Likewise.
14581 * soft-fp/fixtfti.c: Likewise.
14582 * soft-fp/fixunsdfti.c: Likewise.
14583 * soft-fp/fixunssfti.c: Likewise.
14584 * soft-fp/fixunstfti.c: Likewise.
14585 * soft-fp/floattidf.c: Likewise.
14586 * soft-fp/floattisf.c: Likewise.
14587 * soft-fp/floattitf.c: Likewise.
14588 * soft-fp/floatuntidf.c: Likewise.
14589 * soft-fp/floatuntisf.c: Likewise.
14590 * soft-fp/floatuntitf.c: Likewise.
14591 * soft-fp/trunctfxf2.c: Likewise.
14593 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14594 * soft-fp/fixdfti.c: Likewise.
14595 * soft-fp/fixsfti.c: Likewise.
14596 * soft-fp/fixtfti.c: Likewise.
14597 * soft-fp/fixunsdfti.c: Likewise.
14598 * soft-fp/fixunssfti.c: Likewise.
14599 * soft-fp/fixunstfti.c: Likewise.
14600 * soft-fp/floattidf.c: Likewise.
14601 * soft-fp/floattisf.c: Likewise.
14602 * soft-fp/floattitf.c: Likewise.
14603 * soft-fp/floatuntidf.c: Likewise.
14604 * soft-fp/floatuntisf.c: Likewise.
14605 * soft-fp/floatuntitf.c: Likewise.
14606 * soft-fp/trunctfxf2.c: Likewise.
14608 2013-10-10 David S. Miller <davem@davemloft.net>
14610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14612 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14614 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14615 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14616 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14617 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14618 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14619 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14620 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14623 for NaNs before doing comparisons on argument.
14624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14627 2013-10-10 Will Newton <will.newton@linaro.org>
14629 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14630 passed to _int_memalign does not overflow.
14632 2013-10-10 Torvald Riegel <triegel@redhat.com>
14634 * scripts/bench.pl: Add include-sources directive.
14635 * benchtests/README: Update documentation.
14637 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14639 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14640 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14641 instead of FP_INIT_ROUNDMODE.
14642 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14643 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14646 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14647 copy class of input value.
14648 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14649 not handle exceptions.
14650 * soft-fp/negsf2.c (__negsf2): Likewise.
14651 * soft-fp/negtf2.c (__negtf2): Likewise.
14652 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14654 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14656 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14657 semicolon. From Linux kernel.
14659 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14661 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14663 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14666 * manual/socket.texi: Added statement about buffer
14667 for gethostbyname2_r.
14669 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14671 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14672 Use .p2align directive instead, throughout.
14673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14678 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14679 * sysdeps/x86_64/strchr.S: Likewise.
14680 * sysdeps/x86_64/strrchr.S: Likewise.
14682 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14684 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14686 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14688 * sysdeps/generic/math_private.h (__mpsin1): Remove
14690 (__mpcos1): Likewise.
14691 (__mpsin): New argument __range_reduce.
14692 (__mpcos): Likewise.
14693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14694 (slow): Use __mpsin and __mpcos.
14698 (sloww1): Likewise.
14699 (sloww2): Likewise.
14700 (bsloww): Likewise.
14701 (bsloww1): Likewise.
14702 (bsloww2): Likewise.
14703 (cslow2): Likewise.
14704 (csloww): Likewise.
14705 (csloww1): Likewise.
14706 (csloww2): Likewise.
14707 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14708 range_reduce. Merge in __mpsin1.
14709 (__mpcos): Likewise.
14710 (__mpsin1): Remove.
14711 (__mpcos1): Likewise.
14713 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14715 * locale/loadlocale.c (_nl_intern_locale_data): Use
14717 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14718 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14719 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14720 obstack data is appropriately aligned.
14721 (obstack_int32_grow_fast): Likewise.
14722 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14723 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14724 (add_locale_uint32_array): Likewise.
14726 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14728 * benchtests/Makefile: Remove ARGLIST and RET variables.
14729 ($(objpfx)bench-%.c): Pass only function name to the script.
14730 * benchtests/README: Update documentation.
14731 * benchtests/acos-inputs: Add new directives.
14732 * benchtests/acosh-inputs: Likewise.
14733 * benchtests/asin-inputs: Likewise.
14734 * benchtests/asinh-inputs: Likewise.
14735 * benchtests/atan-inputs: Likewise.
14736 * benchtests/atanh-inputs: Likewise.
14737 * benchtests/cos-inputs: Likewise.
14738 * benchtests/cosh-inputs: Likewise.
14739 * benchtests/exp-inputs: Likewise.
14740 * benchtests/log-inputs: Likewise.
14741 * benchtests/pow-inputs: Likewise.
14742 * benchtests/rint-inputs: Likewise.
14743 * benchtests/sin-inputs: Likewise.
14744 * benchtests/sinh-inputs: Likewise.
14745 * benchtests/tan-inputs: Likewise.
14746 * benchtests/tanh-inputs: Likewise.
14747 * scripts/bench.pl: Add support for new directives.
14749 2013-10-07 Alan Modra <amodra@gmail.com>
14751 * README: Fix careless merge.
14753 2013-10-05 Alan Modra <amodra@gmail.com>
14755 * NEWS: Mention powerpc64le support and bugs fixed.
14756 * README: Both big-endian and little-endian powerpc64 supported.
14758 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14760 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14761 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14762 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14763 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14765 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14767 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14770 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14773 Move -mhard-float appending from
14774 ports/sysdeps/powerpc/powerpc32/Makefile.
14775 [$(with-fp) = yes] (ASFLAGS): Likewise.
14776 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14777 * sysdeps/powerpc/nofpu: Move directory from
14778 ports/sysdeps/powerpc/nofpu.
14779 * sysdeps/powerpc/soft-fp: Move directory from
14780 ports/sysdeps/powerpc/soft-fp.
14781 * sysdeps/powerpc/powerpc32/405: Move directory from
14782 ports/sysdeps/powerpc/powerpc32/405.
14783 * sysdeps/powerpc/powerpc32/440: Move directory from
14784 ports/sysdeps/powerpc/powerpc32/440.
14785 * sysdeps/powerpc/powerpc32/464: Move directory from
14786 ports/sysdeps/powerpc/powerpc32/464.
14787 * sysdeps/powerpc/powerpc32/476: Move directory from
14788 ports/sysdeps/powerpc/powerpc32/476.
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14799 * README: Update for powerpc-*-linux-gnu software floating point
14802 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14803 case to powerpc/powerpc32*.
14804 * sysdeps/unix/sysv/linux/configure: Regenerated.
14806 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14807 (_FPU_MASK_OM): Define as 0x04.
14808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14822 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14823 and setcontext_e500.
14825 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14827 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14829 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14831 * manual/threads.texi (Default Thread Attributes): Fix typo.
14833 2013-10-04 Will Newton <will.newton@linaro.org>
14835 * malloc/Makefile: Add tst-memalign.
14836 * malloc/tst-memalign.c: New file.
14838 * malloc/tst-posix_memalign.c: Add comments.
14839 (do_test): Add comments and call free on all potentially
14840 allocated pointers. Add space after cast.
14842 * malloc/tst-pvalloc.c: Add comments.
14843 (do_test): Add comments and call free on all potentially
14844 allocated pointers. Remove duplicate check for NULL pointer.
14845 Add space after cast.
14847 * malloc/tst-valloc.c: Add comments.
14848 (do_test): Add comments and call free on all potentially
14849 allocated pointers. Remove duplicate check for NULL pointer.
14850 Add space after cast.
14852 2013-10-04 Alan Modra <amodra@gmail.com>
14854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14855 Use stdint types in rather than __attribute__((mode())).
14856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14858 2013-10-04 Alan Modra <amodra@gmail.com>
14860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14861 Correct handling of unaligned relocs for little-endian.
14862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14864 2013-10-04 Alan Modra <amodra@gmail.com>
14866 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14867 * configure: Regenerate.
14868 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14869 * shlib-versions: Likewise.
14871 2013-10-04 Alan Modra <amodra@gmail.com>
14873 * string/tester.c (test_memrchr): Increment reported test cycle.
14875 2013-10-04 Alan Modra <amodra@gmail.com>
14877 * string/test-memcpy.c (do_one_test): When reporting errors, print
14878 string address and don't overrun end of string.
14880 2013-10-04 Alan Modra <amodra@gmail.com>
14882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14883 insrdi. Make better use of reg selection to speed exit slightly.
14884 Schedule entry path a little better. Remove useless "are we done"
14885 checks on entry to main loop. Handle wrapping around zero address.
14886 Correct main loop count. Handle single left-over word from main
14887 loop inline rather than by using loop_small. Remove extra word
14888 case in loop_small caused by wrong loop count. Add little-endian
14890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14895 support. Avoid rlwimi.
14896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14898 2013-10-04 Alan Modra <amodra@gmail.com>
14900 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14901 insrdi. Formatting.
14902 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14903 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14904 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14907 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14909 2013-10-04 Alan Modra <amodra@gmail.com>
14911 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14914 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14915 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14917 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14920 use of regs. Use power7 mtocrf. Tidy function tails.
14922 2013-10-04 Alan Modra <amodra@gmail.com>
14924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14925 Formatting. Consistently use rXXX register defines or rN defines.
14926 Use early exit labels that avoid restoring unused non-volatile regs.
14927 Make cr field use more consistent with rWORDn compares. Rename
14928 regs used as shift registers for unaligned loop, using rN defines
14929 for short lifetime/multiple use regs.
14930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14932 addi 1,1,64 to pop stack frame. Simplify return value code.
14933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14935 2013-10-04 Alan Modra <amodra@gmail.com>
14937 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14938 support. Correct typos, formatting. Optimize tail. Use insrdi
14939 rather than rlwimi.
14940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14942 little-endian support. Correct typos.
14943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14944 rather than rlwimi.
14945 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14946 in loop and entry code to keep "and." results.
14947 (strchr): Add little-endian support. Comment. Move cntlzd
14949 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14951 2013-10-04 Alan Modra <amodra@gmail.com>
14953 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14954 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14955 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14956 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14958 2013-10-04 Alan Modra <amodra@gmail.com>
14960 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14961 (rTMP): Define as r11.
14962 (strcmp): Add little-endian support. Optimise tail.
14963 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14965 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14971 2013-10-04 Alan Modra <amodra@gmail.com>
14973 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14974 little-endian support. Remove unnecessary "are we done" tests.
14975 Handle "s" wrapping around zero and extremely large "size".
14976 Correct main loop count. Handle single left-over word from main
14977 loop inline rather than by using small_loop. Correct comments.
14978 Delete "zero" tail, use "end_max" instead.
14979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14981 2013-10-04 Alan Modra <amodra@gmail.com>
14983 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14984 support. Don't branch over align.
14985 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14986 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14987 support. Rearrange tmp reg use to suit. Comment.
14988 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14990 2013-10-04 Alan Modra <amodra@gmail.com>
14992 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14994 2013-10-04 Alan Modra <amodra@gmail.com>
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14997 conditional form of branch and link when obtaining pc.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15000 2013-10-04 Alan Modra <amodra@gmail.com>
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15007 2013-10-04 Alan Modra <amodra@gmail.com>
15009 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15010 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15012 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15013 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15015 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15016 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15017 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15018 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15021 Alistair Popple <alistair@ozlabs.au.ibm.com>
15022 Alan Modra <amodra@gmail.com>
15025 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15027 _dl_hwcap access for little-endian.
15028 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15029 destroy vmx regs when saving unaligned.
15030 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15031 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15032 destroy vmx regs when saving unaligned.
15034 2013-10-04 Alan Modra <amodra@gmail.com>
15036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15037 Don't use a union to pack hi/low value.
15039 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15041 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15045 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15046 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15047 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15049 2013-10-04 Alan Modra <amodra@gmail.com>
15051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15052 constants to usual value for .cst8 section, and remove redundant
15054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15055 constant for 0x1p52. Load little-endian words of double from
15056 correct stack offsets.
15058 2013-10-04 Alan Modra <amodra@gmail.com>
15060 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15061 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15062 words of double from correct stack offsets.
15063 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15064 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15070 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15076 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15077 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15079 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15081 2013-10-04 Alan Modra <amodra@gmail.com>
15083 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15084 64-bit int/double union.
15085 (_FPU_SETCW): Likewise.
15086 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15087 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15089 2013-10-04 Alan Modra <amodra@gmail.com>
15091 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15092 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15094 2013-10-04 Alan Modra <amodra@gmail.com>
15096 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15097 use vector int constants.
15098 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15100 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15102 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15103 array with long long.
15104 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15105 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15106 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15107 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15108 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15109 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15110 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15111 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15112 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15113 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15114 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15115 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15116 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15118 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15120 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15121 (__signbit): Likewise. Correct for little-endian.
15122 (__signbitl): Call __signbit.
15123 (lrint): Correct for little-endian.
15124 (lrintf): Call lrint.
15126 2013-10-04 Alan Modra <amodra@gmail.com>
15128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15129 union 32-bit int array member with 64-bit int array.
15130 (t515, tm256): Double rather than long double.
15131 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15133 2013-10-04 Alan Modra <amodra@gmail.com>
15135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15137 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15139 version of math_ldbl.h.
15141 2013-10-04 Alan Modra <amodra@gmail.com>
15143 [BZ #15734], [BZ #15735]
15144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15145 all uses of ieee875 long double macros and unions. Simplify test
15146 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15147 ldbl_extract_mantissa value for ix,iy exponents. Properly
15148 normalize after ldbl_extract_mantissa, and don't add hidden bit
15149 already handled. Don't treat low word of ieee854 mantissa like
15150 low word of IBM long double and mask off bit when testing for
15152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15153 all uses of ieee875 long double macros and unions. Simplify tests
15154 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15155 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15156 two1022, instead use their values. Recognise that tests for large
15157 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15159 Rewrite all uses of ieee875 long double macros and unions. Simplify
15160 test for 0.0L and nan. Correct negation.
15161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15162 ieee875 long double macros and unions. Correct output for large
15163 magnitude x. Correct absolute value calculation.
15164 (__erfcl): Likewise.
15165 * math/libm-test.inc: Add tests for errors discovered in IBM long
15166 double versions of fmodl, remainderl, erfl and erfcl.
15168 2013-10-04 Alan Modra <amodra@gmail.com>
15170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15171 all uses of ieee854 long double macros and unions. Simplify tests
15172 for long doubles that are fully specified by the high double.
15173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15176 Remove dead code too.
15177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15178 (__ieee754_ynl): Likewise.
15179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15182 Remove dead code too.
15183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15188 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15193 Comment on variable precision.
15194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15203 2013-10-04 Alan Modra <amodra@gmail.com>
15205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15207 all uses of ieee854 long double macros and unions.
15208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15221 Simplify sign and nan test too.
15222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15227 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15228 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15234 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15237 2013-10-04 Alan Modra <amodra@gmail.com>
15239 * stdio-common/printf_size.c (__printf_size): Don't use
15240 union ieee854_long_double in fpnum union.
15241 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15242 signbit macro to retrieve sign from long double.
15243 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15244 retrieve sign from long double.
15245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15246 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15249 * math/test-misc.c (main): Don't use union ieee854_long_double.
15251 2013-10-04 Alan Modra <amodra@gmail.com>
15254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15256 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15257 calculation. Remove unnecessary test for denormal exponent.
15258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15259 Correct handling of denormals. Avoid undefined shift behaviour.
15260 Correct normalisation of low mantissa when low double is denormal.
15261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15262 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15263 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15264 Correct normalisation of low mantissa. Test for overflow of high
15265 mantissa and normalise.
15266 (ldbl_nearbyint): Use more readable constant for two52.
15267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15268 (__mpn_construct_long_double): Fix test for overflow of high
15269 mantissa and correct normalisation. Avoid undefined shift.
15271 2013-10-04 Alan Modra <amodra@gmail.com>
15273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15274 (union ibm_extended_long_double): Define as an array of ieee754_double.
15275 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15276 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15277 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15287 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15289 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15290 page size instead of calling getpagesize.
15292 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15293 (LOCFILE_ALIGN_MASK): Likewise.
15294 (LOCFILE_ALIGN_UP): Likewise.
15295 (LOCFILE_ALIGNED_P): Likewise.
15296 * locale/programs/ld-collate.c (collate_output): Use the new
15297 macros instead of __alignof__ (int32_t).
15298 * locale/weight.h (findidx): Likewise.
15300 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15303 * manual/string.texi: Fix strncat and wcsncat.
15305 2013-10-03 Brooks Moses <bmoses@google.com>
15308 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15309 * Makerules: ...here, and adjust associated comments.
15311 2013-10-02 Will Newton <will.newton@linaro.org>
15313 * malloc/Makefile: Add tst-pvalloc.
15314 * malloc/tst-pvalloc.c: New file.
15316 2013-10-02 Will Newton <will.newton@linaro.org>
15318 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15319 improve test coverage.
15321 2013-10-02 Will Newton <will.newton@linaro.org>
15323 * malloc/Makefile: Add tst-posix_memalign.
15324 * malloc/tst-posix_memalign.c: New file.
15326 2013-10-01 Eric Blake <eblake@redhat.com>
15328 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15329 Use __THROWNL rather than __THROW on static functions.
15331 2013-09-30 Petr Machata <pmachata@redhat.com>
15333 * elf/elf.h (R_AARCH64_ABS16): New macro.
15334 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15335 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15336 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15337 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15338 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15339 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15340 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15341 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15342 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15343 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15344 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15345 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15346 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15347 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15348 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15349 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15350 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15351 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15352 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15353 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15354 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15355 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15356 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15357 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15358 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15359 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15360 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15361 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15362 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15363 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15364 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15365 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15366 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15367 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15368 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15369 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15370 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15371 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15372 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15373 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15374 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15375 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15376 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15377 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15378 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15379 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15380 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15381 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15382 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15383 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15384 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15385 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15386 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15387 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15388 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15389 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15390 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15391 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15392 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15393 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15394 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15395 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15396 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15397 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15398 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15399 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15400 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15401 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15402 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15403 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15404 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15405 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15406 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15407 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15408 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15409 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15410 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15411 (R_AARCH64_TLSDESC_LDR): Likewise.
15412 (R_AARCH64_TLSDESC_ADD): Likewise.
15413 (R_AARCH64_TLSDESC_CALL): Likewise.
15415 2013-09-30 Andreas Schwab <schwab@suse.de>
15418 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15419 the nss database lookup.
15420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15423 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15425 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15427 2013-09-28 P. J. McDermott <pj@pehjota.net>
15429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15430 ${Bash-specific parameter/pattern/string} parameter expansion.
15431 * sysdeps/unix/make-syscalls.sh: Likewise.
15433 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15435 * sysdeps/sh/stackguard-macros.h: New file.
15437 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15441 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15444 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15446 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15448 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15449 Fix thread ID register.
15451 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15453 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15454 [POSIX || UNIX98]: Require rather than permitting all symbols from
15456 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15457 element of struct sched_param.
15458 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15459 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15460 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15461 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15464 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15466 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15467 argument calculation.
15469 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15471 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15473 [POSIX] (pthread_attr_t): Do not require type.
15474 [POSIX] (pthread_cond_t): Likewise.
15475 [POSIX] (pthread_condattr_t): Likewise.
15476 [POSIX] (pthread_key_t): Likewise.
15477 [POSIX] (pthread_mutex_t): Likewise.
15478 [POSIX] (pthread_mutexattr_t): Likewise.
15479 [POSIX] (pthread_once_t): Likewise.
15480 [POSIX] (pthread_t): Likewise.
15481 [POSIX-based standards] (pthread_atfork): Expect function.
15483 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15484 Richard Sandiford <richard@codesourcery.com>
15486 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15487 (swap_endianness_p): New extern variable.
15488 (set_big_endian): New inline function.
15489 (maybe_swap_uint32): Likewise.
15490 (maybe_swap_uint32_array): Likewise.
15491 (maybe_swap_uint32_obstack): Likewise.
15492 * locale/programs/locfile.c: Include <stdbool.h>.
15493 (swap_endianness_p): New variable.
15494 (add_locale_uint32): Call maybe_swap_uint32.
15495 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15496 (write_locale_data): Call maybe_swap_uint32_array.
15497 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15499 (obstack_int32_grow_fast): Likewise.
15500 (output_weightwc): Call maybe_swap_uint32_obstack.
15501 (collate_output): Likewise.
15502 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15503 (OPT_LITTLE_ENDIAN): Likewise.
15504 (options): Add --little-endian and --big-endian options.
15505 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15506 * locale/programs/locarchive.c: Include "locfile.h".
15510 (create_archive): Use the new macros to access fields of
15511 structures directly mapped from or written to locale archives.
15512 (oldlocrecentcmp): Likewise.
15513 (enlarge_archive): Likewise.
15514 (insert_name): Likewise.
15515 (add_alias): Likewise.
15516 (add_locale): Likewise.
15517 (delete_locales_from_archive): Likewise.
15518 (show_archive_content): Likewise.
15519 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15522 2013-09-24 Roland McGrath <roland@hack.frob.com>
15524 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15525 http://www.gnu.org/doc/freemanuals.texi.
15526 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15528 2013-09-24 Will Newton <will.newton@linaro.org>
15530 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15533 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15535 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15538 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15540 * manual/threads.texi (POSIX Threads): Fix a typo.
15542 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15545 * string/tst-strcoll-overflow.c: New test case.
15546 * string/Makefile (xtests): Add tst-strcoll-overflow.
15547 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15548 cache if string sizes may cause integer overflow.
15551 * string/strcoll_l.c (coll_seq): New members rule, idx,
15552 save_idx and back_us.
15553 (get_next_seq_nocache): New function.
15554 (do_compare_nocache): New function.
15555 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15558 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15561 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15562 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15563 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15566 * elf/Makefile (tests): Add tst-ptrguard1.
15567 (tests-static): Add tst-ptrguard1-static.
15568 (tst-ptrguard1-ARGS): Define.
15569 (tst-ptrguard1-static-ARGS): Define.
15570 * elf/tst-ptrguard1.c: New file.
15571 * elf/tst-ptrguard1-static.c: New file.
15572 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15573 * sysdeps/i386/stackguard-macros.h: Likewise.
15574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15581 2013-09-23 Hector Marco <hecmargi@upv.es>
15582 Ismael Ripoll <iripoll@disca.upv.es>
15583 Carlos O'Donell <carlos@redhat.com>
15586 * sysdeps/generic/stackguard-macros.h: Define
15587 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15588 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15589 Define __pointer_chk_guard_local.
15590 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15591 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15593 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15596 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15598 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15600 * include/string.h (__ffs): Declare as hidden.
15601 * string/ffs.c (__ffs): Define as hidden.
15602 * sysdeps/i386/ffs.c (__ffs): Likewise.
15603 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15604 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15605 * sysdeps/s390/ffs.c (__ffs): Likewise.
15606 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15608 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15610 * NEWS: Mention malloc probes.
15612 * malloc/arena.c (new_heap): New memory_heap_new probe.
15613 (grow_heap): New memory_heap_more probe.
15614 (shrink_heap): New memory_heap_less probe.
15615 (heap_trim): New memory_heap_free probe.
15616 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15617 (systrim): New memory_sbrk_less probe.
15618 * manual/probes.texi: Document them.
15620 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15621 * manual/probes.texi: Document it.
15623 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15624 (__libc_realloc): Add memory_realloc_retry probe.
15625 (__libc_memalign): Add memory_memalign_retry probe.
15626 (__libc_valloc): Add memory_valloc_retry probe.
15627 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15628 (__libc_calloc): Add memory_calloc_retry probe.
15629 * manual/probes.texi: Document them.
15631 * malloc/arena.c (get_free_list): Add probe
15632 memory_arena_reuse_free_list.
15633 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15634 and memory_arena_reuse.
15635 (arena_get2) [!PER_THREAD]: Likewise.
15636 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15637 memory_arena_reuse_realloc.
15638 * manual/probes.texi: Document them.
15640 * malloc/malloc.c (__libc_free): Add
15641 memory_mallopt_free_dyn_thresholds probe.
15642 (__libc_mallopt): Add multiple memory_mallopt probes.
15643 * manual/probes.texi: Document them.
15645 * malloc/malloc.c: Include stap-probe.h.
15646 (__libc_mallopt): Add memory_mallopt probe.
15647 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15648 * manual/probes.texi: New.
15649 * manual/Makefile (chapters): Add probes.
15650 * manual/threads.texi: Set next node.
15652 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15654 [BZ #15963, #13985]
15655 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15656 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15657 Add `Chinese' to `nan' entry name.
15659 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15661 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15662 (POLYNOMIAL): Likewise.
15663 (TAYLOR_SINCOS): Likewise.
15664 (TAYLOR_SLOW): Likewise.
15665 (__sin): Use TAYLOR_SINCOS.
15667 (slow): Use TAYLOR_SLOW.
15669 (bsloww): Likewise.
15670 (csloww): Likewise.
15672 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15674 * stdlib/strtod_l.c: Fix buffer overrun.
15676 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15678 * benchtests/Makefile (bench): Add sincos.
15679 * benchtests/bench-sincos.c: New file.
15681 * math/libm-test.inc (cos_test_data): New test inputs.
15682 (sin_test_data): Likewise.
15684 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15690 (sloww1): Likewise.
15691 (sloww2): Likewise.
15692 (bsloww1): Likewise.
15693 (bsloww2): Likewise.
15694 (cslow2): Likewise.
15695 (csloww1): Likewise.
15696 (csloww2): Likewise.
15698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15707 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15709 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15710 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15711 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15712 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15713 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15714 * elf/cache.c (print_entry): Handle the new cache flags.
15716 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15717 Aldy Hernandez <aldyh@redhat.com>
15719 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15720 Change condition to [_SOFT_FLOAT].
15721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15733 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15736 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15739 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15741 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15743 (__longjmp): Use LOAD_GP to load saved GPRs.
15744 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15745 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15746 (__sigsetjmp): Use SAVE_GP to save GPRs.
15748 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15749 Do not append -msoft-float.
15750 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15752 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15754 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15756 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15759 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15760 (_FPU_GETCW): Use initial "__" on variable and field names but not
15761 on macro parameter name.
15762 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15763 parentheses around reference to macro parameter.
15765 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15767 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15769 (ctype_startup): Use uint32_t in cast and sizeof for
15772 2013-09-11 Jia Liu <proljc@gmail.com>
15774 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15776 [__FreeBSD__]: Likewise.
15778 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15781 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15782 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15783 (strchr): Remove __strchr_sse42 ifunc selection.
15784 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15785 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15787 2013-09-11 Will Newton <will.newton@linaro.org>
15789 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15790 parameter to RES. Remove hardcoded 1000 value.
15791 * benchtests/bench-skeleton.c (main): Pass RES parameter
15792 to TIMING_INIT and multiply result by 1000.
15794 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15798 2013-09-11 Andreas Schwab <schwab@suse.de>
15800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15802 (O_TMPFILE) [__USE_GNU]: Define.
15803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15806 2013-09-11 Will Newton <will.newton@linaro.org>
15809 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15812 2013-09-11 Will Newton <will.newton@linaro.org>
15815 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15818 2013-09-11 Will Newton <will.newton@linaro.org>
15821 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15824 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15826 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15832 2013-09-10 Allan McRae <allan@archlinux.org>
15835 * manual/arith.texi (Parsing of Floats): Clarify
15839 * manual/install.texi (Running make install): Mention
15841 * INSTALL: Regenerated.
15843 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15845 * csu/init-first.c (_init): Remove the !SHARED condition around
15846 FPU control word initialization.
15847 * elf/dl-support.c (_dl_fpu_control): New variable.
15848 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15849 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15850 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15851 * math/test-fpucw-static.c: New file.
15852 * math/test-fpucw-ieee.c: New file.
15853 * math/test-fpucw-ieee-static.c: New file.
15854 * math/Makefile (tests): Add `test-fpucw-ieee' and
15856 (tests-static): New variable.
15857 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15859 [($(build-shared),yes)]
15860 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15862 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15865 2013-09-09 Allan McRae <allan@archlinux.org>
15868 * manual/string.texi (Collation Functions): Fix typo in
15870 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15873 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15876 * libio/memstream.c (open_memstream): Fix memory leak.
15877 * libio/wmemstream.c (open_wmemstream): Likewise.
15880 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15882 2013-09-09 Will Newton <will.newton@linaro.org>
15884 * malloc/Makefile: Add tst-realloc to tests.
15885 * malloc/tst-realloc.c: New file.
15887 2013-09-09 Allan McRae <allan@archlinux.org>
15890 * COPYING: Update from GNU website to fix FSF address.
15891 * COPYING.LIB: Likewise.
15893 2013-09-06 David S. Miller <davem@davemloft.net>
15895 * po/zh_TW.po: Update Chinese (traditional) translation from
15896 translation project.
15898 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15899 Joseph Myers <joseph@codesourcery.com>
15901 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15903 (obstack_chunk_alloc): New macro.
15904 (obstack_chunk_free): Likewise.
15905 (record_offset): New function.
15906 (init_locale_data): Likewise.
15907 (align_locale_data): Likewise.
15908 (add_locale_empty): Likewise.
15909 (add_locale_raw_data): Likewise.
15910 (add_locale_raw_obstack): Likewise.
15911 (add_locale_string): Likewise.
15912 (add_locale_wstring): Likewise.
15913 (add_locale_uint32): Likewise.
15914 (add_locale_uint32_array): Likewise.
15915 (add_locale_char): Likewise.
15916 (start_locale_structure): Likewise.
15917 (end_locale_structure): Likewise.
15918 (start_locale_prelude): Likewise.
15919 (end_locale_prelude): Likewise.
15920 (write_locale_data): Take locale_file structure rather than an
15922 * locale/programs/locfile.h: Include "obstack.h".
15923 (struct locale_file): Change to store locale file contents instead
15925 (init_locale_data): New prototype.
15926 (align_locale_data): Likewise.
15927 (add_locale_empty): Likewise.
15928 (add_locale_raw_data): Likewise.
15929 (add_locale_raw_obstack): Likewise.
15930 (add_locale_string): Likewise.
15931 (add_locale_wstring): Likewise.
15932 (add_locale_uint32): Likewise.
15933 (add_locale_uint32_array): Likewise.
15934 (add_locale_char): Likewise.
15935 (start_locale_structure): Likewise.
15936 (end_locale_structure): Likewise.
15937 (start_locale_prelude): Likewise.
15938 (end_locale_prelude): Likewise.
15939 (write_locale_data): Update prototype.
15940 * locale/programs/3level.h (struct TABLE): Remove result field.
15941 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15942 Use new locale_file interface.
15943 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15944 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15945 * locale/programs/ld-address.c (address_output): Use new
15946 locale_file interface.
15947 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15949 (collate_finish): Don't call collseq_table_finalize.
15950 (collate_output): Use new locale_file interface.
15951 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15953 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15954 (TABLE): Move defines earlier in file.
15955 (ELEMENT): Likewise.
15956 (DEFAULT): Likewise.
15957 (wctrans_table_add): Move macro and inline function earlier in
15959 (struct wctype_table): Move type earlier in file.
15960 (add_locale_wctype_table): New static prototype.
15961 (struct locale_ctype_t): Use logical types instead of struct iovec
15962 pointers for members.
15963 (ctype_output): Use new locale_file interface.
15964 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15965 new locale_file interface.
15966 (allocate_arrays): Update for use of new locale_file interface.
15967 * locale/programs/ld-identification.c (identification_output): Use
15968 new locale_file interface.
15969 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15970 * locale/programs/ld-messages.c (messages_output): Likewise.
15971 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15972 * locale/programs/ld-name.c (name_output): Likewise.
15973 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15974 * locale/programs/ld-paper.c (paper_output): Likewise.
15975 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15976 * locale/programs/ld-time.c (time_output): Likewise.
15978 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15980 * benchtests/Makefile: Add memrchr benchmark.
15981 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15982 benchmark as memrchr.
15983 * benchtests/bench-memrchr-ifunc.c: New file.
15984 * benchtests/bench-memrchr.c: New file.
15986 2013-09-06 Will Newton <will.newton@linaro.org>
15988 * benchtests/Makefile (string-bench): Add memcpy.
15990 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15991 Cong Wang <amwang@redhat.com>
15994 * sysdeps/unix/sysv/linux/bits/in.h
15995 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15996 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15997 before __USE_KERNEL_IPV6_DEFS uses.
15998 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16000 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16001 sockaddr_in6, or ipv6_mreq.
16003 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16006 memory access for final bytes in some large inputs.
16007 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16009 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16011 * string/test-memrchr.c: New file.
16012 * string/test-memrchr-ifunc.c: New file.
16013 * string/Makefile: Add new memrchr testcase.
16015 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16018 fanotify_init returns EPERM.
16020 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16022 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16024 (top level): Treat second token from macro or constant entries for
16025 allowed headers as allowed.
16026 * include/complex.h: Condition internal declarations on
16028 * include/fenv.h: Condition include of <stdbool.h> and internal
16029 declarations on [!_ISOMAC].
16031 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16034 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16036 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16038 * configure.in (--enable-versioning): Remove configure option.
16039 (libc_cv_asm_symver_directive): Remove configure test.
16040 (libc_cv_ld_version_script_option): Likewise.
16041 (VERSIONING): Remove variable and AC_SUBST.
16042 (DO_VERSIONING): Remove AC_DEFINE.
16043 * configure: Regenerated.
16044 * config.h.in (DO_VERSIONING): Remove macro.
16045 * Makerules [$(versioning) = yes]: Change conditionals to
16046 [$(build-shared) = yes].
16047 * config.make.in (versioning): Remove variable.
16048 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16049 [$(build-shared) = yes].
16050 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16051 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16052 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16053 [$(build-shared) = yes].
16054 * extra-lib.mk [$(versioning) = yes]: Likewise.
16055 * hurd/Makefile [$(versioning) = yes]: Likewise.
16056 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16058 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16060 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16061 [SHARED && !NO_HIDDEN].
16062 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16064 [SHARED && DO_VERSIONING]: Likewise..
16065 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16066 [$(build-shared) = yes].
16067 * manual/install.texi (--disable-versioning): Remove
16069 * INSTALL: Regenerated.
16070 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16072 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16073 [$(build-shared) = yes].
16074 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16075 * sysdeps/i386/i686/multiarch/strstr-c.c
16076 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16077 [SHARED && !NO_HIDDEN].
16078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16079 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16080 * sysdeps/powerpc/powerpc32/dl-machine.c
16081 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16082 * sysdeps/powerpc/powerpc32/sysdep.h
16083 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16084 to [SHARED && PIC && !NO_HIDDEN].
16085 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16086 conditional to [SHARED].
16088 2013-09-04 Will Newton <will.newton@linaro.org>
16090 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16091 * benchtests/bench-string.h: Include bench-timing.h instead
16092 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16093 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16094 call to HP_TIMING_DIFF_INIT.
16095 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16096 instead of hp-timing.h macros.
16097 * benchtests/bench-memchr.c: Likewise.
16098 * benchtests/bench-memcmp.c: Likewise.
16099 * benchtests/bench-memcpy.c: Likewise.
16100 * benchtests/bench-memmem.c: Likewise.
16101 * benchtests/bench-memmove.c: Likewise.
16102 * benchtests/bench-memset.c: Likewise.
16103 * benchtests/bench-rawmemchr.c: Likewise.
16104 * benchtests/bench-strcasecmp.c: Likewise.
16105 * benchtests/bench-strcasestr.c: Likewise.
16106 * benchtests/bench-strcat.c: Likewise.
16107 * benchtests/bench-strchr.c: Likewise.
16108 * benchtests/bench-strcmp.c: Likewise.
16109 * benchtests/bench-strcpy.c: Likewise.
16110 * benchtests/bench-strcpy_chk.c: Likewise.
16111 * benchtests/bench-strlen.c: Likewise.
16112 * benchtests/bench-strncasecmp.c: Likewise.
16113 * benchtests/bench-strncat.c: Likewise.
16114 * benchtests/bench-strncmp.c: Likewise.
16115 * benchtests/bench-strncpy.c: Likewise.
16116 * benchtests/bench-strnlen.c: Likewise.
16117 * benchtests/bench-strpbrk.c: Likewise.
16118 * benchtests/bench-strrchr.c: Likewise.
16119 * benchtests/bench-strspn.c: Likewise.
16120 * benchtests/bench-strstr.c: Likewise.
16122 2013-09-04 Will Newton <will.newton@linaro.org>
16124 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16126 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16130 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16131 * math/libm-test.inc (lgamma_test_data): Add more tests.
16132 * sysdeps/i386/fpu/libm-test-ulps: Update.
16133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16135 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16137 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16141 Add strcmp-sse2-unaligned
16142 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16144 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16146 * Versions.def (libc): Add GLIBC_2.19.
16148 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16150 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16153 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16156 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16157 intermediate calculations in recurrence.
16158 (__ieee754_ynf): Likewise.
16159 * math/libm-test.inc (jn_test_data): Do not allow spurious
16160 underflow exception. Add more tests.
16161 (yn_test_data): Add more tests.
16162 * sysdeps/i386/fpu/libm-test-ulps: Update.
16163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16165 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16169 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16171 * csu/init-first.c: Fix then/than typos.
16172 * locale/programs/ld-collate.c: Likewise.
16173 * locale/programs/linereader.h: Likewise.
16174 * manual/charset.texi: Likewise.
16175 * manual/filesys.texi: Likewise.
16176 * manual/stdio.texi: Likewise.
16177 * manual/string.texi: Likewise.
16178 * stdlib/fmtmsg.c: Likewise.
16179 * sysdeps/i386/stpncpy.S: Likewise.
16180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16185 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16187 * elf/dl-open.c: Fix typos.
16188 * iconvdata/gbbig5.c: Likewise.
16189 * iconvdata/iso-2022-jp.c: Likewise.
16190 * iconv/gconv_int.h: Likewise.
16191 * iconv/loop.c: Likewise.
16192 * nis/rpcsvc/nis.h: Likewise.
16193 * resolv/ns_name.c: Likewise.
16194 * stdio-common/vfscanf.c: Likewise.
16195 * streams/stropts.h: Likewise.
16196 * sunrpc/rpc_thread.c: Likewise.
16197 * sysdeps/i386/strpbrk.S: Likewise.
16198 * sysdeps/ieee754/k_standard.c: Likewise.
16199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16201 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16202 * sysdeps/mach/hurd/profil.c: Likewise.
16203 * sysdeps/s390/dl-procinfo.h: Likewise.
16204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16207 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16210 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16212 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16215 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16218 aix specific files.
16219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16222 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16223 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16224 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16225 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16226 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16228 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16229 Roland McGrath <roland@hack.frob.com>
16231 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16232 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16234 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16236 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16237 __executable_start symbol instead of _start.
16239 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16241 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16242 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16244 * sysdeps/gnu/ldsodefs.h: ... this new file.
16246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16247 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16248 instead of ELFOSABI_LINUX.
16250 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16251 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16252 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16253 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16255 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16256 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16260 (ibm_extended_long_double): Add ieee_nan member.
16261 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16262 (do_test): New function.
16264 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16266 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16267 functions, renamed from truncdfsf_test, trunctfsf_test,
16269 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16271 (do_test): Run all these.
16273 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16275 * argp/argp-help.c: Fix typos.
16276 * argp/argp-parse.c: Likewise.
16277 * debug/backtracesyms.c: Likewise.
16278 * elf/elf.h: Likewise.
16279 * malloc/malloc.c: Likewise.
16280 * nis/nis_print.c: Likewise.
16281 * resolv/res_comp.c: Likewise.
16282 * stdlib/stdlib.h: Likewise.
16283 * sunrpc/clnt_tcp.c: Likewise.
16284 * sunrpc/clnt_udp.c: Likewise.
16285 * sunrpc/clnt_unix.c: Likewise.
16286 * sysdeps/unix/bsd/ptsname.c: Likewise.
16287 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16297 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16299 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16302 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16305 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16306 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16307 ($(objpfx)bug-dl-leaf): New rule.
16308 ($(objpfx)bug-dl-leaf.so): Likewise.
16309 ($(objpfx)bug-dl-leaf.out): Likewise.
16310 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16311 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16312 * dlfcn/bug-dl-leaf.c: New test.
16313 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16314 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16315 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16316 (dlclose): Likewise.
16317 (dlmopen): Likewise.
16319 2013-08-27 Roland McGrath <roland@hack.frob.com>
16321 * include/netdb.h [!_ISOMAC]:
16322 Don't include <tls.h>.
16323 (h_errno, __libc_h_errno): Move declaration and macros out of
16326 * include/resolv.h [_RESOLV_H_]:
16327 Don't include <tls.h>.
16328 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16329 * resolv/res_libc.c: Don't include <tls.h>.
16330 (_res): Use __attribute__ ((nocommon)) in place of
16331 __attribute__ ((section (".bss"))).
16333 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16334 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16336 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16338 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16339 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16341 * resolv/res_mkquery.c: Include <sys/time.h>.
16343 * inet/ifreq.c: Moved to ...
16344 * sysdeps/unix/ifreq.c: ... here.
16345 * inet/ifreq.c: New file, true stub version.
16347 * socket/sa_len.c: New file.
16348 * socket/Makefile (aux): Add it.
16349 * sysdeps/unix/sysv/linux/Makefile
16350 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16351 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16352 and #include <socket/sa_len.c>.
16353 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16354 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16357 * bits/socket.h: ... here.
16359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16360 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16361 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16363 2013-08-27 Andreas Schwab <schwab@suse.de>
16366 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16367 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16368 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16369 * string/test-strcasecmp.c (test_main): Run tests in several
16371 * string/test-strncasecmp.c (test_main): Likewise.
16373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16374 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16375 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16377 (__strncasecmp_ssse3) [PIC]: Likewise.
16379 2013-08-26 Roland McGrath <roland@hack.frob.com>
16381 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16383 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16384 instead of explicitly declaring xdecrypt.
16385 * nis/nss_nis/nis-publickey.c: Likewise.
16387 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16390 * nscd/aicache.c: Include res_hconf.h.
16391 (addhstaiX): Initialize res_hconf.
16393 2013-08-26 Andreas Schwab <schwab@suse.de>
16395 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16396 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16398 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16400 * nscd/aicache.c (addhstaiX): Fix indentation.
16402 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16404 * configure.ac: Quote $build_pt_chown test.
16405 * configure: Regenerated.
16407 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16410 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16411 * math/s_cexpf.c (__cexpf): Likewise.
16412 * math/s_cexpl.c (__cexpl): Likewise.
16413 * math/libm-test.inc (cexp_test_data): Correct expected return
16414 value for NaN + i0. Add another test.
16416 2013-08-22 David S. Miller <davem@davemloft.net>
16418 * po/ca.po: Update Catalan translation from translation project.
16419 * po/uk.po: Add Ukrainian translations from translation project.
16421 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16424 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16425 is infinite, not alongside NaN test.
16426 * math/s_fdimf.c (__fdimf): Likewise.
16427 * math/s_fdiml.c (__fdiml): Likewise.
16428 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16429 errno is unchanged.
16431 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16433 * argp/argp-help.c: Fix typos.
16434 * crypt/speeds.c: Likewise.
16435 * csu/check_fds.c: Likewise.
16436 * elf/dl-load.c: Likewise.
16437 * elf/dl-open.c: Likewise.
16438 * elf/reldep3.c: Likewise.
16439 * elf/reldep.c: Likewise.
16440 * elf/sprof.c: Likewise.
16441 * iconv/iconv_charmap.c: Likewise.
16442 * iconv/skeleton.c: Likewise.
16443 * iconv/strtab.c: Likewise.
16444 * io/lockf64.c: Likewise.
16445 * libio/libioP.h: Likewise.
16446 * resolv/gai_notify.c: Likewise.
16447 * resolv/ns_name.c: Likewise.
16448 * resolv/ns_samedomain.c: Likewise.
16449 * resolv/res_send.c: Likewise.
16450 * stdlib/random.c: Likewise.
16451 * sunrpc/rpc/xdr.h: Likewise.
16452 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16460 * sysdeps/mach/hurd/check_fds.c: Likewise.
16461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16467 * sysdeps/pthread/aio_notify.c: Likewise.
16468 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16469 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16472 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16474 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16476 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16477 version if bit_Slow_SSE4_2 is set.
16478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16481 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16484 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16485 trampoline stack frame information.
16486 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16488 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16489 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16490 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16491 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16492 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16493 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16495 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16496 interrupting a syscall and set with option SA_SIGINFO.
16498 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16501 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16502 argument is infinite.
16503 * math/s_cprojf.c (__cprojf): Likewise.
16504 * math/s_cprojl.c (__cprojl): Likewise.
16505 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16506 * math/libm-test.inc (cproj_test_data): Add more tests.
16508 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16511 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16512 size. Use __ffs to determine corresponding shift.
16514 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16515 Roland McGrath <roland@hack.frob.com>
16517 * Makefile (INSTALL): Remove trailing blank lines from output of
16520 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16522 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16523 Align 32 bit compat elf_greg to 8 bytes.
16525 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16527 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16529 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16531 * string/strcoll_l.c (coll_seq): New structure.
16532 (get_next_seq_cached): New function.
16533 (get_next_seq): New function.
16534 (do_compare): New function.
16535 (STRCOLL): Use GNU style definition. Simplify implementation
16536 by using get_next_seq, get_next_seq_cached and do_compare.
16538 2013-08-16 Florian Weimer <fweimer@redhat.com>
16542 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16544 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16546 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16547 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16548 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16551 GETDENTS_64BIT_ALIGNED.
16552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16553 * manual/filesys.texi (Reading/Closing Directory): Document
16554 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16556 * manual/conf.texi (Limits for Files): Add portability note to
16557 NAME_MAX, PATH_MAX.
16558 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16560 2013-08-13 Andreas Schwab <schwab@suse.de>
16563 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16565 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16566 LDBL_MAX_EXP >= 16384]: Add tests for it.
16568 2013-08-12 David S. Miller <davem@davemloft.net>
16570 * version.h (RELEASE): Set to "development".
16571 (VERSION): Set to "2.18.90".
16572 * NEWS: Add 2.19 section.
16574 2013-08-03 David S. Miller <davem@davemloft.net>
16576 * po/ko.po: Update Korean translation from translation project.
16578 2013-08-01 David S. Miller <davem@davemloft.net>
16580 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16581 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16584 2013-07-30 David S. Miller <davem@davemloft.net>
16586 * po/fr.po: Update French translation from translation project.
16588 2013-07-28 David S. Miller <davem@davemloft.net>
16590 * po/cs.po: Update Czech translation from translation project.
16592 * po/sv.po: Update Swedish translation from translation project.
16594 2013-07-27 David S. Miller <davem@davemloft.net>
16596 * po/eo.po: Update Esperanto translation from translation project.
16598 * po/vi.po: Update Vietnamese translation from translation project.
16600 * po/de.po: Update German translation from translation project.
16602 2013-07-26 David S. Miller <davem@davemloft.net>
16604 * po/bg.po: Update Bulgarian translation from translation project.
16606 * po/nl.po: Update Dutch translation from translation project.
16607 * po/pl.po: Update Polish translation from translation project.
16608 * po/ru.po: Update Russian translation from translation project.
16610 2013-07-24 David S. Miller <davem@davemloft.net>
16612 * po/libc.pot: Update.
16614 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16616 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16617 variable page size.
16618 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16619 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16622 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16624 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16626 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16627 Andreas Schwab <schwab@suse.de>
16628 Roland McGrath <roland@hack.frob.com>
16629 Joseph Myers <joseph@codesourcery.com>
16630 Carlos O'Donell <carlos@redhat.com>
16633 * config.h.in: Define HAVE_PT_CHOWN.
16634 * config.make.in (build-pt-chown): New variable.
16635 * configure.in (--enable-pt_chown): New configure option.
16636 * configure: Regenerate.
16637 * login/Makefile: Include Makeconfig. Build pt_chown only if
16638 build-pt-chown is enabled.
16639 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16640 pt_chown to fix pty ownership.
16641 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16643 * manual/install.texi (Configuring and compiling): Mention
16644 --enable-pt_chown. Add @findex for grantpt.
16645 * INSTALL: Regenerate.
16647 2013-07-20 David S. Miller <davem@davemloft.net>
16649 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16650 difference between 32-bit and 64-bit.
16652 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16655 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16656 Avoid system header dependency with -ffreestanding.
16657 ($(objpfx)bits/syscall%d): Likewise.
16659 2013-07-13 David S. Miller <davem@davemloft.net>
16661 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16662 underflows from atanl/atan2l due to bug 15319.
16663 (casinh_test_data): Likewise.
16665 2013-07-07 David S. Miller <davem@davemloft.net>
16667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16669 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16671 * sysdeps/i386/fpu/libm-test-ulps: Update.
16672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16674 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16676 * configure.in (--enable-lock-elision): Fix message text.
16677 * INSTALL: Regenerate.
16678 * configure: Regenerate.
16680 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16684 2013-07-03 Andreas Jaeger <aj@suse.de>
16686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16688 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16689 (ptrace_peeksiginfo_args): Add.
16690 (__ptrace_peeksiginfo_flags): Add.
16691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16695 2013-07-03 Allan McRae <allan@archlinux.org>
16697 * sysdeps/i386/fpu/libm-test-ulps: Update.
16699 2013-07-02 David S. Miller <davem@davemloft.net>
16701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16703 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16707 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16712 2013-07-02 Andi Kleen <ak@linux.intel.com>
16714 * config.h.in (ENABLE_LOCK_ELISION): Add.
16715 * configure.in (--enable-lock-elision): Add option.
16716 * manual/install.texi: Document --enable lock elision.
16717 * configure: Regenerate
16718 * INSTALL: Regenerate.
16720 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16722 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16723 SSE4.2 strcasecmp for libc.a.
16724 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16726 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16729 * soft-fp/op-common.h (_FP_FMA): New macro.
16730 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16731 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16732 (_FP_MUL_MEAT_1_imm): ... here.
16733 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16734 (_FP_MUL_MEAT_1_wide): ... here.
16735 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16736 (_FP_MUL_MEAT_1_hard): ... here.
16737 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16738 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16739 (_FP_MUL_MEAT_2_wide): ... here.
16740 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16741 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16742 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16743 (_FP_MUL_MEAT_2_gmp): ... here.
16744 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16745 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16746 (_FP_MUL_MEAT_4_wide): ... here.
16747 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16748 (_FP_MUL_MEAT_4_gmp): ... here.
16749 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16750 (_FP_WFRACBITS_DW_S): Likewise.
16751 (_FP_WFRACXBITS_DW_S): Likewise.
16752 (_FP_HIGHBIT_DW_S): Likewise.
16753 (FP_FMA_S): Likewise.
16754 (_FP_FRAC_HIGH_DW_S): Likewise.
16755 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16756 (_FP_WFRACBITS_DW_D): Likewise.
16757 (_FP_WFRACXBITS_DW_D): Likewise.
16758 (_FP_HIGHBIT_DW_D): Likewise.
16759 (FP_FMA_D): Likewise.
16760 (_FP_FRAC_HIGH_DW_D): Likewise.
16761 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16762 (_FP_WFRACBITS_DW_E): Likewise.
16763 (_FP_WFRACXBITS_DW_E): Likewise.
16764 (_FP_HIGHBIT_DW_E): Likewise.
16765 (FP_FMA_E): Likewise.
16766 (_FP_FRAC_HIGH_DW_E): Likewise.
16767 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16768 (_FP_WFRACBITS_DW_Q): Likewise.
16769 (_FP_WFRACXBITS_DW_Q): Likewise.
16770 (_FP_HIGHBIT_DW_Q): Likewise.
16771 (FP_FMA_Q): Likewise.
16772 (_FP_FRAC_HIGH_DW_Q): Likewise.
16773 * soft-fp/fmasf4.c: New file.
16774 * soft-fp/fmadf4.c: Likewise.
16775 * soft-fp/fmatf4.c: Likewise.
16777 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16780 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16784 (index_Slow_SSE4_2): Likewise.
16785 (index_Prefer_PMINUB_for_stringop): Likewise.
16786 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16787 bit_Slow_SSE4_2 is set.
16788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16791 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16793 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16794 rtld_global._dl_hwcap2.
16795 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16798 POWER8 feature descriptions defined in _dl_hwcap2.
16799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16800 string handling for POWER8 feature bits.
16801 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16802 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16803 _dl_powerpc_cap_flags.
16804 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16805 * sysdeps/powerpc/rtld-global-offsets.sym
16806 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16807 _dl_hwcap2 in the rtld_global_ro structure.
16809 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16811 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16812 hardware capabilities in support of AT_HWCAP2.
16813 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16814 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16816 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16817 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16818 explicitly the unknown a_type display mechanism is used.
16819 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16820 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16822 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16823 to macro prototype for AT_HWCAP2 support.
16824 * sysdeps/i386/dl-procinfo.h: Likewise.
16825 * sysdeps/s390/dl-procinfo.h: Likewise.
16826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16827 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16828 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16829 return -1 for unknown a_type display fallback.
16830 * sysdeps/sparc/dl-procinfo.h: Likewise.
16831 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16834 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16837 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16839 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16842 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16843 mprotect making __stack_prot writable.
16845 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16846 Joseph Myers <joseph@codesourcery.com>
16848 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16849 as being properly aligned.
16851 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16853 * dlfcn/modstatic5.c: New file.
16854 * dlfcn/tststatic5.c: New file.
16855 * dlfcn/Makefile (tests): Add tststatic5.
16856 (tests-static): Likewise.
16857 (modules-names): Add modstatic5.
16858 (tststatic5-ENV): New variable.
16859 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16862 * elf/dl-support.c (_dl_main_map): New variable.
16863 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16864 (_dl_nns, _dl_load_adds): Set to 1.
16865 (_dl_initial_searchlist): Refer to _dl_main_map.
16866 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16867 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16868 call to _dl_get_origin.
16869 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16871 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16872 * dlfcn/modstatic3.c: New file.
16873 * dlfcn/tststatic3.c: New file.
16874 * dlfcn/tststatic4.c: New file.
16875 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16876 (tests-static): Likewise.
16877 (modules-names): Add modstatic3.
16878 (tststatic3-ENV, tststatic4-ENV): New variables.
16879 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16880 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16882 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16884 * configure.in (CC): Require GCC version 4.4 or later.
16885 * configure: Regenerated.
16886 * manual/install.texi (Tools for Compilation): Update GCC version
16888 * INSTALL: Regenerated.
16890 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16893 * string/test-memcmp.c (check2): New.
16894 (main): Call check2.
16896 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16898 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16901 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16903 (dl_open_worker) [!SHARED]: ... here.
16905 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16907 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16909 2013-06-25 Richard Henderson <rth@redhat.com>
16911 * locale/programs/locarchive.c: Include <libc-internal.h>
16913 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16915 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16916 trailing whitespace removed.
16918 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16921 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16922 * locale/programs/locarchive.c: Include libc-mmap.h.
16923 (prepare_address_space): Take two new outputs (the mmap base and len).
16924 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16926 (create_archive): Declare new mmap base and len values for
16927 prepare_address_space, and store the result in ah.
16928 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16929 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16931 Declare new mmap base and len values for
16932 prepare_address_space, and store the result in new_ah.
16933 (open_archive): Declare new mmap base and len values for
16934 prepare_address_space, and store the result in ah.
16935 (close_archive): If ah->mmap_base is not NULL, use that and
16936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16937 * sysdeps/generic/libc-mmap.h: New file.
16939 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16941 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16942 (ALIGN_UP): Likewise.
16943 (PTR_ALIGN_DOWN): Likewise.
16944 (PTR_ALIGN_UP): Likewise.
16946 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16949 entry mapped to PPC_PLATFORM_POWER8.
16950 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16952 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16953 (_dl_string_platform): Add case for exporting platform position for
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16956 search path to sysdeps/powerpc/powerpc32/power8 directory.
16957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16958 search path to sysdeps/powerpc/powerpc64/power8 directory.
16959 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16960 power7 directories.
16961 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16962 power7 directories.
16964 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16966 * INSTALL: Regenerate.
16968 * nscd/connections.c (nscd_init): Fix comment.
16970 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16972 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16975 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16976 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16978 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16980 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16982 (DL_DST_REQ_STATIC): Remove macro.
16984 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16987 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16988 with a shift of 0 bits.
16990 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16992 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16995 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16998 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17000 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17002 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17003 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17004 accepts -fno-tree-loop-distribute-patterns.
17005 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17006 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17008 * string/memset.c (memset): Likewise.
17009 * string/test-memmove.c (simple_memmove): Disable loop transformation
17011 * string/test-memset.c (simple_memset): Likewise.
17012 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17013 * benchtests/bench-memset.c (simple_memset): Likewise.
17014 * configure: Regenerated.
17016 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17018 * math/test-misc.c (main): Ignore fesetround failure when failures
17019 of subsequent rounding tests would be ignored.
17022 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17023 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17024 * math/fegetenv.c (__fegetenv): Return 0.
17025 * math/fegetexcept.c (fegetexcept): Return 0.
17026 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17028 * math/feholdexcpt.c (feholdexcept): Return 0.
17029 * math/fesetenv.c (__fesetenv): Return 0.
17030 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17031 argument FE_TONEAREST.
17032 * math/feupdateenv.c (__feupdateenv): Return 0.
17033 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17035 2013-06-18 Roland McGrath <roland@hack.frob.com>
17037 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17038 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17039 ($(objpfx)rtld-%.os rules): Use them.
17041 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17043 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17046 2013-06-17 Roland McGrath <roland@hack.frob.com>
17048 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17049 length of target pattern, then descending length of dependency pattern.
17050 * configure.in (AWK): Require gawk 3.1.2 or newer.
17051 * manual/install.texi (Tools for Compilation): Say that we do.
17052 * configure: Regenerated.
17054 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17055 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17056 * scripts/sysd-rules.awk: ... this new script.
17057 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17058 than a glob-style pattern.
17060 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17062 * math/test-misc.c (main): Do not treat incorrectly rounded
17063 conversions as failure unless ROUNDING_TESTS passes.
17065 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17069 restore exception state around main square root computation, then
17070 check for inexactness explicitly.
17072 * math/libm-test.inc (fma_test_data): Add another test.
17074 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17076 * manual/threads.texi (Non-POSIX Extensions): New document
17077 node. Document pthread_getattr_default_np and
17078 pthread_setattr_default_np.
17080 * Versions.def (libpthread): Add GLIBC_2.18.
17081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17090 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17101 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17104 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17106 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17107 H.J. Lu <hjl.tools@gmail.com>
17110 * sysdeps/x86_64/rtld-memset.c: Remove file.
17111 * sysdeps/x86_64/rtld-memset.S: New file.
17113 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17115 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17116 (test_in_one_mode): Take arguments for whether the rounding mode
17117 is supported for each floating-point type.
17118 (do_test): Pass new arguments to test_in_one_mode using
17121 2013-06-13 Roland McGrath <roland@hack.frob.com>
17123 * posix/tst-waitid.c (do_test): Distinguish different instances of
17124 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17125 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17126 before entering the kernel for waitpid.
17128 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 * NEWS: Fix note on clock function precision. Text by Roland
17133 2013-06-13 Roland McGrath <roland@hack.frob.com>
17135 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17136 it into place only when and if the sanity check passes.
17138 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17140 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17141 output for whether conversion result is exact. Take argument
17142 indicating whether type is IBM long double.
17143 (round_for_all): Change need_exact field to ibm_ld.
17144 * stdlib/tst-strtod-round.c (struct exactness): New type.
17145 (struct test): Change bool ld_ok field to struct exactness exact.
17146 (TEST): Update all definitions for change to field.
17147 (tests): Regenerate array contents.
17148 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17149 field value. Check for IBM long double here.
17150 (do_test): Update calls to test_in_one_mode.
17152 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17155 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17156 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17158 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17161 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17162 generated by the compiler on loop optimizations.
17163 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17164 general definitions.
17166 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17168 * math/bug-nextafter.c: Include <math-tests.h>.
17169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17171 * math/bug-nexttoward.c: Include <math-tests.h>.
17172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17174 * math/test-misc.c: Include <math-tests.h>.
17175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17178 2013-06-12 Andreas Jaeger <aj@suse.de>
17180 * po/ia.po: Update Interlingua translation from translation
17183 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17185 * include/fenv.h: Include stdbool.h.
17186 (struct rm_ctx): New structure.
17187 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17189 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17190 (SET_RESTORE_ROUNDF): Likewise.
17191 (SET_RESTORE_ROUNDL): Likewise.
17192 (SET_RESTORE_ROUND_NOEX): Likewise.
17193 (SET_RESTORE_ROUND_NOEXF): Likewise.
17194 (SET_RESTORE_ROUND_NOEXL): Likewise.
17195 (SET_RESTORE_ROUND_53BIT): Likewise.
17196 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17197 (libc_feresetround_noexf_ctx): Likewise.
17198 (libc_feresetround_noexl_ctx): Likewise.
17199 (libc_feholdsetround_53bit_ctx): Likewise.
17200 (libc_feresetround_53bit_ctx): Likewise.
17201 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17202 (libc_feholdexcept_setround_sse_ctx): New function.
17203 (libc_fesetenv_sse_ctx): Likewise.
17204 (libc_feupdateenv_sse_ctx): Likewise.
17205 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17206 (libc_feholdexcept_setround_387_ctx): Likewise.
17207 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17208 (libc_feholdsetround_387_prec_ctx): Likewise.
17209 (libc_feholdsetround_387_ctx): Likewise.
17210 (libc_feholdsetround_387_53bit_ctx): Likewise.
17211 (libc_feholdsetround_sse_ctx): Likewise.
17212 (libc_feresetround_sse_ctx): Likewise.
17213 (libc_feresetround_387_ctx): Likewise.
17214 (libc_feupdateenv_387_ctx): Likewise.
17215 (libc_feholdexcept_setroundf_ctx): Define macro.
17216 (libc_fesetenvf_ctx): Likewise.
17217 (libc_feupdateenvf_ctx): Likewise.
17218 (libc_feholdsetroundf_ctx): Likewise.
17219 (libc_feresetroundf_ctx): Likewise.
17220 (libc_feholdexcept_setround_ctx): Likewise.
17221 (libc_fesetenv_ctx): Likewise.
17222 (libc_feupdateenv_ctx): Likewise.
17223 (libc_feholdsetround_ctx): Likewise.
17224 (libc_feresetround_ctx): Likewise.
17225 (libc_feholdexcept_setroundl_ctx): Likewise.
17226 (libc_feupdateenvl_ctx): Likewise.
17227 (libc_feholdsetroundl_ctx): Likewise.
17228 (libc_feresetroundl_ctx): Likewise.
17229 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17230 (libc_feresetround_53bit_ctx): Likewise.
17232 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17234 * locale/iso-639.def: Convert to UTF-8.
17236 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17238 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17239 (EXCEPTION_TESTS_double): Likewise.
17240 (EXCEPTION_TESTS_long_double): Likewise.
17241 (EXCEPTION_TESTS): Likewise.
17242 * math/libm-test.inc (test_exceptions): Only test exceptions if
17243 EXCEPTION_TESTS (FLOAT).
17245 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17247 * benchtests/Makefile (string-bench): Add strcpy_chk and
17249 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17250 * benchtests/bench-stpcpy_chk.c: New file.
17251 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17252 * benchtests/bench-strcpy_chk.c: New file.
17253 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17255 (do_test): Likewise.
17257 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17260 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17261 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17262 with tabs where appropriate.
17263 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17265 [PPC_PLATFORM_PPC440]: Likewise.
17266 [PPC_PLATFORM_PPC464]: Likewise.
17267 [PPC_PLATFORM_PPC476]: Likewise.
17268 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17269 ppc464, and ppc476 platform strings merging from ports/
17272 2013-06-11 Andreas Schwab <schwab@suse.de>
17275 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17276 (from_ucs4_idx): Regenerate.
17277 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17278 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17279 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17280 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17281 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17282 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17283 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17284 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17285 from FROM_LOOP and TO_LOOP specific macros.
17286 (BODY): Handle combining characters.
17287 * iconvdata/BIG5HKSCS.irreversible: Update.
17288 * iconvdata/BIG5HKSCS.precomposed: New file.
17289 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17291 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17293 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17295 * include/sys/time.h: Fix indentation and add copyright header.
17297 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17298 (do_test): Likewise.
17299 * string/test-memchr.c (do_one_test): Likewise.
17300 (do_test): Likewise.
17301 * string/test-memcmp.c (do_one_test): Likewise.
17302 (do_test): Likewise.
17303 * string/test-memcpy.c (do_one_test): Likewise.
17304 (do_test): Likewise.
17305 * string/test-memmem.c (do_one_test): Likewise.
17306 (do_test): Likewise.
17307 (do_random_tests): Likewise.
17308 * string/test-memmove.c (do_one_test): Likewise.
17309 (do_test): Likewise.
17310 * string/test-memset.c (do_one_test): Likewise.
17311 (do_test): Likewise.
17312 * string/test-rawmemchr.c (do_one_test): Likewise.
17313 (do_test): Likewise.
17314 * string/test-strcasecmp.c (do_one_test): Likewise.
17315 (do_test): Likewise.
17316 * string/test-strcasestr.c (do_one_test): Likewise.
17317 (do_test): Likewise.
17318 * string/test-strcat.c (do_one_test): Likewise.
17319 (do_test): Likewise.
17320 * string/test-strchr.c (do_one_test): Likewise.
17321 (do_test): Likewise.
17322 * string/test-strcmp.c (do_one_test): Likewise.
17323 (do_test): Likewise.
17324 * string/test-strcpy.c (do_one_test): Likewise.
17325 (do_test): Likewise.
17326 * string/test-string.h: Likewise.
17327 (test_init): Likewise.
17328 * string/test-strlen.c (do_one_test): Likewise.
17329 (do_test): Likewise.
17330 * string/test-strncasecmp.c (do_one_test): Likewise.
17331 (do_test): Likewise.
17332 * string/test-strncat.c (do_one_test): Likewise.
17333 (do_test): Likewise.
17334 * string/test-strncmp.c (do_one_test): Likewise.
17335 (do_test_limit): Likewise.
17336 (do_test): Likewise.
17337 * string/test-strncpy.c (do_one_test): Likewise.
17338 (do_test): Likewise.
17339 * string/test-strnlen.c (do_one_test): Likewise.
17340 (do_test): Likewise.
17341 * string/test-strpbrk.c (do_one_test): Likewise.
17342 (do_test): Likewise.
17343 * string/test-strrchr.c (do_one_test): Likewise.
17344 (do_test): Likewise.
17345 * string/test-strspn.c (do_one_test): Likewise.
17346 (do_test): Likewise.
17347 * string/test-strstr.c (do_one_test): Likewise.
17348 (do_test): Likewise.
17350 * benchtests/Makefile (string-bench): Add string benchmarks.
17351 * benchtests/bench-bcopy-ifunc.c: New file.
17352 * benchtests/bench-bcopy.c: New file.
17353 * benchtests/bench-bzero-ifunc.c: New file.
17354 * benchtests/bench-bzero.c: New file.
17355 * benchtests/bench-memccpy-ifunc.c: New file.
17356 * benchtests/bench-memccpy.c: New file.
17357 * benchtests/bench-memchr-ifunc.c: New file.
17358 * benchtests/bench-memchr.c: New file.
17359 * benchtests/bench-memcmp-ifunc.c: New file.
17360 * benchtests/bench-memcmp.c: New file.
17361 * benchtests/bench-memmem-ifunc.c: New file.
17362 * benchtests/bench-memmem.c: New file.
17363 * benchtests/bench-memmove-ifunc.c: New file.
17364 * benchtests/bench-memmove.c: New file.
17365 * benchtests/bench-mempcpy-ifunc.c: New file.
17366 * benchtests/bench-mempcpy.c: New file.
17367 * benchtests/bench-memset-ifunc.c: New file.
17368 * benchtests/bench-memset.c: New file.
17369 * benchtests/bench-rawmemchr-ifunc.c: New file.
17370 * benchtests/bench-rawmemchr.c: New file.
17371 * benchtests/bench-stpcpy-ifunc.c: New file.
17372 * benchtests/bench-stpcpy.c: New file.
17373 * benchtests/bench-stpncpy-ifunc.c: New file.
17374 * benchtests/bench-stpncpy.c: New file.
17375 * benchtests/bench-strcasecmp-ifunc.c: New file.
17376 * benchtests/bench-strcasecmp.c: New file.
17377 * benchtests/bench-strcasestr-ifunc.c: New file.
17378 * benchtests/bench-strcasestr.c: New file.
17379 * benchtests/bench-strcat-ifunc.c: New file.
17380 * benchtests/bench-strcat.c: New file.
17381 * benchtests/bench-strchr-ifunc.c: New file.
17382 * benchtests/bench-strchr.c: New file.
17383 * benchtests/bench-strchrnul-ifunc.c: New file.
17384 * benchtests/bench-strchrnul.c: New file.
17385 * benchtests/bench-strcmp-ifunc.c: New file.
17386 * benchtests/bench-strcmp.c: New file.
17387 * benchtests/bench-strcpy-ifunc.c: New file.
17388 * benchtests/bench-strcpy.c: New file.
17389 * benchtests/bench-strcspn-ifunc.c: New file.
17390 * benchtests/bench-strcspn.c: New file.
17391 * benchtests/bench-strlen-ifunc.c: New file.
17392 * benchtests/bench-strlen.c: New file.
17393 * benchtests/bench-strncasecmp-ifunc.c: New file.
17394 * benchtests/bench-strncasecmp.c: New file.
17395 * benchtests/bench-strncat-ifunc.c: New file.
17396 * benchtests/bench-strncat.c: New file.
17397 * benchtests/bench-strncmp-ifunc.c: New file.
17398 * benchtests/bench-strncmp.c: New file.
17399 * benchtests/bench-strncpy-ifunc.c: New file.
17400 * benchtests/bench-strncpy.c: New file.
17401 * benchtests/bench-strnlen-ifunc.c: New file.
17402 * benchtests/bench-strnlen.c: New file.
17403 * benchtests/bench-strpbrk-ifunc.c: New file.
17404 * benchtests/bench-strpbrk.c: New file.
17405 * benchtests/bench-strrchr-ifunc.c: New file.
17406 * benchtests/bench-strrchr.c: New file.
17407 * benchtests/bench-strspn-ifunc.c: New file.
17408 * benchtests/bench-strspn.c: New file.
17409 * benchtests/bench-strstr-ifunc.c: New file.
17410 * benchtests/bench-strstr.c: New file.
17412 * benchtests/Makefile: Disable parallel execution of targets.
17413 (string-bench): Add memcpy.
17414 (benchset): New variable to store a list of benchmark sets.
17415 (bench-func): Renamed from bench.
17416 (bench-set): New target.
17417 (bench): Depend on bench-func and bench-set.
17418 * benchtests/README: Add section on benchmark sets.
17419 * benchtests/bench-memcpy-ifunc.c: New file.
17420 * benchtests/bench-memcpy.c: New file.
17421 * benchtests/bench-string.h: New file.
17423 2013-06-11 Andreas Schwab <schwab@suse.de>
17426 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17427 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17428 values in the triple.
17429 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17430 terminator in the group key.
17432 2013-06-11 Andreas Jaeger <aj@suse.de>
17434 * po/zh_TW.po: Update Chinese (traditional) translation from
17435 translation project.
17437 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17439 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17440 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17441 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17443 (clock_getcpuclockid): Likewise.
17444 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17445 Add weak_alias and libc_hidden_def.
17446 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17447 * rt/clock_gettime.c (clock_gettime): Rename to
17448 __clock_gettime. Add weak_alias and libc_hidden_def.
17449 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17450 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17451 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17452 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17453 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17455 * rt/clock_settime.c (clock_settime): Rename to
17456 __clock_settime. Add weak_alias and libc_hidden_def.
17457 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17459 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17461 * mach/err_boot.sub: Remove trailing whitespace.
17462 * mach/err_ipc.sub: Likewise.
17463 * mach/err_mach.sub: Likewise.
17465 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17466 (ROUNDING_TESTS_double): Likewise.
17467 (ROUNDING_TESTS_long_double): Likewise.
17468 (ROUNDING_TESTS): Likewise.
17469 * math/libm-test.inc: Include <math-tests.h>.
17470 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17475 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17477 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17480 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17482 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17483 otherwise empty TRANS lines.
17484 * sysdeps/gnu/errlist.c: Regenerated.
17486 * catgets/gencat.c (error_print): Use (void) in function
17488 * crypt/crypt_util.c (__init_des): Likewise.
17489 * crypt/speeds.c (Stop): Likewise.
17491 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17492 * inet/ruserpass.c (token): Likewise.
17493 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17494 * intl/localealias.c (extend_alias_table): Likewise.
17495 * intl/plural-exp.c (init_germanic_plural): Likewise.
17496 * libio/fcloseall.c (__fcloseall): Likewise.
17497 * libio/genops.c (_IO_flush_all): Likewise.
17498 (_IO_flush_all_linebuffered): Likewise.
17499 (_IO_cleanup): Likewise.
17500 (_IO_iter_begin): Likewise.
17501 (_IO_iter_end): Likewise.
17502 (_IO_list_lock): Likewise.
17503 (_IO_list_unlock): Likewise.
17504 (_IO_list_resetlock): Likewise.
17505 * libio/getchar.c (getchar): Likewise.
17506 * libio/getchar_u.c (getchar_unlocked): Likewise.
17507 * libio/getwchar.c (getwchar): Likewise.
17508 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17509 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17510 * login/getpt.c (__getpt): Likewise.
17511 * login/tst-utmp.c (main): Likewise.
17512 * malloc/hooks.c (__malloc_check_init): Likewise.
17513 * malloc/malloc.c (__malloc_stats): Likewise.
17514 * malloc/mtrace.c (tr_break): Likewise.
17515 (mtrace): Likewise.
17516 (muntrace): Likewise.
17517 * misc/fstab.c (endfsent): Likewise.
17518 * misc/getclktck.c (__getclktck): Likewise.
17519 * misc/getdtsz.c (__getdtablesize): Likewise.
17520 * misc/gethostid.c (gethostid): Likewise.
17521 * misc/getpagesize.c (__getpagesize): Likewise.
17522 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17523 (__get_nprocs): Likewise.
17524 (__get_phys_pages): Likewise.
17525 (__get_avphys_pages): Likewise.
17526 * misc/getttyent.c (getttyent): Likewise.
17527 (setttyent): Likewise.
17528 (endttyent): Likewise.
17529 * misc/getusershell.c (getusershell): Likewise.
17530 (endusershell): Likewise.
17531 (setusershell): Likewise.
17532 (initshells): Likewise.
17533 * misc/hsearch.c (__hdestroy): Likewise.
17534 * misc/sync.c (sync): Likewise.
17535 * misc/syslog.c (closelog_internal): Likewise.
17536 (closelog): Likewise.
17537 * misc/ttyslot.c (ttyslot): Likewise.
17538 * misc/vhangup.c (vhangup): Likewise.
17539 * posix/fork.c (__fork): Likewise.
17540 * posix/getegid.c (__getegid): Likewise.
17541 * posix/geteuid.c (__geteuid): Likewise.
17542 * posix/getgid.c (__getgid): Likewise.
17543 * posix/getpid.c (__getpid): Likewise.
17544 * posix/getppid.c (__getppid): Likewise.
17545 * posix/getuid.c (__getuid): Likewise.
17546 * posix/pause.c (pause): Likewise.
17547 * posix/setpgrp.c (setpgrp): Likewise.
17548 * posix/setsid.c (__setsid): Likewise.
17549 * posix/test-vfork.c (noop): Likewise.
17550 * resolv/gethnamaddr.c (_endhtent): Likewise.
17551 (_gethtent): Likewise.
17552 (ht_endhostent): Likewise.
17553 (gethostent): Likewise.
17554 (dns_service): Likewise.
17555 * stdlib/drand48.c (drand48): Likewise.
17556 * stdlib/lrand48.c (lrand48): Likewise.
17557 * stdlib/mrand48.c (mrand48): Likewise.
17558 * stdlib/rand.c (rand): Likewise.
17559 * stdlib/random.c (__random): Likewise.
17560 * stdlib/setenv.c (clearenv): Likewise.
17561 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17562 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17563 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17564 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17565 (__get_nprocs): Likewise.
17566 (__get_phys_pages): Likewise.
17567 (__get_avphys_pages): Likewise.
17568 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17569 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17570 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17571 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17572 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17573 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17574 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17575 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17576 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17577 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17578 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17579 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17580 * sysdeps/posix/clock.c (clock): Likewise.
17581 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17582 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17583 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17584 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17585 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17587 (__get_nprocs_conf): Likewise.
17588 (__get_phys_pages): Likewise.
17589 (__get_avphys_pages): Likewise.
17590 * time/clock.c (clock): Likewise.
17591 * time/tzset.c (__tzname_max): Likewise.
17593 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17595 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17596 (__bswap_32): Do not use "register".
17597 * crypt/crypt.c (_ufc_doit_r): Likewise.
17598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17599 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17600 * gmon/gmon.c (__monstartup): Likewise.
17601 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17602 * hurd/hurdmalloc.c (more_memory): Likewise.
17603 (malloc): Likewise.
17605 (realloc): Likewise.
17606 (malloc_fork_prepare): Likewise.
17607 (malloc_fork_parent): Likewise.
17608 (malloc_fork_child): Likewise.
17609 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17610 (_svcauth_des): Likewise.
17611 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17612 * inet/inet_net.c (inet_network): Likewise.
17613 * inet/inet_netof.c (inet_netof): Likewise.
17614 * inet/rcmd.c (__validuser2_sa): Likewise.
17615 * io/fts.c (fts_open): Likewise.
17616 (fts_load): Likewise.
17617 (fts_close): Likewise.
17618 (fts_read): Likewise.
17619 (fts_children): Likewise.
17620 (fts_build): Likewise.
17621 (fts_stat): Likewise.
17622 (fts_sort): Likewise.
17623 (fts_alloc): Likewise.
17624 (fts_lfree): Likewise.
17625 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17626 (_IO_file_xsgetn): Likewise.
17627 (_IO_file_xsgetn_mmap): Likewise.
17628 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17629 (_IO_cookie_write): Likewise.
17630 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17631 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17632 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17633 * malloc/obstack.c (_obstack_begin): Likewise.
17634 (_obstack_begin_1): Likewise.
17635 (_obstack_newchunk): Likewise.
17636 (_obstack_allocated_p): Likewise.
17637 (obstack_free): Likewise.
17638 (_obstack_memory_used): Likewise.
17639 * misc/getttyent.c (getttynam): Likewise.
17640 (getttyent): Likewise.
17643 * misc/getusershell.c (initshells): Likewise.
17644 * misc/syslog.c (__vsyslog_chk): Likewise.
17645 * misc/ttyslot.c (ttyslot): Likewise.
17646 * nis/nis_hash.c (__nis_hash): Likewise.
17647 * posix/fnmatch_loop.c (FCT): Likewise.
17648 * posix/getconf.c (print_all): Likewise.
17650 * posix/getopt.c (exchange): Likewise.
17651 * posix/glob.c (globfree): Likewise.
17652 (prefix_array): Likewise.
17653 (__glob_pattern_type): Likewise.
17654 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17655 (NS_GET32): Likewise.
17656 (NS_PUT16): Likewise.
17657 (NS_PUT32): Likewise.
17658 * resolv/gethnamaddr.c (getanswer): Likewise.
17659 (gethostbyname2): Likewise.
17660 (gethostbyaddr): Likewise.
17661 (_gethtent): Likewise.
17662 (_gethtbyname2): Likewise.
17663 (_gethtbyaddr): Likewise.
17664 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17665 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17666 * resolv/res_init.c (__res_vinit): Likewise.
17667 (net_mask): Likewise.
17668 * resolv/res_mkquery.c (outchar): Likewise.
17670 * stdio-common/printf_fp.c (outchar): Likewise.
17672 * stdio-common/printf_fphex.c (outchar): Likewise.
17674 * stdio-common/printf_size.c (outchar): Likewise.
17676 * stdio-common/test_rdwr.c (main): Likewise.
17677 * stdio-common/tfformat.c (matches): Likewise.
17678 * stdio-common/vfprintf.c (outchar): Likewise.
17679 (printf_unknown): Likewise.
17680 (buffered_vfprintf): Likewise.
17681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17682 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17683 (ReadFile): Likewise.
17684 * stdlib/qsort.c (SWAP): Likewise.
17685 (_quicksort): Likewise.
17686 * stdlib/setenv.c (__add_to_environ): Likewise.
17687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17688 * stdlib/strtol_l.c (__strtol_l): Likewise.
17689 * stdlib/tst-strtod.c (main): Likewise.
17690 * stdlib/tst-strtol.c (main): Likewise.
17691 * stdlib/tst-strtoll.c (main): Likewise.
17692 * string/bits/string2.h (__strcmp_cc): Likewise.
17693 (__strcmp_cg): Likewise.
17694 (__strcspn_c1): Likewise.
17695 (__strcspn_c2): Likewise.
17696 (__strcspn_c3): Likewise.
17697 (__strspn_c1): Likewise.
17698 (__strspn_c2): Likewise.
17699 (__strspn_c3): Likewise.
17700 (__strsep_1c): Likewise.
17701 (__strsep_2c): Likewise.
17702 (__strsep_3c): Likewise.
17703 * string/memccpy.c (__memccpy): Likewise.
17704 * string/stpcpy.c (__stpcpy): Likewise.
17705 * string/strcmp.c (strcmp): Likewise.
17706 * string/strrchr.c (strrchr): Likewise.
17707 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17709 * sysdeps/mach/hurd/getcwd.c
17710 (_hurd_canonicalize_directory_name_internal): Likewise.
17711 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17712 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17714 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17715 Likewise, in both definitions.
17716 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17718 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17719 64] (__bswap_64): Likewise.
17720 * time/test_time.c (main): Likewise.
17721 * time/tzfile.c (__tzfile_read): Likewise.
17722 (__tzfile_compute): Likewise.
17723 * time/tzset.c (__tzset_parse_tz): Likewise.
17724 (tzset_internal): Likewise.
17725 (compute_change): Likewise.
17726 * wcsmbs/wcscat.c (__wcscat): Likewise.
17727 * wcsmbs/wcschr.c (wcschr): Likewise.
17728 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17729 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17730 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17731 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17732 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17733 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17734 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17736 * wcsmbs/wmemset.c (wmemset): Likewise.
17738 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17740 * scripts/config.guess: Update to version 2013-05-16.
17741 * scripts/config.sub: Update to version 2013-04-24.
17742 * scripts/install-sh: Update to version 2011-11-20.07.
17743 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17744 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17746 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17748 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17749 * elf/sln.c: Likewise.
17750 * hurd/hurd/ioctl.h: Likewise.
17751 * hurd/hurdmalloc.c: Likewise.
17752 * hurd/xattr.c: Likewise.
17753 * include/shlib-compat.h: Likewise.
17754 * inet/ruserpass.c: Likewise.
17755 * libio/iofgets_u.c: Likewise.
17756 * libio/iofgetws_u.c: Likewise.
17757 * locale/programs/ld-identification.c: Likewise.
17758 * locale/programs/ld-time.c: Likewise.
17759 * mach/msg-destroy.c: Likewise.
17760 * nss/nss_files/files-netgrp.c: Likewise.
17761 * resolv/res_data.c: Likewise.
17762 * soft-fp/op-1.h: Likewise.
17763 * soft-fp/op-2.h: Likewise.
17764 * soft-fp/op-4.h: Likewise.
17765 * soft-fp/op-common.h: Likewise.
17766 * stdio-common/printf_fphex.c: Likewise.
17767 * stdlib/strtod_l.c: Likewise.
17768 * sunrpc/rpc/clnt.h: Likewise.
17769 * sysdeps/generic/framestate.c: Likewise.
17770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17771 * sysdeps/i386/bsd-setjmp.S: Likewise.
17772 * sysdeps/i386/__longjmp.S: Likewise.
17773 * sysdeps/i386/setjmp.S: Likewise.
17774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17792 * sysdeps/ieee754/support.c: Likewise.
17793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17794 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17795 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17796 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17797 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17798 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17799 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17800 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17802 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17803 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17804 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17808 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17812 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17814 * posix/transbug.c: Remove executable mode.
17816 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17818 * crypt/speeds.c: Remove trailing whitespace.
17819 * dlfcn/default.c: Likewise.
17820 * elf/ifuncdep2.c: Likewise.
17821 * elf/ifuncmain1.c: Likewise.
17822 * elf/ifuncmain1vis.c: Likewise.
17823 * elf/testobj.h: Likewise.
17824 * elf/tst-stackguard1.c: Likewise.
17825 * gmon/sys/gmon.h: Likewise.
17826 * hurd/hurdmsg.c: Likewise.
17827 * hurd/new-fd.c: Likewise.
17828 * hurd/ports-get.c: Likewise.
17829 * iconvdata/ibm1008_420.c: Likewise.
17830 * inet/tst-getni1.c: Likewise.
17831 * inet/tst-getni2.c: Likewise.
17832 * libio/ioungetc.c: Likewise.
17833 * libio/wfiledoalloc.c: Likewise.
17834 * manual/libm-err-tab.pl: Likewise.
17835 * math/w_dremf.c: Likewise.
17836 * misc/ftruncate.c: Likewise.
17837 * posix/bug-glob2.c: Likewise.
17838 * posix/tst-pcre.c: Likewise.
17839 * posix/wait4.c: Likewise.
17840 * resolv/README: Likewise.
17841 * resolv/res_debug.h: Likewise.
17842 * resolv/tst-inet_ntop.c: Likewise.
17843 * setjmp/bug269-setjmp.c: Likewise.
17844 * soft-fp/extended.h: Likewise.
17845 * soft-fp/op-1.h: Likewise.
17846 * soft-fp/op-2.h: Likewise.
17847 * soft-fp/op-4.h: Likewise.
17848 * soft-fp/op-8.h: Likewise.
17849 * soft-fp/testit.c: Likewise.
17850 * stdio-common/bug16.c: Likewise.
17851 * stdlib/random.c: Likewise.
17852 * sunrpc/rpcsvc/rquota.x: Likewise.
17853 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17882 * sysdeps/ieee754/s_lib_version.c: Likewise.
17883 * sysdeps/mach/hurd/check_fds.c: Likewise.
17884 * sysdeps/mach/hurd/getsockname.c: Likewise.
17885 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17886 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17887 * sysdeps/powerpc/bits/link.h: Likewise.
17888 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17889 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17890 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17891 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17894 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17896 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17900 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17901 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17902 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17903 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17909 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17924 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17930 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17931 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17932 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17934 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17936 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17937 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17944 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17950 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17952 * sysdeps/powerpc/sysdep.h: Likewise.
17953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17954 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17955 * sysdeps/sh/dl-trampoline.S: Likewise.
17956 * sysdeps/sh/memset.S: Likewise.
17957 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17958 * sysdeps/sh/strlen.S: Likewise.
17959 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17960 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17961 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17962 * sysdeps/sparc/sparc32/rem.S: Likewise.
17963 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17965 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17966 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17967 * sysdeps/sparc/sparc32/urem.S: Likewise.
17968 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17970 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17971 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17973 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17976 * sysdeps/unix/bsd/times.c: Likewise.
17977 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17978 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17989 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17995 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17997 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17998 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18000 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18001 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18002 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18003 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18005 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18006 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18007 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18008 * sysdeps/x86_64/strcspn.S: Likewise.
18010 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18012 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18013 generated file. Regenerate properly from gen-translit.pl.
18014 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18015 locale/C-translit.h.
18017 2013-06-05 Andreas Schwab <schwab@suse.de>
18020 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18021 week as 6 instead of -1.
18022 * time/tst-strptime.c (day_tests): Add test case.
18024 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18026 * sysdeps/generic/math_private.h
18027 (libc_feholdexcept_setround_53bit): Replace with
18028 libc_feholdsetround_53bit.
18029 (libc_feupdateenv_53bit): Replace with
18030 libc_feresetround_53bit.
18031 (SET_RESTORE_ROUND_53BIT): Adjust.
18033 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18035 * string/test-strchrnul.c: Add copyright header.
18037 * posix/tst-getaddrinfo4.c: Increase test timeout.
18039 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18042 * math/libm-test.inc (MAX_EXP): Remove
18044 (ulp): Use MIN_EXP - MANT_DIG.
18045 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18047 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18049 * po/be.po: Revert last change.
18050 * po/zh_CN.po: Likewise.
18051 * po/header.pot: Likewise.
18053 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18055 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18056 link-libc-deps to empty as target-specific variable.
18057 * Makerules (link-libc-args): New variable.
18058 (libc-for-link): Likewise.
18059 (link-libc-deps): Likewise.
18060 (lib%.so): Depend on $(link-libc-deps). Link with
18062 (build-module): Link with $(link-libc-args).
18063 (build-module-asneeded): Likewise.
18064 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18066 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18067 target-specific variable.
18068 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18069 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18070 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18072 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18074 ($(objpfx)libpcprofile.so): Likewise.
18075 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18077 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18078 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18081 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18082 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18083 * login/Makefile ($(objpfx)libutil.so): Likewise.
18084 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18085 * math/Makefile ($(objpfx)libm.so): Likewise.
18086 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18087 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18088 variable instead of depending directly on libc.
18089 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18090 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18092 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18094 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18095 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18096 ($(objpfx)libanl.so): Likewise.
18097 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18099 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18101 * sysdeps/i386/fpu/Makefile: Remove file.
18102 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18103 ($(objpfx)libm.so): Remove dependency on ld.so.
18105 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18108 * nis/yp_xdr.c (XDRMAXNAME): Define.
18109 (XDRMAXRECORD): Define.
18110 (xdr_domainname): Use XDRMAXNAME.
18111 (xdr_mapname): Likewise.
18112 (xdr_peername): Likewise.
18113 (xdr_keydat): Use XDRMAXRECORD.
18114 (xdr_valdat): Likewise.
18116 2013-05-30 Jeff Law <law@redhat.com>
18119 * manual/errno.texi (ESTALE): Update to account for more than
18120 just NFS file systems.
18121 * sysdeps/gnu/errlist.c: Regenerated.
18123 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18126 * elf/Makefile (tests): Add tst-null-argv.
18127 (modules-names): Add tst-null-argv-lib.
18128 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18129 (tst-null-argv-ENV): Set environment for tst-null-argv.
18130 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18131 (RTLD_PROGNAME): New macro.
18132 * elf/tst-null-argv.c: New test case.
18133 * elf/tst-null-argv-lib.c: Library for test case.
18134 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18135 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18136 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18137 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18138 * elf/dl-init.c (call_init): Likewise.
18139 (_dl_init): Likewise.
18140 * elf/dl-load.c (print_search_path): Likewise.
18141 (_dl_map_object): Likewise.
18142 * elf/dl-lookup.c (do_lookup_x): Likewise.
18143 (add_dependency): Likewise.
18144 (_dl_lookup_symbol_x): Likewise.
18145 (_dl_debug_bindings): Likewise.
18146 * elf/dl-open.c (_dl_show_scope): Likewise.
18147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18148 * elf/dl-version.c (match_symbol): Likewise.
18149 (_dl_check_map_versions): Likewise.
18150 * elf/rtld.c (dl_main): Likewise.
18151 (print_unresolved): Use RTLD_PROGNAME.
18152 (print_missing_version): Likewise.
18153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18154 (elf_machine_rela): Likewise.
18155 * sysdeps/powerpc/powerpc32/dl-machine.c
18156 (__process_machine_rela): Likewise.
18157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18170 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18172 * po/be.po: Add descriptive title.
18173 * po/zh_CN.po: Likewise.
18174 * po/header.pot: Likewise.
18176 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18178 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18180 (enlarge_archive): Likewise.
18182 2013-05-28 Ben North <ben@redfrontdoor.org>
18184 * manual/arith.texi (frexp): It is the magnitude of the return
18185 value which lies in [0.5, 1), not the return value itself.
18187 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18191 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18193 * stdio-common/bug26.c (main): Correct fscanf template.
18195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18196 declare _dl_skip_args.
18198 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18201 * manual/platform.texi: Add missing @end deftypefun.
18203 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18207 bit of mantissa of 2^16382.
18208 * math/libm-test.inc (hypot_test_data): Add more tests.
18210 * math/libm-test.inc: Add drem and pow10 to list of tested
18212 (pow10_test): New function.
18213 (drem_test): Likewise.
18214 (drem_test_tonearest): Likewise.
18215 (drem_test_towardzero): Likewise.
18216 (drem_test_downward): Likewise.
18217 (drem_test_upward): Likewise.
18218 (main): Call the new functions.
18220 * math/libm-test.inc (finite_test_data): Remove.
18221 (finite_test): Run tests from isfinite_test_data.
18222 (gamma_test_data): Remove.
18223 (gamma_test): Run tests from lgamma_test_data.
18224 * sysdeps/i386/fpu/libm-test-ulps: Update.
18225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18227 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18229 * manual/platform.texi: Add PowerPC PPR function set documentation.
18230 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18233 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18235 * math/libm-test.inc (MAX_EXP): Define.
18237 (ulp): New function.
18238 (check_float_internal): Use ULPDIFF.
18239 (cpow_test): Disable failing test.
18240 (check_ulp): Test ulp() implemetnation.
18241 (main): Call check_ulp before starting tests.
18243 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18245 * math/gen-libm-test.pl (generate_testfile): Do not handle
18246 START_DATA and END_DATA.
18247 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18249 (acos_tonearest_test_data): Likewise.
18250 (acos_towardzero_test_data): Likewise.
18251 (acos_downward_test_data): Likewise.
18252 (acos_upward_test_data): Likewise.
18253 (acosh_test_data): Likewise.
18254 (asin_test_data): Likewise.
18255 (asin_tonearest_test_data): Likewise.
18256 (asin_towardzero_test_data): Likewise.
18257 (asin_downward_test_data): Likewise.
18258 (asin_upward_test_data): Likewise.
18259 (asinh_test_data): Likewise.
18260 (atan_test_data): Likewise.
18261 (atanh_test_data): Likewise.
18262 (atan2_test_data): Likewise.
18263 (cabs_test_data): Likewise.
18264 (cacos_test_data): Likewise.
18265 (cacosh_test_data): Likewise.
18266 (carg_test_data): Likewise.
18267 (casin_test_data): Likewise.
18268 (casinh_test_data): Likewise.
18269 (catan_test_data): Likewise.
18270 (catanh_test_data): Likewise.
18271 (cbrt_test_data): Likewise.
18272 (ccos_test_data): Likewise.
18273 (ccosh_test_data): Likewise.
18274 (ceil_test_data): Likewise.
18275 (cexp_test_data): Likewise.
18276 (cimag_test_data): Likewise.
18277 (clog_test_data): Likewise.
18278 (clog10_test_data): Likewise.
18279 (conj_test_data): Likewise.
18280 (copysign_test_data): Likewise.
18281 (cos_test_data): Likewise.
18282 (cos_tonearest_test_data): Likewise.
18283 (cos_towardzero_test_data): Likewise.
18284 (cos_downward_test_data): Likewise.
18285 (cos_upward_test_data): Likewise.
18286 (cosh_test_data): Likewise.
18287 (cosh_tonearest_test_data): Likewise.
18288 (cosh_towardzero_test_data): Likewise.
18289 (cosh_downward_test_data): Likewise.
18290 (cosh_upward_test_data): Likewise.
18291 (cpow_test_data): Likewise.
18292 (cproj_test_data): Likewise.
18293 (creal_test_data): Likewise.
18294 (csin_test_data): Likewise.
18295 (csinh_test_data): Likewise.
18296 (csqrt_test_data): Likewise.
18297 (ctan_test_data): Likewise.
18298 (ctan_tonearest_test_data): Likewise.
18299 (ctan_towardzero_test_data): Likewise.
18300 (ctan_downward_test_data): Likewise.
18301 (ctan_upward_test_data): Likewise.
18302 (ctanh_test_data): Likewise.
18303 (ctanh_tonearest_test_data): Likewise.
18304 (ctanh_towardzero_test_data): Likewise.
18305 (ctanh_downward_test_data): Likewise.
18306 (ctanh_upward_test_data): Likewise.
18307 (erf_test_data): Likewise.
18308 (erfc_test_data): Likewise.
18309 (exp_test_data): Likewise.
18310 (exp_tonearest_test_data): Likewise.
18311 (exp_towardzero_test_data): Likewise.
18312 (exp_downward_test_data): Likewise.
18313 (exp_upward_test_data): Likewise.
18314 (exp10_test_data): Likewise.
18315 (exp2_test_data): Likewise.
18316 (expm1_test_data): Likewise.
18317 (fabs_test_data): Likewise.
18318 (fdim_test_data): Likewise.
18319 (finite_test_data): Likewise.
18320 (floor_test_data): Likewise.
18321 (fma_test_data): Likewise.
18322 (fma_towardzero_test_data): Likewise.
18323 (fma_downward_test_data): Likewise.
18324 (fma_upward_test_data): Likewise.
18325 (fmax_test_data): Likewise.
18326 (fmin_test_data): Likewise.
18327 (fmod_test_data): Likewise.
18328 (fpclassify_test_data): Likewise.
18329 (frexp_test_data): Likewise.
18330 (gamma_test_data): Likewise.
18331 (hypot_test_data): Likewise.
18332 (ilogb_test_data): Likewise.
18333 (isfinite_test_data): Likewise.
18334 (isgreater_test_data): Likewise.
18335 (isgreaterequal_test_data): Likewise.
18336 (isinf_test_data): Likewise.
18337 (isless_test_data): Likewise.
18338 (islessequal_test_data): Likewise.
18339 (islessgreater_test_data): Likewise.
18340 (isnan_test_data): Likewise.
18341 (isnormal_test_data): Likewise.
18342 (issignaling_test_data): Likewise.
18343 (isunordered_test_data): Likewise.
18344 (j0_test_data): Likewise.
18345 (j1_test_data): Likewise.
18346 (jn_test_data): Likewise.
18347 (ldexp_test_data): Likewise.
18348 (lgamma_test_data): Likewise.
18349 (lrint_test_data): Likewise.
18350 (lrint_tonearest_test_data): Likewise.
18351 (lrint_towardzero_test_data): Likewise.
18352 (lrint_downward_test_data): Likewise.
18353 (lrint_upward_test_data): Likewise.
18354 (llrint_test_data): Likewise.
18355 (llrint_tonearest_test_data): Likewise.
18356 (llrint_towardzero_test_data): Likewise.
18357 (llrint_downward_test_data): Likewise.
18358 (llrint_upward_test_data): Likewise.
18359 (log_test_data): Likewise.
18360 (log10_test_data): Likewise.
18361 (log1p_test_data): Likewise.
18362 (log2_test_data): Likewise.
18363 (logb_test_data): Likewise.
18364 (logb_downward_test_data): Likewise.
18365 (lround_test_data): Likewise.
18366 (llround_test_data): Likewise.
18367 (modf_test_data): Likewise.
18368 (nearbyint_test_data): Likewise.
18369 (nextafter_test_data): Likewise.
18370 (nexttoward_test_data): Likewise.
18371 (pow_test_data): Likewise.
18372 (pow_tonearest_test_data): Likewise.
18373 (pow_towardzero_test_data): Likewise.
18374 (pow_downward_test_data): Likewise.
18375 (pow_upward_test_data): Likewise.
18376 (remainder_test_data): Likewise.
18377 (remainder_tonearest_test_data): Likewise.
18378 (remainder_towardzero_test_data): Likewise.
18379 (remainder_downward_test_data): Likewise.
18380 (remainder_upward_test_data): Likewise.
18381 (remquo_test_data): Likewise.
18382 (rint_test_data): Likewise.
18383 (rint_tonearest_test_data): Likewise.
18384 (rint_towardzero_test_data): Likewise.
18385 (rint_downward_test_data): Likewise.
18386 (rint_upward_test_data): Likewise.
18387 (round_test_data): Likewise.
18388 (scalb_test_data): Likewise.
18389 (scalbn_test_data): Likewise.
18390 (scalbln_test_data): Likewise.
18391 (signbit_test_data): Likewise.
18392 (sin_test_data): Likewise.
18393 (sin_tonearest_test_data): Likewise.
18394 (sin_towardzero_test_data): Likewise.
18395 (sin_downward_test_data): Likewise.
18396 (sin_upward_test_data): Likewise.
18397 (sincos_test_data): Likewise.
18398 (sinh_test_data): Likewise.
18399 (sinh_tonearest_test_data): Likewise.
18400 (sinh_towardzero_test_data): Likewise.
18401 (sinh_downward_test_data): Likewise.
18402 (sinh_upward_test_data): Likewise.
18403 (sqrt_test_data): Likewise.
18404 (tan_test_data): Likewise.
18405 (tan_tonearest_test_data): Likewise.
18406 (tan_towardzero_test_data): Likewise.
18407 (tan_downward_test_data): Likewise.
18408 (tan_upward_test_data): Likewise.
18409 (tanh_test_data): Likewise.
18410 (tgamma_test_data): Likewise.
18411 (trunc_test_data): Likewise.
18412 (y0_test_data): Likewise.
18413 (y1_test_data): Likewise.
18414 (yn_test_data): Likewise.
18415 (significand_test_data): Likewise.
18417 * math/gen-libm-test.pl (@functions): Remove variable.
18418 (generate_testfile): Don't handle START and END lines.
18419 * math/libm-test.inc (START): New macro.
18421 (END_COMPLEX): Likewise.
18422 (acos_test): Use END macro without arguments.
18423 (acos_test_tonearest): Likewise.
18424 (acos_test_towardzero): Likewise.
18425 (acos_test_downward): Likewise.
18426 (acos_test_upward): Likewise.
18427 (acosh_test): Likewise.
18428 (asin_test): Likewise.
18429 (asin_test_tonearest): Likewise.
18430 (asin_test_towardzero): Likewise.
18431 (asin_test_downward): Likewise.
18432 (asin_test_upward): Likewise.
18433 (asinh_test): Likewise.
18434 (atan_test): Likewise.
18435 (atanh_test): Likewise.
18436 (atan2_test): Likewise.
18437 (cabs_test): Likewise.
18438 (cacos_test): Use END_COMPLEX macro without arguments.
18439 (cacosh_test): Likewise.
18440 (carg_test): Use END macro without arguments.
18441 (casin_test): Use END_COMPLEX macro without arguments.
18442 (casinh_test): Likewise.
18443 (catan_test): Likewise.
18444 (catanh_test): Likewise.
18445 (cbrt_test): Use END macro without arguments.
18446 (ccos_test): Use END_COMPLEX macro without arguments.
18447 (ccosh_test): Likewise.
18448 (ceil_test): Use END macro without arguments.
18449 (cexp_test): Use END_COMPLEX macro without arguments.
18450 (cimag_test): Use END macro without arguments.
18451 (clog_test): Use END_COMPLEX macro without arguments.
18452 (clog10_test): Likewise.
18453 (conj_test): Likewise.
18454 (copysign_test): Use END macro without arguments.
18455 (cos_test): Likewise.
18456 (cos_test_tonearest): Likewise.
18457 (cos_test_towardzero): Likewise.
18458 (cos_test_downward): Likewise.
18459 (cos_test_upward): Likewise.
18460 (cosh_test): Likewise.
18461 (cosh_test_tonearest): Likewise.
18462 (cosh_test_towardzero): Likewise.
18463 (cosh_test_downward): Likewise.
18464 (cosh_test_upward): Likewise.
18465 (cpow_test): Use END_COMPLEX macro without arguments.
18466 (cproj_test): Likewise.
18467 (creal_test): Use END macro without arguments.
18468 (csin_test): Use END_COMPLEX macro without arguments.
18469 (csinh_test): Likewise.
18470 (csqrt_test): Likewise.
18471 (ctan_test): Likewise.
18472 (ctan_test_tonearest): Likewise.
18473 (ctan_test_towardzero): Likewise.
18474 (ctan_test_downward): Likewise.
18475 (ctan_test_upward): Likewise.
18476 (ctanh_test): Likewise.
18477 (ctanh_test_tonearest): Likewise.
18478 (ctanh_test_towardzero): Likewise.
18479 (ctanh_test_downward): Likewise.
18480 (ctanh_test_upward): Likewise.
18481 (erf_test): Use END macro without arguments.
18482 (erfc_test): Likewise.
18483 (exp_test): Likewise.
18484 (exp_test_tonearest): Likewise.
18485 (exp_test_towardzero): Likewise.
18486 (exp_test_downward): Likewise.
18487 (exp_test_upward): Likewise.
18488 (exp10_test): Likewise.
18489 (exp2_test): Likewise.
18490 (expm1_test): Likewise.
18491 (fabs_test): Likewise.
18492 (fdim_test): Likewise.
18493 (finite_test): Likewise.
18494 (floor_test): Likewise.
18495 (fma_test): Likewise.
18496 (fma_test_towardzero): Likewise.
18497 (fma_test_downward): Likewise.
18498 (fma_test_upward): Likewise.
18499 (fmax_test): Likewise.
18500 (fmin_test): Likewise.
18501 (fmod_test): Likewise.
18502 (fpclassify_test): Likewise.
18503 (frexp_test): Likewise.
18504 (gamma_test): Likewise.
18505 (hypot_test): Likewise.
18506 (ilogb_test): Likewise.
18507 (isfinite_test): Likewise.
18508 (isgreater_test): Likewise.
18509 (isgreaterequal_test): Likewise.
18510 (isinf_test): Likewise.
18511 (isless_test): Likewise.
18512 (islessequal_test): Likewise.
18513 (islessgreater_test): Likewise.
18514 (isnan_test): Likewise.
18515 (isnormal_test): Likewise.
18516 (issignaling_test): Likewise.
18517 (isunordered_test): Likewise.
18518 (j0_test): Likewise.
18519 (j1_test): Likewise.
18520 (jn_test): Likewise.
18521 (ldexp_test): Likewise.
18522 (lgamma_test): Likewise.
18523 (lrint_test): Likewise.
18524 (lrint_test_tonearest): Likewise.
18525 (lrint_test_towardzero): Likewise.
18526 (lrint_test_downward): Likewise.
18527 (lrint_test_upward): Likewise.
18528 (llrint_test): Likewise.
18529 (llrint_test_tonearest): Likewise.
18530 (llrint_test_towardzero): Likewise.
18531 (llrint_test_downward): Likewise.
18532 (llrint_test_upward): Likewise.
18533 (log_test): Likewise.
18534 (log10_test): Likewise.
18535 (log1p_test): Likewise.
18536 (log2_test): Likewise.
18537 (logb_test): Likewise.
18538 (logb_test_downward): Likewise.
18539 (lround_test): Likewise.
18540 (llround_test): Likewise.
18541 (modf_test): Likewise.
18542 (nearbyint_test): Likewise.
18543 (nextafter_test): Likewise.
18544 (nexttoward_test): Likewise.
18545 (pow_test): Likewise.
18546 (pow_test_tonearest): Likewise.
18547 (pow_test_towardzero): Likewise.
18548 (pow_test_downward): Likewise.
18549 (pow_test_upward): Likewise.
18550 (remainder_test): Likewise.
18551 (remainder_test_tonearest): Likewise.
18552 (remainder_test_towardzero): Likewise.
18553 (remainder_test_downward): Likewise.
18554 (remainder_test_upward): Likewise.
18555 (remquo_test): Likewise.
18556 (rint_test): Likewise.
18557 (rint_test_tonearest): Likewise.
18558 (rint_test_towardzero): Likewise.
18559 (rint_test_downward): Likewise.
18560 (rint_test_upward): Likewise.
18561 (round_test): Likewise.
18562 (scalb_test): Likewise.
18563 (scalbn_test): Likewise.
18564 (scalbln_test): Likewise.
18565 (signbit_test): Likewise.
18566 (sin_test): Likewise.
18567 (sin_test_tonearest): Likewise.
18568 (sin_test_towardzero): Likewise.
18569 (sin_test_downward): Likewise.
18570 (sin_test_upward): Likewise.
18571 (sincos_test): Likewise.
18572 (sinh_test): Likewise.
18573 (sinh_test_tonearest): Likewise.
18574 (sinh_test_towardzero): Likewise.
18575 (sinh_test_downward): Likewise.
18576 (sinh_test_upward): Likewise.
18577 (sqrt_test): Likewise.
18578 (tan_test): Likewise.
18579 (tan_test_tonearest): Likewise.
18580 (tan_test_towardzero): Likewise.
18581 (tan_test_downward): Likewise.
18582 (tan_test_upward): Likewise.
18583 (tanh_test): Likewise.
18584 (tgamma_test): Likewise.
18585 (trunc_test): Likewise.
18586 (y0_test): Likewise.
18587 (y1_test): Likewise.
18588 (yn_test): Likewise.
18589 (significand_test): Likewise.
18591 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18594 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18596 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18599 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18600 __ppc_mdoio and __ppc_mdoom.
18601 * manual/platform.texi: Document new functions __ppc_yield,
18602 __ppc_mdoio and __ppc_mdoom.
18604 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18606 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18607 (main): Mention "tls" pseudo-hwcap is legacy.
18608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18610 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18612 * math/gen-libm-test.pl (parse_args): Output only string of
18613 arguments as text for test name, not full call or descriptions of
18614 tests for extra outputs.
18615 (generate_testfile): Do not pass function name to parse_args.
18616 Generate this_func variable from START.
18617 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18619 (struct test_ff_f_data): Likewise.
18620 (test_ff_f_data_nexttoward): Likewise.
18621 (struct test_fi_f_data): Likewise.
18622 (struct test_fl_f_data): Likewise.
18623 (struct test_if_f_data): Likewise.
18624 (struct test_fff_f_data): Likewise.
18625 (struct test_c_f_data): Likewise.
18626 (struct test_f_f1_data): Likewise. Remove field extra_name.
18627 (struct test_fF_f1_data): Likewise.
18628 (struct test_ffI_f1_data): Likewise.
18629 (struct test_c_c_data): Rename test_name field to arg_str.
18630 (struct test_cc_c_data): Likewise.
18631 (struct test_f_i_data): Likewise.
18632 (struct test_ff_i_data): Likewise.
18633 (struct test_f_l_data): Likewise.
18634 (struct test_f_L_data): Likewise.
18635 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18637 (COMMON_TEST_SETUP): New macro.
18638 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18639 (COMMON_TEST_CLEANUP): Likewise.
18640 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18641 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18643 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18644 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18646 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18647 (RUN_TEST_fff_f): Take argument string. Call new setup and
18649 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18650 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18652 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18653 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18655 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18656 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18658 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18659 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18661 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18662 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18664 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18665 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18667 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18668 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18670 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18671 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18673 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18674 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18676 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18677 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18679 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18680 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18682 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18683 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18685 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18686 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18688 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18689 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18691 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18692 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18694 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18696 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18699 to _sifields.sigfault.
18700 (si_addr_lsb): Define new macro.
18701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18705 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18708 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18710 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18712 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18713 loading the domain.
18715 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18717 * math/gen-libm-test.pl (parse_args): Do not include expected
18718 result in test name.
18719 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18726 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18728 * benchtests/Makefile: Sort function entries.
18730 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18731 tanh, asinh, acosh, atanh.
18732 * benchtests/acos-inputs: New file.
18733 * benchtests/acosh-inputs: New file.
18734 * benchtests/asin-inputs: New file.
18735 * benchtests/asinh-inputs: New file.
18736 * benchtests/atanh-inputs: New file.
18737 * benchtests/cosh-inputs: New file.
18738 * benchtests/log-inputs: New file.
18739 * benchtests/sinh-inputs: New file.
18740 * benchtests/tanh-inputs: New file.
18742 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18745 * posix/tst-getaddrinfo4.c: New test.
18746 * posix/Makefile (tests): Add it.
18748 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18751 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18752 when no services were used.
18753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18754 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18756 2013-05-21 Andreas Schwab <schwab@suse.de>
18759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18760 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18762 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18763 redundant variable declarations and reallocation of buffer when
18764 parsing as IPv6 address. Always set NSS status when called from
18765 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18766 buffer too small. Correct computation of needed size.
18767 * nss/Makefile (tests): Add test-digits-dots.
18768 * nss/test-digits-dots.c: New test.
18770 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18772 * benchtests/Makefile: Remove instructions for adding
18774 * benchtests/README: New file to explain how to execute and
18775 enhance the benchmark tests.
18777 2013-05-21 Andreas Schwab <schwab@suse.de>
18780 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18781 * setjmp/tst-sigsetjmp.c: New test.
18783 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18785 * sysdeps/x86_64/memset.S (memset): New implementation.
18786 (__bzero): Likewise.
18787 (__memset_tail): New function.
18789 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18791 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18792 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18793 __memcpy_sse2_unaligned ifunc selection.
18794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18795 Add memcpy-sse2-unaligned.S.
18796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18797 Add: __memcpy_sse2_unaligned.
18799 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18803 math_force_eval before restoring floating-point envrionment.
18804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18809 (__nearbyintl): Use math_force_eval before restoring
18810 floating-point environment.
18811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18813 * math/gen-libm-test.pl (special_functions): Remove.
18814 (parse_args): Don't handle TEST_extra. Handle functions with no
18816 * math/libm-test.inc (struct test_sincos_data): Replace with
18817 struct test_fFF_11_data.
18818 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18819 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18820 (sincos_test_data): Change element type to struct
18821 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18822 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18823 RUN_TEST_LOOP_sincos.
18824 * math/README.libm-test: Don't mention special handling of
18825 individual functions.
18826 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18828 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18833 * math/gen-libm-test.pl (get_variable): Remove function.
18834 (parse_args): Don't show pointer parameters to call in test
18835 names. Use "extra output N" in test names for extra outputs
18836 rather than naming variables.
18838 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18841 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18842 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18843 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18845 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18847 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18850 * math/gen-libm-test.pl (@tests): Remove variable.
18851 ($count): Likewise.
18852 (new_test): Remove function.
18853 (show_exceptions): New function.
18854 (special_functions): Use show_exceptions instead of new_test.
18855 (parse_args): Likewise.
18856 (generate_testfile): Pass only function name in generated call to
18857 print_max_error or print_complex_max_error.
18858 (get_ulps): Do not handle complex tests specially.
18859 (output_test): Rename to ...
18860 (get_all_ulps_for_test): ... this. Return a string rather than
18861 printing to a file. Require ulps to be present.
18862 (output_ulps): Generate arrays rather than #defines.
18863 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18864 (struct ulp_data): New type.
18865 (BUILD_COMPLEX_ULP): Remove macro.
18866 (compare_ulp_data): New function.
18867 (find_ulps): Likewise.
18868 (find_test_ulps): Likewise.
18869 (find_function_ulps): Likewise.
18870 (find_complex_function_ulps): Likewise.
18871 (print_max_error): Determine allowed ulps using
18872 find_function_ulps.
18873 (print_complex_max_error): Determine allowed ulps using
18874 find_complex_function_ulps.
18875 (check_float_internal): Determine max ulps using find_test_ulps.
18876 (check_float): Do not take max_ulp parameter. Update call to
18877 check_float_internal.
18878 (check_complex): Likewise.
18879 (check_int): Do not take max_ulp parameter.
18880 (check_long): Likewise.
18881 (check_bool): Likewise.
18882 (check_longlong): Likewise.
18883 (struct test_f_f_data): Remove max_ulp field.
18884 (struct test_ff_f_data): Likewise.
18885 (struct test_ff_f_data_nexttoward): Likewise.
18886 (struct test_fi_f_data): Likewise.
18887 (struct test_fl_f_data): Likewise.
18888 (struct test_if_f_data): Likewise.
18889 (struct test_fff_f_data): Likewise.
18890 (struct test_c_f_data): Likewise.
18891 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18892 (struct test_fF_f1_data): Likewise.
18893 (struct test_ffI_f1_data): Likewise.
18894 (struct test_c_c_data): Remove max_ulp field.
18895 (struct test_cc_c_data): Likewise.
18896 (struct test_f_i_data): Likewise.
18897 (struct test_ff_i_data): Likewise.
18898 (struct test_f_l_data): Likewise.
18899 (struct test_f_L_data): Likewise.
18900 (struct test_sincos_data): Likewise.
18901 (RUN_TEST_f_f): Do not handle ulps.
18902 (RUN_TEST_LOOP_f_f): Likewise.
18903 (RUN_TEST_2_f): Likewise.
18904 (RUN_TEST_LOOP_2_f): Likewise.
18905 (RUN_TEST_fff_f): Likewise.
18906 (RUN_TEST_LOOP_fff_f): Likewise.
18907 (RUN_TEST_c_f): Likewise.
18908 (RUN_TEST_LOOP_c_f): Likewise.
18909 (RUN_TEST_f_f1): Likewise.
18910 (RUN_TEST_LOOP_f_f1): Likewise.
18911 (RUN_TEST_fF_f1): Likewise.
18912 (RUN_TEST_LOOP_fF_f1): Likewise.
18913 (RUN_TEST_fI_f1): Likewise.
18914 (RUN_TEST_LOOP_fI_f1): Likewise.
18915 (RUN_TEST_ffI_f1): Likewise.
18916 (RUN_TEST_LOOP_ffI_f1): Likewise.
18917 (RUN_TEST_c_c): Likewise.
18918 (RUN_TEST_LOOP_c_c): Likewise.
18919 (RUN_TEST_cc_c): Likewise.
18920 (RUN_TEST_LOOP_cc_c): Likewise.
18921 (RUN_TEST_f_i): Likewise.
18922 (RUN_TEST_LOOP_f_i): Likewise.
18923 (RUN_TEST_f_i_tg): Likewise.
18924 (RUN_TEST_LOOP_f_i_tg): Likewise.
18925 (RUN_TEST_ff_i_tg): Likewise.
18926 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18927 (RUN_TEST_f_b): Likewise.
18928 (RUN_TEST_LOOP_f_b): Likewise.
18929 (RUN_TEST_f_b_tg): Likewise.
18930 (RUN_TEST_LOOP_f_b_tg): Likewise.
18931 (RUN_TEST_f_l): Likewise.
18932 (RUN_TEST_LOOP_f_l): Likewise.
18933 (RUN_TEST_f_L): Likewise.
18934 (RUN_TEST_LOOP_f_L): Likewise.
18935 (RUN_TEST_sincos): Likewise.
18936 (RUN_TEST_LOOP_sincos): Likewise.
18938 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18943 main case of finite arguments, set rounding mode to FE_TONEAREST
18944 and discard exceptions.
18945 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18947 (remainder_tonearest_test_data): New variable.
18948 (remainder_test_tonearest): New function.
18949 (remainder_towardzero_test_data): New variable.
18950 (remainder_test_towardzero): New function.
18951 (remainder_downward_test_data): New variable.
18952 (remainder_test_downward): New function.
18953 (remainder_upward_test_data): New variable.
18954 (remainder_test_upward): New function.
18955 (main): Call the new test functions.
18957 * math/libm-test.inc (struct test_f_f1_data): Remove field
18959 (struct test_fF_f1_data): Likewise.
18960 (struct test_ffI_f1_data): Likewise.
18961 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18962 based on value of EXTRA_EXPECTED.
18963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18964 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18965 EXTRA_VAR based on value of EXTRA_EXPECTED.
18966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18967 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18968 EXTRA_VAR based on value of EXTRA_EXPECTED.
18969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18970 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18971 EXTRA_VAR based on value of EXTRA_EXPECTED.
18972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18973 * math/gen-libm-test.pl (parse_args): Don't output initializers
18974 for extra output values.
18976 * math/libm-test.inc (check_int): Expect result to be exactly
18977 equal to expected value and do not handle ulps.
18978 (check_long): Likewise.
18979 (check_longlong): Likewise.
18981 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18983 (cimag_test_data): Likewise.
18984 (conj_test_data): Likewise.
18985 (copysign_test_data): Likewise.
18986 (cproj_test_data): Likewise.
18987 (creal_test_data): Likewise.
18988 (fabs_test_data): Likewise.
18989 (fdim_test_data): Likewise.
18990 (finite_test_data): Likewise.
18991 (floor_test_data): Likewise.
18992 (fmax_test_data): Likewise.
18993 (fmin_test_data): Likewise.
18994 (fmod_test_data): Likewise.
18995 (fpclassify_test_data): Likewise.
18996 (frexp_test_data): Likewise.
18997 (ilogb_test_data): Likewise.
18998 (isfinite_test_data): Likewise.
18999 (isgreater_test_data): Likewise.
19000 (isgreaterequal_test_data): Likewise.
19001 (isinf_test_data): Likewise.
19002 (isless_test_data): Likewise.
19003 (islessequal_test_data): Likewise.
19004 (islessgreater_test_data): Likewise.
19005 (isnan_test_data): Likewise.
19006 (isnormal_test_data): Likewise.
19007 (issignaling_test_data): Likewise.
19008 (isunordered_test_data): Likewise.
19009 (ldexp_test_data): Likewise.
19010 (lrint_test_data): Likewise.
19011 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19012 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19013 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19014 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19015 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19016 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19018 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19019 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19020 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19021 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19023 (lrint_downward_test_data): Test for "inexact" exceptions.
19024 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19025 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19026 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19028 (lrint_upward_test_data): Test for "inexact" exceptions.
19029 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19031 (llrint_test_data): Test for "inexact" exceptions.
19032 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19033 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19034 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19035 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19036 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19037 (llrint_downward_test_data): Test for "inexact" exceptions.
19038 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19039 (llrint_upward_test_data): Test for "inexact" exceptions.
19040 (logb_test_data): Likewise.
19041 (logb_downward_test_data): Likewise.
19042 (nextafter_test_data): Likewise.
19043 (nexttoward_test_data): Likewise.
19044 (remainder_test_data): Likewise.
19045 (remquo_test_data): Likewise.
19046 (scalbn_test_data): Likewise.
19047 (scalbln_test_data): Likewise.
19048 (signbit_test_data): Likewise.
19049 (sqrt_test_data): Likewise.
19050 (significand_test_data): Likewise.
19052 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19055 * benchtests/bench-modf.c (struct args): Mark arg0 as
19057 * scripts/bench.pl: Mark members of struct args as volatile.
19059 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19062 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19063 negative infinity on POWER6 or lower.
19064 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19066 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19069 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19070 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19071 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19072 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19073 (_FP_SETQNAN): New macro.
19074 (_FP_SETQNAN_SEMIRAW): Likewise.
19075 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19076 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19077 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19078 (FP_EXTEND): Use _FP_FRAC_SNANP.
19079 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19080 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19087 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19089 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19090 with DIVIDE_BY_ZERO_EXCEPTION.
19091 (gamma_test_data): Likewise.
19092 (lgamma_test_data): Likewise.
19093 (log_test_data): Likewise.
19094 (log10_test_data): Likewise.
19095 (log2_test_data): Likewise.
19096 (tgamma_test_data): Likewise.
19098 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19099 (acos_test_tonearest): Likewise.
19100 (acos_test_towardzero): Likewise.
19101 (acos_test_downward): Likewise.
19102 (acos_test_upward): Likewise.
19103 (acosh_test): Likewise.
19104 (asin_test): Likewise.
19105 (asin_test_tonearest): Likewise.
19106 (asin_test_towardzero): Likewise.
19107 (asin_test_downward): Likewise.
19108 (asin_test_upward): Likewise.
19109 (asinh_test): Likewise.
19110 (atan_test): Likewise.
19111 (atanh_test): Likewise.
19112 (atan2_test): Likewise.
19113 (cabs_test): Likewise.
19114 (cacos_test): Likewise.
19115 (cacosh_test): Likewise.
19116 (casin_test): Likewise.
19117 (casinh_test): Likewise.
19118 (catan_test): Likewise.
19119 (catanh_test): Likewise.
19120 (cbrt_test): Likewise.
19121 (ccos_test): Likewise.
19122 (ccosh_test): Likewise.
19123 (cexp_test): Likewise.
19124 (clog_test): Likewise.
19125 (clog10_test): Likewise.
19126 (cos_test): Likewise.
19127 (cos_test_tonearest): Likewise.
19128 (cos_test_towardzero): Likewise.
19129 (cos_test_downward): Likewise.
19130 (cos_test_upward): Likewise.
19131 (cosh_test): Likewise.
19132 (cosh_test_tonearest): Likewise.
19133 (cosh_test_towardzero): Likewise.
19134 (cosh_test_downward): Likewise.
19135 (cosh_test_upward): Likewise.
19136 (cpow_test): Likewise.
19137 (csin_test): Likewise.
19138 (csinh_test): Likewise.
19139 (csqrt_test): Likewise.
19140 (ctan_test): Likewise.
19141 (ctan_test_tonearest): Likewise.
19142 (ctan_test_towardzero): Likewise.
19143 (ctan_test_downward): Likewise.
19144 (ctan_test_upward): Likewise.
19145 (ctanh_test): Likewise.
19146 (ctanh_test_tonearest): Likewise.
19147 (ctanh_test_towardzero): Likewise.
19148 (ctanh_test_downward): Likewise.
19149 (ctanh_test_upward): Likewise.
19150 (erf_test): Likewise.
19151 (erfc_test): Likewise.
19152 (exp_test): Likewise.
19153 (exp_test_tonearest): Likewise.
19154 (exp_test_towardzero): Likewise.
19155 (exp_test_downward): Likewise.
19156 (exp_test_upward): Likewise.
19157 (exp10_test): Likewise.
19158 (exp2_test): Likewise.
19159 (expm1_test): Likewise.
19160 (fmod_test): Likewise.
19161 (gamma_test): Likewise.
19162 (hypot_test): Likewise.
19163 (j0_test): Likewise.
19164 (j1_test): Likewise.
19165 (jn_test): Likewise.
19166 (lgamma_test): Likewise.
19167 (log_test): Likewise.
19168 (log10_test): Likewise.
19169 (log1p_test): Likewise.
19170 (log2_test): Likewise.
19171 (logb_test_downward): Likewise.
19172 (pow_test): Likewise.
19173 (pow_test_tonearest): Likewise.
19174 (pow_test_towardzero): Likewise.
19175 (pow_test_downward): Likewise.
19176 (pow_test_upward): Likewise.
19177 (remainder_test): Likewise.
19178 (remquo_test): Likewise.
19179 (sin_test): Likewise.
19180 (sin_test_tonearest): Likewise.
19181 (sin_test_towardzero): Likewise.
19182 (sin_test_downward): Likewise.
19183 (sin_test_upward): Likewise.
19184 (sincos_test): Likewise.
19185 (sinh_test): Likewise.
19186 (sinh_test_tonearest): Likewise.
19187 (sinh_test_towardzero): Likewise.
19188 (sinh_test_downward): Likewise.
19189 (sinh_test_upward): Likewise.
19190 (sqrt_test): Likewise.
19191 (tan_test): Likewise.
19192 (tan_test_tonearest): Likewise.
19193 (tan_test_towardzero): Likewise.
19194 (tan_test_downward): Likewise.
19195 (tan_test_upward): Likewise.
19196 (tanh_test): Likewise.
19197 (tgamma_test): Likewise.
19198 (y0_test): Likewise.
19199 (y1_test): Likewise.
19200 (yn_test): Likewise.
19202 * math/gen-libm-test.pl (adjust_arg): Remove function.
19203 (special_function): Remove argument $in_func. Only handle
19204 generating output for tables of tests, not inside functions.
19205 (parse_args): Likewise.
19206 (generate_testfile): Remove variable $in_func. Update call to
19208 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19209 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19210 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19211 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19212 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19213 (MAX_VALUE_INIT): Rename macro to max_value.
19214 (MIN_VALUE_INIT): Rename macro to min_value.
19215 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19216 (plus_zero): Remove variable.
19217 (minus_zero): Likewise.
19218 (plus_infty): Likewise.
19219 (minus_infty): Likewise.
19220 (qnan_value): Likewise.
19221 (max_value): Likewise.
19222 (min_value): Likewise.
19223 (min_subnorm_value): Likewise.
19225 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19227 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19228 uint64_t or uint32_t usage.
19229 * crypt/sha256-block.c: Likewise.
19230 * crypt/sha256-crypt.c: Likewise.
19231 * crypt/sha256.c: Likewise.
19232 * crypt/sha512-block.c: Likewise.
19233 * crypt/sha512-crypt.c: Likewise.
19234 * crypt/sha512.c: Likewise.
19235 * debug/backtrace-tst.c: Likewise.
19236 * debug/pcprofiledump.c: Likewise.
19237 * elf/cache.c: Likewise.
19238 * elf/dl-cache.c: Likewise.
19239 * elf/dl-misc.c: Likewise.
19240 * elf/dl-profile.c: Likewise.
19241 * elf/dl-support.c: Likewise.
19242 * elf/ldconfig.c: Likewise.
19243 * elf/sprof.c: Likewise.
19244 * iconv/dummy-repertoire.c: Likewise.
19245 * iconv/iconv_charmap.c: Likewise.
19246 * iconv/skeleton.c: Likewise.
19247 * iconvdata/8bit-generic.c: Likewise.
19248 * iconvdata/cp737.h: Likewise.
19249 * iconvdata/cp775.h: Likewise.
19250 * iconvdata/ibm1008.h: Likewise.
19251 * iconvdata/ibm1025.h: Likewise.
19252 * iconvdata/ibm1046.h: Likewise.
19253 * iconvdata/ibm1097.h: Likewise.
19254 * iconvdata/ibm1112.h: Likewise.
19255 * iconvdata/ibm1122.h: Likewise.
19256 * iconvdata/ibm1123.h: Likewise.
19257 * iconvdata/ibm1124.h: Likewise.
19258 * iconvdata/ibm1129.h: Likewise.
19259 * iconvdata/ibm1130.h: Likewise.
19260 * iconvdata/ibm1132.h: Likewise.
19261 * iconvdata/ibm1133.h: Likewise.
19262 * iconvdata/ibm1137.h: Likewise.
19263 * iconvdata/ibm1140.h: Likewise.
19264 * iconvdata/ibm1141.h: Likewise.
19265 * iconvdata/ibm1142.h: Likewise.
19266 * iconvdata/ibm1143.h: Likewise.
19267 * iconvdata/ibm1144.h: Likewise.
19268 * iconvdata/ibm1145.h: Likewise.
19269 * iconvdata/ibm1146.h: Likewise.
19270 * iconvdata/ibm1147.h: Likewise.
19271 * iconvdata/ibm1148.h: Likewise.
19272 * iconvdata/ibm1149.h: Likewise.
19273 * iconvdata/ibm1153.h: Likewise.
19274 * iconvdata/ibm1154.h: Likewise.
19275 * iconvdata/ibm1155.h: Likewise.
19276 * iconvdata/ibm1156.h: Likewise.
19277 * iconvdata/ibm1157.h: Likewise.
19278 * iconvdata/ibm1158.h: Likewise.
19279 * iconvdata/ibm1160.h: Likewise.
19280 * iconvdata/ibm1161.h: Likewise.
19281 * iconvdata/ibm1162.h: Likewise.
19282 * iconvdata/ibm1163.h: Likewise.
19283 * iconvdata/ibm1164.h: Likewise.
19284 * iconvdata/ibm1166.h: Likewise.
19285 * iconvdata/ibm1167.h: Likewise.
19286 * iconvdata/ibm12712.h: Likewise.
19287 * iconvdata/ibm1390.h: Likewise.
19288 * iconvdata/ibm1399.h: Likewise.
19289 * iconvdata/ibm16804.h: Likewise.
19290 * iconvdata/ibm4517.h: Likewise.
19291 * iconvdata/ibm4899.h: Likewise.
19292 * iconvdata/ibm4909.h: Likewise.
19293 * iconvdata/ibm4971.h: Likewise.
19294 * iconvdata/ibm5347.h: Likewise.
19295 * iconvdata/ibm803.h: Likewise.
19296 * iconvdata/ibm856.h: Likewise.
19297 * iconvdata/ibm901.h: Likewise.
19298 * iconvdata/ibm902.h: Likewise.
19299 * iconvdata/ibm9030.h: Likewise.
19300 * iconvdata/ibm9066.h: Likewise.
19301 * iconvdata/ibm921.h: Likewise.
19302 * iconvdata/ibm922.h: Likewise.
19303 * iconvdata/ibm9448.h: Likewise.
19304 * iconvdata/isiri-3342.h: Likewise.
19305 * iconvdata/jis0201.h: Likewise.
19306 * include/link.h: Likewise.
19307 * include/netdb.h: Likewise.
19308 * inet/check_native.c: Likewise.
19309 * inet/check_pf.c: Likewise.
19310 * inet/getipv4sourcefilter.c: Likewise.
19311 * inet/getnameinfo.c: Likewise.
19312 * inet/getsourcefilter.c: Likewise.
19313 * inet/htonl.c: Likewise.
19314 * inet/setipv4sourcefilter.c: Likewise.
19315 * inet/setsourcefilter.c: Likewise.
19316 * inet/test-inet6_opt.c: Likewise.
19317 * inet/tst-network.c: Likewise.
19318 * locale/C-collate.c: Likewise.
19319 * locale/C-ctype.c: Likewise.
19320 * locale/C-time.c: Likewise.
19321 * locale/C-translit.h: Likewise.
19322 * locale/loadarchive.c: Likewise.
19323 * locale/programs/3level.h: Likewise.
19324 * locale/programs/charmap.c: Likewise.
19325 * locale/programs/charmap.h: Likewise.
19326 * locale/programs/ld-address.c: Likewise.
19327 * locale/programs/ld-collate.c: Likewise.
19328 * locale/programs/ld-ctype.c: Likewise.
19329 * locale/programs/ld-identification.c: Likewise.
19330 * locale/programs/ld-measurement.c: Likewise.
19331 * locale/programs/ld-messages.c: Likewise.
19332 * locale/programs/ld-monetary.c: Likewise.
19333 * locale/programs/ld-name.c: Likewise.
19334 * locale/programs/ld-numeric.c: Likewise.
19335 * locale/programs/ld-paper.c: Likewise.
19336 * locale/programs/ld-telephone.c: Likewise.
19337 * locale/programs/ld-time.c: Likewise.
19338 * locale/programs/linereader.c: Likewise.
19339 * locale/programs/locale.c: Likewise.
19340 * locale/programs/locarchive.c: Likewise.
19341 * locale/programs/locfile.h: Likewise.
19342 * locale/programs/repertoire.c: Likewise.
19343 * locale/programs/simple-hash.c: Likewise.
19344 * locale/programs/simple-hash.h: Likewise.
19345 * malloc/memusage.c: Likewise.
19346 * malloc/memusagestat.c: Likewise.
19347 * nis/nis_defaults.c: Likewise.
19348 * nis/nis_hash.c: Likewise.
19349 * nis/nis_print.c: Likewise.
19350 * nis/nis_xdr.c: Likewise.
19351 * nscd/connections.c: Likewise.
19352 * nscd/hstcache.c: Likewise.
19353 * nscd/nscd_gethst_r.c: Likewise.
19354 * nscd/nscd_getserv_r.c: Likewise.
19355 * nscd/nscd_helper.c: Likewise.
19356 * nscd/servicescache.c: Likewise.
19357 * nss/makedb.c: Likewise.
19358 * nss/nss_db/db-XXX.c: Likewise.
19359 * nss/nss_db/db-initgroups.c: Likewise.
19360 * nss/nss_db/db-netgrp.c: Likewise.
19361 * nss/nss_files/files-network.c: Likewise.
19362 * nss/nss_files/files-parse.c: Likewise.
19363 * posix/bug-regex5.c: Likewise.
19364 * posix/fnmatch_loop.c: Likewise.
19365 * posix/regcomp.c: Likewise.
19366 * posix/regexec.c: Likewise.
19367 * posix/tst-rfc3484-2.c: Likewise.
19368 * posix/tst-rfc3484-3.c: Likewise.
19369 * posix/tst-rfc3484.c: Likewise.
19370 * resolv/nss_dns/dns-canon.c: Likewise.
19371 * resolv/nss_dns/dns-network.c: Likewise.
19372 * resolv/res_init.c: Likewise.
19373 * resolv/res_mkquery.c: Likewise.
19374 * resolv/tst-aton.c: Likewise.
19375 * stdlib/cxa_atexit.c: Likewise.
19376 * stdlib/cxa_finalize.c: Likewise.
19377 * stdlib/gen-fpioconst.c: Likewise.
19378 * stdlib/strtol_l.c: Likewise.
19379 * string/tst-endian.c: Likewise.
19380 * sunrpc/auth_des.c: Likewise.
19381 * sunrpc/clnt_udp.c: Likewise.
19382 * sunrpc/rtime.c: Likewise.
19383 * sunrpc/svcauth_des.c: Likewise.
19384 * sunrpc/xdr.c: Likewise.
19385 * sunrpc/xdr_intXX_t.c: Likewise.
19386 * sunrpc/xdr_rec.c: Likewise.
19387 * sysdeps/generic/ldconfig.h: Likewise.
19388 * sysdeps/generic/ldsodefs.h: Likewise.
19389 * sysdeps/generic/memusage.h: Likewise.
19390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19400 * sysdeps/posix/getaddrinfo.c: Likewise.
19401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19405 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19406 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19407 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19408 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19410 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19412 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19413 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19414 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19416 * sysdeps/x86_64/dl-tls.h: Likewise.
19417 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19418 * time/alt_digit.c: Likewise.
19419 * time/era.c: Likewise.
19420 * wcsmbs/tst-c16c32-1.c: Likewise.
19422 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19424 * math/libm-test.inc (struct test_sincos_data): New type.
19425 (RUN_TEST_LOOP_sincos): New macro.
19426 (sincos_test_data): New variable.
19427 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19429 2013-05-16 Richard Henderson <rth@redhat.com>
19431 * math/atest-exp2.c (LIMB64): New macro.
19432 (CONSTSZ): New macro.
19433 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19435 (print_mpn_fp): ... to function scope.
19436 (read_mpn_hex): Remove.
19437 (get_log2): Remove.
19438 (exp2_mpn): Use mp_log2.
19439 (main): Use mp_exp1.
19441 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19443 * math/libm-test.inc: Remove comment about not testing "inexact"
19445 (INEXACT_EXCEPTION): New macro.
19446 (NO_INEXACT_EXCEPTION): Likewise.
19447 (INVALID_EXCEPTION_OK): Update value.
19448 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19449 (OVERFLOW_EXCEPTION_OK): Likewise.
19450 (UNDERFLOW_EXCEPTION_OK): Likewise.
19451 (IGNORE_ZERO_INF_SIGN): Likewise.
19452 (ERRNO_UNCHANGED): Likewise.
19453 (ERRNO_EDOM): Likewise.
19454 (ERRNO_ERANGE): Likewise.
19455 (test_exceptions): Handle testing "inexact" exceptions.
19456 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19457 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19458 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19459 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19461 (rint_towardzero_test_data): Likewise.
19462 (rint_downward_test_data): Likewise.
19463 (rint_upward_test_data): Likewise.
19465 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19466 with OVERFLOW_EXCEPTION.
19467 (exp10_test_data): Likewise.
19468 (exp2_test_data): Likewise.
19469 (expm1_test_data): Likewise.
19470 (lgamma_test_data): Likewise.
19471 (pow_test_data): Likewise.
19472 (tgamma_test_data): Likewise.
19473 (yn_test_data): Remove duplicate test of overflow.
19475 * math/libm-test.inc (struct test_cc_c_data): New type.
19476 (RUN_TEST_LOOP_cc_c): New macro.
19477 (cpow_test_data): New variable.
19478 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19480 * math/libm-test.inc (struct test_f_L_data): New type.
19481 (RUN_TEST_LOOP_f_L): New macro.
19482 (llrint_test_data): New variable.
19483 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19484 (llrint_tonearest_test_data): New variable.
19485 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19486 (llrint_towardzero_test_data): New variable.
19487 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19488 (llrint_downward_test_data): New variable.
19489 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19490 (llrint_upward_test_data): New variable.
19491 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19492 (llround_test_data): New variable.
19493 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19495 2013-05-13 Peter Collingbourne <pcc@google.com>
19497 * math/atest-exp2.c (get_log2): Remove const attribute.
19499 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19501 * math/libm-test.inc (struct test_f_l_data): New type.
19502 (RUN_TEST_LOOP_f_l): New macro.
19503 (lrint_test_data): New variable.
19504 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19505 (lrint_tonearest_test_data): New variable.
19506 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19507 (lrint_towardzero_test_data): New variable.
19508 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19509 (lrint_downward_test_data): New variable.
19510 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19511 (lrint_upward_test_data): New variable.
19512 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19513 (lround_test_data): New variable.
19514 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19516 2013-05-15 Peter Collingbourne <pcc@google.com>
19518 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19519 (EXTRACT_WORDS64) Use where appropriate.
19520 (INSERT_WORDS64) Likewise.
19522 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19523 constraints with x constraints.
19524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19526 * malloc/obstack.c (_obstack_compat): Add initializer.
19528 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19531 si_trapno and add si_addr_lsb to _sifields.sigfault.
19532 (si_trapno): Remove macro.
19533 (si_addr_lsb): Define new macro.
19534 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19536 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19538 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19539 instead of TEST_f_l.
19540 (llrint_test_tonearest): Likewise.
19541 (llrint_test_towardzero): Likewise.
19542 (llrint_test_downward): Likewise.
19543 (llrint_test_upward): Likewise.
19544 (llround_test): Likewise.
19546 * math/libm-test.inc (struct test_f_i_data): Add comment.
19547 (RUN_TEST_LOOP_f_b): New macro.
19548 (RUN_TEST_LOOP_f_b_tg): Likewise.
19549 (finite_test_data): New variable.
19550 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19551 (isfinite_test_data): New variable.
19552 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19553 (isinf_test_data): New variable.
19554 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19555 (isnan_test_data): New variable.
19556 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19557 (isnormal_test_data): New variable.
19558 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19559 (issignaling_test_data): New variable.
19560 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19561 (signbit_test_data): New variable.
19562 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19564 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19565 with INVALID_EXCEPTION.
19566 (acosh_test_data): Likewise.
19567 (asin_test_data): Likewise.
19568 (atanh_test_data): Likewise.
19569 (fmod_test_data): Likewise.
19570 (log_test_data): Likewise.
19571 (log10_test_data): Likewise.
19572 (log2_test_data): Likewise.
19573 (pow_test_data): Likewise.
19574 (sqrt_test_data): Likewise.
19575 (y0_test_data): Likewise.
19576 (y1_test_data): Likewise.
19577 (yn_test_data): Likewise.
19579 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19582 * math/libm-test.inc (struct test_ff_i_data): New type.
19583 (RUN_TEST_LOOP_ff_i_tg): New macro.
19584 (isgreater_test_data): New variable.
19585 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19586 (isgreaterequal_test_data): New variable.
19587 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19588 (isless_test_data): New variable.
19589 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19590 (islessequal_test_data): New variable.
19591 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19592 (islessgreater_test_data): New variable.
19593 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19594 (isunordered_test_data): New variable.
19595 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19597 2013-05-14 David S. Miller <davem@davemloft.net>
19599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19601 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19603 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19605 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19607 (struct test_f_i_data): Change type of max_ulp to int.
19609 * math/libm-test.inc (test_ffI_f1_data): New type.
19610 (RUN_TEST_LOOP_ffI_f1): New macro.
19611 (remquo_test_data): New variable.
19612 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19614 * setjmp/tst-setjmp-fp.c: New file.
19615 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19616 (link-libm): New variable.
19617 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19619 * math/libm-test.inc (struct test_f_i_data): New type.
19620 (RUN_TEST_LOOP_f_i): New macro.
19621 (RUN_TEST_LOOP_f_i_tg): Likewise.
19622 (fpclassify_test_data): New variable.
19623 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19624 (ilogb_test_data): New variable.
19625 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19627 * math/libm-test.inc (scalbln_test): Correct function name in END
19630 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19631 (RUN_TEST_LOOP_fI_f1): New macro.
19632 (frexp_test_data): New variable.
19633 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19635 * math/libm-test.inc (struct test_fF_f1_data): New type.
19636 (RUN_TEST_LOOP_fF_f1): New macro.
19637 (modf_test_data): New variable.
19638 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19640 * math/libm-test.inc (struct test_f_f1_data): New type.
19641 (RUN_TEST_LOOP_f_f1): New macro.
19642 (gamma_test_data): New variable.
19643 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19644 (lgamma_test_data): New variable.
19645 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19647 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19650 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19651 (main): Comment "tls" pseudo-hwcap.
19653 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19655 * math/libm-test.inc (struct test_fl_f_data): New type.
19656 (RUN_TEST_LOOP_fl_f): New variable.
19657 (scalbln_test_data): New variable.
19658 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19660 * math/libm-test.inc (struct test_fi_f_data): New type.
19661 (RUN_TEST_LOOP_fi_f): New macro.
19662 (ldexp_test_data): New variable.
19663 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19664 (scalbn_test_data): New variable.
19665 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19667 * math/libm-test.inc (struct test_c_f_data): New type.
19668 (RUN_TEST_LOOP_c_f): New macro.
19669 (cabs_test_data): New variable.
19670 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19671 (carg_test_data): New variable.
19672 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19673 (cimag_test_data): New variable.
19674 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19675 (creal_test_data): New variable.
19676 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19678 * math/libm-test.inc (struct test_if_f_data): New type.
19679 (RUN_TEST_LOOP_if_f): New macro.
19680 (jn_test_data): New variable.
19681 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19682 (yn_test_data): New variable.
19683 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19685 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19687 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19689 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19690 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19692 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19694 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19695 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19696 (bench-deps): Add bench-timing.h.
19697 * benchtests-bench-skeleton.c: Include bench-timing.h.
19698 (main): Use TIMING_* macros instead of clock_gettime.
19699 * benchtests/bench-timing.h: New file.
19702 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19703 Renamed from _LIB_VERSION.
19704 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19706 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19708 * math/libm-test.inc (struct test_fff_f_data): New type.
19709 (RUN_TEST_LOOP_fff_f): New macro.
19710 (fma_test_data): New variable.
19711 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19712 (fma_towardzero_test_data): New variable.
19713 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19714 (fma_downward_test_data): New variable.
19715 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19716 (fma_upward_test_data): New variable.
19717 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19719 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19720 (struct test_c_c_data): New type.
19721 (RUN_TEST_LOOP_c_c): New macro.
19722 (cacos_test_data): New variable.
19723 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19724 (cacosh_test_data): New variable.
19725 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19726 (casin_test_data): New variable.
19727 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19728 (casinh_test_data): New variable.
19729 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19730 (catan_test_data): New variable.
19731 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19732 (catanh_test_data): New variable.
19733 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19734 (ccos_test_data): New variable.
19735 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19736 (ccosh_test_data): New variable.
19737 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19738 (cexp_test_data): New variable.
19739 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19740 (clog_test_data): New variable.
19741 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19742 (clog10_test_data): New variable.
19743 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19744 (conj_test_data): New variable.
19745 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19746 (cproj_test_data): New variable.
19747 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19748 (csin_test_data): New variable.
19749 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19750 (csinh_test_data): New variable.
19751 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19752 (csqrt_test_data): New variable.
19753 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19754 (ctan_test_data): New variable.
19755 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19756 (ctan_tonearest_test_data): New variable.
19757 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19758 (ctan_towardzero_test_data): New variable.
19759 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19760 (ctan_downward_test_data): New variable.
19761 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19762 (ctan_upward_test_data): New variable.
19763 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19764 (ctanh_test_data): New variable.
19765 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19766 (ctanh_tonearest_test_data): New variable.
19767 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19768 (ctanh_towardzero_test_data): New variable.
19769 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19770 (ctanh_downward_test_data): New variable.
19771 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19772 (ctanh_upward_test_data): New variable.
19773 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19774 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19777 * math/libm-test.inc (struct test_ff_f_data): New type.
19778 (struct test_ff_f_data_nexttoward): Likewise.
19779 (RUN_TEST_LOOP_2_f): New macro.
19780 (RUN_TEST_LOOP_ff_f): Likewise.
19781 (atan2_test_data): New variable.
19782 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19783 (copysign_test_data): New variable.
19784 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19785 (fdim_test_data): New variable.
19786 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19787 (fmax_test_data): New variable.
19788 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19789 (fmin_test_data): New variable.
19790 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19791 (fmod_test_data): New variable.
19792 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19793 (hypot_test_data): New variable.
19794 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19795 (nextafter_test_data): New variable.
19796 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19797 (nexttoward_test_data): New variable.
19798 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19799 (pow_test_data): New variable.
19800 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19801 (pow_tonearest_test_data): New variable.
19802 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19803 (pow_towardzero_test_data): New variable.
19804 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19805 (pow_downward_test_data): New variable.
19806 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19807 (pow_upward_test_data): New variable.
19808 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19809 (remainder_test_data): New variable.
19810 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19811 (scalb_test_data): New variable.
19812 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19813 * sysdeps/i386/fpu/libm-test-ulps: Update.
19815 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19817 * math/libm-test.inc (fma_test): Use max_value instead of local
19819 (nextafter_test): Likewise.
19821 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19822 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19823 (acos_downward_test_data): New variable.
19824 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19825 (acos_upward_test_data): New variable.
19826 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19827 (acosh_test_data): New variable.
19828 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19829 (asin_test_data): New variable.
19830 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19831 (asin_tonearest_test_data): New variable.
19832 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19833 (asin_towardzero_test_data): New variable.
19834 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19835 (asin_downward_test_data): New variable.
19836 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19837 (asin_upward_test_data): New variable.
19838 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19839 (asinh_test_data): New variable.
19840 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19841 (atan_test_data): New variable.
19842 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19843 (atanh_test_data): New variable.
19844 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19845 (cbrt_test_data): New variable.
19846 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19847 (ceil_test_data): New variable.
19848 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19849 (cos_test_data): New variable.
19850 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19851 (cos_tonearest_test_data): New variable.
19852 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19853 (cos_towardzero_test_data): New variable.
19854 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19855 (cos_downward_test_data): New variable.
19856 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19857 (cos_upward_test_data): New variable.
19858 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19859 (cosh_test_data): New variable.
19860 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19861 (cosh_tonearest_test_data): New variable.
19862 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19863 (cosh_towardzero_test_data): New variable.
19864 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19865 (cosh_downward_test_data): New variable.
19866 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19867 (cosh_upward_test_data): New variable.
19868 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19869 (erf_test_data): New variable.
19870 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19871 (erfc_test_data): New variable.
19872 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19873 (exp_test_data): New variable.
19874 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19875 (exp_tonearest_test_data): New variable.
19876 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19877 (exp_towardzero_test_data): New variable.
19878 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19879 (exp_downward_test_data): New variable.
19880 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19881 (exp_upward_test_data): New variable.
19882 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19883 (exp10_test_data): New variable.
19884 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19885 (exp2_test_data): New variable.
19886 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19887 (expm1_test_data): New variable.
19888 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19889 (fabs_test_data): New variable.
19890 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19891 (floor_test_data): New variable.
19892 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19893 (j0_test_data): New variable.
19894 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19895 (j1_test_data): New variable.
19896 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19897 (log_test_data): New variable.
19898 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19899 (log10_test_data): New variable.
19900 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19901 (log1p_test_data): New variable.
19902 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19903 (log2_test_data): New variable.
19904 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19905 (logb_test_data): New variable.
19906 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19907 (logb_downward_test_data): New variable.
19908 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19909 (nearbyint_test_data): New variable.
19910 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19911 (rint_test_data): New variable.
19912 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19913 (rint_tonearest_test_data): New variable.
19914 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19915 (rint_towardzero_test_data): New variable.
19916 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19917 (rint_downward_test_data): New variable.
19918 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19919 (rint_upward_test_data): New variable.
19920 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19921 (round_test_data): New variable.
19922 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19923 (sin_test_data): New variable.
19924 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19925 (sin_tonearest_test_data): New variable.
19926 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19927 (sin_towardzero_test_data): New variable.
19928 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19929 (sin_downward_test_data): New variable.
19930 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19931 (sin_upward_test_data): New variable.
19932 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19933 (sinh_test_data): New variable.
19934 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19935 (sinh_tonearest_test_data): New variable.
19936 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19937 (sinh_towardzero_test_data): New variable.
19938 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19939 (sinh_downward_test_data): New variable.
19940 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19941 (sinh_upward_test_data): New variable.
19942 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19943 (sqrt_test_data): New variable.
19944 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19945 (tan_test_data): New variable.
19946 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19947 (tan_tonearest_test_data): New variable.
19948 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19949 (tan_towardzero_test_data): New variable.
19950 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19951 (tan_downward_test_data): New variable.
19952 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19953 (tan_upward_test_data): New variable.
19954 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19955 (tanh_test_data): New variable.
19956 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19957 (tgamma_test_data): New variable.
19958 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19959 (trunc_test_data): New variable.
19960 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19961 (y0_test_data): New variable.
19962 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19963 (y1_test_data): New variable.
19964 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19965 (significand_test_data): New variable.
19966 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19968 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19971 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19973 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19975 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19977 2013-05-10 Andreas Jaeger <aj@suse.de>
19980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19981 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19983 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19985 * math/gen-libm-test.pl (adjust_arg): New function.
19986 (special_functions): Handle generating output in both functions
19988 (parse_args): Likewise.
19989 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19990 $in_func argument to parse_args.
19991 * math/libm-test.inc (struct test_f_f_data): New type.
19992 (IF_ROUND_INIT_): New macro.
19993 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19994 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19995 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19996 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19997 (ROUND_RESTORE_): Likewise.
19998 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19999 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20000 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20001 (ROUND_RESTORE_FE_UPWARD): Likewise.
20002 (RUN_TEST_LOOP_f_f): New macro.
20003 (acos_test_data): New variable.
20004 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20005 (acos_tonearest_test_data): New variable.
20006 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20008 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20010 * benchtests/bench-skeleton.c (startup): Fix coding style.
20012 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20015 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20016 negative infinity argument.
20017 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20018 negative infinity argument.
20019 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20020 negative infinity argument.
20021 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20024 2013-05-10 Florian Weimer <fweimer@redhat.com>
20026 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20027 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20028 * iconv/iconv_prog.c (main): Likewise.
20029 * locale/programs/charmap-dir.c (charmap_readdir)
20030 (fopen_uncompressed): Likewise.
20031 * locale/programs/locfile.c (siblings_uncached)
20032 (write_locale_data): Use lstat64 instead of lstat.
20033 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20036 2013-05-10 Andreas Jaeger <aj@suse.de>
20039 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20041 Include <locale.h>.
20043 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20045 * elf/dl-close.c (_dl_close_worker): Add comments.
20047 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20052 (__ieee754_rem_pio2l): Update comments.
20055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20057 (__ieee754_rem_pio2l): Update comments.
20059 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20060 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20062 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20065 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20066 (M_PI_34_LOG10El): Likewise.
20067 (M_PI2_LOG10El): Likewise.
20068 (M_PI4_LOG10El): Likewise.
20069 (M_PI_LOG10El): Likewise.
20071 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20075 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20077 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20078 (MINUS_ZERO_INIT): Likewise.
20079 (PLUS_INFTY_INIT): Likewise.
20080 (MINUS_INFTY_INIT): Likewise.
20081 (QNAN_VALUE_INIT): Likewise.
20082 (MAX_VALUE_INIT): Likewise.
20083 (MIN_VALUE_INIT): Likewise.
20084 (MIN_SUBNORM_VALUE_INIT): Likewise.
20085 (plus_zero): Initialize with PLUS_ZERO_INIT.
20086 (minus_zero): Initialize with MINUS_ZERO_INIT.
20087 (plus_infty): Initialize with PLUS_INFTY_INIT.
20088 (minus_infty): Initialize with MINUS_INFTY_INIT.
20089 (qnan_value): Initialize with QNAN_VALUE_INIT.
20090 (max_value): Initialize with MAX_VALUE_INIT.
20091 (min_value): Initialize with MIN_VALUE_INIT.
20092 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20094 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20095 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20096 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20097 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20099 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20100 (RUN_TEST_2_f): Likewise.
20101 (RUN_TEST_ff_f): Likewise.
20102 (RUN_TEST_fi_f): Likewise.
20103 (RUN_TEST_fl_f): Likewise.
20104 (RUN_TEST_fff_f): Likewise.
20105 (RUN_TEST_c_f): Likewise.
20106 (RUN_TEST_f_f1): Likewise.
20107 (RUN_TEST_fF_f1): Likewise.
20108 (RUN_TEST_fI_f1): Likewise.
20109 (RUN_TEST_ffI_f1): Likewise.
20110 (RUN_TEST_c_c): Likewise.
20111 (RUN_TEST_cc_c): Likewise.
20112 (RUN_TEST_f_i): Likewise.
20113 (RUN_TEST_f_i_tg): Likewise.
20114 (RUN_TEST_ff_i_tg): Likewise.
20115 (RUN_TEST_f_b): Likewise.
20116 (RUN_TEST_f_b_tg): Likewise.
20117 (RUN_TEST_f_l): Likewise.
20118 (RUN_TEST_f_L): Likewise.
20119 (RUN_TEST_sincos): Likewise.
20120 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20121 whether to show exceptions. Do not include ");\n" in return
20123 (special_functions): Output call to RUN_TEST_sincos instead of
20124 check_float calls. Update calls to new_test.
20125 (parse_args): Output call to single RUN_TEST_* macro instead of
20126 check_* calls and other assignments. Update calls to new_test.
20132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20133 input to result for tgamma overflow.
20134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20135 (gamma_coeff): New variable.
20136 (NCOEFF): New macro.
20137 (gamma_positive): New function.
20138 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20139 underflow here. Use gamma_positive instead of exp (lgamma) for
20141 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20142 (gamma_coeff): New variable.
20143 (NCOEFF): New macro.
20144 (gammaf_positive): New function.
20145 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20146 underflow here. Use gamma_positive instead of exp (lgamma) for
20148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20149 (gamma_coeff): New variable.
20150 (NCOEFF): New macro.
20151 (gammal_positive): New function.
20152 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20153 underflow here. Use gamma_positive instead of exp (lgamma) for
20155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20156 (gamma_coeff): New variable.
20157 (NCOEFF): New macro.
20158 (gammal_positive): New function.
20159 (__ieee754_gammal_r): Handle positive infinity, overflow and
20160 underflow here. Handle NaN the same as positive infinity. Remove
20161 check x < 0xffffffff for negative integers. Use gamma_positive
20162 instead of exp (lgamma) for other arguments.
20163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20164 (gamma_coeff): New variable.
20165 (NCOEFF): New macro.
20166 (gammal_positive): New function.
20167 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20168 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20172 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20173 * sysdeps/generic/math_private.h (__gamma_productf): New
20175 (__gamma_product): Likewise.
20176 (__gamma_productl): Likewise.
20177 * math/Makefile (libm-calls): Add gamma_product.
20178 * math/libm-test.inc (tgamma_test): Add more tests.
20179 * sysdeps/i386/fpu/libm-test-ulps: Update.
20180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20182 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20184 * benchtests/bench-skeleton.c (main): Preheat CPU.
20186 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20188 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20190 2013-05-07 Roland McGrath <roland@hack.frob.com>
20192 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20193 and _dl_skip_args_internal.
20195 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20197 * manual/message.texi (Message Translation): Talk about users.
20198 Message to key mapping impacts design.
20200 2013-05-06 Roland McGrath <roland@hack.frob.com>
20202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20204 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20206 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20207 * sysdeps/wordsize-64/glob64.c: ... here.
20209 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20210 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20213 * debug/getlogin_r_chk.c: Moved to ...
20214 * login/getlogin_r_chk.c: ... here.
20215 * debug/Makefile (routines): Move getlogin_r_chk to ...
20216 * login/Makefile (routines): ... here.
20217 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20218 * login/Versions (libc: GLIBC_2.4): ... here.
20220 * io/poll.c (__poll): Renamed from poll.
20221 Add libc_hidden_def.
20222 (poll): Define as weak alias.
20224 * debug/ptsname_r_chk.c: Moved to ...
20225 * login/ptsname_r_chk.c: ... here.
20226 * debug/Makefile (routines): Move ptsname_r_chk to ...
20227 * login/Makefile (routines): ... here.
20228 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20229 * login/Versions (libc: GLIBC_2.4): ... here.
20231 * posix/getlogin.c: Moved to ...
20232 * login/getlogin.c: ... here.
20233 * posix/getlogin_r.c: Moved to ...
20234 * login/getlogin_r.c: ... here.
20235 * posix/getlogin_r.c: Moved to ...
20236 * login/getlogin_r.c: ... here.
20237 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20238 * login/Makefile (routines): ... here.
20239 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20240 * login/Versions (libc: GLIBC_2.0): ... here.
20242 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20243 (setrlimit): Define as weak alias.
20245 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20246 Call __ names for open, ftruncate, and close.
20247 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20248 (truncate): Define as weak alias.
20250 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20252 * math/gen-libm-test.pl (parse_args): Initialize x before each
20253 test of frexp, modf and remquo.
20255 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20256 test signgam value.
20258 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20262 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20266 2013-05-06 Roland McGrath <roland@hack.frob.com>
20268 * elf/dl-writev.h: New file.
20269 * elf/dl-misc.c: Include it.
20270 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20271 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20273 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20275 * math/libm-test.inc (noXFails): Remove variable.
20276 (noXPasses): Likewise.
20277 (BUILD_COMPLEX_INT): Remove macro.
20278 (print_screen): Remove xfail argument.
20279 (print_screen_max_error): Likewise.
20280 (update_stats): Likewise.
20281 (print_max_error): Likewise. Update calls to other affected
20283 (print_complex_max_error): Likewise.
20284 (test_single_exception): Update calls to print_screen.
20285 (test_single_errno): Likewise.
20286 (check_float_internal): Remove xfail argument. Update calls to
20287 other affected functions.
20288 (check_float): Likewise.
20289 (check_complex): Likewise.
20290 (check_int): Likewise.
20291 (check_long): Likewise.
20292 (check_bool): Likewise.
20293 (check_longlong): Likewise.
20294 (main): Don't print noXFails and noXPasses.
20295 * math/gen-libm-test.pl (top level): Don't mention expected
20296 failure handling in comment.
20297 (new_test): Don't handle expected failures.
20298 (parse_args): Don't mention expected failure handling in comment.
20299 (generate_testfile): Don't handle expected failures.
20300 (parse_ulps): Likewise.
20301 (print_ulps_file): Likewise.
20302 (get_failure): Remove function.
20303 (output_test): Don't handle expected failures.
20304 * make/README.libm-test: Don't mention expected failure handling.
20306 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20307 (minus_zero): Likewise.
20308 (plus_infty): Likewise.
20309 (minus_infty): Likewise.
20310 (qnan_value): Likewise.
20311 (max_value): Likewise.
20312 (min_value): Likewise.
20313 (min_subnorm_value): Likewise.
20314 (initialize): Do not initialize those variables dynamically.
20316 2013-05-03 Roland McGrath <roland@hack.frob.com>
20318 * io/open.c (__open_2): Moved to ...
20319 * io/open_2.c: ... this new file.
20320 * io/open64.c (__open64_2): Moved to ...
20321 * io/open64_2.c: ... this new file.
20322 * io/openat.c (__openat_2): Moved to ...
20323 * io/openat_2.c: ... this new file.
20324 * io/openat64.c (__openat64_2): Moved to ...
20325 * io/openat64_2.c: ... this new file.
20326 * io/Makefile (routines): Add them.
20327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20328 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20329 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20330 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20331 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20332 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20333 (__openat64): Add hidden_ver.
20334 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20335 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20337 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20338 Separately conditionalize setting of GLRO(dl_sysinfo) so
20339 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20340 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20342 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20347 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20349 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20350 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20351 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20353 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20355 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20356 test signgam value.
20358 * math/libm-test.inc (hypot_test): Do not use
20359 IGNORE_ZERO_INF_SIGN.
20361 2013-05-03 Andreas Jaeger <aj@suse.de>
20363 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20366 (PF_MAX): Adjust for VSOCK change.
20368 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20372 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20375 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20376 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20377 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20379 2013-05-02 David S. Miller <davem@davemloft.net>
20381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20383 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20385 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20387 2013-05-01 Roland McGrath <roland@hack.frob.com>
20389 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20391 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20394 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20395 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20396 Use __attribute__ ((__gnu_inline__)).
20397 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20398 Don't use __attribute__ ((__gnu_inline__)).
20400 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20403 * math/s_catan.c (__catan): Handle small real or imaginary part of
20404 input specially to avoid spurious underflow.
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 (__catanhl): Likewise.
20409 * math/s_catanl.c (__catanl): Likewise.
20410 * math/libm-test.inc (catan_test): Add more tests.
20411 (catanh_test): Likewise.
20412 * sysdeps/i386/fpu/libm-test-ulps: Update.
20413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20415 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20419 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20422 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20423 accurately for denominator in atan2.
20424 * math/s_catanf.c (__catanf): Likewise.
20425 * math/s_catanh.c (__catanh): Likewise.
20426 * math/s_catanhf.c (__catanhf): Likewise.
20427 * math/s_catanhl.c (__catanhl): Likewise.
20428 * math/s_catanl.c (__catanl): Likewise.
20429 * math/libm-test.inc (catan_test): Add more tests.
20430 (catanh_test): Likewise.
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20436 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20438 * benchtests/Makefile (bench): Remove slow benchmarks.
20439 * benchtests/atan-inputs: Add slow benchmark inputs.
20440 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20441 (BENCH_FUNC): Accept variant offset.
20443 * benchtests/bench-skeleton.c (main): Run benchmark for each
20445 * benchtests/cos-inputs: Add slow benchmark inputs.
20446 * benchtests/exp-inputs: Likewise.
20447 * benchtests/pow-inputs: Likewise.
20448 * benchtests/sin-inputs: Likewise.
20449 * benchtests/slowatan-inputs: Remove.
20450 * benchtests/slowatan.c: Remove.
20451 * benchtests/slowcos-inputs: Remove.
20452 * benchtests/slowcos.c: Remove.
20453 * benchtests/slowexp-inputs: Remove.
20454 * benchtests/slowexp.c: Remove.
20455 * benchtests/slowpow-inputs: Remove.
20456 * benchtests/slowpow.c: Remove.
20457 * benchtests/slowsin-inputs: Remove.
20458 * benchtests/slowsin.c: Remove.
20459 * benchtests/slowtan-inputs: Remove.
20460 * benchtests/slowtan.c: Remove.
20461 * benchtests/tan-inputs: Add slow benchmark inputs.
20462 * scripts/bench.pl: Parse comments and directives.
20464 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20466 ($(objpfx)bench-%.c): Remove *-ITER.
20467 * benchtests/bench-modf.c: Remove definition of ITER.
20468 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20469 (main): Loop for DURATION seconds instead of fixed number of
20471 * scripts/bench.pl: Don't expect iterations in parameters.
20473 2013-04-29 Roland McGrath <roland@hack.frob.com>
20475 * io/fchdir.c (__fchdir): Renamed from fchdir.
20476 (fchdir): Define as weak alias.
20478 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20480 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20481 (ERRNO_EDOM): Likewise.
20482 (ERRNO_ERANGE): Likewise.
20483 (noErrnoTests): New variable.
20484 (init_max_error): Set errno to 0.
20485 (test_single_errno): New function.
20486 (test_errno): Likewise.
20487 (check_float_internal): Call test_errno. Set errno to 0.
20488 (check_complex): Refer to errno tests in comment.
20489 (check_int): Call test_errno. Set errno to 0.
20490 (check_long): Likewise.
20491 (check_bool): Likewise.
20492 (check_longlong): Likewise.
20493 (cos_test): Use ERRNO_* flags for errno tests instead of
20495 (expm1_test): Likewise.
20496 (fmod_test): Likewise.
20497 (ilogb_test): Likewise.
20498 (lgamma_test): Likewise.
20499 (pow_test): Likewise.
20500 (remainder_test): Likewise.
20501 (sin_test): Likewise.
20502 (tan_test): Likewise.
20503 (yn_test): Likewise.
20504 (initialize): Set errno to 0.
20505 (main): Print number of errno tests.
20506 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20508 2013-04-29 Andreas Jaeger <aj@suse.de>
20511 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20515 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20516 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20520 * stdlib/random.c (__initstate): Return NULL if
20524 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20525 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20528 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20532 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20534 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20535 of individual tests.
20536 (casin_test): Likewise.
20537 (casinh_test): Likewise.
20539 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20542 * math/s_catan.c (__catan): Handle arguments with large real or
20543 imaginary part separately without squaring.
20544 * math/s_catanf.c (__catanf): Likewise.
20545 * math/s_catanh.c (__catanh): Likewise.
20546 * math/s_catanhf.c (__catanhf): Likewise.
20547 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20549 (__catanhl): Handle arguments with large real or imaginary part
20550 separately without squaring.
20551 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20553 (__catanl): Handle arguments with large real or imaginary part
20554 separately without squaring.
20555 * math/libm-test.inc (catan_test): Add more tests.
20556 (catanh_test): Likewise.
20557 * sysdeps/i386/fpu/libm-test-ulps: Update.
20558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20560 2013-04-27 Andreas Jaeger <aj@suse.de>
20563 * stdlib/stdlib.h: Update guards for qecvt.
20564 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20567 2013-04-27 Allan McRae <allan@archlinux.org>
20569 * sysdeps/i386/fpu/libm-test-ulps: Update.
20571 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20574 * math/s_catan.c: Include <float.h>.
20575 (__catan): Ensure underflow exception occurs for underflowed
20577 * math/s_catanf.c: Include <float.h>.
20578 (__catanf): Ensure underflow exception occurs for underflowed
20580 * math/s_catanh.c: Include <float.h>.
20581 (__catanh): Ensure underflow exception occurs for underflowed
20583 * math/s_catanhf.c: Include <float.h>.
20584 (__catanhf): Ensure underflow exception occurs for underflowed
20586 * math/s_catanhl.c: Include <float.h>.
20587 (__catanhl): Ensure underflow exception occurs for underflowed
20589 * math/s_catanl.c: Include <float.h>.
20590 (__catanl): Ensure underflow exception occurs for underflowed
20592 * math/libm-test.inc (catan_test): Add more tests.
20593 (catanh_test): Likewise.
20596 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20597 underflowed result.
20598 * math/s_ccoshf.c (__ccoshf): Likewise.
20599 * math/s_ccoshl.c (__ccoshl): Likewise.
20600 * math/s_csin.c (__csin): Likewise.
20601 * math/s_csinf.c (__csinf): Likewise.
20602 * math/s_csinh.c (__csinh): Likewise.
20603 * math/s_csinhf.c (__csinhf): Likewise.
20604 * math/s_csinhl.c (__csinhl): Likewise.
20605 * math/s_csinl.c (__csinl): Likewise.
20606 * math/libm-test.inc (ccos_test): Add more tests.
20607 (ccosh_test): Likewise.
20608 (csin_test): Likewise.
20609 (csinh_test): Likewise.
20611 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20613 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20614 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20615 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20616 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20617 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20618 powerpc/power5+/fpu folders.
20619 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20622 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20626 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20628 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20629 additions to variable.
20630 [$(config-machine) = x86_64] (modules-names): Likewise.
20631 ($(objpfx)tst-audit3): Remove dependency.
20632 ($(objpfx)tst-audit3.out): Likewise.
20633 ($(objpfx)tst-audit4): Likewise.
20634 ($(objpfx)tst-audit4.out): Likewise.
20635 ($(objpfx)tst-audit5): Likewise.
20636 ($(objpfx)tst-audit5.out): Likewise.
20637 ($(objpfx)tst-audit6): Likewise.
20638 ($(objpfx)tst-audit6.out): Likewise.
20639 ($(objpfx)tst-audit7): Likewise.
20640 ($(objpfx)tst-audit7.out): Likewise.
20641 (tst-audit3-ENV): Remove variable.
20642 (tst-audit4-ENV): Likewise.
20643 (tst-audit5-ENV): Likewise.
20644 (tst-audit6-ENV): Likewise.
20645 (tst-audit7-ENV): Likewise.
20646 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20647 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20648 addition to variable.
20649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20654 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20655 tst-audit3, tst-audit4 and tst-audit5.
20656 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20657 tst-audit6 and tst-audit7.
20658 [$(subdir) = elf] (modules-names): Add audit modules for those
20660 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20661 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20662 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20663 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20664 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20665 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20666 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20667 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20668 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20669 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20670 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20671 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20672 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20673 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20674 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20675 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20677 [$(subdir) = elf && $(config-cflags-avx) = yes]
20678 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20679 [$(subdir) = elf && $(config-cflags-avx) = yes]
20680 (CFLAGS-tst-auditmod4a.c): Likewise.
20681 [$(subdir) = elf && $(config-cflags-avx) = yes]
20682 (CFLAGS-tst-auditmod4b.c): Likewise.
20683 [$(subdir) = elf && $(config-cflags-avx) = yes]
20684 (CFLAGS-tst-auditmod6b.c): Likewise.
20685 [$(subdir) = elf && $(config-cflags-avx) = yes]
20686 (CFLAGS-tst-auditmod6c.c): Likewise.
20687 [$(subdir) = elf && $(config-cflags-avx) = yes]
20688 (CFLAGS-tst-auditmod7b.c): Likewise.
20689 * elf/tst-audit3.c: Move to ...
20690 * sysdeps/x86_64/tst-audit3.c: ... here.
20691 * elf/tst-audit4.c: Move to ...
20692 * sysdeps/x86_64/tst-audit4.c: ... here.
20693 * elf/tst-audit5.c: Move to ...
20694 * sysdeps/x86_64/tst-audit5.c: ... here.
20695 * elf/tst-audit6.c: Move to ...
20696 * sysdeps/x86_64/tst-audit6.c: ... here.
20697 * elf/tst-audit7.c: Move to ...
20698 * sysdeps/x86_64/tst-audit7.c: ... here.
20699 * elf/tst-auditmod3a.c: Move to ...
20700 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20701 * elf/tst-auditmod3b.c: Move to ...
20702 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20703 * elf/tst-auditmod4a.c: Move to ...
20704 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20705 * elf/tst-auditmod4b.c: Move to ...
20706 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20707 * elf/tst-auditmod5a.c: Move to ...
20708 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20709 * elf/tst-auditmod5b.c: Move to ...
20710 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20711 * elf/tst-auditmod6a.c: Move to ...
20712 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20713 * elf/tst-auditmod6b.c: Move to ...
20714 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20715 * elf/tst-auditmod6c.c: Move to ...
20716 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20717 * elf/tst-auditmod7a.c: Move to ...
20718 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20719 * elf/tst-auditmod7b.c: Move to ...
20720 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20722 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20725 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20726 define unconditionally.
20727 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20728 define unconditionally.
20729 (INT8_C, INT16_C, etc.): Likewise.
20731 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20733 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20734 __ehdr_start with hidden visibility.
20736 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20738 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20740 * math/libm-test.inc (cos_test): Use accurate hex constants.
20741 (sincost_test): Likewise.
20743 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20745 * math/libm-test.inc (catan_test): Add more tests.
20746 (catanh_test): Likewise.
20748 * math/s_catanf.c (__catanf): Use suffixed floating-point
20750 * math/s_catanhf.c (__catanhf): Likewise.
20751 * math/s_catanhl.c (__catanhl): Likewise.
20752 * math/s_catanl.c (__catanl): Likewise.
20755 * math/s_catan.c (__catan): Calculate imaginary part of result
20756 with log1p not log unless computing log of number close to 0.
20757 * math/s_catanf.c (__catanf): Likewise.
20758 * math/s_catanl.c (__catanl): Likewise.
20759 * math/s_catanh.c (__catanh): Calculate real part of result with
20760 log1p not log unless computing log of number close to 0.
20761 * math/s_catanhf.c (__catanhf): Likewise.
20762 * math/s_catanhl.c (__catanhl): Likewise.
20763 * math/libm-test.inc (catan_test): Add more tests.
20764 (catanh_test): Likewise.
20765 * sysdeps/i386/fpu/libm-test-ulps: Update.
20766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20768 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20770 * benchtests/Makefile: Mention files in which fast and slow
20771 paths of math functions are implemented.
20773 2013-04-23 Roland McGrath <roland@hack.frob.com>
20775 * sysdeps/posix/timespec_get.c: New file.
20777 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20779 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20781 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20783 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20784 powerpc/power5/fpu folders.
20785 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20786 * benchtests/Makefile: Add modf testcase.
20787 * benchtests/bench-modf.c: New file: Benchmark test for mo
20789 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20792 * time/Makefile (tests): Add tst-strptime-whitespace.
20793 * time/strptime_l.c (get_number): Use ISSPACE.
20794 (__strptime_internal): Likewise.
20795 * time/tst-strptime-whitespace.c: New test case.
20797 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20799 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20801 (_nss_files_init): Set it here.
20803 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20806 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20809 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20811 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20813 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20818 2013-04-21 David S. Miller <davem@davemloft.net>
20820 * po/ru.po: Update Russion translation from translation project.
20822 2013-04-17 Adam Conrad <adconrad@0c3.net>
20824 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20827 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20829 * configure.in: Remove i386 configure warning. Remove i386 case.
20830 * configure: Regenerate.
20831 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20832 Add example to error message.
20833 * sysdeps/i386/configure: Regenerate.
20835 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20837 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20839 * benchtests/cos-inputs: New file.
20840 * benchtests/slowcos-inputs: New file.
20841 * benchtests/slowcos.c: New file.
20842 * benchtests/slowtan-inputs: New file.
20843 * benchtests/slowtan.c: New file.
20844 * benchtests/tan-inputs: New file.
20846 2013-04-16 Roland McGrath <roland@hack.frob.com>
20848 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20851 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20853 * benchtests/Makefile: Include cppflags-iterator.mk to add
20854 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20856 * Makefile.in (bench-clean): New target.
20857 * benchtests/Makefile (bench-clean): Likewise.
20859 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20861 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20863 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20865 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20867 2013-04-15 Andreas Schwab <schwab@suse.de>
20869 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20871 * nscd/pwdcache.c (cache_addpw): Likewise.
20872 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20875 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20877 * benchtests/Makefile (bench): Write all output to
20878 bench-out.tmp together.
20880 2013-04-15 Andreas Schwab <schwab@suse.de>
20882 * nscd/nscd.c (main): Don't fork again after closing files.
20884 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20886 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20888 * benchtests/Rules (bench-deps): Collect dependencies into a
20889 single variable. Add Makefile to dependencies.
20890 ($(objpfx)bench-%.c): Depend on bench-deps.
20892 2013-04-12 Roland McGrath <roland@hack.frob.com>
20893 Xavier Roche <roche+kml2@exalead.com>
20896 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20897 just that it's a file descriptor.
20898 * manual/llio.texi (Synchronizing AIO Operations): Update description
20899 for EBADF error from aio_fsync.
20901 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20903 * Rules (bench): Move target definition...
20904 * benchtests/Makefile: ... here.
20906 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20908 * math/libm-test.inc (cos_test): Fix PI/2 test.
20909 (sincos_test): Likewise.
20910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20911 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20913 2013-04-11 Andreas Schwab <schwab@suse.de>
20916 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20917 accept exponent character only when digits were seen.
20918 * stdio-common/Makefile (tests): Add bug26.
20919 * stdio-common/bug26.c: New file.
20922 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20925 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20927 * Makeconfig (rtld-prefix): Define built linker prefix.
20928 * Rules (run-bench): Use it.
20929 * math/Makefile (run-regen-ulps): Likewise.
20931 * Rules (bench): Remove eval.
20933 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20934 Roland McGrath <roland@hack.frob.com>
20935 Ondrej Bilka <neleai@seznam.cz>
20938 * time/getdate.c: Include ctype.h and alloca.h.
20939 (__getdate_r): Trim leading and trailing spaces of input.
20940 * time/tst-getdate.c (tests): Add tests with leading and
20943 2013-04-08 Roland McGrath <roland@hack.frob.com>
20946 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20947 when computing value.
20949 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20951 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20952 Use testrun.sh to run libm tests.
20955 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20957 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20960 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20962 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20964 * Makefile.in (regen-ulps): New target.
20965 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20966 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20967 [ifneq (no,$(PERL)] (regen-ulps): New target.
20968 [ifeq (no,$(PERL)] (regen-ulps): New target.
20969 * math/libm-test.inc (ulps_file_name): Define.
20970 (output_dir): New variable.
20971 (options): Add "output-dir" option.
20972 (parse_opt): Handle 'o' case.
20973 (main): If output_dir is non-NULL use it as a prefix
20975 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20977 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20979 [BZ #10060, #10062]
20980 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20981 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20982 fail configure if __sync_val_compare_and_swap is not inlined.
20983 * sysdeps/i386/configure: Regenerate.
20984 * configure.in: Build for i686 when configured for i386.
20985 * configure: Regenerate.
20986 * README: Remove i386 reference.
20988 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20990 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20993 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20995 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20996 (lmsnanval): New variables.
20997 (F): Add conversion tests.
20998 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20999 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21001 * stdio-common/tstdiomisc.c (F): Properly collect individual
21004 [BZ #14686, #15336]
21005 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21007 Instead, use input NaN values or generate a qNaN by arithmetic
21008 operation. Also fix bugs to comply with the standard.
21009 * math/libm-test.inc (remainder_test): Add more tests.
21011 [BZ #15335, #15342]
21012 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21014 input NaN values or generate a qNaN by arithmetic operation.
21016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21019 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21022 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21025 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21026 underflowed result.
21027 * math/s_cexpf.c (__cexpf): Likewise.
21028 * math/s_cexpl.c (__cexpl): Likewise.
21029 * math/libm-test.inc (cexp_test): Add more tests.
21031 2013-04-03 Andreas Schwab <schwab@suse.de>
21034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21035 order arrays from heap if bigger than alloca cutoff.
21037 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21039 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21040 (SNAN_TESTS_double): Refer to GCC PR56831.
21041 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21044 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21046 * Rules (bench): Move bench.out after the run is complete.
21048 * Rules (bench): Echo currently running benchmark.
21050 * benchtests/Makefile (bench): Add atan and slowatan.
21051 * benchtests/atan-inputs: New file.
21052 * benchtests/slowatan-inputs: New file.
21053 * benchtests/slowatan.c: New file.
21055 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21060 * sysdeps/unix/sysv/linux/kernel-features.h
21061 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21062 __ASSUME_XFS_RESTRICTED_CHOWN.
21063 * sysdeps/unix/sysv/linux/pathconf.c
21064 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21065 Save and restore errno.
21067 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21070 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21071 arguments using __kernel_casinh.
21072 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21073 arguments using __kernel_casinhf.
21074 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21075 arguments using __kernel_casinhl.
21076 * math/libm-test.inc (cacosh_test): Add more tests.
21077 * sysdeps/i386/fpu/libm-test-ulps: Update.
21078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21080 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21082 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21085 * bench/Makefile (bench): Add sin and slowsin.
21086 * benchtests/sin-inputs: New file.
21087 * benchtests/slowsin-inputs: New file.
21088 * benchtests/slowsin.c: New file.
21090 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21091 (bench): Add slowexp and slowpow.
21092 (exp-ITER): Increase iterations.
21093 (pow-ITER): Likewise.
21094 * benchtests/exp-inputs: Change input.
21095 * benchtests/pow-inputs: Likewise.
21096 * benchtests/slowexp-inputs: New file.
21097 * benchtests/slowexp.c: New file.
21098 * benchtests/slowpow-inputs: New file.
21099 * benchtests/slowpow.c: New file.
21101 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21105 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21106 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21107 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21108 * benchtests/Makefile: Add rint benchtest.
21109 * benchtests/rint-inputs: Input for rint benchtest.
21111 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21113 * Versions.def (libm): Add GLIBC_2.18.
21114 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21115 hidden libm prototypes.
21116 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21117 * math/Makefile (libm-calls): Add s_issignaling.
21118 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21119 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21120 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21122 * math/math.h [__USE_GNU] (issignaling): New macro.
21123 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21124 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21126 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21129 * manual/arith.texi (issignaling): New section.
21130 * manual/libm-err-tab.pl (@all_functions): Update comment.
21131 * math/gen-libm-test.pl (parse_args): Apply special handling for
21133 * math/libm-test.inc (print_float, issignaling_test): New
21135 (check_float_internal): Add issignaling checks.
21136 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21137 default definition.
21138 * sysdeps/powerpc/math-tests.h: New file.
21139 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21141 * math/test-snan.c (TEST_FUNC): Likewise.
21143 2013-03-30 David S. Miller <davem@davemloft.net>
21145 * po/de.po: Update from translation team.
21147 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21150 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21151 imaginary part less than 1.0 and real part less than 0.5
21153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21156 (cacos_test): Add more tests.
21157 (casin_test): Likewise.
21158 (casinh_test): Likewise.
21159 * sysdeps/i386/fpu/libm-test-ulps: Update.
21160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21162 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21164 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21165 ONE with its value.
21167 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21168 (__pow_mp): Replace ONE and MONE with their values.
21169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21176 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21178 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21179 (__pow_mp): Replace ZERO and MZERO with their values.
21180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21184 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21185 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21188 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21190 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21192 2013-03-28 Roland McGrath <roland@hack.frob.com>
21194 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21195 Declare with __attribute__ ((weak)).
21196 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21197 Call __call_tls_dtors only if it's not NULL.
21199 2013-03-28 Roland McGrath <roland@hack.frob.com>
21201 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21202 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21203 magic __ehdr_start linker symbol if it's defined.
21204 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21205 them up here if it was already done.
21207 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21208 (_dl_aux_init): Use const in cast when setting it.
21209 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21211 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21213 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21215 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21216 * csu/libc-tls.c: Nor here.
21217 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21219 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21220 (__libc_message): Never call vsyslog.
21222 2013-03-28 Alan Modra <amodra@gmail.com>
21224 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21226 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21229 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21236 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21239 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21240 Don't add gid passed as argument.
21242 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21244 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21248 imaginary part between 1.0 and 1.5 and real part less than 0.5
21250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21252 * math/libm-test.inc (cacos_test): Add more tests.
21253 (casin_test): Likewise.
21254 (casinh_test): Likewise.
21255 * sysdeps/i386/fpu/libm-test-ulps: Update.
21256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21258 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21260 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21263 (denorm): Likewise.
21264 (__dbl_mp): Likewise.
21265 (add_magnitudes): Likewise.
21266 (sub_magnitudes): Likewise.
21274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21276 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21277 (__dubcos): Likewise.
21278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21279 (__ieee754_acos): Likewise.
21280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21282 (__exp1): Likewise.
21283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21286 (my_log2): Likewise.
21287 (checkint): Likewise.
21288 * sysdeps/ieee754/dbl-64/e_remainder.c
21289 (__ieee754_remainder): Likewise.
21290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21292 (bsloww): Likewise.
21293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21297 MANTISSA_STORE_T to store computations on mantissa. Use
21298 macros for rounding and division.
21299 (denorm): Likewise.
21300 (__dbl_mp): Likewise.
21301 (add_magnitudes): Likewise.
21302 (sub_magnitudes): Likewise.
21305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21306 powers of two in terms of TWOPOW macro.
21307 (mp_no): Make type of mantissa as MANTISSA_T.
21308 [!RADIXI]: Define RADIXI.
21309 [!TWO52]: Define TWO52.
21310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21312 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21314 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21315 llroundl symbol when building for PPC32.
21317 2013-03-24 Mark H Weaver <mhw@netris.org>
21319 * manual/arith.texi (Normalization Functions): Fix prototypes for
21320 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21322 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21326 high value to check if expl overflow.
21327 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21328 to check for underflow and overflow.
21329 * math/libm-test.inc: Add exp test.
21331 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21334 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21337 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21339 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21342 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21344 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21345 wrap blocks consisting of several statements.
21347 * sysdeps/generic/math-tests.h: New file.
21348 * sysdeps/i386/fpu/math-tests.h: Likewise.
21349 * math/test-snan.c: Include it.
21350 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21352 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21356 (__ieee754_j0l): Do not improve calculations using cos of twice
21357 input for inputs above LDBL_MAX / 2.0L.
21358 (__ieee754_y0l): Likewise.
21359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21360 (__ieee754_j1l): Do not improve calculations using cos of twice
21361 input for inputs above LDBL_MAX / 2.0L.
21362 (__ieee754_y1l): Likewise.
21363 * math/libm-test.inc (j0_test): Add another test.
21364 (j1_test): Likewise.
21365 (y0_test): Likewise.
21366 (y1_test): Likewise.
21367 * sysdeps/i386/fpu/libm-test-ulps: Update.
21369 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21371 * Rules ($(objpfx)bench-%.c): Include code from a C source
21374 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21378 imaginary part 1.0 and real part less than 0.5 specially.
21379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21381 * math/libm-test.inc (cacos_test): Add more tests.
21382 (casin_test): Likewise.
21383 (casinh_test): Likewise.
21384 * sysdeps/i386/fpu/libm-test-ulps: Update.
21385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21387 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21390 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21392 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21394 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21395 * config.make.in (config-cflags-sse4): Remove variable.
21396 (config-cflags-avx): Likewise.
21397 (config-cflags-sse2avx): Likewise.
21398 (config-cflags-novzeroupper): Likewise.
21399 (config-asflags-i686): Likewise.
21400 (have-mfma4): Likewise.
21401 (have-as-vis3): Likewise.
21403 * configure.in (MIG): Do not AC_SUBST.
21404 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21405 (libc_cv_cc_sse4): Do not AC_SUBST.
21406 (libc_cv_cc_avx): Likewise.
21407 (libc_cv_cc_sse2avx): Likewise.
21408 (libc_cv_cc_novzeroupper): Likewise.
21409 (libc_cv_cc_fma4): Likewise.
21410 (libc_cv_as_i686): Likewise.
21411 (libc_cv_sparc_as_vis3): Likewise.
21412 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21414 (config-asflags-i686): Likewise.
21415 (config-cflags-avx): Likewise.
21416 (config-cflags-sse2avx): Likewise.
21417 (have-mfma4): Likewise.
21418 (config-cflags-novzeroupper): Likewise.
21419 * sysdeps/mach/configure.in (MIG): Likewise.
21420 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21421 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21423 (config-cflags-avx): Likewise.
21424 (config-cflags-sse2avx): Likewise.
21425 (have-mfma4): Likewise.
21426 (config-cflags-novzeroupper): Likewise.
21427 * configure: Regenerated.
21428 * sysdeps/i386/configure: Likewise.
21429 * sysdeps/mach/configure: Likewise.
21430 * sysdeps/sparc/configure: Likewise.
21431 * sysdeps/x86_64/configure: Likewise.
21433 2013-03-20 Roland McGrath <roland@hack.frob.com>
21436 * locale/programs/localedef.c (options): Put N_ translation marker
21437 on argument names, not just descriptions.
21439 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21441 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21443 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21446 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21448 2013-03-19 Roland McGrath <roland@hack.frob.com>
21450 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21451 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21452 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21453 [!BEFORE_ABORT] (before_abort): New function.
21454 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21455 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21456 (writev_for_fatal): New function.
21457 (WRITEV_FOR_FATAL): New macro; call that.
21458 (backtrace_and_maps): New function.
21459 (BEFORE_ABORT): New macro; call that.
21460 (struct str_list): Type removed.
21461 (__libc_message, __libc_fatal): Functions removed.
21462 Include <sysdeps/posix/libc_fatal.c> instead.
21464 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21466 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21468 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21471 2013-03-19 Andreas Schwab <schwab@suse.de>
21473 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21474 * sysdeps/gnu/configure: Regenerate.
21476 * configure.in: Substitute libc_cv_rtlddir.
21477 * configure: Regenerate.
21478 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21479 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21480 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21481 * elf/Makefile (install-others, CFLAGS-interp.c)
21482 (ldso_install, common-ldd-rewrite): Likewise.
21483 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21484 $(inst_slibdir)/$(rtld-installed-name).
21485 * scripts/rellns-sh: Add -p option.
21486 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21489 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 * manual/nptl.texi: Renamed to ...
21492 * manual/threads.texi: ... this.
21493 * manual/Makefile (chapters): Update.
21495 2013-03-18 Roland McGrath <roland@hack.frob.com>
21498 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21499 on argument names, not just descriptions.
21500 * malloc/memusagestat.c (options): Likewise.
21501 * nss/getent.c (options): Likewise.
21503 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21506 * iconv/iconv_prog.c (options): Put N_ translation marker
21507 on argument names, not just descriptions.
21508 * iconv/iconvconfig.c (options): Likewise.
21510 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21512 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21513 implementation which is faster on all x86_64 architectures.
21514 Tested on AMD, Intel Nehalem, SNB, IVB.
21515 * sysdeps/x86_64/strnlen.S: Likewise.
21517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21518 Remove all multiarch strlen and strnlen versions.
21519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21520 Remove strlen and strnlen related parts.
21522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21523 Inline strlen part.
21524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21526 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21529 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21530 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21533 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21535 * manual/memory.texi (Malloc Tunable Parameters):
21536 Sort parameters alphabetically. Add comments for missing entries.
21538 2013-03-17 David S. Miller <davem@davemloft.net>
21540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21542 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21546 for arguments at most half maximum finite value.
21547 * math/libm-test.inc (j0_test): Add more tests.
21548 (j1_test): Likewise.
21549 (y0_test): Likewise.
21550 (y1_test): Likewise.
21551 * sysdeps/i386/fpu/libm-test-ulps: Update.
21552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21556 1 / x and functions P and Q for arguments above 0x1p256L.
21557 (__ieee754_y0l): Likewise.
21558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21559 (__ieee754_y1l): Likewise.
21560 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21561 (j1_test): Likewise.
21562 (y0_test): Likewise.
21563 (y1_test): Likewise.
21565 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21567 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21570 2013-03-15 Roland McGrath <roland@hack.frob.com>
21572 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21573 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21574 zero since it's initialized to EXEC_PAGESIZE.
21576 * sysdeps/unix/sysv/linux/ldsodefs.h
21577 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21578 * sysdeps/generic/ldsodefs.h: ... here.
21580 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21582 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21584 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21586 * math/test-snan.c: Renamed from
21587 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21588 * math/Makefile (tests): Add test-snan.
21589 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21592 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21593 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21595 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21596 __builtin_nan family of functions.
21597 * math/libm-test.inc (initialize): Initialize qnan_value with
21598 __builtin_nan family of functions.
21599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21601 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21603 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21604 storage class. Initialize qNaN_var and sNaN_var with
21605 __builtin_nan and __builtin_nans families of functions,
21608 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21609 (sqrt_test): Remove duplicate test with qNaN input.
21610 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21611 (round_test, signbit_test, significand_test): Note missing +/-Inf
21612 as well as qNaN tests.
21614 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21615 qNaN_var. Fix a few strings, too.
21616 * math/libm-test.inc (nan_value): Rename to qnan_value.
21617 * math/gen-libm-test.pl (%beautify): Adjust to that.
21618 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21619 * math/test-misc.c (main): Likewise.
21620 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21621 to __qnan_bytes, and __qnan_union, respectively.
21622 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21624 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21625 and lqnanval, respectively.
21626 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21627 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21629 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21631 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21632 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21635 * math/test-misc.c (main): Fix copy'n'pastos.
21636 * misc/tst-efgcvt.c (special): Likewise.
21638 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21639 Remove declarations.
21641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21644 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21645 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21648 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21651 macro to return vdso values correctly in IFUNC implementations.
21652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21653 Optimization by using IFUNC.
21655 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21656 Richard Henderson <rth@redhat.com>
21657 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21659 * Makefile.in (bench): New target.
21660 * NEWS: Mention the benchmark framework.
21661 * Rules (bench): Likewise.
21662 (binaries-bench): Generate binaries for functions to
21664 * benchtests/Makefile: New makefile for benchmark tests.
21665 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21667 * benchtests/exp-inputs: New input file for EXP function.
21668 * benchtests/pow-inputs: New input file for POW function.
21669 * scripts/bench.pl: New script to generate source files for
21670 benchmark programs.
21672 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21676 computations on mantissa. Use macros for rounding and
21678 (denorm): Likewise.
21679 (__dbl_mp): Likewise.
21680 (add_magnitudes): Likewise.
21681 (sub_magnitudes): Likewise.
21684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21685 powers of two in terms of TWOPOW macro.
21686 (mp_no): Make type of mantissa as MANTISSA_T.
21687 [!RADIXI]: Define RADIXI.
21688 [!TWO52]: Define TWO52.
21689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21691 * manual/nptl.texi (cindex): Modify threads to pthreads.
21693 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21695 * sysdeps/x86_64/preconfigure: Regenerated.
21697 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21700 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21702 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21703 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21705 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21706 * math/libm-test.inc (j0_test): Do not allow one spurious
21707 underflow exception.
21708 (y1_test): Likewise.
21710 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21712 * manual/Makefile (chapters): Add nptl.
21713 * manual/debug.texi (Debugging Support): Add link to Threads
21715 * manual/nptl.texi: New file.
21717 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21719 2013-03-14 Petr Baudis <pasky@ucw.cz>
21721 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21722 for non-NULL pointer before the memory validity test. Pointed
21723 out by Holger Brunck <holger.brunck@keymile.com>.
21725 2013-03-13 Andreas Schwab <schwab@suse.de>
21727 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21730 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21732 * timezone/zic.c: Update from tzcode 2013b.
21734 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21736 * manual/install.texi (Configuring and compiling):
21737 Mention i686 and i586.
21738 * INSTALL: Regenerate.
21740 2013-03-12 Roland McGrath <roland@hack.frob.com>
21742 * sysdeps/init_array/elf-init.c: New file.
21744 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21745 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21747 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21748 __gmon_start__ as global, but as static with a .preinit_array pointer.
21749 * sysdeps/init_array/gmon-start.c: New file. Use that.
21750 * sysdeps/init_array/crti.S: New file, empty except for comments.
21751 * sysdeps/init_array/crtn.S: Likewise.
21753 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21755 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21758 Remove Prefer_SSE_for_memop.
21759 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21760 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21761 HAS_PREFER_SSE_FOR_MEMOP.
21762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21765 Remove bzero, memset ifunc support.
21766 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21771 2013-03-11 Andreas Schwab <schwab@suse.de>
21774 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21777 (GLIBC_2.16): Remove pthread_atfork.
21779 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21781 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21782 (ptestcases.h): Likewise.
21784 2013-03-08 Roland McGrath <roland@hack.frob.com>
21786 * Makeconfig ($(common-objpfx)config.status): Depend on
21787 sysdeps/*/preconfigure{,.in} too.
21789 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21791 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21792 (__free_hook): Use void * instead of __malloc_ptr_t.
21793 (__malloc_hook): Likewise.
21794 (__realloc_hook): Likewise.
21795 (__memalign_hook): Likewise.
21796 (__after_morecore_hook): Likewise.
21797 * malloc/arena.c (save_malloc_hook): Likewise.
21798 (save_free_hook): Likewise.
21799 * malloc/hooks.c (malloc_hook_ini): Likewise.
21800 (realloc_hook_ini): Likewise.
21801 (memalign_hook_ini): Likewise.
21802 * malloc/malloc.c (malloc_hook_ini): Likewise.
21803 (realloc_hook_ini): Likewise.
21804 (memalign_hook_ini): Likewise.
21805 (__free_hook): Likewise.
21806 (__malloc_hook): Likewise.
21807 (__realloc_hook): Likewise.
21808 (__memalign_hook): Likewise.
21809 (__libc_malloc): Likewise.
21810 (__libc_free): Likewise.
21811 (__libc_realloc): Likewise.
21812 (__libc_memalign): Likewise.
21813 (__libc_valloc): Likewise.
21814 (__libc_pvalloc): Likewise.
21815 (__libc_calloc): Likewise.
21816 (__posix_memalign): Likewise.
21817 * malloc/morecore.c (__sbrk): Likewise.
21818 (__default_morecore): Likewise.
21820 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21822 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21823 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21824 __malloc_ptrdiff_t.
21826 * malloc/malloc.h (__malloc_size_t): Remove macro.
21827 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21829 (old_memalign_hook): Likewise.
21830 (old_realloc_hook): Likewise.
21831 (struct hdr): Likewise.
21833 (mallochook): Likewise.
21834 (memalignhook): Likewise.
21835 (reallochook): Likewise.
21836 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21837 (tr_old_realloc_hook): Likewise.
21838 (tr_old_memalign_hook): Likewise.
21839 (tr_mallochook): Likewise.
21840 (tr_reallochook): Likewise.
21841 (tr_memalignhook): Likewise.
21843 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21846 default_ldbl_pack and using as default implementation.
21847 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21849 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21850 redundant definition.
21851 (ldbl_insert_mantissa): Likewise.
21852 (ldbl_canonicalize): Likewise.
21853 (ldbl_nearbyint): Likewise.
21854 (ldbl_pack): Rename to ldbl_pack_ppc.
21855 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21856 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21857 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21859 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21862 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21864 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21867 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21868 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21870 2013-03-07 Andreas Jaeger <aj@suse.de>
21872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21875 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21877 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21878 Include mpa.h and declare __MPEXP.
21879 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21884 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21887 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21888 (__slowpow): Use long double EXPL and LOGL functions to
21890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21894 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21898 intermediate variable to calculate exponent.
21900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21904 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21905 [!NO__SQR]: Define __sqr.
21906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21907 and NO__SQR. Remove all code except __mul and __sqr. Include
21908 sysdeps/ieee754/dbl-64/mpa.c.
21909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21912 * posix/Makefile (tests): Add tst-pathconf.
21913 * posix/tst-pathconf.c: New test case.
21914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21918 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21920 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21922 2013-03-06 Andreas Jaeger <aj@suse.de>
21924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21925 definition via __MAP_ANONYMOUS.
21927 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21928 it's not part of Linux headers.
21930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21931 (MAP_HUGE_MASK): Define.
21933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21939 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21946 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21947 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21949 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21950 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21957 Handle f2fs and efivarfs.
21959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21963 (EFIVARFS_MAGIC): Add.
21964 (F2FS_LINK_MAX): Add.
21966 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21968 * stdio-common/vfprintf.c: Replace __builtin_expect with
21971 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21974 * sysdeps/generic/bp-sym.h: Remove file.
21975 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21977 <bp-sym.h> and <bp-asm.h>.
21978 (__longjmp): Don't use BP_SYM.
21979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21981 (memcpy): Don't use BP_SYM.
21982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21983 <bp-sym.h> and <bp-asm.h>.
21984 (memcpy): Don't use BP_SYM.
21985 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21987 (memcpy): Don't use BP_SYM.
21988 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21990 (memset): Don't use BP_SYM.
21991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21993 (__bzero): Don't use BP_SYM.
21994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21997 <bp-sym.h> and <bp-asm.h>.
21998 (memcmp): Don't use BP_SYM. Remove comment about bounded
22000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22001 <bp-sym.h> and <bp-asm.h>.
22002 (memcpy): Don't use BP_SYM.
22003 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22004 <bp-sym.h> and <bp-asm.h>.
22005 (memset): Don't use BP_SYM.
22006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22008 (__bzero): Don't use BP_SYM.
22009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22012 <bp-sym.h> and <bp-asm.h>.
22013 (strncmp): Don't use BP_SYM. Remove comment about bounded
22015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22016 <bp-sym.h> and <bp-asm.h>.
22017 (memcpy): Don't use BP_SYM.
22018 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22019 <bp-sym.h> and <bp-asm.h>.
22020 (memset): Don't use BP_SYM.
22021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22023 (__bzero): Don't use BP_SYM.
22024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22027 <bp-sym.h> and <bp-asm.h>.
22028 (__memchr): Don't use BP_SYM.
22029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22030 <bp-sym.h> and <bp-asm.h>.
22031 (memcmp): Don't use BP_SYM. Remove comment about bounded
22033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22034 <bp-sym.h> and <bp-asm.h>.
22035 (memcpy): Don't use BP_SYM.
22036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22037 <bp-sym.h> and <bp-asm.h>.
22038 (__mempcpy): Don't use BP_SYM.
22039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22040 <bp-sym.h> and <bp-asm.h>.
22041 (__memrchr): Don't use BP_SYM.
22042 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22043 <bp-sym.h> and <bp-asm.h>.
22044 (memset): Don't use BP_SYM.
22045 (__bzero): Likewise.
22046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22047 <bp-sym.h> and <bp-asm.h>.
22048 (__rawmemchr): Don't use BP_SYM.
22049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22050 <bp-sym.h> and <bp-asm.h>.
22051 (__STRCMP): Don't use BP_SYM.
22052 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22053 <bp-sym.h> and <bp-asm.h>.
22054 (strchr): Don't use BP_SYM.
22055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22056 <bp-sym.h> and <bp-asm.h>.
22057 (__strchrnul): Don't use BP_SYM.
22058 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22059 <bp-sym.h> and <bp-asm.h>.
22060 (strlen): Don't use BP_SYM.
22061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22062 <bp-sym.h> and <bp-asm.h>.
22063 (strncmp): Don't use BP_SYM. Remove comment about bounded
22065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22066 <bp-sym.h> and <bp-asm.h>.
22067 (__strnlen): Don't use BP_SYM.
22068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22069 <bp-sym.h> and <bp-asm.h>.
22070 (__GI__setjmp): Don't use BP_SYM.
22071 (_setjmp): Likewise.
22072 (__sigsetjmp): Likewise.
22073 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22074 (L(start_addresses)): Don't use BP_SYM.
22075 (_start): Likewise.
22076 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22078 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22079 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22080 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22081 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22082 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22084 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22085 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22086 about bounded pointers.
22087 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22088 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22089 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22091 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22092 about bounded pointers. Remove GKM FIXME comments.
22093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22094 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22096 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22097 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22098 Remove GKM FIXME comments.
22099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22101 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22104 about bounded pointers. Remove GKM FIXME comment.
22105 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22107 (strncmp): Don't use BP_SYM. Remove comment about bounded
22109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22110 <bp-sym.h> and <bp-asm.h>.
22111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22113 <bp-sym.h> and <bp-asm.h>.
22114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22117 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22119 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22122 2013-03-05 David S. Miller <davem@davemloft.net>
22124 * po/es.po: Update from translation team.
22126 2013-03-05 Andreas Jaeger <aj@suse.de>
22128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22129 <bits/mman-linux.h>.
22130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22133 <bits/mman-linux.h> to end of file.
22134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22137 <bits/mman-linux.h> to end of file.
22138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22141 <bits/mman-linux.h> to end of file.
22143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22144 (MCL_CURRENT, MCL_FUTURE): Define here.
22146 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22153 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22156 fourth parameter needed for rt_sigprocmask syscall.
22157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22158 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22159 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22160 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22162 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22164 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22167 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22168 comment about bounded pointers.
22169 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22170 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22172 2013-03-04 Andreas Jaeger <aj@suse.de>
22174 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22175 common definitions.
22177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22178 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22184 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22188 __ieee754_sqrl instead of __sqrl.
22190 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22192 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22193 * sysdeps/powerpc/fpu_control.h: ... here.
22194 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22195 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22196 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22197 * sysdeps/powerpc/bits/mathinline.h: ... here.
22199 2013-03-01 Roland McGrath <roland@hack.frob.com>
22201 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22202 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22203 to just [NEED_DL_SYSINFO_DSO].
22204 * elf/dl-support.c: Likewise.
22205 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22206 * elf/rtld.c (dl_main): Likewise.
22207 * elf/setup-vdso.h (setup_vdso): Likewise.
22208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22209 * sysdeps/unix/sysv/linux/dl-sysdep.c
22210 (_dl_discover_osversion): Likewise.
22212 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22214 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22215 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22217 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22219 * NEWS: Mention libm performance improvements and non-x86 PI
22222 * csu/libc-start.c (__pthread_initialize_minimal): Change
22223 function arguments.
22224 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22226 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22229 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22231 <bp-sym.h> and <bp-asm.h>.
22232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22235 (memcpy): Don't use BP_SYM.
22236 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22238 (__mpn_add_n): Don't use BP_SYM.
22239 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22240 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22242 (__mpn_addmul_1): Don't use BP_SYM.
22243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22244 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22246 (_setjmp): Don't use BP_SYM.
22247 (__novmx_setjmp): Likewise.
22248 (__GI__setjmp): Likewise.
22249 (__vmx_setjmp): Likewise.
22250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22252 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22253 (__bzero): Don't use BP_SYM.
22254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22257 <bp-sym.h> and <bp-asm.h>.
22258 (memcpy): Don't use BP_SYM.
22259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22260 <bp-sym.h> and <bp-asm.h>.
22261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22263 <bp-sym.h> and <bp-asm.h>.
22264 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22265 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22267 (__mpn_lshift): Don't use BP_SYM.
22268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22269 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22271 (memset): Don't use BP_SYM.
22272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22274 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22276 (__mpn_mul_1): Don't use BP_SYM.
22277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22279 <bp-sym.h> and <bp-asm.h>.
22280 (memcmp): Don't use BP_SYM.
22281 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22282 <bp-sym.h> and <bp-asm.h>.
22283 (memcpy): Don't use BP_SYM.
22284 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22285 <bp-sym.h> and <bp-asm.h>.
22286 (memset): Don't use BP_SYM.
22287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22288 <bp-sym.h> and <bp-asm.h>.
22289 (strncmp): Don't use BP_SYM.
22290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22291 <bp-sym.h> and <bp-asm.h>.
22292 (memcpy): Don't use BP_SYM.
22293 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22294 <bp-sym.h> and <bp-asm.h>.
22295 (memset): Don't use BP_SYM.
22296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22297 <bp-sym.h> and <bp-asm.h>.
22298 (__memchr): Don't use BP_SYM.
22299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22300 <bp-sym.h> and <bp-asm.h>.
22301 (memcmp): Don't use BP_SYM.
22302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22303 <bp-sym.h> and <bp-asm.h>.
22304 (memcpy): Don't use BP_SYM.
22305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22306 <bp-sym.h> and <bp-asm.h>.
22307 (__mempcpy): Don't use BP_SYM.
22308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22309 <bp-sym.h> and <bp-asm.h>.
22310 (__memrchr): Don't use BP_SYM.
22311 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22312 <bp-sym.h> and <bp-asm.h>.
22313 (memset): Don't use BP_SYM.
22314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22315 <bp-sym.h> and <bp-asm.h>.
22316 (__rawmemchr): Don't use BP_SYM.
22317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22318 <bp-sym.h> and <bp-asm.h>.
22319 (__STRCMP): Don't use BP_SYM.
22320 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22321 <bp-sym.h> and <bp-asm.h>.
22322 (strchr): Don't use BP_SYM.
22323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22324 <bp-sym.h> and <bp-asm.h>.
22325 (__strchrnul): Don't use BP_SYM.
22326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22327 <bp-sym.h> and <bp-asm.h>.
22328 (strlen): Don't use BP_SYM.
22329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22330 <bp-sym.h> and <bp-asm.h>.
22331 (strncmp): Don't use BP_SYM.
22332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22333 <bp-sym.h> and <bp-asm.h>.
22334 (__strnlen): Don't use BP_SYM.
22335 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22337 (__mpn_rshift): Don't use BP_SYM.
22338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22339 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22340 <bp-sym.h> and <bp-asm.h>.
22341 (__sigsetjmp): Don't use BP_SYM.
22342 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22343 (L(start_addresses)): Don't use BP_SYM.
22344 (_start): Likewise.
22345 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22347 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22350 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22352 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22355 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22360 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22362 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22366 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22370 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22372 (strncmp): Don't use BP_SYM,
22373 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22375 (__mpn_sub_n): Don't use BP_SYM.
22376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22377 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22379 (__mpn_submul_1): Don't use BP_SYM.
22380 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22382 <bp-sym.h> and <bp-asm.h>.
22383 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22385 <bp-sym.h> and <bp-asm.h>.
22386 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22389 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22392 Use ZK to minimize writes to Z.
22393 (sub_magnitudes): Simplify code a bit.
22394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22395 Use ZK to minimize writes to Z.
22396 (sub_magnitudes): Simplify code a bit.
22398 2013-02-27 Roland McGrath <roland@hack.frob.com>
22400 * csu/gmon-start.c: Add special exception to license text.
22402 2013-02-27 Richard Henderson <rth@redhat.com>
22404 * scripts/config.guess: Update from config.git.
22405 * scripts/config.sub: Likewise.
22407 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22411 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22413 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22415 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22417 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22419 2013-02-26 Roland McGrath <roland@hack.frob.com>
22421 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22422 [$(build-shared = yes].
22424 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22426 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22427 (__mul): Reduce iterations for calculating mantissa.
22429 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22431 (__mpranred): Likewise.
22434 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22435 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22437 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22439 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22440 Define __attribute__.
22442 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22444 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22446 * posix/regex_internal.h (__attribute): Remove.
22447 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22448 (re_string_context_at): Likewise.
22449 (bitset_not): Use __attribute__ and mark function as possibly
22451 (bitset_merge): Likewise.
22452 (bitset_mask): Likewise.
22453 (re_string_char_size_at): Likewise.
22454 (re_string_wchar_at): Likewise.
22455 (re_string_elem_size_at): Likewise.
22457 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22463 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22467 (denorm): Likewise.
22468 (__dbl_mp): Likewise.
22469 (add_magnitudes): Likewise.
22470 (sub_magnitudes): Likewise.
22474 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22477 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22480 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22484 up changes with default code.
22485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22488 2013-02-24 Allan McRae <allan@archlinux.org>
22490 * manual/socket.texi (The Internet Namespace): Order menu items
22491 to match that in the file.
22493 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22494 node listing of the info page menu.
22496 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22499 * sysdeps/i386/bp-asm.h: Remove file.
22500 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22501 (PARMS): Do not use macros from bp-asm.h.
22505 (__mpn_add_n): Do not use BP_SYM
22506 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22508 (PARMS): Do not use macros from bp-asm.h.
22511 (__mpn_addmul_1): Do not use BP_SYM
22512 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22514 (PARMS): Do not use macros from bp-asm.h.
22515 (SIGMSK): Likewise.
22516 (_setjmp): Likewise. Do not use BP_SYM.
22517 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22519 (PARMS): Do not use macros from bp-asm.h.
22520 (SIGMSK): Likewise.
22521 (setjmp): Likewise. Do not use BP_SYM.
22522 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22524 (PARMS): Do not use macros from bp-asm.h.
22525 (__frexp): Do not use BP_SYM.
22527 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22529 (PARMS): Do not use macros from bp-asm.h.
22530 (__frexpf): Do not use BP_SYM.
22531 (frexpf): Likewise.
22532 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22534 (PARMS): Do not use macros from bp-asm.h.
22535 (__frexpl): Do not use BP_SYM.
22536 (frexpl): Likewise.
22537 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22539 (PARMS): Do not use macros from bp-asm.h.
22540 (__remquo): Do not use BP_SYM.
22541 (remquo): Likewise.
22542 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22544 (PARMS): Do not use macros from bp-asm.h.
22545 (__remquof): Do not use BP_SYM.
22546 (remquof): Likewise.
22547 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22549 (PARMS): Do not use macros from bp-asm.h.
22550 (__remquol): Do not use BP_SYM.
22551 (remquol): Likewise.
22552 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22554 (PARMS): Do not use macros from bp-asm.h.
22557 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22558 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22560 (PARMS): Do not use macros from bp-asm.h.
22561 (strlen): Do not use BP_SYM.
22562 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22564 (PARMS): Do not use macros from bp-asm.h.
22568 (__mpn_add_n): Do not use BP_SYM.
22569 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22571 (PARMS): Do not use macros from bp-asm.h.
22574 (__mpn_addmul_1): Do not use BP_SYM.
22575 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22578 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22580 (PARMS): Do not use macros from bp-asm.h.
22583 (__mpn_lshift): Do not use BP_SYM.
22584 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22586 (PARMS): Do not use macros from bp-asm.h.
22590 (memcpy): Likewise. Do not use BP_SYM.
22591 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22592 libc_hidden_def and weak_alias.
22593 (mempcpy): Do not use BP_SYM in weak_alias.
22594 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22596 (PARMS): Do not use macros from bp-asm.h.
22599 [!BZERO_P] (CHR): Likewise.
22600 (memset): Likewise. Do not use BP_SYM.
22601 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22603 (PARMS): Do not use macros from bp-asm.h.
22606 (__mpn_mul_1): Do not use BP_SYM.
22607 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22609 (PARMS): Do not use macros from bp-asm.h.
22612 (__mpn_rshift): Do not use BP_SYM.
22613 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22615 (PARMS): Do not use macros from bp-asm.h.
22618 (strchr): Likewise. Do not use BP_SYM.
22619 (index): Do not use BP_SYM in weak_alias.
22620 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22622 (PARMS): Do not use macros from bp-asm.h.
22625 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22626 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22628 (PARMS): Do not use macros from bp-asm.h.
22629 (strlen): Do not use BP_SYM.
22630 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22632 (PARMS): Do not use macros from bp-asm.h.
22636 (__mpn_sub_n): Do not use BP_SYM.
22637 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22639 (PARMS): Do not use macros from bp-asm.h.
22642 (__mpn_submul_1): Do not use BP_SYM.
22643 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22645 (PARMS): Do not use macros from bp-asm.h.
22649 (__mpn_add_n): Do not use BP_SYM.
22650 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22653 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22655 (PARMS): Do not use macros from bp-asm.h.
22658 (memcmp): Do not use BP_SYM.
22659 (bcmp): Do not use BP_SYM in weak_alias.
22660 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22662 (PARMS): Do not use macros from bp-asm.h.
22666 (memcpy): Likewise. Do not use BP_SYM.
22667 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22669 (PARMS): Do not use macros from bp-asm.h.
22673 (memmove): Likewise. Do not use BP_SYM.
22674 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22676 (PARMS): Do not use macros from bp-asm.h.
22680 (__mempcpy): Likewise. Do not use BP_SYM.
22681 (mempcpy): Do not use BP_SYM in weak_alias.
22682 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22684 (PARMS): Do not use macros from bp-asm.h.
22687 [!BZERO_P] (CHR): Likewise.
22688 (memset): Likewise. Do not use BP_SYM.
22689 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22691 (PARMS): Do not use macros from bp-asm.h.
22693 (strcmp): Do not use BP_SYM.
22694 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22696 (PARMS): Do not use macros from bp-asm.h.
22699 [USE_AS_STRTOK_R] (SAVE): Likewise.
22700 (FUNCTION): Likewise. Do not use BP_SYM.
22701 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22703 (strtok_r): Likewise.
22704 (__GI___strtok_r): Likewise.
22705 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22706 (PARMS): Do not use macros from bp-asm.h.
22709 (__mpn_lshift): Do not use BP_SYM.
22710 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22711 (PARMS): Do not use macros from bp-asm.h.
22714 (__memchr): Do not use BP_SYM.
22715 (memchr): Do not use BP_SYM in weak_alias.
22716 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22717 (PARMS): Do not use macros from bp-asm.h.
22720 (memcmp): Do not use BP_SYM.
22721 (bcmp): Do not use BP_SYM in weak_alias.
22722 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22723 (PARMS): Do not use macros from bp-asm.h.
22726 (__mpn_mul_1): Do not use BP_SYM.
22727 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22729 (PARMS): Do not use macros from bp-asm.h.
22732 (__rawmemchr): Do not use BP_SYM.
22733 (rawmemchr): Do not use BP_SYM in weak_alias.
22734 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22735 (PARMS): Do not use macros from bp-asm.h.
22738 (__mpn_rshift): Do not use BP_SYM.
22739 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22740 (PARMS): Do not use macros from bp-asm.h.
22741 (SIGMSK): Likewise.
22742 (__sigsetjmp): Likewise. Do not use BP_SYM.
22743 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22744 (_start): Do not use BP_SYM.
22745 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22746 (PARMS): Do not use macros from bp-asm.h.
22749 (__stpcpy): Likewise. Do not use BP_SYM.
22750 (stpcpy): Do not use BP_SYM in weak_alias.
22751 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22753 (PARMS): Do not use macros from bp-asm.h.
22757 (__stpncpy): Likewise. Do not use BP_SYM.
22758 (stpncpy): Do not use BP_SYM in weak_alias.
22759 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22760 (PARMS): Do not use macros from bp-asm.h.
22763 (strchr): Likewise. Do not use BP_SYM.
22764 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22766 (PARMS): Do not use macros from bp-asm.h.
22769 (__strchrnul): Likewise. Do not use BP_SYM.
22770 (strchrnul): Do not use BP_SYM in weak_alias.
22771 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22773 (PARMS): Do not use macros from bp-asm.h.
22775 (strcspn): Do not use BP_SYM.
22776 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22778 (PARMS): Do not use macros from bp-asm.h.
22781 (strpbrk): Likewise. Do not use BP_SYM.
22782 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22784 (PARMS): Do not use macros from bp-asm.h.
22787 (strrchr): Likewise. Do not use BP_SYM.
22788 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22789 (PARMS): Do not use macros from bp-asm.h.
22791 (strspn): Do not use BP_SYM.
22792 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22793 (PARMS): Do not use macros from bp-asm.h.
22797 (FUNCTION): Likewise. Do not use BP_SYM.
22798 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22800 (strtok_r): Likewise.
22801 (__GI___strtok_r): Likewise.
22802 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22803 (PARMS): Do not use macros from bp-asm.h.
22807 (__mpn_sub_n): Do not use BP_SYM.
22808 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22810 (PARMS): Do not use macros from bp-asm.h.
22813 (__mpn_submul_1): Do not use BP_SYM.
22814 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22816 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22818 (PARMS): Do not use macros from bp-asm.h.
22823 (__clone): Do not use BP_SYM.
22824 (clone): Do not use BP_SYM in weak_alias.
22825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22827 (PARMS): Do not use macros from bp-asm.h.
22829 (__mmap64): Do not use BP_SYM.
22830 (mmap64): Do not use BP_SYM in weak_alias.
22831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22832 <bp-sym.h> and <bp-asm.h>.
22833 (PARMS): Do not use macros from bp-asm.h.
22834 (__posix_fadvise64_l64): Do not use BP_SYM.
22835 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22836 (PARMS): Do not use macros from bp-asm.h.
22838 (semtimedop): Do not use BP_SYM.
22839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22842 2013-02-21 Allan McRae <allan@archlinux.org>
22844 * manual/message.texi (Charset conversion in gettext):
22845 Move @end statement to beginning of line.
22847 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22855 (denorm): Likewise.
22856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22859 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22861 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22862 tail-call to the resolved function if pltexit isn't needed.
22864 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22867 or Y being zero as being unlikely.
22868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22871 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22873 * manual/nss.texi (System Databases and Name Service Switch):
22874 Remove frobnicate @pxref.
22876 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22879 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22881 2013-02-20 Petr Machata <pmachata@redhat.com>
22883 * elf/elf.h (R_ARM_TARGET1): New macro.
22884 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22885 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22886 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22887 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22888 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22889 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22890 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22891 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22892 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22893 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22894 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22895 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22896 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22897 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22898 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22899 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22900 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22901 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22902 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22903 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22904 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22905 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22906 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22907 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22908 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22909 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22910 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22911 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22912 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22913 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22914 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22915 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22916 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22917 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22918 (R_ARM_THM_GOT_BREL12): Likewise.
22919 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22920 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22921 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22922 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22923 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22924 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22925 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22926 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22927 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22929 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22931 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22932 __attribute_used__ to __attribute__ ((unused)).
22934 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22936 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22939 comment formatting.
22940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22942 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22945 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22947 (ENTER): Remove both macro definitions.
22949 (CHECK_BOUNDS_LOW): Likewise.
22950 (CHECK_BOUNDS_HIGH): Likewise.
22951 (CHECK_BOUNDS_BOTH): Likewise.
22952 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22953 (RETURN_BOUNDED_POINTER): Likewise.
22954 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22955 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22956 (POP_ERRNO_LOCATION_RETURN): Likewise.
22957 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22959 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22962 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22963 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22964 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22965 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22966 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22967 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22968 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22969 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22970 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22971 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22972 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22974 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22977 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22979 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22980 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22981 * sysdeps/i386/i586/memset.S (memset): Likewise.
22982 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22983 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22984 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22986 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22987 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22988 Change uses of L(2) to L(out).
22989 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22990 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22991 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22993 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22996 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22999 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23000 (RETURN): Do not use macro LEAVE.
23001 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23002 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23003 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23004 * sysdeps/i386/i686/memset.S (memset): Likewise.
23005 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23006 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23008 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23011 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23012 L(1_2) and L(1_3) into L(1).
23013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23014 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23016 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23017 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23018 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23019 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23021 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23023 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23025 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23026 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23027 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23028 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23029 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23030 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23031 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23032 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23033 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23034 * sysdeps/i386/strspn.S (strspn): Likewise.
23035 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23038 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23039 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23040 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23041 L(1_3) into L(1_1).
23042 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23044 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23048 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23050 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23053 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23055 * math/atest-exp.c (exp_mpn): Remove ROUND.
23056 * math/atest-exp2.c (exp_mpn): Likewise.
23057 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23059 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23060 * stdlib/tst-tls-atexit-lib.c: Likewise.
23061 * stdlib/tst-tls-atexit.c: Likewise.
23063 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23065 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23066 and __attribute_alloc_size__.
23068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23070 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23071 __attribute_alloc_size__.
23072 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23073 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23075 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23077 * include/programs/xmalloc.h: New file.
23078 * catgets/gencat.c: Include it.
23079 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23080 * elf/pldd.c: Likewise.
23081 * iconv/iconv_charmap.c: Likewise.
23082 * iconv/iconvconfig.c: Likewise.
23083 * iconv/strtab.c: Likewise.
23084 * locale/programs/locale.c: Likewise.
23085 * locale/programs/localedef.h: Likewise.
23086 * locale/programs/simple-hash.c: Likewise.
23087 * nscd/nscd.h: Likewise.
23088 * nss/makedb.c: Likewise.
23089 * sysdeps/generic/ldconfig.h: Likewise.
23091 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23093 * Versions.def: Add GLIBC_2.18.
23094 * include/link.h (struct link_map): New member l_tls_dtor_count.
23095 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23096 (__call_tls_dtors): Likewise.
23097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23098 __cxa_thread_atexit_impl.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23115 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23116 (tests): Add test case tst-tls-atexit.
23117 (modules-names): Add shared library for tst-tls-atexit.
23118 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23119 (GLIBC_PRIVATE): Add __call_tls_dtors.
23120 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23122 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23123 * stdlib/tst-tls-atexit.c: New test case.
23124 * stdlib/tst-tls-atexit-lib.c: New test case.
23126 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23128 * elf/Versions (ld): Add _dl_find_dso_for_object.
23129 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23130 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23131 (dl_open_worker): Use _dl_find_dso_for_object.
23132 * elf/dl-sym.c (do_sym): Likewise.
23133 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23135 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23137 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23138 Syntactic changes only.
23139 (_dl_runtime_profile): Do a tail-call to the resolved function.
23141 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23144 * sysdeps/x86_64/bp-asm.h: Remove file.
23145 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23146 <bp-sym.h> and <bp-asm.h>.
23147 (__clone): Do not use BP_SYM.
23148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23149 <bp-sym.h> and <bp-asm.h>.
23150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23151 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23153 (_setjmp): Do not use BP_SYM.
23154 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23156 (setjmp): Do not use BP_SYM.
23157 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23159 (mempcpy): Do not use BP_SYM in weak_alias.
23160 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23162 (strchr): Do not use BP_SYM.
23163 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23165 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23166 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23167 (_start): Do not use BP_SYM.
23168 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23170 (strcat): Do not use BP_SYM.
23171 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23173 (STRCMP): Do not use BP_SYM.
23174 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23176 (STRCPY): Do not use BP_SYM.
23177 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23179 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23181 (FUNCTION): Do not use BP_SYM.
23182 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23184 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23186 2013-02-17 Andreas Jaeger <aj@suse.de>
23188 * time/Versions: Sort entries.
23189 * string/Versions: Likewise.
23190 * resolv/Versions: Likewise.
23191 * posix/Versions: Likewise.
23192 * iconv/Versions: Likewise.
23193 * elf/Versions: Likewise.
23194 * wcsmbs/Versions: Likewise.
23196 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23199 loop termination condition.
23201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23202 variable to calculate EZ.
23205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23206 the lower precision input.
23208 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23211 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23212 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23213 (run-via-rtld-prefix): Do not handle %-bp tests.
23214 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23215 (all-object-suffixes): Remove .ob.
23216 (bppfx): Remove variable.
23217 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23218 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23219 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23220 [$(build-bounded) = yes] (libtype.ob): Likewise.
23221 * Makerules (elide-routines.ob): Remove variable.
23222 (do-tests-clean): Do not handle *-bp.out.
23223 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23224 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23225 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23226 (tests): Do not include $(tests-bp.out).
23227 (xtests): Do not include $(xtests-bp.out).
23228 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23229 [$(build-bounded) = yes] ($(addprefix
23230 $(objpfx),$(binaries-bounded))): Remove rule.
23231 ($(objpfx)%-bp.out): Remove rule.
23232 * config.make.in (build-bounded): Remove variable.
23233 * crypt/Makefile [$(build-bounded) = yes]
23234 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23235 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23236 append to variable.
23237 [$(build-bounded) = yes] (install-lib): Likewise.
23238 [$(build-bounded) = yes] (generated): Likewise.
23239 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23241 * intl/Makefile [$(build-bounded) = yes]
23242 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23243 * math/Makefile [$(build-bounded) = yes]
23244 ($(tests:%=$(objpfx)%-bp): Likewise.
23245 * misc/Makefile [$(build-bounded) = yes]
23246 ($(objpfx)tst-tsearch-bp): Likewise.
23247 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23248 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23250 * string/Makefile (o-objects.ob): Remove variable.
23251 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23252 (CFLAGS-.ob): Remove variable.
23253 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23255 both definitions of variable.
23256 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23257 (ASFLAGS-.ob): Remove variable.
23259 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23262 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23263 Remove __BOUNDED_POINTERS__ from condition.
23264 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23265 * string/bits/string2.h [!__NO_STRING_INLINES &&
23266 !__BOUNDED_POINTERS__]: Likewise.
23267 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23269 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23270 Remove conditional code.
23271 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23272 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23273 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23277 * csu/libc-start.c: Do not include <bp-sym.h>.
23278 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23279 * elf/dl-open.c: Do not include <bp-sym.h>.
23280 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23281 * math/fegetenv.c: Do not include <bp-sym.h>.
23282 (fegetenv): Do not use BP_SYM in versioned symbols.
23283 * nptl/sysdeps/pthread/bits/libc-lockP.h
23284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23287 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23289 (__pthread_mutex_destroy): Likewise.
23290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23291 (__pthread_mutex_lock): Likewise.
23292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23293 (__pthread_mutex_trylock): Likewise.
23294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23295 (__pthread_mutex_unlock): Likewise.
23296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23297 (__pthread_mutexattr_init): Likewise.
23298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23299 (__pthread_mutexattr_destroy): Likewise.
23300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23301 (__pthread_mutexattr_settype): Likewise.
23302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23303 (__pthread_rwlock_init): Likewise.
23304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23305 (__pthread_rwlock_destroy): Likewise.
23306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23307 (__pthread_rwlock_rdlock): Likewise.
23308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23309 (__pthread_rwlock_tryrdlock): Likewise.
23310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23311 (__pthread_rwlock_wrlock): Likewise.
23312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23313 (__pthread_rwlock_trywrlock): Likewise.
23314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23315 (__pthread_rwlock_unlock): Likewise.
23316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23317 (__pthread_key_create): Likewise.
23318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23319 (__pthread_setspecific): Likewise.
23320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23321 (__pthread_getspecific): Likewise.
23322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23325 (_pthread_cleanup_push_defer): Likewise.
23326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23327 (_pthread_cleanup_pop_restore): Likewise.
23328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23329 (pthread_setcancelstate): Likewise.
23330 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23332 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23333 (memchr): Do not use BP_SYM in weak_alias.
23334 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23335 (fegetenv): Do not use BP_SYM in versioned symbols.
23336 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23337 (fesetenv): Do not use BP_SYM in versioned symbols.
23338 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23339 (feupdateenv): Do not use BP_SYM in versioned symbols.
23340 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23342 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23343 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23344 (open64): Do not use BP_SYM in weak_alias.
23345 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23346 (fegetenv): Do not use BP_SYM in versioned symbols.
23347 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23348 (fesetenv): Do not use BP_SYM in versioned symbols.
23349 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23350 (feupdateenv): Do not use BP_SYM in versioned symbols.
23351 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23352 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23354 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23355 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23359 (__libc_start_main): Do not use BP_SYM.
23361 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23364 redundant return line.
23366 (denorm): Likewise.
23367 (dbl_mp): Likewise.
23368 (sub_magnitudes): Likewise.
23374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23376 (denorm): Likewise.
23377 (dbl_mp): Likewise.
23378 (sub_magnitudes): Likewise.
23385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23392 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23394 of __mul for squares.
23395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23402 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23405 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23407 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23408 prototype or function definition. Rename ubp_* variables and
23409 parameters. Remove argv definitions conditional on
23410 [__BOUNDED_POINTERS__].
23411 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23412 * elf/dl-runtime.c (_dl_fixup): Likewise.
23413 * include/set-hooks.h (RUN_HOOK): Likewise.
23414 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23416 * string/strcpy.c (strcpy): Do not use __unbounded.
23417 * sysdeps/generic/frame.h (struct layout): Likewise.
23418 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23419 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23420 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23421 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23422 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23423 (__backtrace): Likewise.
23424 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23426 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23428 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23430 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23431 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23434 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23435 Do not use __unbounded.
23436 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23437 Rename __unboundedrlimits parameter to rlimits in prototype.
23438 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23439 Do not use __unbounded.
23440 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23441 not use __ptrvalue.
23442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23443 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23445 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23446 __ptrvalue or __unbounded.
23447 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23448 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23450 (__new_msgctl): Do not use __ptrvalue.
23451 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23453 (__libc_msgrcv): Do not use __ptrvalue.
23454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23455 startup_info): Do not use __unbounded.
23456 (__libc_start_main): Likewise. Rename ubp_* variables and
23457 parameters. Remove argv definitions conditional on
23458 [__BOUNDED_POINTERS__].
23459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23465 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23467 (__new_shmctl): Do not use __ptrvalue.
23468 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23471 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23473 (__libc_sigaction): Likewise.
23474 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23479 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23481 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23483 * string/mempcpy.c: Implement by calling memcpy.
23485 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23493 values in the mantissa.
23495 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23496 minimize writes to Z.
23497 (sub_magnitudes): Simplify code a bit.
23499 2013-02-12 Roland McGrath <roland@hack.frob.com>
23501 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23502 from the message. The linker prefixes all warnings with that already.
23504 2013-02-12 Andreas Schwab <schwab@suse.de>
23507 * posix/regexec.c (extend_buffers): Add parameter min_len.
23508 (check_matching): Pass minimum needed length.
23509 (clean_state_log_if_needed): Likewise.
23510 (get_subexp): Likewise.
23511 * posix/Makefile (tests): Add bug-regex34.
23512 (bug-regex34-ENV): Define.
23513 * posix/bug-regex34.c: New file.
23516 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23517 elements compare against the byte sequence of it, not its name.
23518 * posix/Makefile (tests): Add bug-regex35.
23519 (bug-regex35-ENV): Define.
23520 * posix/bug-regex35.c: New file.
23522 2013-02-11 Tom de Vries <tom@codesourcery.com>
23524 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23526 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23527 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23528 (CHECK_EOL): Add undef.
23530 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23532 * bits/stdlib-bsearch.h: New file.
23533 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23534 * stdlib/stdlib.h: Likewise.
23536 2013-02-11 Roland McGrath <roland@hack.frob.com>
23538 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23539 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23541 * manual/search.texi (Array Search Function): Add missing const in
23543 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23544 declaration to use rlim_t.
23545 (Basic Scheduling Functions): Remove erroneous const from
23546 sched_getparam prototype. Remove erroneous * from
23547 sched_get_priority_max and sched_get_priority_min prototypes.
23548 (Resource Usage): Fix summary @comment on vtimes to refer to
23549 sys/vtimes.h rather than vtimes.h.
23550 Add missing *s in vtimes prototype.
23551 (Limits on Resources): Fix ulimit prototype to return long int.
23552 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23553 prototypes to use long int rather than double.
23554 (BSD Random): Fix initstate and setstate to use char *, not void *.
23555 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23556 prototype to make second argument 'struct aiocb64 *const[]'.
23557 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23558 (Status of AIO Operations): Remove erroneous const in aio_return and
23559 aio_return64 prototypes.
23560 (Synchronizing I/O): Fix sync prototype to return void.
23561 * manual/startup.texi (Suboptions): Remove an erroneous const in
23562 getsubopt prototype.
23563 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23564 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23565 use size_t rather than int.
23566 (Scanning All Users): Likewise for getpwent_r.
23567 (Setting Groups): Add missing const to setgroups prototype.
23568 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23569 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23570 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23571 'const void *' rather than 'const char *'.
23572 (Host Address Functions): Likewise for inet_ntop.
23573 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23574 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23575 ssize_t for return value.
23576 (Sending Data): Likewise for send, sendto, sendmsg.
23577 (Socket Option Functions): Add a missing const in setsockopt prototype.
23578 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23579 use wchar_t for the argument.
23580 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23581 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23583 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23584 double/float/long double for second argument.
23585 Fix return types of significand, significandf, significandl.
23586 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23587 argument in fchmod prototype.
23588 (File Owner): Use uid_t and gid_t in fchown prototype.
23589 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23590 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23591 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23592 use 'const struct dirent **' as argument types to CMP function pointer
23594 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23595 (File Times): Fix summary magic @comment for struct utimbuf and utime
23596 to refer to utime.h, not time.h.
23597 * manual/string.texi (Argz Functions): Add missing const in
23598 argz_extract and argz_next prototypes.
23599 (Finding Tokens in a String): Likewise for basename.
23600 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23601 (Copying and Concatenation): Fix typo in wmemmove prototype.
23602 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23603 (Signal Stack): Remove erroneous const in sigstack prototype.
23604 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23606 (Simple Calendar Time): Likewise for stime.
23607 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23609 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23610 say sys/sysctl.h instead.
23611 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23612 and vsyslog prototypes.
23614 2013-02-11 Tom de Vries <tom@codesourcery.com>
23616 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23619 2013-02-11 Roland McGrath <roland@hack.frob.com>
23621 * misc/sys/mman.h: Fix typo in mremap comment.
23623 2013-02-08 Roland McGrath <roland@hack.frob.com>
23625 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23626 the '\0' terminator.
23628 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23631 * debug/segfault.c: Don't include <bp-checks.h>.
23632 * sysdeps/generic/bp-checks.h: Remove file.
23633 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23634 (__GETDENTS): Don't use CHECK_N.
23635 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23637 (__getgroups): Don't use CHECK_N.
23638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23639 (setgroups): Don't use CHECK_N.
23640 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23641 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23642 (__libc_msgrcv): Don't use CHECK_N.
23643 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23644 (__libc_msgsnd): Don't use CHECK_N.
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23647 (__libc_pread): Don't use CHECK_N.
23648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23649 include <bp-checks.h>.
23650 (__libc_pread64): Don't use CHECK_N.
23651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23652 include <bp-checks.h>.
23653 (__libc_pwrite): Don't use CHECK_N.
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23655 include <bp-checks.h>.
23656 (__libc_pwrite64): Don't use CHECK_N.
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23659 (__libc_pread): Don't use CHECK_N.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23661 include <bp-checks.h>.
23662 (__libc_pread64): Don't use CHECK_N.
23663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23664 include <bp-checks.h>.
23665 (__libc_pwrite): Don't use CHECK_N.
23666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23667 include <bp-checks.h>.
23668 (__libc_pwrite64): Don't use CHECK_N.
23669 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23670 (do_pread): Don't use CHECK_N.
23671 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23672 (do_pread64): Don't use CHECK_N.
23673 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23674 (do_pwrite): Don't use CHECK_N.
23675 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23676 (do_pwrite64): Don't use CHECK_N.
23677 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23678 (__libc_readv): Don't use CHECK_N.
23679 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23680 (semop): Don't use CHECK_N.
23681 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23683 (semtimedop): Don't use CHECK_N.
23684 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23685 (__libc_pread): Don't use CHECK_N.
23686 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23688 (__libc_pread64): Don't use CHECK_N.
23689 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23691 (__libc_pwrite): Don't use CHECK_N.
23692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23694 (__libc_pwrite64): Don't use CHECK_N.
23695 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23697 (__libc_msgrcv): Don't use CHECK_N.
23698 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23699 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23700 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23701 (__libc_writev): Don't use CHECK_N.
23703 2013-02-08 Roland McGrath <roland@hack.frob.com>
23705 * string/strcpy.c: Removed unused variable.
23707 * Makeconfig (+sysdep-includes): Define with := rather than =.
23708 Use an existing include/ subdir of each sysdeps dir before it.
23710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23712 * nscd/connection.c (register_traced_file): Comment function.
23713 [HAVE_INOTIFY] (union __inev): Define.
23714 [HAVE_INOTIFY] (inotify_check_files): New function.
23715 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23716 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23718 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23720 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23722 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23723 loaded if not already and that a failure is permanent.
23725 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23728 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23729 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23731 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23734 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23735 (CHECK_1_NULL_OK): Likewise.
23736 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23737 (__fxstat): Do not use CHECK_1.
23738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23740 (___fxstat64): Do not use CHECK_1.
23741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23743 (__fxstatat): Do not use CHECK_1.
23744 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23746 (__fxstatat64): Do not use CHECK_1.
23747 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23749 (__fxstat): Do not use CHECK_1.
23750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23752 (__fxstatat): Do not use CHECK_1.
23753 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23755 (__getresgid): Do not use CHECK_1.
23756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23758 (__getresuid): Do not use CHECK_1.
23759 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23761 (__lxstat): Do not use CHECK_1.
23762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23764 (__old_msgctl): Do not use CHECK_1.
23765 (__new_msgctl): Likewise.
23766 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23768 (__new_setrlimit): Do not use CHECK_1.
23769 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23771 (__old_shmctl): Do not use CHECK_1.
23772 (__new_shmctl): Likewise.
23773 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23775 (__xstat): Do not use CHECK_1.
23776 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23777 (__lxstat): Do not use CHECK_1.
23778 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23780 (___lxstat64): Do not use CHECK_1.
23781 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23782 (__old_msgctl): Do not use CHECK_1.
23783 (__new_msgctl): Likewise.
23784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23786 (__gettimeofday): Do not use CHECK_1.
23787 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23788 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23791 (__gettimeofday): Do not use CHECK_1.
23792 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23793 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23794 (__new_shmctl): Do not use CHECK_1.
23795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23797 (do_sigtimedwait): Do not use CHECK_1.
23798 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23800 (do_sigwaitinfo): Do not use CHECK_1.
23801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23803 (msgctl): Do not use CHECK_1.
23804 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23806 (shmctl): Do not use CHECK_1.
23807 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23808 (ustat): Do not use CHECK_1.
23809 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23811 (__fxstat): Do not use CHECK_1.
23812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23814 (__fxstatat): Do not use CHECK_1.
23815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23817 (__lxstat): Do not use CHECK_1.
23818 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23820 (__xstat): Do not use CHECK_1.
23821 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23822 (__xstat): Do not use CHECK_1.
23823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23824 (___xstat64): Do not use CHECK_1.
23827 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23829 (CHECK_BOUNDS_HIGH): Likewise.
23830 * string/strcpy.c: Do not include <bp-checks.h>.
23831 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23833 2013-02-07 Roland McGrath <roland@hack.frob.com>
23835 * nscd/nscd-client.h (__nscd_drop_map_ref):
23836 Add __attribute__ ((unused)).
23837 * nis/nss-nisplus.h (niserr2nss): Likewise.
23839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23840 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23842 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23843 Remove inline keyword.
23844 * include/rounding-mode.h (round_away): Likewise.
23845 * libio/wfileops.c (adjust_wide_data): Likewise.
23846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23847 (__m128i_strloadu_tolower): Likewise.
23848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23849 (__m128i_strloadu_tolower): Likewise.
23850 * time/mktime.c (ydhms_diff): Likewise.
23851 * locale/elem-hash.h (elem_hash): Likewise.
23852 * locale/setlocale.c (setdata): Likewise.
23853 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23854 (re_string_wchar_at): Likewise.
23855 (bitset_not, bitset_merge, bitset_mask): Likewise.
23856 [!(__GNUC__ > 3)] (inline): Remove macro.
23857 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23858 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23859 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23860 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23861 * string/memcmp.c (memcmp_bytes): Likewise.
23862 * locale/programs/locarchive.c (compute_hashval): Likewise.
23863 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23865 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23866 * nss/getent.c (print_rpc, print_protocols): Likewise.
23867 (print_passwd, print_group, print_aliases): Likewise.
23868 * nis/nss-nisplus.h (niserr2nss): Likewise.
23869 * nscd/connections.c (restart_p): Likewise.
23870 Change return type to bool.
23872 2013-02-05 Roland McGrath <roland@hack.frob.com>
23874 * Makeconfig (all-Depend-files): Add existing
23875 $(sorted-subdirs:=/Depend) files.
23876 (all-subdirs): Remove nss.
23877 * sysdeps/unix/inet/Subdirs: Add it here instead.
23878 * hesiod/Depend: New file.
23880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23881 instead of calling alloca.
23883 * io/lseek.c (__lseek): Rename to __libc_lseek.
23884 Define __lseek as an alias.
23886 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23888 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23890 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23891 else clause and remove check for non-standard endianness.
23893 2013-02-04 David S. Miller <davem@davemloft.net>
23895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23897 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23900 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23901 (__ubp_memchr): Remove prototype.
23902 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23903 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23904 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23905 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23906 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23908 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23909 (__ubp_memchr): Likewise.
23910 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23911 (__ubp_memchr): Likewise.
23912 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23913 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23914 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23918 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23919 (__getcwd): Do not use CHECK_STRING.
23920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23922 (__real_chown): Do not use CHECK_STRING.
23923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23925 (fchownat): Do not use CHECK_STRING.
23926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23928 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23930 (__lchown): Do not use CHECK_STRING.
23931 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23932 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23934 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23936 include <bp-checks.h>.
23937 (truncate64): Do not use CHECK_STRING.
23938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23940 (__real_chown): Do not use CHECK_STRING.
23941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23943 (__lchown): Do not use CHECK_STRING.
23944 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23946 (__chown): Do not use CHECK_STRING.
23947 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23949 (truncate64): Do not use CHECK_STRING.
23950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23952 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23953 (__xmknod): Do not use CHECK_STRING.
23954 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23956 (__xmknodat): Do not use CHECK_STRING.
23957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23958 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23960 2013-02-04 Andreas Schwab <schwab@suse.de>
23963 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23964 * include/netdb.h: Likewise for h_errno.
23965 * elf/tst-stackguard1.c: Include <tls.h>.
23967 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23969 * elf/link.h (struct link_map): Extend the l_addr comment.
23970 * include/link.h (struct link_map): Likewise.
23972 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23975 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23976 (BOUNDED_1): Remove macro.
23977 * debug/backtrace.c: Don't include <bp-checks.h>.
23978 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23979 (__backtrace): Likewise.
23980 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23982 (__backtrace): Don't use BOUNDED_1.
23983 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23985 (__backtrace): Don't use BOUNDED_1.
23986 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23987 (__backtrace): Don't use BOUNDED_1.
23988 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23989 (shmat): Don't use BOUNDED_N.
23991 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23994 * sysdeps/generic/bp-start.h: Remove file.
23995 * csu/libc-start.c: Don't include <bp-start.h>.
23996 (LIBC_START_MAIN): Set up __environ directly instead of using
23997 INIT_ARGV_and_ENVIRON.
23998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24002 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24004 (CHECK_FCNTL): Likewise.
24005 (CHECK_N_PAGES): Likewise.
24008 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24010 (CHECK_SIGSET_NULL_OK): Likewise.
24011 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24013 (sigpending): Don't use CHECK_SIGSET.
24014 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24017 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24019 (do_sigsuspend): Don't use CHECK_SIGSET.
24020 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24022 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24023 (do_sigwait): Don't use CHECK_SIGSET.
24024 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24027 include <bp-checks.h>.
24028 (sigpending): Don't use CHECK_SIGSET.
24029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24030 include <bp-checks.h>.
24031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24032 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24034 (sigpending): Don't use CHECK_SIGSET.
24035 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24040 * sysdeps/generic/bp-semctl.h: Remove file.
24041 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24042 <bp-checks.h> and <bp-semctl.h>.
24043 (__old_semctl): Don't use CHECK_SEMCTL.
24044 (__new_semctl): Likewise.
24045 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24047 (__old_semctl): Don't use CHECK_SEMCTL.
24048 (__new_semctl): Likewise.
24049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24050 <bp-checks.h> and <bp-semctl.h>.
24051 (__old_semctl): Don't use CHECK_SEMCTL.
24052 (__new_semctl): Likewise.
24053 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24054 <bp-checks.h> and <bp-semctl.h>.
24055 (semctl): Don't use CHECK_SEMCTL.
24058 * Makerules (elide-bp-thunks): Remove variable.
24059 (elide-routines.oS): Don't use $(elide-bp-thunks).
24060 (elide-routines.os): Likewise.
24061 (elide-routines.o): Likewise.
24062 (elide-routines.op): Likewise.
24063 (elide-routines.og): Likewise.
24064 (objects): Don't use $(bp-thunks).
24065 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24067 (common-generated): Do not add s-proto-bp.d.
24068 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24071 Do not generate makefile rules for bounded-pointer thunks.
24072 * sysdeps/generic/bp-thunks.h: Remove file.
24073 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24074 * sysdeps/unix/s-proto-bp.S: Likewise.
24077 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24078 parts of result separately when argument is not close to line from
24079 -i to i and one part of argument is small.
24080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24082 * math/libm-test.inc (cacos_test): Add more tests.
24083 (casin_test): Likewise.
24084 (casinh_test): Likewise.
24085 * sysdeps/i386/fpu/libm-test-ulps: Update.
24086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24088 2013-01-31 David S. Miller <davem@davemloft.net>
24090 * po/de.po: Update from translation team.
24092 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24094 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24096 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24098 * configure.in (_AC_PROG_CC_C89): New definition.
24099 * configure: Regenerate.
24101 * configure.in (AC_PROG_CPP): New definition.
24102 * configure: Regenerate.
24104 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24106 * debug/tst-backtrace.h: New file.
24107 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24108 (ret): Remove variable.
24110 (FAIL): Remove macro.
24111 (NO_INLINE): Likewise.
24112 (fn1): Use match function instead of strstr.
24113 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24114 (ret): Remove variable.
24116 (FAIL): Remove macro.
24117 (NO_INLINE): Likewise.
24118 (fn): Use match function instead of strstr.
24119 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24120 (ret): Remove variable.
24122 (FAIL): Remove macro.
24123 (NO_INLINE): Likewise.
24124 (handle_signal): Use match function instead of strstr.
24125 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24126 (ret): Remove variable.
24128 (FAIL): Remove macro.
24129 (NO_INLINE): Likewise.
24130 (handle_signal): Use match function instead of strstr.
24132 2013-01-23 Roland McGrath <roland@hack.frob.com>
24134 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24136 2013-01-23 David S. Miller <davem@davemloft.net>
24138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24139 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24140 argument of CAS if possible.
24141 * sysdeps/sparc/sparc64/bits/atomic.h
24142 (__arch_compare_and_exchange_val_32_acq): Likewise.
24143 (__arch_compare_and_exchange_val_64_acq): Likewise.
24145 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24147 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24148 * sysdeps/posix/ulimit.c: ... this.
24149 Include <limits.h>.
24150 * sysdeps/unix/bsd/ulimit.c: Remove file.
24152 2013-01-23 Adam Conrad <adconrad@0c3.net>
24154 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24155 (LDFLAGS-tst-array5): Likewise.
24157 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24160 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24161 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24162 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24165 2013-01-21 David S. Miller <davem@davemloft.net>
24167 * sysdeps/sparc/backtrace.c: New file.
24168 * sysdeps/sparc/sparc32/backtrace.h: New file.
24169 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24170 * sysdeps/sparc/sparc64/backtrace.h: New file.
24171 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24172 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24175 2013-01-21 Andreas Schwab <schwab@suse.de>
24178 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24181 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24187 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24188 Mark Mitchell <mark@codesourcery.com>
24189 Tom de Vries <tom@codesourcery.com>
24190 Paul Pluzhnikov <ppluzhnikov@google.com>
24192 * debug/tst-backtrace2.c: New file.
24193 * debug/tst-backtrace3.c: Likewise.
24194 * debug/tst-backtrace4.c: Likewise.
24195 * debug/tst-backtrace5.c: Likewise.
24196 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24197 (CFLAGS-tst-backtrace3.c): Likewise.
24198 (CFLAGS-tst-backtrace4.c): Likewise.
24199 (CFLAGS-tst-backtrace5.c): Likewise.
24200 (LDFLAGS-tst-backtrace2): Likewise.
24201 (LDFLAGS-tst-backtrace3): Likewise.
24202 (LDFLAGS-tst-backtrace4): Likewise.
24203 (LDFLAGS-tst-backtrace5): Likewise.
24204 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24205 tst-backtrace4 and tst-backtrace5.
24207 2013-01-18 Anton Blanchard <anton@samba.org>
24208 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24211 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24213 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24215 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24216 "+r" and remove output regs list as redundant. Add explicit inline
24217 asm to specify register of return val to work around compiler codegen
24218 bug. Remove (int) cast on return value. Add return type parameter to
24219 use in macro so that this macro does not truncate return value for
24221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24222 pass to INTERNAL_VSYSCALL_NCS.
24223 (INLINE_VSYSCALL): Add 'long int' as return type to
24224 INTERNAL_VSYSCALL_NCS macro invocation.
24225 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24226 INTERNAL_VSYSCALL_NCS macro invocation.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24229 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24232 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24233 Fix application of SIMD FP exception mask.
24235 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24236 mp_no from a power of two.
24237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24238 __mpexp_twomm1. Use __pow_mp.
24240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24243 2013-01-17 David S. Miller <davem@davemloft.net>
24245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24247 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24250 * include/complex.h: Condition contents on [!_COMPLEX_H].
24251 (__kernel_casinhf): New prototype.
24252 (__kernel_casinh): Likewise.
24253 (__kernel_casinhl): Likewise.
24254 * math/Makefile (libm_calls): Add k_casinh.
24255 * math/k_casinh.c: New file.
24256 * math/k_casinhf.c: Likewise.
24257 * math/k_casinhl.c: Likewise.
24258 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24259 finite nonzero arguments.
24260 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24261 finite nonzero arguments.
24262 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24263 finite nonzero arguments.
24264 * math/s_casinh.c: Do not include <float.h>.
24265 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24266 * math/s_casinhf.c: Do not include <float.h>.
24267 (__casinhf): Move code for finite nonzero arguments to
24269 * math/s_casinhl.c: Do not include <float.h>.
24270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24272 (__casinhl): Move code for finite nonzero arguments to
24274 * math/libm-test.inc (cacos_test): Add more tests.
24275 * sysdeps/i386/fpu/libm-test-ulps: Update.
24276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24278 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24281 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24282 [!HAVE_MREMAP]: Remove [defined linux] case.
24283 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24285 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24287 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24289 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24291 * elf/elf.h (R_386_SIZE32): New relocation.
24292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24294 (elf_machine_rela): Likewise.
24295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24296 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24298 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24300 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24301 (FP_FAST_FMA): Do not define.
24302 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24303 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24304 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24305 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24306 !_SOFT_FLOAT]: Likewise.
24307 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24311 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24314 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24315 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24318 2013-01-16 Andreas Schwab <schwab@suse.de>
24321 * include/stdlib.h (__mktemp): Add declaration.
24322 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24323 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24325 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24327 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24329 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24330 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24331 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24333 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24334 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24338 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24339 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24342 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24343 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24347 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24349 2013-01-15 David S. Miller <davem@davemloft.net>
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24352 trunc{,f} to libm-sysdep_routes.
24353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24367 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24368 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24371 nearbyint{,f} to libm-sysdep_routes.
24372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24389 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24390 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24392 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24393 libc_feholdexcept and libc_fesetenv.
24395 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24397 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24399 2013-01-14 David S. Miller <davem@davemloft.net>
24401 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24402 (SPARC_ASM_VIS2_IFUNC): Likewise.
24403 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24405 use of 'siam' instruction.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24439 routines to libm-sysdep_routines.
24440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24443 fdim/fdimf to libm-sysdep_routines.
24444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24452 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24453 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24454 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24455 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24457 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24460 to optimize copies.
24462 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24467 local variable MPTWO.
24468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24471 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24473 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24478 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24480 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24482 * manual/pattern.texi (glob_t): Document gl_flags.
24483 (glob64_t): Likewise.
24485 2013-01-11 David S. Miller <davem@davemloft.net>
24487 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24488 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24489 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24490 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24491 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24492 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24493 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24494 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24496 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24498 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24502 sparc V9 rather than using V8 code.
24503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24511 2013-01-11 Roland McGrath <roland@hack.frob.com>
24513 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24514 not in the main loop.
24515 * configure: Regenerated.
24517 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24519 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24520 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24522 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24523 [!__GLIBC_HAVE_LONG_LONG] case.
24524 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24525 condition to just #else.
24526 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24527 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24528 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24529 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24531 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24532 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24533 #elif condition to just #else.
24534 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24535 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24536 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24537 #elif condition to just #else.
24539 2013-01-11 Steve Ellcey <sellcey@mips.com>
24541 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24542 (EF_MIPS_ARCH_64): Fix value.
24543 (EF_MIPS_ARCH_32R2): New.
24544 (EF_MIPS_ARCH_64R2): New.
24546 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24548 * Makeconfig (+link-pie-before-libc): New.
24549 (+link-pie-after-libc): Likewise.
24550 (+link-pie-tests): Likewise.
24551 (+link-pie): Rewritten.
24552 (link-before-libc): Remove $(config-LDFLAGS).
24553 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24554 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24555 (config-LDFLAGS): Renamed to ...
24556 (rtld-LDFLAGS): This.
24557 (rtld-tests-LDFLAGS): New macro.
24558 (link-libc-rpath-link): Likewise.
24559 (link-libc-tests-rpath-link): Likewise.
24560 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24561 (link-libc): Prepand $(link-libc-rpath-link).
24562 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24563 (test-program-prefix): New macro.
24564 (test-via-rtld-prefix): Likewise.
24565 (test-program-cmd): Likewise.
24566 (host-test-program-cmd): Likewise.
24567 * Makefile ($(common-objpfx)testrun.sh): Replace
24568 $(run-program-prefix) with $(test-program-prefix).
24569 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24571 ($(common-objpfx)shlib.lds): Likewise.
24572 (build-module-helper): Likewise.
24573 ($(common-objpfx)format.lds): Likewise.
24574 * Rules (binaries-pie-tests): New.
24575 (binaries-pie-notests): Likewise.
24576 (binaries-pie): Rewritten.
24577 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24578 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24579 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24580 (make-test-out): Replace $(host-built-program-cmd) with
24581 $(host-test-program-cmd).
24582 * config.make.in (build-hardcoded-path-in-tests): New variable.
24583 * configure.in (--enable-hardcoded-path-in-tests): New configure
24585 (hardcoded_path_in_tests): New AC_SUBST.
24586 * configure: Regenerated.
24587 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24588 $(built-program-cmd) with $(test-program-cmd).
24589 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24590 (test_program_cmd): This.
24591 * elf/Makefile ($(objpfx)order.out): Run test with
24592 $(test-program-prefix).
24593 ($(objpfx)order2.out): Likewise.
24594 ($(objpfx)tst-initorder.out): Likewise.
24595 ($(objpfx)tst-initorder2.out): Likewise.
24596 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24597 $(test-program-cmd).
24598 ($(objpfx)tst-array1-static.out): Likewise.
24599 ($(objpfx)tst-array2.out): Likewise.
24600 ($(objpfx)tst-array3.out): Likewise.
24601 ($(objpfx)tst-array4.out): Likewise.
24602 ($(objpfx)tst-array5.out): Likewise.
24603 ($(objpfx)tst-array5-static.out): Likewise.
24604 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24605 $(test-program-cmd).
24606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24607 $(run-program-prefix) with $(test-program-prefix).
24608 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24609 (test_program_prefix): This.
24610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24611 $(run-program-prefix) with $(test-program-prefix).
24612 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24613 (test_program_prefix): This.
24614 * iconvdata/tst-tables.sh: Likewise.
24615 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24616 $(run-program-prefix) with $(test-program-prefix).
24617 ($(objpfx)tst-translit.out): Likewise.
24618 ($(objpfx)tst-gettext2.out): Likewise.
24619 ($(objpfx)tst-gettext4.out): Likewise.
24620 ($(objpfx)tst-gettext6.out): Likewise.
24621 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24622 (test_program_prefix): This.
24623 * intl/tst-gettext2.sh: Likewise.
24624 * intl/tst-gettext4.sh Likewise.
24625 * intl/tst-gettext6.sh: Likewise.
24626 * intl/tst-translit.sh: Likewise.
24627 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24628 with $(test-program-cmd).
24629 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24630 $(run-program-prefix) with $(test-program-prefix).
24631 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24632 (test_program_prefix): This.
24633 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24634 $(run-program-prefix) with $(test-program-prefix).
24635 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24636 (test_program_prefix): This.
24637 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24638 * posix/Makefile ($(objpfx)globtest.out): Replace
24639 $(run-via-rtld-prefix) and $(test-wrapper) with
24640 $(test-program-prefix) and $(test-via-rtld-prefix).
24641 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24642 $(test-program-prefix).
24643 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24644 $(host-test-program-cmd).
24645 (tst-spawn-ARGS): Likewise.
24646 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24647 $(test-program-prefix).
24648 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24649 (test_via_rtld_prefix): This.
24650 (test_wrapper): Renamed to ...
24651 (test_program_prefix): This.
24652 (run_program_prefix): Replaced by test_program_prefix.
24653 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24654 (test_program_prefix): This.
24655 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24656 with $(host-test-program-cmd).
24657 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24658 $(run-program-prefix) with $(test-program-prefix).
24659 ($(objpfx)tst-printf.out): Likewise.
24660 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24661 $(test-program-cmd).
24662 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24663 (test_program_prefix): This.
24664 * stdio-common/tst-unbputc.sh: Likewise.
24665 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24666 $(run-program-prefix) with $(test-program-prefix).
24667 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24668 (test_program_prefix): This.
24669 * string/Makefile ($(objpfx)tst-svc.out): Replace
24670 $(built-program-cmd) with $(test-program-cmd).
24672 2013-01-11 Andreas Jaeger <aj@suse.de>
24675 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24676 value. Sync with Linux 3.7.
24678 2013-01-10 David S. Miller <davem@davemloft.net>
24680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24684 2013-01-10 Roland McGrath <roland@hack.frob.com>
24686 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24688 * configure: Regenerated.
24690 2013-01-10 David S. Miller <davem@davemloft.net>
24692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24693 sparc V9 rather than using V8 code.
24694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24697 2013-01-10 Roland McGrath <roland@hack.frob.com>
24699 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24700 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24701 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24702 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24703 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24704 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24705 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24706 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24707 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24708 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24709 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24710 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24711 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24712 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24713 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24714 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24715 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24716 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24717 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24718 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24719 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24720 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24721 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24722 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24723 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24724 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24725 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24727 2013-01-10 David S. Miller <davem@davemloft.net>
24729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24731 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24733 * posix/Makefile (tests-static): New variable.
24734 (tests): Add $(tests-static).
24735 (tst-exec-static-ARGS): New variable.
24736 (tst-spawn-static-ARGS): Likewise.
24737 * posix/tst-exec-static.c: New file.
24738 * posix/tst-spawn-static.c: Likewise.
24739 * posix/tst-exec.c: Support run directly.
24740 * posix/tst-spawn.c: Likewise.
24742 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24744 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24746 * math/bits/mathcalls.h (llrint): Likewise.
24747 (llround): Likewise.
24748 * stdlib/stdlib.h (struct drand48_data): Likewise.
24749 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24750 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24751 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24755 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24756 (elf_greg_t): Likewise.
24757 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24758 (__jmp_buf): Likewise.
24759 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24761 (llrint): Likewise, for all definitions.
24762 (llrintl): Likewise.
24764 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24765 Remove [__GNUC__] condition.
24766 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24767 condition to just [__USE_ISOC99].
24768 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24770 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24773 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24774 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24776 (_POSIX_V6_ILP32_OFF32): Likewise.
24777 (_XBS5_ILP32_OFF32): Likewise.
24778 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24779 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24781 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24783 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24786 doubles __mpexp_twomm1. Adjust usage.
24787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24790 2013-01-10 Andreas Schwab <schwab@suse.de>
24793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24794 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24796 2013-01-09 David S. Miller <davem@davemloft.net>
24799 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24800 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24801 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24802 (TCP_FASTOPEN): Define.
24803 (tcp_repair_opt): New structure.
24804 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24806 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24807 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24808 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24809 (tcp_cookie_transactions): New structure.
24811 2013-01-09 Anton Blanchard <anton@samba.org>
24813 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24814 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24816 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24818 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24820 * include/features.h (__USE_ANSI): Remove.
24822 2013-01-09 Roland McGrath <roland@hack.frob.com>
24824 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24826 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24828 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24830 * sysdeps/s390/fpu/libm-test-ulps: Update.
24832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24834 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24838 (denorm): Likewise.
24839 (__mp_dbl): Likewise.
24840 (__dbl_mp): Likewise.
24841 (add_magnitudes): Likewise.
24842 (sub_magnitudes): Likewise.
24848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24852 (denorm): Likewise.
24853 (__mp_dbl): Likewise.
24854 (__dbl_mp): Likewise.
24855 (add_magnitudes): Likewise.
24856 (sub_magnitudes): Likewise.
24862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24866 (denorm): Likewise.
24867 (__mp_dbl): Likewise.
24868 (__dbl_mp): Likewise.
24869 (add_magnitudes): Likewise.
24870 (sub_magnitudes): Likewise.
24877 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24879 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24880 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24881 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24882 2 && __USE_EXTERN_INLINES]: Likewise.
24884 2013-01-08 Andreas Jaeger <aj@suse.de>
24887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24889 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24892 2013-01-07 Anton Blanchard <anton@samba.org>
24894 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24895 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24896 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24897 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24898 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24899 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24900 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24901 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24903 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24912 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24917 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24918 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24919 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24920 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24921 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24923 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24924 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24936 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24938 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24940 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24941 (__MALLOC_PMT): Likewise.
24942 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24943 [__GNUC__], only on [_LIBC].
24944 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24945 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24946 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24947 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24948 forward declaration.
24949 (realloc_hook_ini): Likewise.
24950 (memalign_hook_ini): Likewise.
24951 (__libc_memalign): Do not use __MALLOC_PMT in variable
24953 (__libc_valloc): Likewise.
24954 (__libc_pvalloc): Likewise.
24955 (__libc_calloc): Likewise.
24956 (__posix_memalign): Likewise.
24959 * math/s_casinh.c: Include <float.h>.
24960 (__casinh): Do not do computation with squaring and square root
24961 for large arguments.
24962 * math/s_casinhf.c: Include <float.h>.
24963 (__casinhf): Do not do computation with squaring and square root
24964 for large arguments.
24965 * math/s_casinhl.c: Include <float.h>.
24966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24967 (__casinhl): Do not do computation with squaring and square root
24968 for large arguments.
24969 * math/libm-test.inc (casin_test): Add more tests.
24970 (casinh_test): Likewise.
24971 * sysdeps/i386/fpu/libm-test-ulps: Update.
24972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24974 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24977 (__x86_64_raw_data_cache_size): Likewise.
24978 (__x86_64_data_cache_size_half): Likewise.
24979 (__x86_64_raw_data_cache_size_half): Likewise.
24980 (__x86_64_shared_cache_size): Likewise.
24981 (__x86_64_raw_shared_cache_size): Likewise.
24982 (__x86_64_shared_cache_size_half): Likewise.
24983 (__x86_64_raw_shared_cache_size_half): Likewise.
24984 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24986 (__x86_data_cache_size): This.
24987 (__x86_64_raw_data_cache_size): Renamed to ...
24988 (__x86_raw_data_cache_size): This.
24989 (__x86_64_data_cache_size_half): Renamed to ...
24990 (__x86_data_cache_size_half): This.
24991 (__x86_64_raw_data_cache_size_half): Renamed to ...
24992 (__x86_raw_data_cache_size_half): This.
24993 (__x86_64_shared_cache_size): Renamed to ...
24994 (__x86_shared_cache_size): This.
24995 (__x86_64_raw_shared_cache_size): Renamed to ...
24996 (__x86_raw_shared_cache_size): This.
24997 (__x86_64_shared_cache_size_half): Renamed to ...
24998 (__x86_shared_cache_size_half): This.
24999 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25000 (__x86_raw_shared_cache_size_half): This.
25001 * sysdeps/x86_64/memcpy.S: Updated.
25002 * sysdeps/x86_64/memset.S: Likewise.
25003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25007 2013-01-04 David S. Miller <davem@davemloft.net>
25009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25011 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25013 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25014 1 to avoid redefinition warning.
25015 (__USE_GNU): Don't define.
25016 (init_signaling_nan): Protoize.
25018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25020 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25022 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25024 (__cpymn): Likewise.
25025 (norm): Remove commented code.
25026 (denorm): Likewise.
25027 (__mp_dbl): Likewise.
25029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25030 (__cpymn): Likewise.
25031 (norm): Remove commented code.
25032 (denorm): Likewise.
25033 (__mp_dbl): Likewise.
25036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25037 mp_no value for 1.0 and 2.0.
25038 (norm): Use RADIXI instead of radixi.d.
25039 (denorm): Likewise.
25040 (__mul): Use 0.0 instead of zero.d.
25041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25042 mp_no value for 1.0 and 2.0.
25043 (norm): Use RADIXI instead of radixi.d.
25044 (denorm): Likewise.
25045 (__mul): Use 0.0 instead of zero.d.
25047 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25050 * math/s_casinh.c (__casinh): Reduce finite argument to first
25051 quadrant then set signs of results at the end.
25052 * math/s_casinhf.c (__casinhf): Likewise.
25053 * math/s_casinhl.c (__casinhl): Likewise.
25054 * math/libm-test.inc (casin_test): Add more tests.
25055 (casinh_test): Likewise.
25056 * sysdeps/i386/fpu/libm-test-ulps: Update.
25057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25059 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25061 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25063 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25065 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25067 (denorm): Likewise.
25068 (__mp_dbl): Likewise.
25071 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25072 and adjust the header comment.
25074 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25075 variable name from declaration.
25077 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25080 Initialize COMMON_CPUID_INDEX_7 element.
25081 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25082 (CPUID_RTM): Likewise.
25083 (HAS_RTM): Likewise.
25084 (COMMON_CPUID_INDEX_7): New enum.
25086 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25089 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25090 size is zero, record memory as freed.
25092 2013-01-03 Andreas Jaeger <aj@suse.de>
25094 * po/ia.po: Add new Interlingua translation.
25096 2012-01-03 Allan McRae <allan@archlinux.org>
25098 * locale/programs/localedef.c: Fix description of '--posix' flag.
25100 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25102 * NEWS: Update dates in second copyright notice.
25103 * README: Update copyright dates in example.
25104 * manual/libc.texinfo: Update copyright dates.
25105 * scripts/test-installation.pl: Update copyright date in --version
25108 * hurd/ctty-input.c: Fix copyright notice formatting.
25109 * hurd/ctty-output.c: Likewise.
25110 * hurd/dtable.c: Likewise.
25111 * hurd/hurd-raise.c: Likewise.
25112 * hurd/hurdprio.c: Likewise.
25113 * hurd/msgportdemux.c: Likewise.
25114 * misc/sys/file.h: Likewise.
25115 * misc/sys/ioctl.h: Likewise.
25116 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25117 * sysdeps/mach/hurd/chdir.c: Likewise.
25118 * sysdeps/mach/hurd/fchdir.c: Likewise.
25119 * sysdeps/mach/hurd/rename.c: Likewise.
25120 * sysdeps/mach/hurd/rmdir.c: Likewise.
25121 * sysdeps/mach/hurd/seekdir.c: Likewise.
25122 * sysdeps/mach/hurd/setsid.c: Likewise.
25123 * sysdeps/posix/wait3.c: Likewise.
25125 * All files with FSF copyright notices: Update copyright dates
25126 using scripts/update-copyrights.
25127 * intl/plural.c: Regenerated.
25128 * locale/programs/charmap-kw.h: Likewise.
25129 * locale/programs/locfile-kw.h: Likewise.
25131 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25137 calculation loop and add branch prediction.
25139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25140 check access beyond bounds of m1np.
25142 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25144 (__inv): Remove local variable MPTWO to use the global
25146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25150 MP3HALFS static const.
25152 2013-01-01 David S. Miller <davem@davemloft.net>
25154 * po/ca.po: Update from translation team.
25156 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25158 * scripts/update-copyrights: New file.
25159 * Makeconfig: Reformat copyright notice.
25160 * ctype/ctype.h: Likewise.
25161 * debug/swprintf_chk.c: Likewise.
25162 * elf/dl-cache.c: Likewise.
25163 * elf/dl-debug.c: Likewise.
25164 * elf/dl-object.c: Likewise.
25165 * grp/initgroups.c: Likewise.
25166 * hurd/Makefile: Likewise.
25167 * hurd/hurd/signal.h: Likewise.
25168 * hurd/hurdfault.c: Likewise.
25169 * hurd/hurdioctl.c: Likewise.
25170 * hurd/hurdlookup.c: Likewise.
25171 * hurd/intr-msg.c: Likewise.
25172 * iconv/gconv_open.c: Likewise.
25173 * libio/swprintf.c: Likewise.
25174 * locale/lc-ctype.c: Likewise.
25175 * locale/nl_langinfo.c: Likewise.
25176 * mach/Machrules: Likewise.
25177 * mach/Makefile: Likewise.
25178 * malloc/obstack.h: Likewise.
25179 * manual/Makefile: Likewise.
25180 * manual/tsort.awk: Likewise.
25181 * misc/bits/stab.def: Likewise.
25182 * nis/nis_print_group_entry.c: Likewise.
25183 * nis/nis_table.c: Likewise.
25184 * nis/nss_compat/compat-pwd.c: Likewise.
25185 * nis/nss_compat/compat-spwd.c: Likewise.
25186 * po/Makefile: Likewise.
25187 * posix/fnmatch.c: Likewise.
25188 * posix/regex.h: Likewise.
25189 * resolv/Makefile: Likewise.
25190 * resolv/nss_dns/dns-network.c: Likewise.
25191 * resolv/res_hconf.c: Likewise.
25192 * scripts/gen-sorted.awk: Likewise.
25193 * soft-fp/soft-fp.h: Likewise.
25194 * stdio-common/printf.h: Likewise.
25195 * stdlib/monetary.h: Likewise.
25196 * stdlib/random.c: Likewise.
25197 * stdlib/random_r.c: Likewise.
25198 * sysdeps/generic/Makefile: Likewise.
25199 * sysdeps/gnu/Makefile: Likewise.
25200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25214 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25228 * sysdeps/mach/hurd/errnos.awk: Likewise.
25229 * sysdeps/mach/hurd/fork.c: Likewise.
25230 * sysdeps/mach/hurd/getcwd.c: Likewise.
25231 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25232 * sysdeps/mach/hurd/mmap.c: Likewise.
25233 * sysdeps/mach/hurd/utimes.c: Likewise.
25234 * sysdeps/mach/hurd/xmknod.c: Likewise.
25235 * sysdeps/posix/profil.c: Likewise.
25236 * sysdeps/posix/readdir_r.c: Likewise.
25237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25238 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25244 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25248 * sysdeps/pthread/lio_listio.c: Likewise.
25249 * sysdeps/sparc/dl-procinfo.h: Likewise.
25250 * sysdeps/unix/i386/sysdep.S: Likewise.
25251 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25252 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25253 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25254 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25256 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25257 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25258 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25259 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25260 * sysdeps/wordsize-32/divdi3.c: Likewise.
25261 * time/sys/time.h: Likewise.
25262 * wcsmbs/Makefile: Likewise.
25264 2013-01-01 David S. Miller <davem@davemloft.net>
25266 * po/fr.po: Update from translation team.
25268 * catgets/gencat.c: Update copyright year.
25269 * csu/version.c: Likewise.
25270 * debug/catchsegv.sh: Likewise.
25271 * debug/pcprofiledump.c: Likewise.
25272 * debug/xtrace.sh: Likewise.
25273 * elf/ldconfig.c: Likewise.
25274 * elf/ldd.bash.in: Likewise.
25275 * elf/pldd.c: Likewise.
25276 * elf/sotruss.ksh: Likewise.
25277 * elf/sprof.c: Likewise.
25278 * iconv/iconv_prog.c: Likewise.
25279 * iconv/iconvconfig.c: Likewise.
25280 * locale/programs/locale.c: Likewise.
25281 * locale/programs/localedef.c: Likewise.
25282 * login/programs/pt_chown.c: Likewise.
25283 * malloc/memusage.sh: Likewise.
25284 * malloc/memusagestat.c: Likewise.
25285 * malloc/mtrace.pl: Likewise.
25286 * nscd/nscd.c: Likewise.
25287 * nss/getent.c: Likewise.
25288 * nss/makedb.c: Likewise.
25289 * posix/getconf.c: Likewise.
25291 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25293 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25296 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25298 * math/bits/mathcalls.h (modf): Use __nonnull.
25300 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25302 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25303 (split): Use macro CN instead of the bare value.
25304 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25307 instead of the bare value.
25308 (power1): Likewise.
25310 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25316 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25318 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25320 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25321 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25323 2012-12-28 Andreas Jaeger <aj@suse.de>
25325 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25326 values are from Linux 3.7.
25328 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25329 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25331 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25333 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25338 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25339 variables with preprocessor constants.
25340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25344 2012-12-27 Bruno Haible <bruno@clisp.org>
25347 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25350 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25353 and use variable directly.
25354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25356 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25358 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25361 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25363 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25364 include directive. Remove local variable MPONE.
25365 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25366 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25369 2012-12-25 David S. Miller <davem@davemloft.net>
25371 * version.h (RELEASE): Set to "development".
25372 (VERSION): Set to "2.17.90".
25373 * NEWS: Add 2.18 section.
25375 2012-12-21 David S. Miller <davem@davemloft.net>
25377 * po/hr.po: Update from translation team.
25379 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25381 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25383 2012-12-19 Steve Ellcey <sellcey@mips.com>
25385 * NEWS: Mention new memcpy for MIPS.
25387 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25389 * manual/contrib.texi (Contributors): Spelling correction.
25391 2012-12-15 David S. Miller <davem@davemloft.net>
25393 * po/ru.po: Update from translation team.
25395 2012-12-13 David S. Miller <davem@davemloft.net>
25397 * NEWS: Mention IFUNC testsuite enhancements.
25399 * po/pl.po: Update from translation team.
25400 * po/bg.po: Likewise.
25402 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25403 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25405 2012-12-11 David S. Miller <davem@davemloft.net>
25407 * po/sv.po: Update from translation team.
25409 * po/vi.po: Update from translation team.
25411 * po/cs.po: Update from translation team.
25413 * po/de.po: Update from translation team.
25414 * po/eo.po: Likewise.
25415 * po/nl.po: Likewise.
25417 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25420 * manual/argp.texi (Argp Helper Functions): Move node to follow
25421 Argp Parsing State.
25424 * manual/conf.texi (Limits on File System Capacity): Mention if
25425 terminating null is included in the max size.
25427 2012-12-10 Andreas Jaeger <aj@suse.de>
25429 * po/cs.po: Update from translation team.
25431 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25434 void pointer and cast to uintptr_t.
25435 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25437 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25438 * sysdeps/s390/s390-64/memset.S: Likewise.
25440 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25443 * menual/message.texi (Message Translation): Fix typos.
25444 (Helper programs for gettext): Likewise.
25446 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25449 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25452 2012-12-07 David S. Miller <davem@davemloft.net>
25454 * po/libc.pot: Update.
25456 2012-12-07 Richard Henderson <rth@redhat.com>
25459 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25460 normal/normal case to before the switch.
25461 (_FP_DIV): Likewise.
25463 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25464 Mike Frysinger <vapier@gentoo.org>
25466 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25467 check for __NR_fadvise64_64.
25469 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25471 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25472 0, not just to plain "0" as a statement.
25473 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25476 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25478 * NEWS: Use sourceware.org in Bugzilla URL.
25480 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25483 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25485 * stdio-common/tst-put-error.c (do_test): Add newline to the
25486 padded test to ensure flush.
25488 2012-12-05 Jeff Law <law@redhat.com>
25490 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25492 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25494 * README: Don't refer to ports add-on as distributed separately.
25495 Mention AArch64 in list of systems supported in the ports add-on.
25497 * LICENSES: Add more non-FSF copyright and license notices.
25499 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25504 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25505 10000 as width of padded output.
25507 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25509 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25512 variable LX with __attribute__ ((unused)).
25513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25515 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25518 with __attribute__ ((unused)).
25520 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25522 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25524 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25526 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25527 (CFLAGS-nldbl-acos.c): New variable.
25528 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25529 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25530 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25531 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25532 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25533 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25534 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25535 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25536 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25537 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25538 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25539 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25540 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25541 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25542 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25543 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25544 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25545 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25546 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25547 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25548 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25549 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25550 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25551 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25552 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25553 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25554 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25555 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25556 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25557 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25558 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25559 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25560 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25561 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25562 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25563 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25564 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25565 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25566 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25567 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25568 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25569 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25570 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25571 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25572 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25573 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25574 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25575 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25576 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25577 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25578 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25579 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25580 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25581 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25582 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25583 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25584 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25585 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25586 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25587 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25588 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25589 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25590 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25591 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25592 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25593 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25594 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25595 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25596 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25597 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25598 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25599 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25600 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25601 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25602 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25603 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25604 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25605 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25606 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25607 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25608 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25609 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25610 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25611 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25612 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25613 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25614 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25615 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25616 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25617 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25618 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25619 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25620 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25621 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25622 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25623 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25624 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25627 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25631 whole low double instead of just low 47 bits when splitting values
25634 2012-12-03 Allan McRae <allan@archlinux.org>
25636 * manual/stdio.texi (Predefined Printf Handlers): Remove
25637 @hsep and @vsep usage.
25639 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25641 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25642 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25644 2012-12-03 Jeff Law <law@redhat.com>
25646 * time/sys/time.h (settimeofday): Do not mark TV argument
25649 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25651 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25652 when currently writing and seek to current position when not.
25653 * libio/Makefile (tests): Remove bug-fclose1.
25654 * libio/bug-fclose1.c: Delete.
25656 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25658 * manual/arith.texi (feenableexcept): Fix typo.
25659 (fedisableexcept): Likewise.
25661 2012-11-30 Roland McGrath <roland@hack.frob.com>
25663 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25664 second, differently-typed declaration, rather than a cast.
25666 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25668 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25669 * include/rpc/svc.h: ... here.
25671 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25674 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25675 depending n and resplen2 to catch cases where answer
25678 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25680 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25681 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25683 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25687 2012-11-29 Roland McGrath <roland@hack.frob.com>
25689 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25691 2012-11-28 Jeff Law <law@redhat.com>
25694 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25695 dataset_temporary. Track alloca usage into alloca_used.
25696 If dataset is large allocate and release it via malloc/free.
25698 2012-06-04 Florian Weimer <fweimer@redhat.com>
25701 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25703 2012-11-28 David S. Miller <davem@davemloft.net>
25705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25707 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25710 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25711 of pi/2 rounded to nearest to 64 bits.
25712 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25713 nearest to 64 bits.
25714 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25717 2012-11-28 Jeff Law <law@redhat.com>
25718 Martin Osvald <mosvald@redhat.com>
25721 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25722 * sunrpc/svc.c: Include time.h.
25723 (__svc_accept_failed): New function.
25724 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25725 any reason other than EINTR, call __svc_accept_failed.
25726 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25727 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25729 2012-11-28 Andreas Schwab <schwab@suse.de>
25731 * scripts/abilist.awk: Also handle indirect functions in .opd
25734 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25737 * sysdeps/x86/fpu/powl_helper.c: New file.
25738 * sysdeps/x86/fpu/Makefile: Likewise.
25739 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25741 (__ieee754_powl): Use __powl_helper for finite arguments except
25742 integer exponents below 8.
25743 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25745 (__ieee754_powl): Use __powl_helper for finite arguments except
25746 integer exponents below 8.
25747 * math/libm-test.inc (pow_test): Add more tests and enable some
25748 previously disabled tests.
25749 * sysdeps/i386/fpu/libm-test-ulps: Update.
25750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25752 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25753 Carlos O'Donell <carlos_odonell@mentor.com>
25755 * nss/makedb.c (is_prime): Assert that input is odd and greater
25756 than 4. Note that fact in a comment too.
25757 (next_prime): Add 4 to input.
25759 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25762 * libio/Makefile (tests): Add test case tst-fwrite-error.
25763 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25764 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25765 * libio/tst-fwrite-error.c: New test case.
25767 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25769 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25770 before casting to void *.
25771 * include/libc-internal.h (__pointer_type): New macro.
25772 (__integer_if_pointer_type_sub): Likewise.
25773 (__integer_if_pointer_type): Likewise.
25774 (cast_to_integer): Likewise.
25775 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25776 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25777 before casting to atomic64_t.
25778 (atomic_exchange_acq): Likewise.
25779 (__arch_exchange_and_add_body): Likewise.
25780 (__arch_add_body): Likewise.
25781 (atomic_add_negative): Likewise.
25782 (atomic_add_zero): Likewise.
25784 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25786 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25787 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25788 (add_fdes): Likewise.
25789 (linear_search_fdes): Likewise.
25790 (binary_search_unencoded_fdes): Likewise.
25792 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25794 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25796 2012-11-24 Adam Conrad <adconrad@0c3.net>
25798 * configure.in: Autodetect C++ header directories.
25799 * configure: Regenerated.
25801 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25803 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25805 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25809 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25811 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25812 LDBL_MANT_DIG == 106]: Disable some tests.
25813 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25815 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25820 input for small inputs. Return +/- pi/2 for large inputs.
25821 * math/libm-test.inc (atan_test): Add more tests.
25823 * sysdeps/generic/unwind-dw2-fde-glibc.c
25824 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25825 __attribute__ ((unused)).
25828 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25829 x * y if x and y are nonzero and z is zero.
25832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25833 nonzero exponents with absolute value below 0x1p-117 to +/-
25837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25838 up arguments below 2**-450, not just those below 2**-500.
25839 * math/libm-test.inc (hypot_test): Add another test.
25842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25843 Return a+b for ratio over 2**120, not 2**60.
25844 * math/libm-test.inc (hypot_test): Add another test.
25846 * math/libm-test.inc (clog_test): Use
25847 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25848 (clog10_test): Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25853 2012-11-22 Andreas Schwab <schwab@suse.de>
25855 * sysdeps/i386/fpu/libm-test-ulps: Update.
25857 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25859 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25860 printf output with newline.
25862 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25865 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25866 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25867 -z nodlopen, -z initfirst and -z execstack support.
25868 * configure: Regenerated.
25870 * elf/elf.h (DF_1_NODIRECT): New macro.
25871 (DF_1_IGNMULDEF): Likewise.
25872 (DF_1_NOKSYMS): Likewise.
25873 (DF_1_NOHDR): Likewise.
25874 (DF_1_EDITED): Likewise.
25875 (DF_1_NORELOC): Likewise.
25876 (DF_1_SYMINTPOSE): Likewise.
25877 (DF_1_GLOBAUDIT): Likewise.
25878 (DF_1_SINGLETON): Likewise.
25879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25880 DT_1_SUPPORTED_MASK bits.
25881 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25883 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25885 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25887 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25889 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25892 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25893 (sendmmsg): Move declarations...
25894 * socket/sys/socket.h: ... here.
25895 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25896 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25898 * socket/recvmmsg.c: ... this new file.
25899 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25900 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25901 definition of __sendmmsg hidden.
25902 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25903 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25904 Move ENOSYS stub into and include it from...
25905 * socket/sendmmsg.c: ... this new file.
25906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25907 (sysdep_routines): Move recvmmsg and sendmmsg...
25908 * socket/Makefile (routines): ... here.
25909 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25910 (GLIBC_PRIVATE): Add __sendmmsg.
25911 * include/sys/socket.h (__sendmmsg): Add declarations.
25912 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25915 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25918 variable I1 with __attribute__ ((unused)).
25919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25921 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25923 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25924 DUMMY variables with __attribute__ ((unused)).
25926 * bits/byteswap.h: Include <bits/types.h>.
25927 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25929 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25931 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25932 string_t. Do not manually set errno.
25933 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25934 length with __strnlen. Make sure to both set errno and return it on
25937 2012-11-19 David S. Miller <davem@davemloft.net>
25939 With help from Joseph Myers.
25940 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25941 very large arguments properly.
25942 * math/libm-test.inc (atan_test): New tests.
25943 (atan2_test): New tests.
25944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25947 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25950 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25953 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25954 [POSIX] (EADDRNOTAVAIL): Likewise.
25955 [POSIX] (EAFNOSUPPORT): Likewise.
25956 [POSIX] (EALREADY): Likewise.
25957 [POSIX] (ECONNABORTED): Likewise.
25958 [POSIX] (ECONNREFUSED): Likewise.
25959 [POSIX] (ECONNRESET): Likewise.
25960 [POSIX] (EDESTADDRREQ): Likewise.
25961 [POSIX] (EDQUOT): Likewise.
25962 [POSIX] (EHOSTUNREACH): Likewise.
25963 [POSIX] (EIDRM): Likewise.
25964 [POSIX] (EISCONN): Likewise.
25965 [POSIX] (ELOOP): Likewise.
25966 [POSIX] (EMULTIHOP): Likewise.
25967 [POSIX] (ENETDOWN): Likewise.
25968 [POSIX] (ENETUNREACH): Likewise.
25969 [POSIX] (ENOBUFS): Likewise.
25970 [POSIX] (ENODATA): Likewise.
25971 [POSIX] (ENOLINK): Likewise.
25972 [POSIX] (ENOMSG): Likewise.
25973 [POSIX] (ENOPROTOOPT): Likewise.
25974 [POSIX] (ENOSR): Likewise.
25975 [POSIX] (ENOSTR): Likewise.
25976 [POSIX] (ENOTCONN): Likewise.
25977 [POSIX] (ENOTSOCK): Likewise.
25978 [POSIX] (EOPNOTSUPP): Likewise.
25979 [POSIX] (EOVERFLOW): Likewise.
25980 [POSIX] (EPROTO): Likewise.
25981 [POSIX] (EPROTONOSUPPORT): Likewise.
25982 [POSIX] (EPROTOTYPE): Likewise.
25983 [POSIX] (ESTALE): Likewise.
25984 [POSIX] (ETIME): Likewise.
25985 [POSIX] (ETXTBSY): Likewise.
25986 [POSIX] (EWOULDBLOCK): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25988 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25989 [POSIX] (SEEK_CUR): Likewise.
25990 [POSIX] (SEEK_END): Likewise.
25991 [POSIX || UNIX98] (mode_t): Do not require.
25992 [POSIX] (off_t): Likewise.
25993 [POSIX] (pid_t): Likewise.
25994 [POSIX] (sys/stat.h): Do not allow header.
25995 [POSIX] (unistd.h): Likewise.
25996 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25997 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25999 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26001 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26002 sigevent): Specify elements.
26003 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26005 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26006 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26008 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26009 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26010 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26011 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26012 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26013 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26014 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26016 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26018 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26020 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26029 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26034 Specify lower bound on value.
26035 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26041 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26042 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26044 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26060 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26061 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26063 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26067 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26068 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26069 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26074 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26075 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26076 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26077 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26083 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26084 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26085 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26086 specify as optional.
26087 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26088 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26090 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26091 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26092 [XPG3] (NL_LANGMAX): Likewise.
26093 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26094 [POSIX || XPG3] (NL_NMAX): Likewise.
26095 [POSIX || XPG3] (NL_SETMAX): Likewise.
26096 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26097 [XPG3] (NZERO): Likewise.
26098 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26099 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26100 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26101 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26102 (REG_ERANGE): Expect.
26103 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26105 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26106 Use (void) in prototype.
26107 [POSIX] (*_t): Allow.
26108 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26109 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26110 (WRDE_BADVAL): Expect.
26112 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26114 [XPG3 || XPG4] (O_RSYNC): Likewise.
26115 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26117 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26118 [XPG3 || XPG4] (sigqueue): Likewise.
26119 [XPG3 || XPG4] (sigtimedwait): Likewise.
26120 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26121 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26122 [XPG3 || XPG4] (vsnprintf): Likewise.
26123 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26125 [XPG3 || XPG4] (blksize_t): Likewise.
26126 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26128 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26129 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26130 [XPG3 || XPG4] (struct itimerspec): Likewise.
26131 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26132 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26133 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26134 [XPG3 || XPG4] (clockid_t): Likewise.
26135 [XPG3 || XPG4] (timer_t): Likewise.
26136 [XPG3 || XPG4] (clock_getres): Likewise.
26137 [XPG3 || XPG4] (clock_gettime): Likewise.
26138 [XPG3 || XPG4] (clock_settime): Likewise.
26139 [XPG3 || XPG4] (nanosleep): Likewise.
26140 [XPG3 || XPG4] (timer_create): Likewise.
26141 [XPG3 || XPG4] (timer_delete): Likewise.
26142 [XPG3 || XPG4] (timer_gettime): Likewise.
26143 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26144 [XPG3 || XPG4] (timer_settime): Likewise.
26145 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26146 [XPG3 || XPG4] (getlogin_r): Likewise.
26147 [XPG3 || XPG4] (pread): Likewise.
26148 [XPG3 || XPG4] (pthread_atfork): Likewise.
26149 [XPG3 || XPG4] (pwrite): Likewise.
26152 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26155 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26157 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26158 finalizing MALLSTREAM.
26160 * sysdeps/mach/hurd/syncfs.c: New file.
26162 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26165 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26166 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26168 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26169 (_nss_dns_gethostbyname4_r): Likewise.
26170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26171 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26173 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26176 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26178 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26180 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26181 * elf/cache.c (print_entry): Print ",AArch64" for
26184 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26185 * elf/cache.c (print_entry): Print ",hard-float" for
26188 2012-11-18 David S. Miller <davem@davemloft.net>
26190 With help from Joseph Myers.
26191 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26193 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26195 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26196 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26199 * math/libm-test.inc (y0_test): New tests.
26200 (y1_test): New tests.
26201 * sysdeps/i386/fpu/libm-test-ulps: Update.
26202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26205 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26207 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26209 * configure: Regenerated.
26211 2012-11-17 David S. Miller <davem@davemloft.net>
26214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26215 nonzero exponents with absolute value below 0x1p-128 to +/-
26218 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26220 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26222 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26224 * posix/getconf-speclist.c: New file.
26225 * posix/posix-envs.def: Likewise.
26226 * posix/confstr.c (START_ENV_GROUP): New macro.
26227 (END_ENV_GROUP): Likewise.
26228 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26229 (KNOWN_PRESENT_ENV_STRING): Likewise.
26230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26231 (UNKNOWN_ENVIRONMENT): Likewise.
26232 (confstr): Include posix-envs.def instead of handling
26233 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26234 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26235 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26236 (END_ENV_GROUP): Likewise.
26237 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26239 (UNKNOWN_ENVIRONMENT): Likewise.
26240 (__sysconf): Include posix-envs.def instead of handling associated
26241 cases directly here.
26242 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26243 preprocessing getconf-speclist.c rather than running getconf or
26244 generating empty file.
26246 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26248 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26250 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26253 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26255 2012-11-16 David S. Miller <davem@davemloft.net>
26257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26258 smaller than LDBL_EPSILON/2.0L, just return xm1.
26260 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26262 * elf/tst-array1.c (init): Set constructor priority to 1000.
26263 (fini): Set destructor priority to 1000.
26264 * elf/tst-array2dep.c: Likewise.
26266 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26269 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26270 (_IO_new_file_xsputn): Also return EOF if none of the input
26271 data was written when overflow failed.
26272 * libio/iopadn.c (_IO_padn): Likewise.
26273 * libio/iowpadn.c (_IO_wpadn): Likewise.
26274 * stdio-common/tst-put-error.c: Add copyright notice.
26275 (do_test): Add case for printing padded string.
26276 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26277 _IO_padn returned error.
26278 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26279 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26282 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26284 * libio/libioP.h: Add comment note that the references to C++
26285 bits are now obsolete.
26287 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26289 * math/libm-test.inc (check_complex): Use asprintf.
26291 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26293 * debug/pcprofiledump.c (print_version): Update copyright year.
26294 * malloc/memusagestat.c (print_version): Likewise.
26296 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26299 * elf/Makefile (tests): Add tst-audit8.
26300 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26301 ($(objpfx)tst-audit8.out): New target.
26302 (tst-audit8-ENV): New variable.
26303 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26304 audit if l_reloc_result is NULL.
26305 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26306 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26307 * elf/tst-audit8.c: New file.
26309 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26311 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26312 * misc/Makefile (CFLAGS-select.c): Define.
26313 * posix/Makefile (CFLAGS-pause.c): Define.
26315 2012-11-13 David S. Miller <davem@davemloft.net>
26317 * crypt/Makefile: Move test targets after toplevel Rules
26318 inclusion. Grab any necessary sysdep routines when linking.
26319 * crypt/md5.c (md5_process_block): Remove define, we will always
26320 name it __md5_process_block.
26321 (md5_finish_ctx): Update md5_process_block call.
26322 (md5_stream): Likewise.
26323 (md5_process_bytes): Likewise.
26324 (md5_process_block): Rename to __md5_process_block and move to ...
26325 * crypt/md5-block.c: ... here.
26326 * crypt/sha256.c (sha256_process_block): Move to ...
26327 * crypt/sha256-block.c: ... here.
26328 * crypt/sha512.c (sha512_process_block): Move to ...
26329 * crypt/sha512-block.c: ... here.
26330 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26332 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26333 * sysdeps/sparc/sparc64/multiarch/Makefile
26334 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26336 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26339 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26340 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26341 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26342 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26343 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26344 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26354 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26356 * timezone/tzselect.ksh: Update from tzcode git revision
26357 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26358 * timezone/zdump.c: Likewise.
26359 * timezone/zic.c: Likewise.
26360 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26361 in TZVERSION setting, not $(PKGVERSION).
26362 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26363 REPORT_BUGS_TO settings.
26366 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26369 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26371 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26372 detection to immediately after _FP_ROUND().
26373 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26376 2012-11-11 David S. Miller <davem@davemloft.net>
26378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26380 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26381 __close rather than their public counterparts.
26383 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26385 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26387 [UNIX98] (sem_timedwait): Do not expect.
26388 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26389 [XPG4 || UNIX98] (sockatmark): Do not expect.
26390 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26391 (clock_getcpuclockid): Do not expect.
26392 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26393 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26395 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26396 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26397 [UNIX98] (vwscanf): Likewise.
26398 [UNIX98] (vswscanf): Likewise.
26400 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26402 * timezone/version.h: Remove file.
26403 * timezone/README: Do not refer to version.h.
26404 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26405 $(objpfx)version.h.
26406 ($(objpfx)zdump.o): Likewise.
26407 ($(objpfx)version.h): New target.
26409 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26411 * timezone/README: Don't mention modification to tzselect.ksh.
26412 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26413 work on unmodified tzselect.ksh. Substitute version numbers in
26416 * Makefile (format-me): Remove.
26417 (INSTALL): Adjust indentation. Use commands directly instead of
26418 using $(format-me).
26420 * aclocal.m4 (ACX_PKGVERSION): New macro.
26421 (ACX_BUGURL): Likewise.
26422 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26423 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26424 (REPORT_BUGS_TO): Likewise.
26425 * configure: Regenerated.
26426 * config.h.in (PKGVERSION): New macro.
26427 (REPORT_BUGS_TO): Likewise.
26428 * config.make.in (PKGVERSION): New variable.
26429 (PKGVERSION_TEXI): Likewise.
26430 (REPORT_BUGS_TO): Likewise.
26431 (REPORT_BUGS_TEXI): Likewise.
26432 * Makefile (format-me): Use -I$(common-objpfx)manual.
26433 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26434 ($(common-objpfx)manual/%): New target.
26435 (manual/%): Remove target.
26436 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26437 (print_version): Use PKGVERSION.
26438 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26439 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26440 and REPORT_BUGS_TO.
26441 ($(objpfx)xtrace): Likewise.
26442 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26443 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26444 (print_version): Use PKGVERSION.
26445 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26446 (do_version): Use PKGVERSION.
26447 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26449 (common-ldd-rewrite): Likewise.
26450 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26451 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26452 (print_version): Use PKGVERSION.
26453 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26454 * elf/pldd.c (argp_program_bug_address): Remove variable.
26455 (more_help): New function.
26456 (argp): Use more_help.
26457 (print_version): Use PKGVERSION.
26458 * elf/sln.c (main): Use PKGVERSION.
26459 (usage): Use REPORT_BUGS_TO.
26460 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26461 (top level): Use PKGVERSION.
26462 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26463 (print_version): Use PKGVERSION.
26464 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26465 (print_version): Use PKGVERSION.
26466 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26467 (print_version): Use PKGVERSION.
26468 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26469 (print_version): Use PKGVERSION.
26470 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26471 (print_version): Use PKGVERSION.
26472 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26473 (print_version): Use PKGVERSION.
26474 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26476 ($(objpfx)memusage): Likewise.
26477 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26478 (do_version): Use PKGVERSION.
26479 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26480 (print_version): Use PKGVERSION.
26481 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26482 ($PKGVERSION): New variable.
26483 ($REPORT_BUGS_TO): Likewise.
26484 (usage): Use $REPORT_BUGS_TO.
26485 (top level): Use $PKGVERSION.
26486 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26487 ($(objpfx)pkgvers.texi): New rule.
26488 ($(objpfx)stamp-pkgvers): Likewise.
26489 * manual/install.texi: Include pkgvers.texi.
26490 (--with-pkgversion): Document new configure option.
26491 (--with-bugurl): Likewise.
26492 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26493 than necessarily for this particular distribution. Use
26494 REPORT_BUGS_TO for where to report bugs.
26495 * INSTALL: Regenerated.
26496 * manual/libc.texinfo: Include pkgvers.texi.
26497 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26498 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26499 (print_version): Use PKGVERSION.
26500 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26501 (print_version): Use PKGVERSION.
26502 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26503 (print_version): Use PKGVERSION.
26504 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26505 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26507 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26508 (print_version): Use PKGVERSION.
26509 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26510 (print_version): Use PKGVERSION.
26511 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26514 * timezone/checktab.awk: Update from tzcode 2012i.
26515 * timezone/ialloc.c: Likewise.
26516 * timezone/private.h: Likewise.
26517 * timezone/scheck.c: Likewise.
26518 * timezone/tzfile.h: Likewise.
26519 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26520 (TZVERSION): Hardcode tzcode version number.
26521 * timezone/zdump.c: Update from tzcode 2012i.
26522 * timezone/zic.c: Likewise.
26523 * timezone/version.h: New file.
26524 * timezone/README: Describe version.h. Update upstream location.
26527 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26528 (mktemp): Enable declaration.
26529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26546 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26547 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26548 for copies of such integer values.
26549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26552 2012-11-09 Andreas Jaeger <aj@suse.de>
26554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26555 definitions and declarations that are provided by
26556 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26558 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26561 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26562 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26565 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26567 * elf/elf.h: Update comment before AArch64 relocations.
26569 2012-11-07 David S. Miller <davem@davemloft.net>
26571 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26572 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26573 (__start_context): Declare.
26574 (__makecontext_ret): Delete.
26575 (__makecontext): Hook up __start_context instead of
26577 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26578 (sysdep_routines): Add __start_context when in stdlib.
26580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26582 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26583 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26584 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26586 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26587 (READELF): New variable. Use it instead of hardcoded "readelf".
26589 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26591 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26592 * sysdeps/x86/Makefile: Here.
26593 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26594 * sysdeps/x86/tst-xmmymm.sh: This.
26596 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26598 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26600 [UNIX98] (pthread_barrier_t): Do not expect.
26601 [UNIX98] (pthread_barrierattr_t): Likewise.
26602 [UNIX98] (pthread_spinlock_t): Likewise.
26603 [UNIX98] (pthread_barrier_destroy): Likewise.
26604 [UNIX98] (pthread_barrier_init): Likewise.
26605 [UNIX98] (pthread_barrier_wait): Likewise.
26606 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26607 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26608 [UNIX98] (pthread_barrierattr_init): Likewise.
26609 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26610 [UNIX98] (pthread_getcpuclockid): Likewise.
26611 [UNIX98] (pthread_mutex_timedlock): Likewise.
26612 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26613 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26614 [UNIX98] (pthread_sigmask): Likewise.
26615 [UNIX98] (pthread_spin_destroy): Likewise.
26616 [UNIX98] (pthread_spin_init): Likewise.
26617 [UNIX98] (pthread_spin_lock): Likewise.
26618 [UNIX98] (pthread_spin_trylock): Likewise.
26619 [UNIX98] (pthread_spin_unlock): Likewise.
26620 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26622 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26623 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26624 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26625 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26626 [XPG3 || XPG4] (pthread_key_t): Likewise.
26627 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26628 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26629 [XPG3 || XPG4] (pthread_once_t): Likewise.
26630 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26631 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26632 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26633 [XPG3 || XPG4] (pthread_t): Likewise.
26635 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26637 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26639 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26640 Change function return type to int.
26642 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26643 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26644 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26645 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26646 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26647 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26648 [!POSIX] (posix_madvise): Likewise.
26649 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26651 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26652 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26653 (mode_t): Likewise.
26654 (posix_mem_offset): Likewise.
26655 (posix_typed_mem_get_info): Likewise.
26656 (posix_typed_mem_open): Likewise.
26658 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26659 Change condition to [XOPEN2K8].
26661 * conform/conformtest.pl: Preprocess allow-header data with -x c
26662 instead of from stdin.
26663 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26664 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26665 [C99-based standards] (cerfc): Likewise.
26666 [C99-based standards] (cexp2): Likewise.
26667 [C99-based standards] (cexpm1): Likewise.
26668 [C99-based standards] (clog10): Likewise.
26669 [C99-based standards] (clog1p): Likewise.
26670 [C99-based standards] (clog2): Likewise.
26671 [C99-based standards] (clgamma): Likewise.
26672 [C99-based standards] (ctgamma): Likewise.
26673 [C99-based standards] (cerff): Likewise.
26674 [C99-based standards] (cerfcf): Likewise.
26675 [C99-based standards] (cexp2f): Likewise.
26676 [C99-based standards] (cexpm1f): Likewise.
26677 [C99-based standards] (clog10f): Likewise.
26678 [C99-based standards] (clog1pf): Likewise.
26679 [C99-based standards] (clog2f): Likewise.
26680 [C99-based standards] (clgammaf): Likewise.
26681 [C99-based standards] (ctgammaf): Likewise.
26682 [C99-based standards] (cerfl): Likewise.
26683 [C99-based standards] (cerfcl): Likewise.
26684 [C99-based standards] (cexp2l): Likewise.
26685 [C99-based standards] (cexpm1l): Likewise.
26686 [C99-based standards] (clog10l): Likewise.
26687 [C99-based standards] (clog1pl): Likewise.
26688 [C99-based standards] (clog2l): Likewise.
26689 [C99-based standards] (clgammal): Likewise.
26690 [C99-based standards] (ctgammal): Likewise.
26691 * conform/data/inttypes.h-data [C99-based standards]: Include
26692 stdint.h-data. Remove all expectations for stdint.h contents.
26693 [C99-based standards] (PRI*): Do not allow.
26694 [C99-based standards] (SCN*): Likewise.
26695 [C99-based standards] (*_t): Likewise.
26696 [C99-based-standards] (PRId8): Expect macro.
26697 [C99-based-standards] (PRIi8): Likewise.
26698 [C99-based-standards] (PRIo8): Likewise.
26699 [C99-based-standards] (PRIu8): Likewise.
26700 [C99-based-standards] (PRIx8): Likewise.
26701 [C99-based-standards] (PRIX8): Likewise.
26702 [C99-based-standards] (SCNd8): Likewise.
26703 [C99-based-standards] (SCNi8): Likewise.
26704 [C99-based-standards] (SCNo8): Likewise.
26705 [C99-based-standards] (SCNu8): Likewise.
26706 [C99-based-standards] (SCNx8): Likewise.
26707 [C99-based-standards] (PRIdLEAST8): Likewise.
26708 [C99-based-standards] (PRIiLEAST8): Likewise.
26709 [C99-based-standards] (PRIoLEAST8): Likewise.
26710 [C99-based-standards] (PRIuLEAST8): Likewise.
26711 [C99-based-standards] (PRIxLEAST8): Likewise.
26712 [C99-based-standards] (PRIXLEAST8): Likewise.
26713 [C99-based-standards] (SCNdLEAST8): Likewise.
26714 [C99-based-standards] (SCNiLEAST8): Likewise.
26715 [C99-based-standards] (SCNoLEAST8): Likewise.
26716 [C99-based-standards] (SCNuLEAST8): Likewise.
26717 [C99-based-standards] (SCNxLEAST8): Likewise.
26718 [C99-based-standards] (PRIdFAST8): Likewise.
26719 [C99-based-standards] (PRIiFAST8): Likewise.
26720 [C99-based-standards] (PRIoFAST8): Likewise.
26721 [C99-based-standards] (PRIuFAST8): Likewise.
26722 [C99-based-standards] (PRIxFAST8): Likewise.
26723 [C99-based-standards] (PRIXFAST8): Likewise.
26724 [C99-based-standards] (SCNdFAST8): Likewise.
26725 [C99-based-standards] (SCNiFAST8): Likewise.
26726 [C99-based-standards] (SCNoFAST8): Likewise.
26727 [C99-based-standards] (SCNuFAST8): Likewise.
26728 [C99-based-standards] (SCNxFAST8): Likewise.
26729 [C99-based-standards] (PRId16): Likewise.
26730 [C99-based-standards] (PRIi16): Likewise.
26731 [C99-based-standards] (PRIo16): Likewise.
26732 [C99-based-standards] (PRIu16): Likewise.
26733 [C99-based-standards] (PRIx16): Likewise.
26734 [C99-based-standards] (PRIX16): Likewise.
26735 [C99-based-standards] (SCNd16): Likewise.
26736 [C99-based-standards] (SCNi16): Likewise.
26737 [C99-based-standards] (SCNo16): Likewise.
26738 [C99-based-standards] (SCNu16): Likewise.
26739 [C99-based-standards] (SCNx16): Likewise.
26740 [C99-based-standards] (PRIdLEAST16): Likewise.
26741 [C99-based-standards] (PRIiLEAST16): Likewise.
26742 [C99-based-standards] (PRIoLEAST16): Likewise.
26743 [C99-based-standards] (PRIuLEAST16): Likewise.
26744 [C99-based-standards] (PRIxLEAST16): Likewise.
26745 [C99-based-standards] (PRIXLEAST16): Likewise.
26746 [C99-based-standards] (SCNdLEAST16): Likewise.
26747 [C99-based-standards] (SCNiLEAST16): Likewise.
26748 [C99-based-standards] (SCNoLEAST16): Likewise.
26749 [C99-based-standards] (SCNuLEAST16): Likewise.
26750 [C99-based-standards] (SCNxLEAST16): Likewise.
26751 [C99-based-standards] (PRIdFAST16): Likewise.
26752 [C99-based-standards] (PRIiFAST16): Likewise.
26753 [C99-based-standards] (PRIoFAST16): Likewise.
26754 [C99-based-standards] (PRIuFAST16): Likewise.
26755 [C99-based-standards] (PRIxFAST16): Likewise.
26756 [C99-based-standards] (PRIXFAST16): Likewise.
26757 [C99-based-standards] (SCNdFAST16): Likewise.
26758 [C99-based-standards] (SCNiFAST16): Likewise.
26759 [C99-based-standards] (SCNoFAST16): Likewise.
26760 [C99-based-standards] (SCNuFAST16): Likewise.
26761 [C99-based-standards] (SCNxFAST16): Likewise.
26762 [C99-based-standards] (PRId32): Likewise.
26763 [C99-based-standards] (PRIi32): Likewise.
26764 [C99-based-standards] (PRIo32): Likewise.
26765 [C99-based-standards] (PRIu32): Likewise.
26766 [C99-based-standards] (PRIx32): Likewise.
26767 [C99-based-standards] (PRIX32): Likewise.
26768 [C99-based-standards] (SCNd32): Likewise.
26769 [C99-based-standards] (SCNi32): Likewise.
26770 [C99-based-standards] (SCNo32): Likewise.
26771 [C99-based-standards] (SCNu32): Likewise.
26772 [C99-based-standards] (SCNx32): Likewise.
26773 [C99-based-standards] (PRIdLEAST32): Likewise.
26774 [C99-based-standards] (PRIiLEAST32): Likewise.
26775 [C99-based-standards] (PRIoLEAST32): Likewise.
26776 [C99-based-standards] (PRIuLEAST32): Likewise.
26777 [C99-based-standards] (PRIxLEAST32): Likewise.
26778 [C99-based-standards] (PRIXLEAST32): Likewise.
26779 [C99-based-standards] (SCNdLEAST32): Likewise.
26780 [C99-based-standards] (SCNiLEAST32): Likewise.
26781 [C99-based-standards] (SCNoLEAST32): Likewise.
26782 [C99-based-standards] (SCNuLEAST32): Likewise.
26783 [C99-based-standards] (SCNxLEAST32): Likewise.
26784 [C99-based-standards] (PRIdFAST32): Likewise.
26785 [C99-based-standards] (PRIiFAST32): Likewise.
26786 [C99-based-standards] (PRIoFAST32): Likewise.
26787 [C99-based-standards] (PRIuFAST32): Likewise.
26788 [C99-based-standards] (PRIxFAST32): Likewise.
26789 [C99-based-standards] (PRIXFAST32): Likewise.
26790 [C99-based-standards] (SCNdFAST32): Likewise.
26791 [C99-based-standards] (SCNiFAST32): Likewise.
26792 [C99-based-standards] (SCNoFAST32): Likewise.
26793 [C99-based-standards] (SCNuFAST32): Likewise.
26794 [C99-based-standards] (SCNxFAST32): Likewise.
26795 [C99-based-standards] (PRId64): Likewise.
26796 [C99-based-standards] (PRIi64): Likewise.
26797 [C99-based-standards] (PRIo64): Likewise.
26798 [C99-based-standards] (PRIu64): Likewise.
26799 [C99-based-standards] (PRIx64): Likewise.
26800 [C99-based-standards] (PRIX64): Likewise.
26801 [C99-based-standards] (SCNd64): Likewise.
26802 [C99-based-standards] (SCNi64): Likewise.
26803 [C99-based-standards] (SCNo64): Likewise.
26804 [C99-based-standards] (SCNu64): Likewise.
26805 [C99-based-standards] (SCNx64): Likewise.
26806 [C99-based-standards] (PRIdLEAST64): Likewise.
26807 [C99-based-standards] (PRIiLEAST64): Likewise.
26808 [C99-based-standards] (PRIoLEAST64): Likewise.
26809 [C99-based-standards] (PRIuLEAST64): Likewise.
26810 [C99-based-standards] (PRIxLEAST64): Likewise.
26811 [C99-based-standards] (PRIXLEAST64): Likewise.
26812 [C99-based-standards] (SCNdLEAST64): Likewise.
26813 [C99-based-standards] (SCNiLEAST64): Likewise.
26814 [C99-based-standards] (SCNoLEAST64): Likewise.
26815 [C99-based-standards] (SCNuLEAST64): Likewise.
26816 [C99-based-standards] (SCNxLEAST64): Likewise.
26817 [C99-based-standards] (PRIdFAST64): Likewise.
26818 [C99-based-standards] (PRIiFAST64): Likewise.
26819 [C99-based-standards] (PRIoFAST64): Likewise.
26820 [C99-based-standards] (PRIuFAST64): Likewise.
26821 [C99-based-standards] (PRIxFAST64): Likewise.
26822 [C99-based-standards] (PRIXFAST64): Likewise.
26823 [C99-based-standards] (SCNdFAST64): Likewise.
26824 [C99-based-standards] (SCNiFAST64): Likewise.
26825 [C99-based-standards] (SCNoFAST64): Likewise.
26826 [C99-based-standards] (SCNuFAST64): Likewise.
26827 [C99-based-standards] (SCNxFAST64): Likewise.
26828 [C99-based-standards] (PRIdMAX): Likewise.
26829 [C99-based-standards] (PRIiMAX): Likewise.
26830 [C99-based-standards] (PRIoMAX): Likewise.
26831 [C99-based-standards] (PRIuMAX): Likewise.
26832 [C99-based-standards] (PRIxMAX): Likewise.
26833 [C99-based-standards] (PRIXMAX): Likewise.
26834 [C99-based-standards] (SCNdMAX): Likewise.
26835 [C99-based-standards] (SCNiMAX): Likewise.
26836 [C99-based-standards] (SCNoMAX): Likewise.
26837 [C99-based-standards] (SCNuMAX): Likewise.
26838 [C99-based-standards] (SCNxMAX): Likewise.
26839 [C99-based-standards] (PRIdPTR): Likewise.
26840 [C99-based-standards] (PRIiPTR): Likewise.
26841 [C99-based-standards] (PRIoPTR): Likewise.
26842 [C99-based-standards] (PRIuPTR): Likewise.
26843 [C99-based-standards] (PRIxPTR): Likewise.
26844 [C99-based-standards] (PRIXPTR): Likewise.
26845 [C99-based-standards] (SCNdPTR): Likewise.
26846 [C99-based-standards] (SCNiPTR): Likewise.
26847 [C99-based-standards] (SCNoPTR): Likewise.
26848 [C99-based-standards] (SCNuPTR): Likewise.
26849 [C99-based-standards] (SCNxPTR): Likewise.
26850 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26852 * conform/data/stdint.h-data: Update comments to clarify
26854 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26856 [C99-based standards] (INT8_MAX): Likewise.
26857 [C99-based standards] (INT16_MIN): Likewise.
26858 [C99-based standards] (INT16_MAX): Likewise.
26859 [C99-based standards] (INT32_MIN): Likewise.
26860 [C99-based standards] (INT32_MAX): Likewise.
26861 [C99-based standards] (INT64_MIN): Likewise.
26862 [C99-based standards] (INT64_MAX): Likewise.
26863 [C99-based standards] (UINT8_MAX): Likewise.
26864 [C99-based standards] (UINT16_MAX): Likewise.
26865 [C99-based standards] (UINT32_MAX): Likewise.
26866 [C99-based standards] (UINT64_MAX): Likewise.
26867 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26868 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26869 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26870 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26871 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26872 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26873 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26874 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26875 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26876 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26877 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26878 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26879 [C99-based standards] (INT_FAST8_MIN): Likewise.
26880 [C99-based standards] (INT_FAST8_MAX): Likewise.
26881 [C99-based standards] (INT_FAST16_MIN): Likewise.
26882 [C99-based standards] (INT_FAST16_MAX): Likewise.
26883 [C99-based standards] (INT_FAST32_MIN): Likewise.
26884 [C99-based standards] (INT_FAST32_MAX): Likewise.
26885 [C99-based standards] (INT_FAST64_MIN): Likewise.
26886 [C99-based standards] (INT_FAST64_MAX): Likewise.
26887 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26888 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26889 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26890 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26891 [C99-based standards] (INTPTR_MIN): Likewise.
26892 [C99-based standards] (INTPTR_MAX): Likewise.
26893 [C99-based standards] (UINTPTR_MAX): Likewise.
26894 [C99-based standards] (INTMAX_MIN): Likewise.
26895 [C99-based standards] (INTMAX_MAX): Likewise.
26896 [C99-based standards] (UINTMAX_MAX): Likewise.
26897 [C99-based standards] (PTRDIFF_MIN): Likewise.
26898 [C99-based standards] (PTRDIFF_MAX): Likewise.
26899 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26900 [C99-based standards] (SIZE_MAX): Likewise.
26901 [C99-based standards] (WCHAR_MAX): Likewise.
26902 [C99-based standards] (WINT_MAX): Likewise.
26903 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26904 constraint on value.
26905 [C99-based standards] (WCHAR_MIN): Likewise.
26906 [C99-based standards] (WINT_MIN): Likewise.
26907 [C99-based standards] (*_t): Allow.
26908 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26909 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26910 Include math.h-data and complex.h-data. Remove all expectations
26911 of math.h and complex.h contents.
26912 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26914 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26915 (struct tm): Expect tag.
26916 [C99-based-standards] (wcstof): Expect function.
26917 [C99-based-standards] (wcstold): Likewise.
26918 [C99-based-standards] (wcstoll): Likewise.
26919 [C99-based-standards] (wcstoull): Likewise.
26920 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26921 macro-int-constant. Specify type.
26922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26923 constraint on value.
26924 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26926 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26928 [ISO C standards]: Do not allow headers.
26929 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26930 wcs[abcdefghijklmnopqrstuvwxyz]*.
26931 [ISO C standards] (*_t): Do not allow.
26932 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26934 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26935 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26937 [ISO C standards]: Do not allow headers.
26938 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26939 is[abcdefghijklmnopqrstuvwxyz]*.
26940 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26941 to[abcdefghijklmnopqrstuvwxyz]*.
26942 [ISO C standards] (*_t): Do not allow.
26943 * conform/data/stdalign.h-data: New file.
26944 * conform/data/stdbool.h-data: Likewise.
26945 * conform/data/stdnoreturn.h-data: Likewise.
26947 2012-11-07 Roland McGrath <roland@hack.frob.com>
26950 * manual/filesys.texi (Directory Entries): Typo fix.
26951 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26953 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26955 * elf/elf.h (EM_AARCH64): New macro.
26956 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26957 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26958 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26959 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26960 (R_AARCH64_TLSDESC): Likewise.
26961 (NT_ARM_TLS): Likewise.
26962 (NT_ARM_HW_BREAK): Likewise.
26963 (NT_ARM_HW_WATCH): Likewise.
26965 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26968 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26969 (__ieee754_powl): Saturate nonzero exponents with absolute value
26970 below 0x1p-79 to +/- 0x1p-79.
26971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26972 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26973 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26974 nonzero exponents with absolute value below 0x1p-32 to +/-
26976 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26977 (__ieee754_powl): Saturate nonzero exponents with absolute value
26978 below 0x1p-79 to +/- 0x1p-79.
26979 * math/libm-test.inc (pow_test): Add more tests.
26981 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26984 _dl_s390_cap_flags with kernel. Increase string length.
26985 (_dl_s390_platforms): Add z196 and zEC12.
26987 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26989 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26990 Change XOPEN21K to XOPEN2K.
26992 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26994 * string/memmove.c: Use memcpy when possible.
26996 2012-11-06 Andreas Jaeger <aj@suse.de>
26998 * po/eo.po: Update from translation team.
27000 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27004 exponent and small x and y exponents, scale x or y up. Increase
27005 by 2 the exponent used in scaling up.
27006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27008 * math/libm-test.inc (fma_test): Add more tests.
27009 (fma_test_towardzero): Likewise.
27010 (fma_test_downward): Likewise.
27011 (fma_test_upward): Likewise.
27013 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27016 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27020 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27021 namespace for names of struct fields.
27022 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27024 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27025 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27027 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27030 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27032 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27034 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27038 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27041 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27045 definitely overflow as x * y not x * y + z.
27046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27048 * math/libm-test.inc (fma_test): Add more tests.
27049 (fma_test_towardzero): Likewise.
27050 (fma_test_downward): Likewise.
27051 (fma_test_upward): Likewise.
27053 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27057 * include/stub-tag.h: Remove file.
27058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27060 * manual/maint.texi (Porting): Don't reference it.
27061 * Makerules ($(objpfx)stubs): Likewise.
27062 * dirent/closedir.c: Don't include <stub-tag.h>.
27063 * dirent/dirfd.c: Likewise.
27064 * dirent/fdopendir.c: Likewise.
27065 * dirent/getdents.c: Likewise.
27066 * dirent/getdents64.c: Likewise.
27067 * dirent/opendir.c: Likewise.
27068 * dirent/readdir.c: Likewise.
27069 * dirent/readdir64.c: Likewise.
27070 * dirent/readdir64_r.c: Likewise.
27071 * dirent/readdir_r.c: Likewise.
27072 * dirent/rewinddir.c: Likewise.
27073 * dirent/seekdir.c: Likewise.
27074 * dirent/telldir.c: Likewise.
27075 * gmon/profil.c: Likewise.
27076 * grp/setgroups.c: Likewise.
27077 * inet/if_index.c: Likewise.
27078 * io/access.c: Likewise.
27079 * io/chdir.c: Likewise.
27080 * io/chmod.c: Likewise.
27081 * io/chown.c: Likewise.
27082 * io/close.c: Likewise.
27083 * io/dup.c: Likewise.
27084 * io/dup2.c: Likewise.
27085 * io/dup3.c: Likewise.
27086 * io/euidaccess.c: Likewise.
27087 * io/faccessat.c: Likewise.
27088 * io/fchdir.c: Likewise.
27089 * io/fchmod.c: Likewise.
27090 * io/fchmodat.c: Likewise.
27091 * io/fchown.c: Likewise.
27092 * io/fchownat.c: Likewise.
27093 * io/fcntl.c: Likewise.
27094 * io/flock.c: Likewise.
27095 * io/fstatfs.c: Likewise.
27096 * io/fstatfs64.c: Likewise.
27097 * io/fstatvfs.c: Likewise.
27098 * io/fstatvfs64.c: Likewise.
27099 * io/futimens.c: Likewise.
27100 * io/fxstat.c: Likewise.
27101 * io/fxstat64.c: Likewise.
27102 * io/fxstatat.c: Likewise.
27103 * io/fxstatat64.c: Likewise.
27104 * io/getcwd.c: Likewise.
27105 * io/isatty.c: Likewise.
27106 * io/lchmod.c: Likewise.
27107 * io/lchown.c: Likewise.
27108 * io/link.c: Likewise.
27109 * io/linkat.c: Likewise.
27110 * io/lseek.c: Likewise.
27111 * io/lseek64.c: Likewise.
27112 * io/lxstat64.c: Likewise.
27113 * io/mkdir.c: Likewise.
27114 * io/mkdirat.c: Likewise.
27115 * io/mkfifo.c: Likewise.
27116 * io/mkfifoat.c: Likewise.
27117 * io/open.c: Likewise.
27118 * io/open64.c: Likewise.
27119 * io/openat.c: Likewise.
27120 * io/openat64.c: Likewise.
27121 * io/pipe.c: Likewise.
27122 * io/pipe2.c: Likewise.
27123 * io/poll.c: Likewise.
27124 * io/posix_fadvise.c: Likewise.
27125 * io/posix_fadvise64.c: Likewise.
27126 * io/posix_fallocate.c: Likewise.
27127 * io/posix_fallocate64.c: Likewise.
27128 * io/read.c: Likewise.
27129 * io/readlink.c: Likewise.
27130 * io/readlinkat.c: Likewise.
27131 * io/rmdir.c: Likewise.
27132 * io/sendfile.c: Likewise.
27133 * io/sendfile64.c: Likewise.
27134 * io/statfs.c: Likewise.
27135 * io/statfs64.c: Likewise.
27136 * io/statvfs.c: Likewise.
27137 * io/statvfs64.c: Likewise.
27138 * io/symlink.c: Likewise.
27139 * io/symlinkat.c: Likewise.
27140 * io/ttyname.c: Likewise.
27141 * io/ttyname_r.c: Likewise.
27142 * io/umask.c: Likewise.
27143 * io/unlink.c: Likewise.
27144 * io/unlinkat.c: Likewise.
27145 * io/utime.c: Likewise.
27146 * io/utimensat.c: Likewise.
27147 * io/write.c: Likewise.
27148 * io/xmknod.c: Likewise.
27149 * io/xmknodat.c: Likewise.
27150 * io/xstat.c: Likewise.
27151 * io/xstat64.c: Likewise.
27152 * login/getpt.c: Likewise.
27153 * login/grantpt.c: Likewise.
27154 * login/unlockpt.c: Likewise.
27155 * math/e_acoshl.c: Likewise.
27156 * math/e_acosl.c: Likewise.
27157 * math/e_asinl.c: Likewise.
27158 * math/e_atan2l.c: Likewise.
27159 * math/e_atanhl.c: Likewise.
27160 * math/e_coshl.c: Likewise.
27161 * math/e_expl.c: Likewise.
27162 * math/e_fmodl.c: Likewise.
27163 * math/e_gammal_r.c: Likewise.
27164 * math/e_hypotl.c: Likewise.
27165 * math/e_j0l.c: Likewise.
27166 * math/e_j1l.c: Likewise.
27167 * math/e_jnl.c: Likewise.
27168 * math/e_lgammal_r.c: Likewise.
27169 * math/e_log10l.c: Likewise.
27170 * math/e_log2l.c: Likewise.
27171 * math/e_logl.c: Likewise.
27172 * math/e_powl.c: Likewise.
27173 * math/e_rem_pio2l.c: Likewise.
27174 * math/e_sinhl.c: Likewise.
27175 * math/e_sqrtl.c: Likewise.
27176 * math/fclrexcpt.c: Likewise.
27177 * math/fedisblxcpt.c: Likewise.
27178 * math/feenablxcpt.c: Likewise.
27179 * math/fegetenv.c: Likewise.
27180 * math/fegetexcept.c: Likewise.
27181 * math/fegetround.c: Likewise.
27182 * math/feholdexcpt.c: Likewise.
27183 * math/fesetenv.c: Likewise.
27184 * math/fesetround.c: Likewise.
27185 * math/feupdateenv.c: Likewise.
27186 * math/fgetexcptflg.c: Likewise.
27187 * math/fraiseexcpt.c: Likewise.
27188 * math/fsetexcptflg.c: Likewise.
27189 * math/ftestexcept.c: Likewise.
27190 * math/k_cosl.c: Likewise.
27191 * math/k_rem_pio2l.c: Likewise.
27192 * math/k_sinl.c: Likewise.
27193 * math/k_tanl.c: Likewise.
27194 * math/s_asinhl.c: Likewise.
27195 * math/s_atanl.c: Likewise.
27196 * math/s_cbrtl.c: Likewise.
27197 * math/s_erfl.c: Likewise.
27198 * math/s_expm1l.c: Likewise.
27199 * math/s_log1pl.c: Likewise.
27200 * math/s_tanhl.c: Likewise.
27201 * misc/acct.c: Likewise.
27202 * misc/brk.c: Likewise.
27203 * misc/chflags.c: Likewise.
27204 * misc/chroot.c: Likewise.
27205 * misc/fchflags.c: Likewise.
27206 * misc/fgetxattr.c: Likewise.
27207 * misc/flistxattr.c: Likewise.
27208 * misc/fremovexattr.c: Likewise.
27209 * misc/fsetxattr.c: Likewise.
27210 * misc/fsync.c: Likewise.
27211 * misc/ftruncate.c: Likewise.
27212 * misc/futimes.c: Likewise.
27213 * misc/futimesat.c: Likewise.
27214 * misc/getdomain.c: Likewise.
27215 * misc/getdtsz.c: Likewise.
27216 * misc/gethostid.c: Likewise.
27217 * misc/gethostname.c: Likewise.
27218 * misc/getloadavg.c: Likewise.
27219 * misc/getpagesize.c: Likewise.
27220 * misc/getsysstats.c: Likewise.
27221 * misc/getxattr.c: Likewise.
27222 * misc/gtty.c: Likewise.
27223 * misc/ioctl.c: Likewise.
27224 * misc/lgetxattr.c: Likewise.
27225 * misc/listxattr.c: Likewise.
27226 * misc/llistxattr.c: Likewise.
27227 * misc/lremovexattr.c: Likewise.
27228 * misc/lsetxattr.c: Likewise.
27229 * misc/lutimes.c: Likewise.
27230 * misc/madvise.c: Likewise.
27231 * misc/mincore.c: Likewise.
27232 * misc/mlock.c: Likewise.
27233 * misc/mlockall.c: Likewise.
27234 * misc/mmap.c: Likewise.
27235 * misc/mprotect.c: Likewise.
27236 * misc/msync.c: Likewise.
27237 * misc/munlock.c: Likewise.
27238 * misc/munlockall.c: Likewise.
27239 * misc/munmap.c: Likewise.
27240 * misc/preadv.c: Likewise.
27241 * misc/preadv64.c: Likewise.
27242 * misc/ptrace.c: Likewise.
27243 * misc/pwritev.c: Likewise.
27244 * misc/pwritev64.c: Likewise.
27245 * misc/readv.c: Likewise.
27246 * misc/reboot.c: Likewise.
27247 * misc/remap_file_pages.c: Likewise.
27248 * misc/removexattr.c: Likewise.
27249 * misc/revoke.c: Likewise.
27250 * misc/select.c: Likewise.
27251 * misc/setdomain.c: Likewise.
27252 * misc/setegid.c: Likewise.
27253 * misc/seteuid.c: Likewise.
27254 * misc/sethostid.c: Likewise.
27255 * misc/sethostname.c: Likewise.
27256 * misc/setregid.c: Likewise.
27257 * misc/setreuid.c: Likewise.
27258 * misc/setxattr.c: Likewise.
27259 * misc/sstk.c: Likewise.
27260 * misc/stty.c: Likewise.
27261 * misc/swapoff.c: Likewise.
27262 * misc/swapon.c: Likewise.
27263 * misc/sync.c: Likewise.
27264 * misc/syncfs.c: Likewise.
27265 * misc/syscall.c: Likewise.
27266 * misc/truncate.c: Likewise.
27267 * misc/ualarm.c: Likewise.
27268 * misc/usleep.c: Likewise.
27269 * misc/ustat.c: Likewise.
27270 * misc/utimes.c: Likewise.
27271 * misc/vhangup.c: Likewise.
27272 * misc/writev.c: Likewise.
27273 * posix/_exit.c: Likewise.
27274 * posix/alarm.c: Likewise.
27275 * posix/execve.c: Likewise.
27276 * posix/fexecve.c: Likewise.
27277 * posix/fork.c: Likewise.
27278 * posix/fpathconf.c: Likewise.
27279 * posix/getaddrinfo.c: Likewise.
27280 * posix/getegid.c: Likewise.
27281 * posix/geteuid.c: Likewise.
27282 * posix/getgid.c: Likewise.
27283 * posix/getgroups.c: Likewise.
27284 * posix/getlogin.c: Likewise.
27285 * posix/getlogin_r.c: Likewise.
27286 * posix/getpgid.c: Likewise.
27287 * posix/getpid.c: Likewise.
27288 * posix/getppid.c: Likewise.
27289 * posix/getresgid.c: Likewise.
27290 * posix/getresuid.c: Likewise.
27291 * posix/getsid.c: Likewise.
27292 * posix/getuid.c: Likewise.
27293 * posix/glob64.c: Likewise.
27294 * posix/nanosleep.c: Likewise.
27295 * posix/pathconf.c: Likewise.
27296 * posix/pause.c: Likewise.
27297 * posix/posix_madvise.c: Likewise.
27298 * posix/pread.c: Likewise.
27299 * posix/pread64.c: Likewise.
27300 * posix/pwrite.c: Likewise.
27301 * posix/pwrite64.c: Likewise.
27302 * posix/sched_getaffinity.c: Likewise.
27303 * posix/sched_getp.c: Likewise.
27304 * posix/sched_gets.c: Likewise.
27305 * posix/sched_primax.c: Likewise.
27306 * posix/sched_primin.c: Likewise.
27307 * posix/sched_rr_gi.c: Likewise.
27308 * posix/sched_setaffinity.c: Likewise.
27309 * posix/sched_setp.c: Likewise.
27310 * posix/sched_sets.c: Likewise.
27311 * posix/sched_yield.c: Likewise.
27312 * posix/setgid.c: Likewise.
27313 * posix/setlogin.c: Likewise.
27314 * posix/setpgid.c: Likewise.
27315 * posix/setresgid.c: Likewise.
27316 * posix/setresuid.c: Likewise.
27317 * posix/setsid.c: Likewise.
27318 * posix/setuid.c: Likewise.
27319 * posix/sleep.c: Likewise.
27320 * posix/spawni.c: Likewise.
27321 * posix/sysconf.c: Likewise.
27322 * posix/times.c: Likewise.
27323 * posix/wait.c: Likewise.
27324 * posix/wait3.c: Likewise.
27325 * posix/wait4.c: Likewise.
27326 * posix/waitpid.c: Likewise.
27327 * resolv/gai_sigqueue.c: Likewise.
27328 * resource/getpriority.c: Likewise.
27329 * resource/getrlimit.c: Likewise.
27330 * resource/getrusage.c: Likewise.
27331 * resource/nice.c: Likewise.
27332 * resource/setpriority.c: Likewise.
27333 * resource/setrlimit.c: Likewise.
27334 * resource/ulimit.c: Likewise.
27335 * rt/aio_cancel.c: Likewise.
27336 * rt/aio_fsync.c: Likewise.
27337 * rt/aio_read.c: Likewise.
27338 * rt/aio_sigqueue.c: Likewise.
27339 * rt/aio_suspend.c: Likewise.
27340 * rt/aio_write.c: Likewise.
27341 * rt/clock_getres.c: Likewise.
27342 * rt/clock_gettime.c: Likewise.
27343 * rt/clock_nanosleep.c: Likewise.
27344 * rt/clock_settime.c: Likewise.
27345 * rt/lio_listio.c: Likewise.
27346 * rt/mq_close.c: Likewise.
27347 * rt/mq_getattr.c: Likewise.
27348 * rt/mq_notify.c: Likewise.
27349 * rt/mq_open.c: Likewise.
27350 * rt/mq_receive.c: Likewise.
27351 * rt/mq_send.c: Likewise.
27352 * rt/mq_setattr.c: Likewise.
27353 * rt/mq_timedreceive.c: Likewise.
27354 * rt/mq_timedsend.c: Likewise.
27355 * rt/mq_unlink.c: Likewise.
27356 * rt/shm_open.c: Likewise.
27357 * rt/shm_unlink.c: Likewise.
27358 * rt/timer_create.c: Likewise.
27359 * rt/timer_delete.c: Likewise.
27360 * rt/timer_getoverr.c: Likewise.
27361 * rt/timer_gettime.c: Likewise.
27362 * rt/timer_settime.c: Likewise.
27363 * setjmp/__longjmp.c: Likewise.
27364 * setjmp/setjmp.c: Likewise.
27365 * signal/kill.c: Likewise.
27366 * signal/killpg.c: Likewise.
27367 * signal/raise.c: Likewise.
27368 * signal/sigaction.c: Likewise.
27369 * signal/sigaltstack.c: Likewise.
27370 * signal/sigblock.c: Likewise.
27371 * signal/sigignore.c: Likewise.
27372 * signal/sigintr.c: Likewise.
27373 * signal/signal.c: Likewise.
27374 * signal/sigpause.c: Likewise.
27375 * signal/sigpending.c: Likewise.
27376 * signal/sigqueue.c: Likewise.
27377 * signal/sigreturn.c: Likewise.
27378 * signal/sigset.c: Likewise.
27379 * signal/sigsetmask.c: Likewise.
27380 * signal/sigstack.c: Likewise.
27381 * signal/sigsuspend.c: Likewise.
27382 * signal/sigtimedwait.c: Likewise.
27383 * signal/sigvec.c: Likewise.
27384 * signal/sigwait.c: Likewise.
27385 * signal/sigwaitinfo.c: Likewise.
27386 * signal/sysv_signal.c: Likewise.
27387 * socket/accept.c: Likewise.
27388 * socket/accept4.c: Likewise.
27389 * socket/bind.c: Likewise.
27390 * socket/connect.c: Likewise.
27391 * socket/getpeername.c: Likewise.
27392 * socket/getsockname.c: Likewise.
27393 * socket/getsockopt.c: Likewise.
27394 * socket/isfdtype.c: Likewise.
27395 * socket/listen.c: Likewise.
27396 * socket/recv.c: Likewise.
27397 * socket/recvfrom.c: Likewise.
27398 * socket/recvmsg.c: Likewise.
27399 * socket/send.c: Likewise.
27400 * socket/sendmsg.c: Likewise.
27401 * socket/sendto.c: Likewise.
27402 * socket/setsockopt.c: Likewise.
27403 * socket/shutdown.c: Likewise.
27404 * socket/sockatmark.c: Likewise.
27405 * socket/socket.c: Likewise.
27406 * socket/socketpair.c: Likewise.
27407 * stdio-common/ctermid.c: Likewise.
27408 * stdio-common/cuserid.c: Likewise.
27409 * stdio-common/remove.c: Likewise.
27410 * stdio-common/rename.c: Likewise.
27411 * stdio-common/renameat.c: Likewise.
27412 * stdio-common/tempname.c: Likewise.
27413 * stdlib/getcontext.c: Likewise.
27414 * stdlib/makecontext.c: Likewise.
27415 * stdlib/setcontext.c: Likewise.
27416 * stdlib/swapcontext.c: Likewise.
27417 * stdlib/system.c: Likewise.
27418 * streams/fattach.c: Likewise.
27419 * streams/fdetach.c: Likewise.
27420 * streams/getmsg.c: Likewise.
27421 * streams/getpmsg.c: Likewise.
27422 * streams/putmsg.c: Likewise.
27423 * streams/putpmsg.c: Likewise.
27424 * sysdeps/unix/bsd/getpt.c: Likewise.
27425 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27426 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27427 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27430 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27431 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27432 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27433 * sysvipc/msgctl.c: Likewise.
27434 * sysvipc/msgget.c: Likewise.
27435 * sysvipc/msgrcv.c: Likewise.
27436 * sysvipc/msgsnd.c: Likewise.
27437 * sysvipc/semctl.c: Likewise.
27438 * sysvipc/semget.c: Likewise.
27439 * sysvipc/semop.c: Likewise.
27440 * sysvipc/semtimedop.c: Likewise.
27441 * sysvipc/shmat.c: Likewise.
27442 * sysvipc/shmctl.c: Likewise.
27443 * sysvipc/shmdt.c: Likewise.
27444 * sysvipc/shmget.c: Likewise.
27445 * termios/tcdrain.c: Likewise.
27446 * termios/tcflow.c: Likewise.
27447 * termios/tcflush.c: Likewise.
27448 * termios/tcgetattr.c: Likewise.
27449 * termios/tcgetpgrp.c: Likewise.
27450 * termios/tcsendbrk.c: Likewise.
27451 * termios/tcsetattr.c: Likewise.
27452 * termios/tcsetpgrp.c: Likewise.
27453 * time/adjtime.c: Likewise.
27454 * time/clock.c: Likewise.
27455 * time/getitimer.c: Likewise.
27456 * time/gettimeofday.c: Likewise.
27457 * time/setitimer.c: Likewise.
27458 * time/settimeofday.c: Likewise.
27459 * time/stime.c: Likewise.
27460 * time/time.c: Likewise.
27462 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27464 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27467 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27469 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27471 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27475 FE_TONEAREST before applying Dekker multiplication and Knuth
27476 addition. Clear inexact exceptions and check for exact zero
27477 results afterwards.
27478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27481 * math/libm-test.inc (fma_test): Add more tests.
27482 (fma_test_towardzero): Likewise.
27483 (fma_test_downward): Likewise.
27484 (fma_test_upward): Likewise.
27485 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27487 (libc_fesetround): New macro.
27488 (libc_fesetroundf): Likewise.
27489 (libc_fesetroundl): Likewise.
27490 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27492 (libc_fesetround_387): Likewise.
27493 (libc_fesetroundf): New macro.
27494 (libc_fesetround): Likewise.
27495 (libc_fesetroundl): Likewise.
27496 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27498 (libc_fesetroundf): New macro.
27499 (libc_fesetround): Likewise.
27500 (libc_fesetroundl): Likewise.
27501 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27502 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27503 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27505 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27506 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27508 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27509 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27511 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27515 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27516 integer constant usable in #if and use that to give value to enum
27518 (FE_DIVBYZERO): Likewise.
27519 (FE_UNDERFLOW): Likewise.
27520 (FE_OVERFLOW): Likewise.
27521 (FE_INVALID): Likewise.
27522 (FE_INVALID_SNAN): Likewise.
27523 (FE_INVALID_ISI): Likewise.
27524 (FE_INVALID_IDI): Likewise.
27525 (FE_INVALID_ZDZ): Likewise.
27526 (FE_INVALID_IMZ): Likewise.
27527 (FE_INVALID_COMPARE): Likewise.
27528 (FE_INVALID_SOFTWARE): Likewise.
27529 (FE_INVALID_SQRT): Likewise.
27530 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27531 (FE_TONEAREST): Likewise.
27532 (FE_TOWARDZERO): Likewise.
27533 (FE_UPWARD): Likewise.
27534 (FE_DOWNWARD): Likewise.
27535 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27536 (FE_DIVBYZERO): Likewise.
27537 (FE_OVERFLOW): Likewise.
27538 (FE_UNDERFLOW): Likewise.
27539 (FE_INEXACT): Likewise.
27540 (FE_TONEAREST): Likewise.
27541 (FE_DOWNWARD): Likewise.
27542 (FE_UPWARD): Likewise.
27543 (FE_TOWARDZERO): Likewise.
27544 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27545 (FE_UNDERFLOW): Likewise.
27546 (FE_OVERFLOW): Likewise.
27547 (FE_DIVBYZERO): Likewise.
27548 (FE_INVALID): Likewise.
27549 (FE_TONEAREST): Likewise.
27550 (FE_TOWARDZERO): Likewise.
27551 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27552 (FE_OVERFLOW): Likewise.
27553 (FE_UNDERFLOW): Likewise.
27554 (FE_DIVBYZERO): Likewise.
27555 (FE_INEXACT): Likewise.
27556 (FE_TONEAREST): Likewise.
27557 (FE_TOWARDZERO): Likewise.
27558 (FE_UPWARD): Likewise.
27559 (FE_DOWNWARD): Likewise.
27560 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27561 (FE_DIVBYZERO): Likewise.
27562 (FE_OVERFLOW): Likewise.
27563 (FE_UNDERFLOW): Likewise.
27564 (FE_INEXACT): Likewise.
27565 (FE_TONEAREST): Likewise.
27566 (FE_DOWNWARD): Likewise.
27567 (FE_UPWARD): Likewise.
27568 (FE_TOWARDZERO): Likewise.
27570 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27572 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27574 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27576 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27577 commands. Quote $PWD.
27578 (blacklist_exports): Don't use remove_newlines. Replace "declare
27580 (remove_newlines): Remove.
27582 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27584 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27585 * stdlib/stdlib.h (atof): Moved to ...
27586 * include/bits/stdlib-float.h: Here. New file.
27587 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27588 * stdlib/bits/stdlib-float.h: New file.
27589 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27594 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27596 * conform/conformtest.pl (@headers): Add fenv.h.
27597 * conform/data/fenv.h-data: New file.
27598 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27599 include of <math/fenv.h>.
27601 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27602 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27603 && !UNIX98]. Enables tests for XOPEN2K8.
27604 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27605 POSIX2008]: Likewise.
27607 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27608 (struct rusage): Do not expect type or its members.
27611 * math/math.h (FP_NAN): Define macro to integer constant usable in
27612 #if and use that to give value to enum constant.
27613 (FP_INFINITE): Likewise.
27614 (FP_ZERO): Likewise.
27615 (FP_SUBNORMAL): Likewise.
27616 (FP_NORMAL): Likewise.
27618 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27620 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27621 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27624 2012-11-02 Roland McGrath <roland@hack.frob.com>
27626 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27627 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27628 autoconf-time if not.
27629 * configure.in: Remove AC_PREREQ.
27631 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27633 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27634 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27635 of the internal implementation.
27637 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27639 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27640 except include of <misc/sys/syslog.h>.
27642 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27645 function returns with a NULL context exit with zero.
27647 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27649 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27651 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27653 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27654 (run_program_cmd): This.
27655 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27656 (tst_langinfo): New variable. Use it.
27658 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27660 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27661 floating point opcodes.
27663 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27665 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27668 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27670 * sysdeps/mach/hurd/powerpc: Remove directory.
27671 * sysdeps/mach/powerpc: Likewise.
27673 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27675 * scripts/check-local-headers.sh: Ignore c++ headers.
27677 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27679 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27680 __libc_cleanup_region_start argument.
27682 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27687 x * y using scaling, not as x * y + z.
27688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27690 * math/libm-test.inc (fma_test): Add more tests.
27691 (fma_test_towardzero): Likewise.
27692 (fma_test_downward): Likewise.
27693 (fma_test_upward): Likewise.
27695 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27697 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27699 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27701 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27704 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27706 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27708 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27715 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27718 Fix the order of the list for glibc 2.17.
27719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27722 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27726 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27730 for low part of x being zero before using __atanl (y).
27731 * math/libm-test.inc (atan2_test): Add another test.
27733 * manual/install.texi (Configuring and compiling): Document
27734 general use of test-wrapper and test-wrapper-env.
27735 * INSTALL: Regenerated.
27737 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27738 (__fma): Do not extract and scale down low bits on after-rounding
27739 systems when result rounded to normal precision would have normal
27741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27742 (__fmal): Do not extract and scale down low bits on after-rounding
27743 systems when result rounded to normal precision would have normal
27745 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27746 (__fmal): Do not extract and scale down low bits on after-rounding
27747 systems when result rounded to normal precision would have normal
27749 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27751 (fma_test): Add more tests.
27752 (fma_test_towardzero): Likewise.
27753 (fma_test_downward): Likewise.
27754 (fma_test_upward): Likewise.
27756 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27758 * sysdeps/i386/tininess.h: Renamed to ...
27759 * sysdeps/x86/tininess.h: This.
27760 * sysdeps/x86_64/tininess.h: Removed.
27762 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27764 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27765 input. Use $(build-program-cmd).
27766 ($(objpfx)tst-array1-static.out): Likewise.
27767 ($(objpfx)tst-array2.out): Likewise.
27768 ($(objpfx)tst-array3.out): Likewise.
27769 ($(objpfx)tst-array4.out): Likewise.
27770 ($(objpfx)tst-array5.out): Likewise.
27771 ($(objpfx)tst-array5-static.out): Likewise.
27773 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27775 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27778 * nss/nsswitch.h (nss_interface_function): Provide new
27779 macro for use with NSS functions.
27780 * grp/initgroups.c: Use new macro.
27781 * nss/getXXbyYY.c: Likewise.
27782 * nss/getXXbyYY_r.c: Likewise.
27783 * nss/getXXent.c: Likewise.
27784 * nss/getXXent_r.c: Likewise.
27785 * sysdeps/posix/getaddrinfo.c: Likewise.
27787 2012-10-30 Andreas Jaeger <aj@suse.de>
27789 * po/ru.po: Update Russion translation from translation project.
27791 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27796 result and shift together with sticky bit instead of replicating
27797 round-to-nearest rounding.
27798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27800 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27801 missing underflow exceptions.
27802 (fma_test_towardzero): Add more tests.
27803 (fma_test_downward): Likewise.
27804 (fma_test_upward): Likewise.
27807 * sysdeps/generic/tininess.h: New file.
27808 * sysdeps/i386/tininess.h: Likewise.
27809 * sysdeps/sh/tininess.h: Likewise.
27810 * sysdeps/x86_64/tininess.h: Likewise.
27811 * stdlib/tst-strtod-underflow.c: Likewise.
27812 * stdlib/tst-tininess.c: Likewise.
27813 * stdlib/strtod_l.c: Include <tininess.h>.
27814 (round_and_return): Do not set errno for exact underflow cases.
27815 Force an underflow exception when setting errno for underflow.
27816 Determine underflow based on rounding to normal precision if
27817 TININESS_AFTER_ROUNDING.
27818 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27819 ERANGE for exact underflow cases.
27820 * stdlib/Makefile (tests): Add tst-tininess and
27821 tst-strtod-underflow.
27822 ($(objpfx)tst-tininess): Use $(link-libm).
27823 ($(objpfx)tst-strtod-underflow): Likewise.
27825 2012-10-30 Andreas Jaeger <aj@suse.de>
27828 * elf/Makefile (tests): Remove conditional for have-initfini-array
27829 since this is now always required and the variable does not exist
27831 (tests-static): Likewise.
27832 (modules-names): Likewise.
27834 * po/eo.po: Add Esperanto translation from translation project.
27836 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27837 merged with constructor/destructor.
27838 (init_array): Likewise.
27839 * elf/tst-array2dep.c (fini_array): Likewise.
27840 (init_array): Likewise.
27842 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27844 * manual/message.texi: Delete @cartouche tags.
27846 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27848 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27850 * sysdeps/mach/hurd/fsync.c: Likewise.
27852 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27853 [_POSIX_REALTIME_SIGNALS]: Change condition to
27854 [_POSIX_REALTIME_SIGNALS > 0].
27856 2012-10-27 Andreas Jaeger <aj@suse.de>
27858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27859 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27861 [__WORDSIZE != 64]: Likewise.
27863 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27865 * iconvdata/tst-table.sh: Remove ${SHELL}.
27866 * iconvdata/tst-tables.sh: Likewise.
27868 2012-10-25 David S. Miller <davem@davemloft.net>
27870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27871 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27877 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27878 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27881 2012-10-25 Roland McGrath <roland@hack.frob.com>
27883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27884 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27887 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27888 Jim Blandy <jimb@codesourcery.com>
27890 * scripts/cross-test-ssh.sh: New file.
27891 * manual/install.texi (Configuring and compiling): Document use of
27893 * INSTALL: Regenerated.
27895 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27897 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27900 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27902 * Makeconfig (run-program-prefix): Fix comment.
27904 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27905 Jim Blandy <jimb@codesourcery.com>
27907 * Makeconfig (test-wrapper): New variable,
27908 (test-wrapper-env): Likewise.
27909 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27910 (run-built-tests): Define to yes.
27911 (run-program-prefix): Use $(test-wrapper).
27912 (built-program-cmd): Likewise.
27913 * Rules (make-test-out): Use $(test-wrapper-env) and
27914 $(host-built-program-cmd).
27915 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27916 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27918 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27919 $(test-wrapper-env) to tst-rtld-load-self.sh.
27920 ($(objpfx)order2.out): Use $(test-wrapper).
27921 ($(objpfx)tst-initorder.out): Likewise.
27922 ($(objpfx)tst-initorder2.out): Likewise.
27923 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27924 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27925 (test_wrapper_env): New variable. Use it to run ld.so.
27926 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27927 Use it to run ld.so.
27928 (test_wrapper_env): Likewise.
27929 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27930 $(test-wrapper) to run-iconv-test.sh.
27931 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27932 (ICONV): Use $test_wrapper.
27933 * posix/Makefile ($(objpfx)globtest.out): Pass
27934 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27935 globtest.sh, not $(run-program-prefix).
27936 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27937 (test_wrapper): Likewise.
27938 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27939 set together with run_via_rtld_prefix.
27940 (run_program_prefix): Define in terms of test_wrapper and
27941 run_via_rtld_prefix.
27943 2012-10-24 Roland McGrath <roland@hack.frob.com>
27945 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27946 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27950 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27951 Declare __clock_getres, __clock_gettime, __clock_settime,
27952 __clock_nanosleep, and __clock_getcpuclockid.
27953 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27954 Remove librt_hidden_def (clock_gettime).
27955 * sysdeps/unix/clock_gettime.c: Likewise.
27956 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27958 * rt/clock_getres.c: Define __clock_getres as an alias.
27959 * sysdeps/posix/clock_getres.c: Likewise.
27960 * rt/clock_settime.c: Define __clock_settime as an alias.
27961 * sysdeps/unix/clock_settime.c: Likewise.
27962 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27963 * sysdeps/unix/clock_nanosleep.c: Likewise.
27964 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27965 * rt/clock-compat.c: New file.
27966 * rt/Makefile (librt-routines): Add clock-compat and move
27967 $(clock-routines) to ...
27968 (routines): ... here, new variable.
27969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27970 Don't add get_clockfreq here.
27971 * rt/Versions (libc: GLIBC_2.17): New version set.
27972 Add clock_* symbols here.
27973 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27975 (GLIBC_2.17): Add clock_* symbols.
27976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27987 * NEWS: Mention the move.
27989 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27990 Use __open, __read, __close rather than their public counterparts.
27991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27992 (__get_clockfreq_via_cpuinfo): Likewise.
27993 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27994 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27996 * config.h.in (HAVE_IFUNC): New #undef.
27997 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27999 * configure: Regenerated.
28001 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28003 * configure.in: Move READELF check to start of file.
28004 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28005 libc_cv_asm_gnu_indirect_function in the process.
28006 * configure: Regenerated.
28008 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28010 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28011 send the output to /dev/null.
28012 (libc_cv_cc_with_libunwind): Likewise.
28013 (libc_cv_as_noexecstack): Likewise.
28014 * configure: Regenerate.
28016 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28018 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28020 * posix/globtest.sh (TMPDIR): Do not set.
28021 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28022 (testout): Likewise.
28024 2012-10-24 Andreas Jaeger <aj@suse.de>
28026 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28027 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28028 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28029 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28030 posix_fadvise64, posix_fallocate64.
28032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28033 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28034 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28036 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28038 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28041 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28042 <bits/fcntl-linux.h>.
28043 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28046 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28047 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28048 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28049 [__WORDSIZE != 64]: Likewise.
28051 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28053 * Makeconfig (run-built-tests): New variable.
28054 * Rules [$(cross-compiling) = yes]: Change condition to
28055 [$(run-built-tests) = no].
28056 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28057 to [$(run-built-tests) = yes].
28058 * elf/Makefile [$(cross-compiling) = no]: Likewise
28059 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28060 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28061 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28062 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28063 * io/Makefile [$(cross-compiling) = no]: Likewise.
28064 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28065 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28066 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28067 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28068 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28069 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28070 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28071 * string/Makefile [$(cross-compiling) = no]: Likewise.
28073 * posix/Makefile ($(objpfx)globtest.out): Pass
28074 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28075 $(rtld-installed-name).
28076 * posix/globtest.sh (elf_objpfx): Remove variable.
28077 (rtld_installed_name): Likewise.
28078 (library_path): Likewise.
28079 (run_program_prefix): New variable. Use for running globtest
28082 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28083 Joseph Myers <joseph@codesourcery.com>
28085 * Makeconfig (host-built-program-cmd): New variable.
28086 * elf/Makefile (tst-stackguard1-ARGS): Use
28087 $(host-built-program-cmd).
28088 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28089 (tst-spawn-ARGS): Likewise.
28090 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28092 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28093 Jim Blandy <jimb@codesourcery.com>
28095 * Makeconfig (run-via-rtld-prefix): New variable.
28096 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28097 (built-program-cmd): Likewise.
28099 2012-10-22 Andreas Jaeger <aj@suse.de>
28101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28102 __O_RSYNC if it exists, otherwise to O_SYNC.
28104 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28105 Joseph Myers <joseph@codesourcery.com>
28107 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28109 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28111 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28114 2012-10-22 Andreas Jaeger <aj@suse.de>
28116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28121 bits/fcntl-linux.h.
28123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28124 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28131 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28132 Joseph Myers <joseph@codesourcery.com>
28134 * config.make.in (NM): New variable.
28136 2012-10-21 Andreas Jaeger <aj@suse.de>
28138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28139 definitions and declarations that are provided by
28140 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28142 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28145 * elf/Makefile (tests-static): Add tst-leaks1-static.
28146 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28147 ($(objpfx)tst-leaks1-static): New rule.
28148 ($(objpfx)tst-leaks1-static-mem): Likewise.
28149 (tst-leaks1-static-ENV): New macro.
28150 * elf/dl-open.c (dl_open_worker): Check the main application
28151 only if SHARED is defined.
28152 * elf/tst-leaks1-static.c: New file.
28154 2012-10-20 Andreas Jaeger <aj@suse.de>
28156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28157 generic values for Linux.
28158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28159 and declarations that are provided by <bits/fcntl-linux.h> and
28160 include <bits/fcntl-linux.h>.
28161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28164 2012-10-20 Roland McGrath <roland@hack.frob.com>
28166 * io/fcntl.h: Move include of <bits/types.h> to the top and
28167 include it unconditionally.
28169 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28171 * wcsmbs/Makefile (tests-ifunc): New variable.
28172 (tests): Add $(tests-ifunc).
28173 * wcsmbs/test-wcschr-ifunc.c: New file.
28174 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28175 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28176 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28177 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28178 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28180 * string/Makefile (tests-ifunc): New variable.
28181 (tests): Add $(tests-ifunc).
28182 * string/test-memccpy.c (TEST_NAME): New macro.
28183 * string/test-memchr.c (TEST_NAME): Likewise.
28184 * string/test-memcmp.c (TEST_NAME): Likewise.
28185 * string/test-memcpy.c (TEST_NAME): Likewise.
28186 * string/test-memmem.c (TEST_NAME): Likewise.
28187 * string/test-memmove.c (TEST_NAME): Likewise.
28188 * string/test-memset.c (TEST_NAME): Likewise.
28189 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28190 * string/test-stpcpy.c (TEST_NAME): Likewise.
28191 * string/test-stpncpy.c (TEST_NAME): Likewise.
28192 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28193 * string/test-strcasestr.c (TEST_NAME): Likewise.
28194 * string/test-strcat.c (TEST_NAME): Likewise.
28195 * string/test-strchr.c (TEST_NAME): Likewise.
28196 * string/test-strcmp.c(TEST_NAME): Likewise.
28197 * string/test-strcpy.c (TEST_NAME): Likewise.
28198 * string/test-strcspn.c (TEST_NAME): Likewise.
28199 * string/test-strlen.c (TEST_NAME): Likewise.
28200 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28201 * string/test-strncmp.c (TEST_NAME): Likewise.
28202 * string/test-strncpy.c (TEST_NAME): Likewise.
28203 * string/test-strnlen.c (TEST_NAME): Likewise.
28204 * string/test-strpbrk.c (TEST_NAME): Likewise.
28205 * string/test-strrchr.c (TEST_NAME): Likewise.
28206 * string/test-strspn.c (TEST_NAME): Likewise.
28207 * string/test-strstr.c (TEST_NAME): Likewise.
28208 * string/test-bcopy-ifunc.c: New file.
28209 * string/test-bzero-ifunc.c: Likewise.
28210 * string/test-memccpy-ifunc.c: Likewise.
28211 * string/test-memchr-ifunc.c: Likewise.
28212 * string/test-memcmp-ifunc.c: Likewise.
28213 * string/test-memcpy-ifunc.c: Likewise.
28214 * string/test-memmem-ifunc.c: Likewise.
28215 * string/test-memmove-ifunc.c: Likewise.
28216 * string/test-mempcpy-ifunc.c: Likewise.
28217 * string/test-memset-ifunc.c: Likewise.
28218 * string/test-rawmemchr-ifunc.c: Likewise.
28219 * string/test-stpcpy-ifunc.c: Likewise.
28220 * string/test-stpncpy-ifunc.c: Likewise.
28221 * string/test-strcasecmp-ifunc.c: Likewise.
28222 * string/test-strcasestr-ifunc.c: Likewise.
28223 * string/test-strcat-ifunc.c: Likewise.
28224 * string/test-strchr-ifunc.c: Likewise.
28225 * string/test-strchrnul-ifunc.c: Likewise.
28226 * string/test-strcmp-ifunc.c: Likewise.
28227 * string/test-strcpy-ifunc.c: Likewise.
28228 * string/test-strcspn-ifunc.c: Likewise.
28229 * string/test-strlen-ifunc.c: Likewise.
28230 * string/test-strncasecmp-ifunc.c: Likewise.
28231 * string/test-strncat-ifunc.c: Likewise.
28232 * string/test-strncmp-ifunc.c: Likewise.
28233 * string/test-strncpy-ifunc.c: Likewise.
28234 * string/test-strnlen-ifunc.c: Likewise.
28235 * string/test-strpbrk-ifunc.c: Likewise.
28236 * string/test-strrchr-ifunc.c: Likewise.
28237 * string/test-strspn-ifunc.c: Likewise.
28238 * string/test-strstr-ifunc.c: Likewise.
28240 * debug/Makefile (tests-ifunc): New variable.
28241 (tests): Add $(tests-ifunc).
28242 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28243 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28244 * debug/test-stpcpy_chk-ifunc.c: New file.
28245 * debug/test-strcpy_chk-ifunc.c: Likewise.
28247 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28250 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28251 header is not read in.
28253 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28255 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28256 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28257 directly. Pass built executable to script as
28258 $(built-program-cmd).
28259 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28260 $testprogram without using LD_LIBRARY_PATH and $ldso.
28262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28263 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28264 $(rtld-installed-name).
28265 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28266 (rtld_installed_name): Likewise.
28267 (library_path): Likewise.
28268 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28269 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28270 $(run-program-prefix) to tst-tables.sh.
28271 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28272 it to run tst-table-from and tst-table-to.
28273 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28274 Pass it to tst-table.sh.
28275 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28276 $(run-program-prefix) to tst-gettext.sh.
28277 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28279 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28281 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28282 to run tst-gettext.
28283 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28284 to run tst-gettext2.
28285 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28286 to run tst-translit.
28287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28288 $(run-program-prefix) to tst-mtrace.sh.
28289 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28291 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28292 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28293 $(rtld-installed-name).
28294 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28295 (rtld_installed_name): Likewise.
28296 (run_program_prefix): New variable. Use it to run wordexp-test.
28298 * Makeconfig (ARCH): Remove all definitions.
28299 (machine): Likewise.
28300 [ARCH]: Remove conditional code.
28301 [!objdir]: Give error.
28302 [!objdir] (objpfx): Remove.
28303 [!objdir] (common-objpfx): Likewise.
28304 [!objdir] (common-objdir): Likewise.
28305 * configure.in (config_makefile): Remove. Hardcode Makefile in
28306 AC_CONFIG_FILES call.
28307 * configure: Regenerated.
28310 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28312 (testout): Likewise.
28314 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28315 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28316 $(rtld-installed-name).
28317 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28318 (rtld_installed_name): Likwise.
28319 (runit): Remove function.
28320 (run_getconf): New variable, Use it for running getconf binary.
28322 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28325 * string/test-memmem.c (check_result): New function.
28326 (do_one_test): Use it.
28327 (check1): New function.
28328 (test_main): Use it.
28330 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28332 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28334 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28336 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28337 (_G_LSEEK64): Likewise.
28338 (_G_MMAP64): Likewise.
28339 (_G_FSTAT64): Likewise.
28340 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28341 (_G_LSEEK64): Likewise.
28342 (_G_MMAP64): Likewise.
28343 (_G_FSTAT64): Likewise.
28344 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28345 unconditional. Call __mmap64 directly.
28346 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28347 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28348 __lseek64 directly.
28349 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28350 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28352 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28353 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28354 __lseek64 directly.
28355 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28356 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28357 __lseek64 directly.
28358 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28359 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28360 __lseek64 directly.
28361 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28362 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28363 __fxstat64 directly.
28364 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28365 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28367 (freopen64) [!_G_OPEN64]: Remove conditional code.
28368 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28370 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28371 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28373 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28374 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28376 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28377 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28379 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28380 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28382 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28383 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28385 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28386 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28388 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28390 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28393 * manual/memory.texi (Malloc Tunable Parameters): Add note
28394 about free list pointers overwriting some perturb bytes.
28395 Wording suggested by Roland McGrath.
28397 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28399 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28400 (lgamma_test): Likewise.
28401 (tgamma_test): Likewise.
28403 2012-10-16 Florian Weimer <fweimer@redhat.com>
28406 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28407 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28409 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28411 * NEWS: Mention BZ #14716.
28412 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28413 when removing AVAILABLE1_USES_J macro.
28415 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28418 (__bswap_64): __uint64_t for unsigned 64-bit int.
28420 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28422 * include/string.h (memmem): Declare libc hidden alias.
28423 * string/memmem.c (memmem): Define libc hidden alias.
28424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28425 __read, __close instead of open, read, close.
28427 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28430 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28432 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28433 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28434 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28436 (__rawmemchr_sse2): Likewise.
28437 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28438 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28439 (__strchr_sse2): Likewise.
28440 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28441 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28442 (__strcasecmp_sse2): Likewise.
28443 (__strncasecmp_sse2): Likewise.
28444 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28445 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28446 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28447 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28448 (__strrchr_sse2): Likewise.
28449 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28451 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28452 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28453 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28455 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28456 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28459 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28460 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28461 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28463 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28464 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28465 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28466 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28467 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28468 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28469 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28470 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28471 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28472 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28473 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28475 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28477 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28479 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28480 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28482 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28484 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28485 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28486 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28487 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28489 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28491 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28492 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28493 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28494 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28505 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28506 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28507 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28517 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28518 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28519 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28521 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28522 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28523 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28524 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28525 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28526 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28529 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28530 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28531 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28532 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28535 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28536 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28538 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28539 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28540 * include/ifunc-impl-list.h: New file.
28541 * misc/ifunc-impl-list.c: Likewise.
28542 * misc/Makefile (routines): Add ifunc-impl-list.
28543 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28544 * string/test-string.h: Include <ifunc-impl-list.h>.
28545 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28546 TEST_NAME]: New variables.
28547 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28549 (test_init): Call __libc_ifunc_impl_list to initialize
28550 func_list if TEST_IFUNC and TEST_NAME are defined.
28552 * string/Makefile (strop-tests): Add bcopy and bzero.
28553 * string/test-bcopy.c: New file.
28554 * string/test-bzero.c: Likewise.
28555 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28557 * string/test-memset.c: Support bzero test if TEST_BZERO is
28559 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28561 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28563 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28566 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28568 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28569 * configure: Regenerated.
28571 * Makeconfig (+link-static-before-libc): Don't include
28572 $(link-static-libc).
28574 * libio/libio.h (_IO_pos_t): Remove.
28576 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28578 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28581 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28583 * crypt/crypt-entry.c: Include fips-private.h.
28584 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28585 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28586 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28587 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28589 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28591 * crypt/crypt-private.h: Include stdbool.h.
28592 (_ufc_setup_salt_r): Return bool.
28593 * crypt/crypt-entry.c: Include errno.h.
28594 (__crypt_r): Return NULL with EINVAL for bad salt.
28595 * crypt/crypt_util.c (bad_for_salt): New.
28596 (_ufc_setup_salt_r): Check that salt is long enough and within
28597 the specified alphabet.
28598 * crypt/badsalttest.c: New file.
28599 * crypt/Makefile (tests): Add it.
28600 ($(objpfx)badsalttest): New.
28602 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28604 * NEWS: Add entry for BZ #14602.
28606 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28608 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28610 * math/libm-test.inc: Update comment listing what functions and
28612 (isgreater_test): New function.
28613 (isgreaterequal_test): Likewise.
28614 (isless_test): Likewise.
28615 (islessequal_test): Likewise.
28616 (islessgreater_test): Likewise.
28617 (isunordered_test): Likewise.
28618 (main): Call the new functions.
28620 2012-10-09 Roland McGrath <roland@hack.frob.com>
28622 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28623 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28624 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28625 * sysdeps/i386/configure: Regenerated.
28626 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28627 * sysdeps/mach/configure: Regenerated.
28628 * sysdeps/mach/hurd/configure: Regenerated.
28629 * sysdeps/powerpc/configure: Regenerated.
28630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28632 * sysdeps/s390/s390-32/configure: Regenerated.
28633 * sysdeps/s390/s390-64/configure: Regenerated.
28634 * sysdeps/sh/configure: Regenerated.
28635 * sysdeps/sparc/configure: Regenerated.
28636 * sysdeps/unix/sysv/linux/configure: Regenerated.
28637 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28638 * sysdeps/x86_64/configure: Regenerated.
28640 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28641 defined. Don't check if MAP is NULL.
28643 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28645 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28646 (_G_stat64): Likewise.
28647 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28648 (_G_stat64): Likewise.
28649 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28650 instead of struct _G_stat64.
28651 * libio/fileops.c (mmap_remap_check): Likewise.
28652 (decide_maybe_mmap): Likewise.
28653 (_IO_new_file_seekoff): Likewise.
28654 (_IO_file_stat): Likewise.
28655 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28657 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28658 instead of struct _G_stat64.
28659 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28661 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28664 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28666 (CHECK_EOL): New macro.
28667 (two_way_short_needle): Check beginning of haystack for EOL. Use
28669 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28670 Replace with CHECK_EOL.
28671 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28672 Replace with CHECK_EOL.
28674 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28676 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28678 * math/libm-test.inc: Update comment listing what functions and
28680 (finite_test): New function.
28681 (isinf_test): Likewise.
28682 (isnan_test): Likewise.
28683 (fpclassify_test): Test subnormal input.
28684 (isfinite_test): Likewise.
28685 (isnormal_test): Likewise.
28686 (main): Call the new functions.
28688 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28691 * Makerules (%.dynsym): Force C locale when running
28692 $(OBJDUMP) --dynamic-syms.
28694 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28699 2012-10-06 David S. Miller <davem@davemloft.net>
28701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28702 upper 32-bits of the length value in %o2 since we use branch-on-register
28703 tests which consider the entire 64-bit register.
28705 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28707 * string/test-strstr.c (check2): Add a test for page boundary.
28709 2012-10-05 David S. Miller <davem@davemloft.net>
28711 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28717 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28718 and bzero when HWCAP_SPARC_CRYPTO is present.
28720 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28723 * string/test-strstr.c (check2): New function.
28724 (test_main): Call check2.
28726 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28728 * string/bug-strcasestr1.c (do_test): Moved to ...
28729 * string/test-strcasestr.c (check1): Here. New function.
28730 (do_one_test): Break out result checking code into ...
28731 (check_result): This. New function.
28732 (do_one_test): Call check_result.
28733 (test_main): Call check1.
28734 * string/bug-strchr1.c (do_test): Moved to ...
28735 * string/test-strchr.c (check1): Here. New function.
28736 (do_one_test): Break out result checking code into ...
28737 (check_result): This. New function.
28738 (do_one_test): Call check_result.
28739 (test_main): Call check1.
28740 * string/bug-strstr1.c (main): Moved to ...
28741 * string/test-strstr.c (check1): Here. New function.
28742 (do_one_test): Break out result checking code into ...
28743 (check_result): This. New function.
28744 (do_one_test): Call check_result.
28745 (test_main): Call check1.
28746 * string/bug-strcasestr1.c: Removed.
28747 * string/bug-strchr1.c: Likewise.
28748 * string/bug-strstr1.c: Likewise.
28750 * elf/Makefile (dl-routines): Add hwcaps.
28751 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28752 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28753 (_dl_important_hwcaps): Moved to ...
28754 * elf/dl-hwcaps.c: Here. New file.
28755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28758 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28759 if IS_IN_rtld isn't defined.
28761 * elf/dl-support.c (_dl_sysinfo_map): New.
28762 Include "get-dynamic-info.h" and "setup-vdso.h".
28763 (_dl_non_dynamic_init): Call setup_vdso.
28764 * elf/dynamic-link.h: Don't include <assert.h>.
28765 (elf_get_dynamic_info): Moved to ...
28766 * elf/get-dynamic-info.h: Here. New file.
28767 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28768 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28769 * elf/setup-vdso.h: Here. New file.
28770 * elf/rtld.c: Include "setup-vdso.h".
28771 (dl_main): Call setup_vdso.
28773 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28775 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28776 creal in comment listing functions tested. List finite, isinf,
28777 isnan, isless, islessequal, isgreater, isgreaterequal,
28778 islessgreater, isunordered, lgamma_r and pow10 as functions and
28779 macros not tested. Mention which functions not tested are aliases
28780 for other functions. Fix typo. Note that signs of NaNs are not
28783 * scripts/config.guess: Update from config.git.
28784 * scripts/config.sub: Likewise.
28786 2012-10-04 Roland McGrath <roland@hack.frob.com>
28788 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28789 * misc/madvise.c (madvise): Renamed to __madvise.
28790 Make madvise a weak alias.
28791 * include/sys/mman.h: Declare __madvise.
28792 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28793 * sysdeps/unix/syscalls.list
28794 (madvise): Make __madvise the strong name, and madvise a weak alias.
28795 * sysdeps/unix/sysv/linux/syscalls.list
28796 (madvise, mmap): Remove redundant entries.
28797 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28798 * malloc/malloc.c (mtrim): Likewise.
28799 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28801 2012-10-03 Roland McGrath <roland@hack.frob.com>
28803 * sysdeps/mach/hurd/dl-cache.c: File removed.
28804 * config.h.in (USE_LDCONFIG): New #undef.
28805 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28806 * configure: Regenerated.
28807 * elf/Makefile (dl-routines): Add dl-cache only under
28808 [$(use-ldconfig) = yes].
28809 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28810 cache on [USE_LDCONFIG].
28811 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28813 * elf/rtld.c (dl_main): Likewise.
28815 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28817 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28818 _SC_LEVEL4_CACHE_LINESIZE.
28820 2012-10-03 Roland McGrath <roland@hack.frob.com>
28822 * sysdeps/unix/bsd/confstr.h: File removed.
28824 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28826 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28829 2012-10-02 Roland McGrath <roland@hack.frob.com>
28831 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28832 Make 'mapoff' field ElfW(Off) rather than off_t.
28834 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28836 * nscd/Makefile: Remove nscd-cflags and all its users.
28837 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28838 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28841 * malloc.c (malloc_printerr): Clarify error message.
28843 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28847 Set bit_FMA_Usable if FMA is supported.
28848 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28850 (bit_FMA4_Usable): Updated.
28851 (index_FMA_Usable): New macro.
28852 (CPUID_FMA): Likewise
28853 (HAS_FMA): Defined with bit_FMA_Usable.
28855 2012-10-01 Roland McGrath <roland@hack.frob.com>
28857 * bits/types.h (__swblk_t): Type removed.
28858 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28859 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28861 (__SWBLK_T_TYPE): Likewise.
28862 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28863 (__SWBLK_T_TYPE): Likewise.
28864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28865 (__SWBLK_T_TYPE): Likewise.
28866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28867 (__SWBLK_T_TYPE): Likewise.
28869 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28870 Honza Horak <hhorak@redhat.com>
28872 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28873 (xdr_mapname): Use YPMAXMAP as maxsize.
28874 (xdr_peername): Use YPMAXPEER as maxsize.
28875 (xdr_keydat): Use YPAXRECORD as maxsize.
28876 (xdr_valdat): Use YPMAXRECORD as maxsize.
28878 2012-10-01 Roland McGrath <roland@hack.frob.com>
28880 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28882 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28883 * csu/init-first.c: ... here.
28884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28885 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28888 * sysdeps/i386/init-first.c: File removed.
28889 * sysdeps/sh/init-first.c: File removed.
28891 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28895 if x * y might underflow to zero and z is zero.
28896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28898 * math/libm-test.inc (min_subnorm_value): New variable.
28899 (fma_test): Add more tests.
28900 (fma_test_towardzero): Likewise.
28901 (fma_test_downward): Likewise
28902 (fma_test_upward): Likewise.
28903 (initialize): Set min_subnorm_value.
28905 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28911 mode for addition resulting in exact zero.
28912 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28915 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28917 * math/libm-test.inc (fma_test): Add more tests.
28918 (fma_test_towardzero): New function.
28919 (fma_test_downward): Likewise.
28920 (fma_test_upward): Likewise.
28921 (main): Call the new functions.
28923 2012-09-28 David S. Miller <davem@davemloft.net>
28925 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28927 2012-09-28 Roland McGrath <roland@hack.frob.com>
28929 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28930 instead of SIGALRM.
28932 * sysdeps/gnu/_G_config.h: Moved to ...
28933 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28934 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28935 * sysdeps/generic/_G_config.h: ... here.
28937 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28939 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28941 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28942 Conditionalize target on [libnss_test1.so-version].
28944 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28946 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28947 (elfobjdir): Move out of conditionals.
28949 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28950 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28951 (__nss_lookup_function): Conditionalize label remove_from_tree on
28952 [!DO_STATIC_NSS || SHARED], matching its only use.
28954 2012-09-28 David S. Miller <davem@davemloft.net>
28956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28957 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28959 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28961 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28963 when HWCAP_SPARC_CRYPTO is present.
28965 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28967 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28969 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28972 * stdio-common/vfprintf.c (process_string_arg): Revert
28975 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28977 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28979 * stdio-common/tst-sprintf.c: Include <locale.h>
28980 (main): Test sprintf's handling of incomplete multibyte
28983 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28985 * elf/dl-runtime.c (VERSYMIDX): Removed.
28986 * elf/dl-version.c (VERSYMIDX): Likewise.
28987 * elf/do-rel.h (VERSYMIDX): Likewise.
28988 (VALIDX): Likewise.
28989 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28990 * elf/rtld.c (VALIDX): Likewise.
28991 (ADDRIDX): Likewise.
28992 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28993 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28994 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28995 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28996 (VALIDX): Likewise.
28997 (ADDRIDX): Likewise.
28999 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29001 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29003 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29006 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29008 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29009 addresses are in the same scope as 192.0.2/24.
29010 * posix/gai.conf: Document new scope table defaults.
29012 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29015 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29016 for ftell. Compute offsets from write pointers instead.
29017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29019 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29022 * libio/Makefile (tests): New test case tst-fseek.
29023 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29024 combination works in wide mode.
29025 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29026 state when the external buffer state changes.
29028 2012-09-27 David S. Miller <davem@davemloft.net>
29031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29032 pass reloc->r_addend in as the 'high' argument to
29033 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29037 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29039 * rt/tst-aio2.c: Include <pthread.h>.
29040 * rt/tst-aio3.c: Likewise.
29042 2012-09-27 Steve Ellcey <sellcey@mips.com>
29044 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29046 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29048 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29049 contents on [SHARED].
29051 2012-09-26 Marek Polacek <polacek@redhat.com>
29055 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29056 for C++ and GCC <4.3 as well as for non GCC compilers.
29058 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29062 2012-09-25 Roland McGrath <roland@hack.frob.com>
29064 * Makefile.in (all, install): Declare with .PHONY.
29065 Reported by Michael Hope <michael.hope@linaro.org>.
29067 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29069 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29070 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29074 (sydep_routines): Add the new and the internal functions.
29075 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29076 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29078 (GLIBC_2.17): Add the new function.
29079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29080 (GLIBC_2.17): Likewise.
29081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29082 (GLIBC_2.17): Likewise.
29083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29084 (GLIBC_2.17): Likewise.
29085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29087 2012-09-25 Alan Modra <amodra@gmail.com>
29089 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29090 Add release barrier before setting once_control to say
29091 initialisation is done. Add hints on lwarx. Use macro in
29093 (clear_once_control): Add release barrier.
29095 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29098 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29100 * math/s_clog10.c (__clog10): Likewise.
29101 * math/s_clog10f.c (__clog10f): Likewise.
29102 * math/s_clog10l.c (__clog10l): Likewise.
29103 * math/s_clogf.c (__clogf): Likewise.
29104 * math/s_clogl.c (__clogl): Likewise.
29105 * math/Makefile (libm-calls): Add x2y2m1.
29106 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29107 (__x2y2m1): Likewise.
29108 (__x2y2m1l): Likewise.
29109 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29110 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29113 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29114 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29115 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29116 * sysdeps/i386/fpu/libm-test-ulps: Update.
29117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29120 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29121 int as type of variable DEPTH.
29122 (glob): Use size_t instead of int as type of variables NEWCOUNT
29125 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29128 Add s_sincosf-sse2.
29129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29131 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29132 macros for using routine as __sincosf_ia32.
29133 Use macro for function declaration and weak_alias.
29134 * sysdeps/i386/fpu/libm-test-ulps: Update.
29136 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29139 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29140 subnormal argument.
29141 * math/s_cexpf.c (__cexpf): Likewise.
29142 * math/s_csinf.c (__csinf): Likewise.
29143 * math/s_csinhf.c (__csinhf): Likewise.
29144 * math/s_ctanf.c (__ctanf): Likewise.
29145 * math/s_ctanhf.c (__ctanhf): Likewise.
29146 * math/s_ccosh.c (__ccoshf): Likewise.
29147 * math/s_cexp.c (__cexpl): Likewise.
29148 * math/s_csin.c (__csin): Likewise.
29149 * math/s_csinh.c (__csinh): Likewise.
29150 * math/s_ctan.c (__ctan): Likewise.
29151 * math/s_ctanh.c (ctanh): Likewise.
29152 * math/s_ccoshl.c (__ccoshl): Likewise.
29153 * math/s_cexpl.c (__cexpl): Likewise.
29154 * math/s_csinl.c (__csinl): Likewise.
29155 * math/s_csinhl.c (__csinhl): Likewise.
29156 * math/s_ctanl.c (__ctanl): Likewise.
29157 * math/s_ctanhl.c (__ctanhl): Likewise.
29159 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29161 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29162 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29163 (_IO_off_t): Define to __off_t, not _G_off_t.
29164 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29165 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29166 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29167 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29168 type of __dummy and __dummy2 fields.
29169 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29170 (_G_ssize_t): Likewise.
29171 (_G_off_t): Likewise.
29172 (_G_pid_t): Likewise.
29173 (_G_uid_t): Likewise.
29174 (_G_wchar_t): Likewise.
29175 (_G_wint_t): Likewise.
29176 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29177 (_G_ssize_t): Likewise.
29178 (_G_off_t): Likewise.
29179 (_G_pid_t): Likewise.
29180 (_G_uid_t): Likewise.
29181 (_G_wchar_t): Likewise.
29182 (_G_wint_t): Likewise.
29183 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29184 (_G_ssize_t): Likewise.
29185 (_G_off_t): Likewise.
29186 (_G_pid_t): Likewise.
29187 (_G_uid_t): Likewise.
29188 (_G_wchar_t): Likewise.
29189 (_G_wint_t): Likewise.
29191 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29193 * malloc/arena.c: Include malloc-sysdep.h.
29194 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29195 is sufficient to shrink the heap or an unmap is needed.
29196 * sysdeps/generic/malloc-sysdep.h: New file. Define
29197 new function check_may_shrink_heap.
29198 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29199 new function check_may_shrink_heap.
29201 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29203 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29206 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29208 * catgets/test-gencat.sh: Add "set -e".
29209 * elf/tst-pathopt.sh: Likewise.
29210 * grp/tst_fgetgrent.sh: Likewise.
29211 * iconvdata/run-iconv-test.sh: Likewise.
29212 * intl/tst-gettext.sh: Likewise.
29213 * intl/tst-gettext2.sh: Likewise.
29214 * intl/tst-gettext4.sh: Likewise.
29215 * intl/tst-gettext6.sh: Likewise.
29216 * intl/tst-translit.sh: Likewise.
29217 * io/ftwtest-sh: Likewise.
29218 * libio/test-freopen.sh: Likewise.
29219 * malloc/tst-mtrace.sh: Likewise.
29220 * posix/globtest.sh: Likewise.
29221 * posix/tst-getconf.sh: Likewise.
29222 * posix/wordexp-tst.sh: Likewise.
29223 * stdio-common/tst-printf.sh: Likewise.
29224 * stdio-common/tst-unbputc.sh: Likewise.
29225 * stdlib/tst-fmtmsg.sh: Likewise.
29226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29227 * catgets/Makefile: Do not specify -e option when running
29228 testsuite shell scripts.
29229 * elf/Makefile: Likewise.
29230 * grp/Makefile: Likewise.
29231 * iconvdata/Makefile: Likewise.
29232 * intl/Makefile: Likewise.
29233 * io/Makefile: Likewise.
29234 * libio/Makefile: Likewise.
29235 * malloc/Makefile: Likewise.
29236 * posix/Makefile: Likewise.
29237 * stdio-common/Makefile: Likewise.
29238 * stdlib/Makefile: Likewise.
29239 * sysdeps/x86_64/Makefile: Likewise.
29241 * io/ftwtest-sh: Add copyright header.
29242 * posix/globtest.sh: Likewise.
29243 * posix/tst-getconf.sh: Likewise.
29244 * posix/wordexp-tst.sh: Likewise.
29245 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29247 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29250 * Makeconfig (+link): Defined as $(+link-static) if
29251 $(build-shared) isn't yes.
29252 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29254 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29256 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29259 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29260 new chunk size with MALLOC_ALIGN_MASK.
29262 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29265 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29267 (__printf_fphex): Determine rounding using get_rounding_mode and
29269 * stdio-common/tst-printf-round.c (struct hex_test): New
29271 (hex_tests): New variable.
29272 (test_hex_in_one_mode): New function.
29273 (do_test): Also run tests for hex float output.
29275 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29277 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29278 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29279 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29280 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29281 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29282 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29283 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29284 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29286 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29288 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29289 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29290 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29291 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29293 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29296 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29298 * elf/tst-rtld-load-self.sh: New test.
29299 * elf/Makefile: Run it.
29301 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29303 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29304 (tst-writev-ENV): Remove.
29305 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29307 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29309 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29311 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29313 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29315 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29317 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29318 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29322 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29325 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29326 * config.make.in (have-cpp-asm-debuginfo): Removed.
29327 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29328 * configure: Regenerated.
29330 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29333 * stdio-common/printf_fp.c: Include <stdbool.h> and
29335 (___printf_fp): Determine rounding using get_rounding_mode and
29337 * stdio-common/tst-printf-round.c: New file.
29338 * stdio-common/Makefile (tests): Add tst-printf-round.
29339 (link-libm): New variable.
29340 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29342 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29345 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29346 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29348 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29351 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29353 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29354 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29355 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29358 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29361 * include/rounding-mode.h: New file.
29362 * sysdeps/generic/get-rounding-mode.h: Likewise.
29363 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29364 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29365 (MAX_VALUE): New macro.
29366 (MIN_VALUE): Likewise.
29367 (overflow_value): New function.
29368 (underflow_value): Likewise.
29369 (round_and_return): Use overflow_value and underflow_value to
29370 determine return values in overflow and underflow cases. Use
29371 round_away to determine rounding depending on rounding mode.
29372 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29373 determine return values in overflow and underflow cases.
29374 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29375 (struct test_results): New structure.
29376 (struct test): Use struct test_results to store expected results
29377 for all rounding modes.
29378 (TEST): Include expected results for all rounding modes.
29379 (test_in_one_mode): New function.
29380 (do_test): Use test_in_one_mode to compute and check results.
29381 Check results for all rounding modes.
29382 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29385 2012-12-09 Allan McRae <allan@archlinux.org>
29387 * sysdeps/i386/fpu/libm-test-ulps: Update
29389 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29391 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29392 (_G_int32_t): Likewise.
29393 (_G_uint16_t): Likewise.
29394 (_G_uint32_t): Likewise.
29395 (_G_HAVE_BOOL): Likewise.
29396 (_G_HAVE_ATEXIT): Likewise.
29397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29398 (_G_HAVE_IO_FILE_OPEN): Likewise.
29399 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29400 (_G_int32_t): Likewise.
29401 (_G_uint16_t): Likewise.
29402 (_G_uint32_t): Likewise.
29403 (_G_HAVE_BOOL): Likewise.
29404 (_G_HAVE_ATEXIT): Likewise.
29405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29406 (_G_HAVE_IO_FILE_OPEN): Likewise.
29407 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29408 (_G_int32_t): Likewise.
29409 (_G_uint16_t): Likewise.
29410 (_G_uint32_t): Likewise.
29411 (_G_HAVE_BOOL): Likewise.
29412 (_G_HAVE_ATEXIT): Likewise.
29413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29414 (_G_HAVE_IO_FILE_OPEN): Likewise.
29416 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29418 * csu/libc-tls.c: Update copyright years.
29420 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29422 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29423 [!_G_USING_THUNKS]: Remove conditional code.
29424 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29425 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29427 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29428 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29429 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29430 (_G_VTABLE_LABEL_PREFIX): Likewise.
29431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29432 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29434 (_G_VTABLE_LABEL_PREFIX): Likewise.
29435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29436 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29438 (_G_VTABLE_LABEL_PREFIX): Likewise.
29439 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29441 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29443 * libio/Makefile: Include ../Makeconfig before tests.
29444 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29445 only if $(build-shared) is yes.
29447 * iconv/gconv_db.c: Update copyright years.
29449 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29451 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29452 unwind info if defined PIC. Fix special cases description.
29453 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29455 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29457 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29459 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29461 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29463 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29466 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29467 (LDLIBS-tst-chk4): This.
29468 (LDFLAGS-tst-chk5): Renamed to ...
29469 (LDLIBS-tst-chk5): This.
29470 (LDFLAGS-tst-chk6): Renamed to ...
29471 (LDLIBS-tst-chk6): This.
29472 (LDFLAGS-tst-lfschk4): Renamed to ...
29473 (LDLIBS-tst-lfschk4): This.
29474 (LDFLAGS-tst-lfschk5): Renamed to ...
29475 (LDLIBS-tst-lfschk5): This.
29476 (LDFLAGS-tst-lfschk6): Renamed to ...
29477 (LDLIBS-tst-lfschk6): This.
29479 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29480 on $(common-objpfx)soversions.mk.
29482 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29485 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29488 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29490 * malloc/arena.c (arena_get_retry): New function that gets
29491 another arena for the caller to try its request on.
29492 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29493 current arena cannot fulfill the request.
29494 (__libc_memalign): Likewise.
29495 (__libc_memalign): Likewise.
29496 (__libc_pvalloc): Likewise.
29497 (__libc_calloc): Likewise.
29499 2012-09-05 John Tobey <john.tobey@gmail.com>
29502 * manual/arith.texi (Operations on Complex): Fix description
29503 of carg branch cut.
29505 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29508 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29512 * manual/memory.texi (Memory): Make order of menu items match
29515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29517 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29518 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29519 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29521 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29523 * csu/libc-tls.c (static_dtv): Renamed to ...
29524 (_dl_static_dtv): This. Make it global.
29525 (_dl_initial_dtv): Removed.
29526 (__libc_setup_tls): Updated.
29527 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29528 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29531 2012-09-06 Petr Machata <pmachata@redhat.com>
29533 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29534 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29535 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29536 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29538 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29541 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29542 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29545 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29548 * Makeconfig (link-static-before-libc): Replace $(+prector)
29550 (link-static-after-libc): Replace $(+postctor) with
29552 (link-bounded): Replace $(+prector)/$(+postctor) with
29553 $(+prectorT)/$(+postctorT).
29554 (+prectorT): New macro.
29555 (+postctorT): Likewise.
29557 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29559 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29560 (round_str): Handle values above the maximum for IBM long double
29562 * stdlib/tst-strtod-round.c (tests): Regenerated.
29564 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29566 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29568 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29569 zarch_nohighgprs around the zarch optimized routines.
29570 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29571 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29575 2012-09-05 David S. Miller <davem@davemloft.net>
29577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29579 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29580 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29581 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29582 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29585 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29587 * malloc/arena.c: Fold copyright years.
29588 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29594 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29596 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29598 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29601 change internal state upon failure.
29603 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29605 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29606 * malloc/memusage.c (mmap): Likewise.
29607 (mmap64, mremap): Likewise. Adjust name in comment.
29609 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29611 * libio/fileops.c: Fix typos in comments.
29612 * libio/oldfileops.c: Likewise.
29613 * libio/wfileops.c: Likewise.
29615 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29618 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29619 (tst-malloc-usable-ENV): Set environment for test case.
29620 * malloc/hooks.c (malloc_check_get_size): New function to get
29622 * malloc/malloc.c (musable): Use malloc_check_get_size.
29623 * malloc/tst-malloc-usable.c: New test case.
29625 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29627 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29629 2012-09-05 Allan McRae <allan@archlinux.org>
29632 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29633 determine header location.
29634 * configure: Regenerated.
29636 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29638 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29640 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29641 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29643 (test): Regenerate.
29645 2012-09-04 David S. Miller <davem@davemloft.net>
29647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29651 2012-09-04 Florian Weimer <fweimer@redhat.com>
29653 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29656 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29658 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29661 * libio/iogetdelim.c: Include <limits.h>.
29662 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29663 + len + 1 would overflow.
29665 2012-09-03 Andreas Jaeger <aj@suse.de>
29667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29668 * sysdeps/i386/fpu/libm-test-ulps: Update.
29670 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29672 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29673 Add s_sinf-sse2, s_conf-sse2.
29675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29676 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29677 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29680 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29681 for using routine as __sinf_ia32.
29682 Use macro for function declaration and weak_alias.
29683 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29684 for using routine as __cosf_ia32.
29685 Use macro for function declaration and weak_alias.
29687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29688 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29690 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29691 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29694 * math/libm-test.inc (cos_test): Add more test cases.
29695 (sin_test): Likewise.
29696 (sincos_test): Likewise.
29698 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29701 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29705 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29708 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29709 first element of the GOT.
29710 (elf_machine_load_address): Return the difference between
29711 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29713 2012-09-01 Allan McRae <allan@archlinux.org>
29716 * configure.in (AWK): Require gawk version 3.0 or later.
29717 * configure: Regenerated.
29719 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29721 * sysdeps/unix/sysv/linux/kernel-features.h
29722 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29724 [__NR_clock_getres]: Make code unconditional.
29725 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29726 (clock_getcpuclockid): Remove code left unreachable by removal of
29728 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29729 code unconditional.
29730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29732 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29733 Make code unconditional.
29734 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29735 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29736 * sysdeps/unix/sysv/linux/clock_settime.c
29737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29739 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29740 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29742 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29745 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29746 scripts/test-installation.pl.
29748 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29749 and $ld_so_version if it is set.
29751 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29755 failure if reading from procfs failed.
29756 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29758 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29760 * sysdeps/unix/sysv/linux/kernel-features.h
29761 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29762 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29763 Remove conditional code.
29764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29765 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29766 Remove conditional code.
29767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29768 * sysdeps/unix/sysv/linux/i386/fxstat.c
29769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29771 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29772 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29774 * sysdeps/unix/sysv/linux/i386/lxstat.c
29775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29777 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29778 Remove conditional code.
29779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29780 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29781 Remove conditional code.
29782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29783 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29784 <kernel-features.h>.
29785 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29787 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29788 Remove conditional code.
29789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29790 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29791 Remove conditional.
29793 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29796 * NEWS: Add fixed bug number.
29798 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29801 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29802 underflowing exponent in case of negative sign.
29803 * stdlib/tst-strtod-round-data: Add more tests.
29804 * stdlib/tst-strtod-round.c (tests): Regenerated.
29807 * stdlib/strtod_l.c (NDIG): Remove.
29808 (HEXNDIG): Likewise.
29809 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29810 smallest representable value.
29811 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29812 lie within an exact representation of 1/2 ulp of the result.
29813 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29815 (TENS_P9_IDX): Define unconditionally.
29816 (TENS_P9_SIZE): Likewise.
29817 (TENS_P10_IDX): Likewise.
29818 (TENS_P10_SIZE): Likewise.
29819 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29820 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29821 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29822 entries for 10^2^13 and 10^2^14.
29823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29824 (TENS_P13_IDX): Define.
29825 (TENS_P13_SIZE): Likewise.
29826 (TENS_P14_IDX): Likewise.
29827 (TENS_P14_SIZE): Likewise.
29828 (_fpioconst_pow10): Change array size to
29829 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29831 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29832 1024]: Add entries for 10^2^13 and 10^2^14.
29833 [LAST_POW10 > _LAST_POW10]: Remove #error.
29834 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29835 (_fpioconst_pow10): Change array size to
29836 FPIOCONST_POW10_ARRAY_SIZE.
29837 * stdlib/gen-fpioconst.c: New file.
29838 * stdlib/gen-tst-strtod-round.c: Likewise.
29839 * stdlib/tst-strtod-round-data: Likewise.
29840 * stdlib/tst-strtod-round.c: Likewise.
29841 * stdlib/Makefile (tests): Add tst-strtod-round.
29844 * stdlib/strtod_l.c: Include <stdint.h>.
29845 (NDEBUG): Do not define.
29846 (round_and_return): Change EXPONENT parameter to type intmax_t.
29847 Rearrange calculations to avoid internal overflow possibilities.
29848 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29849 Rearrange calculations to avoid internal overflow possibilities.
29850 Assert that number fits inside MPNSIZE limbs.
29851 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29852 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29853 calculations and add assertions to avoid internal overflow
29854 possibilities. Add casts to avoid signed/unsigned operations.
29855 * stdlib/tst-strtod-overflow.c: New file.
29856 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29858 2012-08-25 Marek Polacek <polacek@redhat.com>
29860 * time/time.h: Fix some typos in comments.
29862 2012-08-23 Roland McGrath <roland@hack.frob.com>
29864 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29865 * posix/tst-rfc3484-2.c: Likewise.
29866 * posix/tst-rfc3484-3.c: Likewise.
29868 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29870 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29871 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29873 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29875 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29876 #include of fxstatat64.c.
29878 2012-08-22 Roland McGrath <roland@hack.frob.com>
29880 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29881 * shadow/getspent_r.c: Likewise.
29882 * shadow/getspnam.c: Likewise.
29883 * shadow/getspnam_r.c: Likewise.
29884 * gshadow/getsgent.c: Likewise.
29885 * gshadow/getsgent_r.c: Likewise.
29886 * gshadow/getsgnam.c: Likewise.
29887 * gshadow/getsgnam_r.c: Likewise.
29888 * inet/getnetbyad.c: Likewise.
29889 * inet/getnetbyad_r.c: Likewise.
29890 * inet/getnetbynm.c: Likewise.
29891 * inet/getnetbynm_r.c: Likewise.
29892 * inet/getnetent.c: Likewise.
29893 * inet/getnetent_r.c: Likewise.
29894 * inet/getproto.c: Likewise.
29895 * inet/getproto_r.c: Likewise.
29896 * inet/getprtent.c: Likewise.
29897 * inet/getprtent_r.c: Likewise.
29898 * inet/getprtname.c: Likewise.
29899 * inet/getprtname_r.c: Likewise.
29900 * inet/getrpcbyname.c: Likewise.
29901 * inet/getrpcbyname_r.c: Likewise.
29902 * inet/getrpcbynumber.c: Likewise.
29903 * inet/getrpcbynumber_r.c: Likewise.
29904 * inet/getrpcent.c: Likewise.
29905 * inet/getrpcent_r.c: Likewise.
29906 * inet/getaliasent.c: Likewise.
29907 * inet/getaliasent_r.c: Likewise.
29908 * inet/getaliasname.c: Likewise.
29909 * inet/getaliasname_r.c: Likewise.
29910 * nscd/getgrgid_r.c: Likewise.
29911 * nscd/getgrnam_r.c: Likewise.
29912 * nscd/gethstbyad_r.c: Likewise.
29913 * nscd/gethstbynm3_r.c: Likewise.
29914 * nscd/getpwnam_r.c: Likewise.
29915 * nscd/getpwuid_r.c: Likewise.
29916 * nscd/getsrvbynm_r.c: Likewise.
29917 * nscd/getsrvbypt_r.c: Likewise.
29918 * nscd/gai.c: Likewise.
29920 * configure.in (build_nscd): New substituted variable, set
29921 by --disable-build-nscd and defaults to $use_nscd.
29922 * configure: Regenerated.
29923 * config.make.in (build-nscd): New substituted variable.
29924 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29925 Change conditional to require [$(build-nscd) = yes] as well.
29926 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29929 * configure.in (use_nscd): New substituted variable, set by
29930 --disable-nscd. If enabled, define USE_NSCD.
29931 * configure: Regenerated.
29932 * config.h.in: Add USE_NSCD.
29933 * config.make.in (use-nscd): New substituted variable.
29934 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29935 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29936 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29937 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29938 (CFLAGS-getgrnam_r.c): Likewise.
29939 (CFLAGS-initgroups.c): Likewise.
29940 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29941 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29943 * inet/getnetgrent_r.c
29944 (nscd_setnetgrent): New function, broken out of ...
29945 (setnetgrent): ... here. Call it.
29946 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29947 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29948 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29949 * nscd/Makefile (routines, aux): Move definitions after include of
29950 Makeconfig. Conditionalize on [$(use-nscd) != no].
29951 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29952 Conditionalize on [USE_NSCD].
29953 (is_nscd, nscd_init_cb): Likewise.
29954 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29955 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29956 * nss/nss_db/db-init.c: Likewise.
29957 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29959 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29960 (make_request): Use it.
29961 (cache_valid_p): New function.
29962 (__check_pf): Use it.
29963 * NEWS: Add item for --disable-nscd.
29965 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29967 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29968 to support sed >= 4.2.1-20-ga9bf076.
29969 * configure: Regenerated.
29971 2012-08-22 Roland McGrath <roland@hack.frob.com>
29973 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29974 Conditionalize whole body on [IREL].
29976 2012-08-22 Jeff Law <law@redhat.com>
29979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29980 if the family is PF_UNSPEC.
29982 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29984 * Makerules (lib-version): Rename from V.
29985 (install-lib-nosubdir): Change V to lib-version.
29987 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29990 * powerpc32/power6/wcschr.c: New file.
29991 * powerpc32/power6/wcscpy.c: New file.
29992 * powerpc32/power6/wcsrchr.c: New file.
29993 * powerpc64/power6/wcschr.c: New file.
29994 * powerpc64/power6/wcscpy.c: New file.
29995 * powerpc64/power6/wcsrchr.c: New file.
29997 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29999 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30000 (two_way_short_needle): Use it.
30001 * string/strstr.c (AVAILABLE1_USES_J): Define.
30002 * string/strcasestr.c: Likewise.
30004 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30006 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30009 * NEWS: Add an entry.
30010 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30011 define their defaults.
30012 (two_way_short_needle): Detect end-of-string on-the-fly.
30013 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30014 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30015 * string/bug-strcasestr1.c: New test.
30016 * string/Makefile: Run it.
30018 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30021 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30022 the first character.
30024 2012-08-21 Roland McGrath <roland@hack.frob.com>
30026 * csu/elf-init.c (__libc_csu_irel): Function removed.
30027 * csu/libc-start.c (apply_irel): New function.
30028 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30030 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30032 * sysdeps/unix/sysv/linux/kernel-features.h
30033 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30034 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30035 <kernel-features.h>.
30036 [__NR_fadvise64_64]: Make code unconditional.
30037 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30038 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30039 !__NR_fadvise64_64)]: Likewise.
30040 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30041 !__NR_fadvise64_64))]: Likewise.
30042 [__NR_fadvise64]: Make code unconditional.
30043 [!__NR_fadvise64]: Remove conditional code.
30044 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30045 <kernel-features.h>.
30046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30051 not include <kernel-features.h>.
30052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30056 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30057 include <kernel-features.h>.
30058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30063 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30066 slight instruction rearrangements per scrollpipe analysis.
30067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30069 2012-08-20 Roland McGrath <roland@hack.frob.com>
30071 * manual/syslog.texi (syslog; vsyslog, closelog):
30072 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30073 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30075 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30076 DSOCAPS to match condition on defining it.
30078 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30080 * sysdeps/unix/sysv/linux/kernel-features.h
30081 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30086 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30087 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30092 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30093 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30095 * sysdeps/unix/sysv/linux/kernel-features.h
30096 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30097 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30099 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30100 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30103 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30104 Make code unconditional.
30105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30106 (__mmap64) [!__NR_mmap2]: Likewise.
30107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30111 [__NR_mmap2]: Make code unconditional.
30112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30113 (__mmap64) [!__NR_mmap2]: Likewise.
30115 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30117 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30119 2012-08-18 Andreas Jaeger <aj@suse.de>
30121 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30123 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30125 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30126 * include/unistd.h (__have_sock_cloexec): Likewise.
30127 (__have_pipe2): Likewise.
30128 (__have_dup3): Likewise.
30130 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30133 * include/unistd.h (__have_pipe2): Change define into an extern int.
30134 (__have_dup3): Likewise.
30135 * socket/have_sock_cloexec.c: Include fcntl.h.
30136 (__have_pipe2): New variable.
30137 (__have_dup3): Likewise.
30139 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30141 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30143 2012-08-17 Marek Polacek <polacek@redhat.com>
30145 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30146 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30148 2012-08-17 Roland McGrath <roland@hack.frob.com>
30150 * configure.in: Add AC_SUBST for sysheaders.
30151 * configure: Regenerated.
30152 * config.make.in (sysheaders): New substituted variable.
30154 * sysdeps/unix/mkfifo.c: Moved ...
30155 * sysdeps/posix/mkfifo.c: ... here.
30156 * sysdeps/unix/mkfifoat.c: Moved ...
30157 * sysdeps/posix/mkfifoat.c: ... here.
30159 * sysdeps/unix/utime.c: Moved ...
30160 * sysdeps/posix/utime.c: ... here.
30162 * sysdeps/unix/time.c: Moved ...
30163 * sysdeps/posix/time.c: ... here.
30164 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30165 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30167 * sysdeps/unix/nice.c: Moved ...
30168 * sysdeps/posix/nice.c: ... here.
30170 * sysdeps/unix/alarm.c: Moved ...
30171 * sysdeps/posix/alarm.c: ... here.
30173 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30175 2012-08-17 Jeff Law <law@redhat.com>
30177 * intl/Makefile (codeset_mo): New variable.
30178 ($(codeset_mo)): New target.
30179 (tst-codeset.out): Depend on that. Remove explicit rule.
30180 (tst-gettext3.out, tst-gettext5.out): Likewise.
30181 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30182 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30183 * intl/tst-codeset.sh: Remove.
30184 * intl/tst-gettext3.sh: Likewise.
30185 * intl/tst-gettext5.sh: Likewise.
30187 2012-08-17 Roland McGrath <roland@hack.frob.com>
30189 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30190 * sysdeps/unix/syscalls.list: ... here.
30192 * sysdeps/posix/getaddrinfo.c
30193 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30194 (gaiconf_init, gaiconf_reload): Use them.
30195 [!_STATBUF_ST_NSEC]
30196 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30197 Define using time_t rather than struct timespec.
30199 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30200 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30202 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30204 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30205 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30208 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30209 __libc_cleanup_push argument.
30211 * bits/param.h: New file.
30212 * misc/sys/param.h: New file.
30213 * include/sys/param.h: New file.
30214 * misc/Makefile (headers): Add bits/param.h.
30215 * sysdeps/generic/sys/param.h: File removed.
30216 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30217 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30218 * sysdeps/mach/hurd/bits/param.h: New file.
30219 * sysdeps/mach/hurd/sys/param.h: File removed.
30221 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30224 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30226 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30227 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30230 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30231 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30232 rather than -D_IO_MTSAFE_IO conditionally.
30233 * stdio-common/Makefile (CPPFLAGS): Likewise.
30234 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30235 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30236 Use $(libio-mtsafe).
30237 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30238 of -D_IO_MTSAFE_IO.
30239 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30240 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30241 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30242 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30243 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30244 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30245 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30246 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30247 (CFLAGS-fread_u_chk.c): Likewise.
30248 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30249 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30250 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30251 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30252 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30253 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30254 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30255 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30256 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30258 * libio/Makefile: Test [$(libc-reentrant) = yes]
30259 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30262 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30263 * sysdeps/pthread/configure: File removed.
30264 * sysdeps/pthread/Makeconfig: New file.
30265 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30266 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30268 2012-08-16 Gary Benson <gbenson@redhat.com>
30270 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30271 unmapping the first object in a namespace.
30273 2012-08-16 Roland McGrath <roland@hack.frob.com>
30275 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30276 (__internal_setnetgrent): ... this. Add internal_function to
30277 definition. Add libc_hidden_def.
30278 (setnetgrent): Update caller.
30279 (internal_endnetgrent): Renamed to ...
30280 (__internal_endnetgrent): ... this. Add internal_function to
30281 definition. Add libc_hidden_def.
30282 (endnetgrent): Update caller.
30283 (internal_getnetgrent_r): Renamed to ...
30284 (__internal_getnetgrent_r): ... this. Add internal_function to
30285 definition. Add libc_hidden_def.
30286 (__getnetgrent_r): Update caller.
30287 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30289 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30291 * stdlib/longlong.h: Update from GCC.
30293 2012-08-16 Roland McGrath <roland@hack.frob.com>
30295 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30296 on _QL, which is set by umul_ppmm but never used.
30297 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30298 variables, which are set by GMP macros but never used.
30299 * stdio-common/_itowa.c (_itowa): Likewise.
30300 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30301 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30303 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30305 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30306 struct La_sh_regs is not constant.
30307 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30308 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30309 and struct La_sparc64_regs are not constant.
30311 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30313 * sysdeps/unix/sysv/linux/kernel-features.h
30314 (__ASSUME_POSIX_TIMERS): Remove.
30315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30317 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30318 Make code unconditional.
30319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30320 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30321 Make code unconditional.
30322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30323 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30324 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30326 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30327 Make code unconditional.
30328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30329 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30330 (__libc_missing_posix_timers): Remove.
30332 2012-08-15 Roland McGrath <roland@hack.frob.com>
30334 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30335 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30337 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30339 * elf/dl-sym.c: Include <stdlib.h>.
30341 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30342 constants, which avoids warnings in 32-bit builds.
30344 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30345 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30347 * misc/lseek.c: File moved to ...
30348 * io/lseek.c: ... here.
30350 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30352 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30353 shifting LEN more than 31 bits at once.
30355 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30358 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30359 segmentation fault for a case of two empty input strings.
30360 * string/test-strncasecmp.c (check1): Renamed to...
30361 (bz12205): ...this.
30362 (bz14195): Add new testcase for two empty input strings and N > 0.
30363 (test_main): Call new testcase, adapt for renamed function.
30365 2012-08-15 Andreas Jaeger <aj@suse.de>
30368 * crypt/md5test2.c: New test, based on test supplied by Serge
30369 Belyshev <belyshev@depni.sinp.msu.ru>.
30370 * crypt/Makefile (xtests): Add md5test-giant..
30371 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30373 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30376 * crypt/md5.c (md5_process_block): Don't assume the buffer
30377 length is less than 2**32.
30378 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30379 length is less than 2**64.
30381 2012-08-15 Roland McGrath <roland@hack.frob.com>
30383 * string/str-two-way.h: Include <sys/param.h>.
30384 (MAX): Macro removed.
30386 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30387 Move #define and #undef of memmove to just before and after
30388 including <string.h>.
30390 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30391 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30392 and after including <string.h>. Move declarations of
30393 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30394 to before #include "string/memmove.c".
30396 * include/dirent.h: Declare __getdirentries.
30398 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30399 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30401 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30403 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30404 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30405 * sysdeps/i386/configure: Regenerated.
30406 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30407 STABS_CURRENT_FILE, and STABS_FUN.
30408 (END): Remove call to STABS_FUN_END.
30409 (STABS_CURRENT_FILE1): Delete.
30410 (STABS_CURRENT_FILE): Likewise.
30411 (STABS_FUN): Likewise.
30412 (STABS_FUN_END): Likewise.
30413 (STABS_FUN2): Likewise.
30414 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30415 * sysdeps/x86_64/configure: Regenerated.
30417 2012-08-14 Roland McGrath <roland@hack.frob.com>
30419 * elf/dl-open.c: Include <atomic.h>.
30420 * elf/dl-lookup.c: Likewise.
30422 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30424 * sysdeps/unix/sysv/linux/kernel-features.h
30425 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30426 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30428 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30430 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30431 condition on __ASSUME_CLONE_THREAD_FLAGS.
30433 2012-08-14 Andreas Jaeger <aj@suse.de>
30435 * sysdeps/i386/fpu/libm-test-ulps: Update.
30437 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30439 * include/atomic.h (atomic_exchange_and_add): Split into ...
30440 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30443 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30447 2012-08-13 Jeff Law <law@redhat.com>
30449 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30450 null byte in the output string.
30452 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30454 * sysdeps/unix/sysv/linux/kernel-features.h
30455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30456 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30457 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30458 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30459 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30460 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30461 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30463 2012-08-09 Jeff Law <law@redhat.com>
30466 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30467 When avoid_arena is set, don't retry in the that arena. Pick the
30468 next one, whatever it might be.
30469 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30470 (arena_lock): Pass in new parameter to arena_get2.
30471 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30473 (__libc_malloc): Unify retrying after main arena failure with
30474 __libc_memalign version.
30475 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30477 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30480 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30481 to __redirect_strstr.
30482 (__strstr_sse42): Use typeof __redirect_strstr.
30483 (__strstr_ia32): Likewise.
30484 (__libc_strstr): New prototype.
30485 (strstr): Renamed to ...
30486 (__libc_strstr): This.
30487 (strstr): New strong alias of __libc_strstr.
30488 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30489 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30492 (__libc_time): New prototype.
30493 (time_ifunc): Replace time with __libc_time.
30494 (time): New strong alias and hidden definition of __libc_time.
30495 (__GI_time): Remove strong alias.
30496 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30497 Include <stddef.h>.
30498 (memmove): Redefined to __redirect_memmove.
30499 (__memmove_sse2): Use typeof __redirect_memmove.
30500 (__memmove_ssse3): Likewise.
30501 (__memmove_ssse3_back): Likewise.
30502 (__libc_memmove): New prototype.
30503 (memmove): Renamed to ...
30504 (__libc_memmove): This.
30505 (memmove): New strong alias of __libc_memmove.
30507 2012-08-08 Mark Salter <msalter@redhat.com>
30510 (R_MN10300_TLS_GD): Define.
30511 (R_MN10300_TLS_LD): Likewise.
30512 (R_MN10300_TLS_LDO): Likewise.
30513 (R_MN10300_TLS_GOTIE): Likewise.
30514 (R_MN10300_TLS_IE): Likewise.
30515 (R_MN10300_TLS_LE): Likewise.
30516 (R_MN10300_TLS_DTPMOD): Likewise.
30517 (R_MN10300_TLS_DTPOFF): Likewise.
30518 (R_MN10300_TLS_TPOFF): Likewise.
30519 (R_MN10300_SYM_DIFF): Likewise.
30520 (R_MN10300_ALIGN): Likewise.
30521 (R_MN10300_NUM): Update.
30523 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30528 2012-08-08 Roland McGrath <roland@hack.frob.com>
30530 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30532 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30533 sysdeps/unix -> sysdeps/posix move.
30534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30536 2012-08-07 Allan McRae <allan@archlinux.org>
30539 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30540 (SUNOS_CPP): Likewise.
30541 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30543 (open_input): Call CPP using execvp.
30545 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30547 * sysdeps/unix/sysv/linux/kernel-features.h
30548 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30549 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30550 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30551 (__ASSUME_WAITID_SYSCALL): Likewise.
30552 * sysdeps/unix/sysv/linux/dl-execstack.c
30553 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30554 code unconditional.
30555 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30557 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30558 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30559 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30561 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30563 [__ASSUME_WAITID_SYSCALL]: Likewise.
30564 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30566 2012-08-07 Roland McGrath <roland@hack.frob.com>
30568 * sysdeps/unix/closedir.c: Renamed to ...
30569 * sysdeps/posix/closedir.c: ... here.
30570 * sysdeps/unix/dirfd.c: Renamed to ...
30571 * sysdeps/posix/dirfd.c: ... here.
30572 * sysdeps/unix/dirstream.h: Renamed to ...
30573 * sysdeps/posix/dirstream.h: ... here.
30574 * sysdeps/unix/fdopendir.c: Renamed to ...
30575 * sysdeps/posix/fdopendir.c: ... here.
30576 * sysdeps/unix/opendir.c: Renamed to ...
30577 * sysdeps/posix/opendir.c: ... here.
30578 * sysdeps/unix/readdir.c: Renamed to ...
30579 * sysdeps/posix/readdir.c: ... here.
30580 * sysdeps/unix/readdir_r.c: Renamed to ...
30581 * sysdeps/posix/readdir_r.c: ... here.
30582 * sysdeps/unix/rewinddir.c: Renamed to ...
30583 * sysdeps/posix/rewinddir.c: ... here.
30584 * sysdeps/unix/seekdir.c: Renamed to ...
30585 * sysdeps/posix/seekdir.c: ... here.
30586 * sysdeps/unix/telldir.c: Renamed to ...
30587 * sysdeps/posix/telldir.c: ... here.
30588 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30589 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30590 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30591 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30593 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30594 * bits/fcntl.h: ... here.
30596 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30598 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30599 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30600 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30601 (struct flock): Move l_start, l_len to the beginning.
30602 Use __pid_t for l_pid.
30603 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30604 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30605 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30606 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30607 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30608 [__USE_LARGEFILE64] (struct flock64): New type.
30609 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30611 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30612 * bits/dirent.h: ... here.
30614 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30615 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30617 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30620 Change from 2.6.0 to 2.6.16.
30621 * sysdeps/unix/sysv/linux/configure: Regenerated.
30622 * sysdeps/unix/sysv/linux/kernel-features.h
30623 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30624 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30626 (__ASSUME_UTIMES): Likewise.
30627 (__ASSUME_CLONE_STOPPED): Remove.
30628 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30629 architectures, not kernel version.
30630 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30631 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30632 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30633 (__ASSUME_WAITID_SYSCALL): Likewise.
30634 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30635 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30636 * README: State 2.6.16 as minimum Linux kernel version. Do not
30637 refer to older versions.
30639 2012-08-06 Roland McGrath <roland@hack.frob.com>
30641 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30642 Define alphasort64 as an alias.
30643 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30644 Define versionsort64 as an alias.
30645 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30646 Define scandir64 as an alias.
30647 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30648 Define scandirat64 as an alias.
30649 * dirent/alphasort64.c (alphasort64):
30650 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30651 * dirent/versionsort64.c: Likewise.
30652 * dirent/scandir64.c: Likewise.
30653 * dirent/scandirat64.c: Likewise.
30654 * sysdeps/wordsize-64/alphasort.c: File removed.
30655 * sysdeps/wordsize-64/alphasort64.c: File removed.
30656 * sysdeps/wordsize-64/scandir.c: File removed.
30657 * sysdeps/wordsize-64/scandir64.c: File removed.
30658 * sysdeps/wordsize-64/scandirat.c: File removed.
30659 * sysdeps/wordsize-64/scandirat64.c: File removed.
30660 * sysdeps/wordsize-64/versionsort.c: File removed.
30661 * sysdeps/wordsize-64/versionsort64.c: File removed.
30662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30671 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30673 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30675 [defined __arch64__ || defined __sparcv9]
30676 (__INO_T_MATCHES_INO64_T): New macro.
30677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30678 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30679 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30680 * sysdeps/unix/sysv/linux/bits/dirent.h
30681 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30682 (_DIRENT_MATCHES_DIRENT64): New macro.
30684 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30685 Define lockf64 as an alias.
30686 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30687 Define fseeko64 as an alias.
30688 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30689 Define ftello64 as an alias.
30690 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30691 Define _IO_fgetpos64 and fgetpos64 as aliases.
30692 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30693 Define _IO_fsetpos64 and fsetpos64 as aliases.
30694 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30695 Conditionalize body on this.
30696 * libio/fseeko64.c: Likewise.
30697 * libio/ftello64.c: Likewise.
30698 * libio/iofgetpos64.c: Likewise.
30699 * libio/iofsetpos64.c: Likewise.
30700 * sysdeps/wordsize-64/lockf.c: File removed.
30701 * sysdeps/wordsize-64/lockf64.c: File removed.
30702 * sysdeps/wordsize-64/fseeko.c: File removed.
30703 * sysdeps/wordsize-64/fseeko64.c: File removed.
30704 * sysdeps/wordsize-64/ftello.c: File removed.
30705 * sysdeps/wordsize-64/ftello64.c: File removed.
30706 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30707 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30708 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30709 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30721 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30723 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30725 [defined __arch64__ || defined __sparcv9]
30726 (__OFF_T_MATCHES_OFF64_T): New macro.
30727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30728 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30730 (__OFF_T_MATCHES_OFF64_T): New macro.
30732 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30734 * stdlib/secure-getenv.c (__secure_getenv): Replace
30735 GLIBC_2_16 with GLIBC_2_17.
30737 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30742 2012-08-03 David S. Miller <davem@davemloft.net>
30744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30746 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30750 (__ASSUME_CORRECT_SI_PID): Likewise.
30751 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30752 (__ASSUME_TMPFS_NAME): Likewise.
30753 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30754 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30755 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30756 (HAVE_AUX_SECURE): Make definition unconditional.
30757 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30758 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30760 2012-08-03 Roland McGrath <roland@hack.frob.com>
30762 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30763 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30764 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30766 __eloop_threshold instead of SYMLOOP_MAX.
30768 * sysdeps/generic/eloop-threshold.h: New file.
30769 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30771 * elf/chroot_canon.c (chroot_canon): Likewise.
30773 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30777 Change to 2.6.0 everywhere.
30778 * sysdeps/unix/sysv/linux/configure: Regenerated.
30779 * sysdeps/unix/sysv/linux/kernel-features.h
30780 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30781 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30783 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30784 (__ASSUME_FUTEX_REQUEUE): Remove.
30785 (__ASSUME_STATFS64): Define unconditionally.
30786 (__ASSUME_AT_SECURE): Likewise.
30787 (__ASSUME_CORRECT_SI_PID): Likewise.
30788 (__ASSUME_TGKILL): Define without depending on kernel version for
30790 (__ASSUME_UTIMES): Likewise.
30791 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30793 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30794 (__ASSUME_TMPFS_NAME): Likewise.
30795 * README: Update reference to Linux kernel versions.
30797 2012-08-02 Marek Polacek <polacek@redhat.com>
30800 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30801 libc_cv_asm_type_prefix with %.
30802 * configure: Regenerated.
30803 * include/libc-symbols.h: Remove comment about
30804 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30805 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30806 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30807 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30808 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30809 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30812 * elf/tst-unique2mod1.c: Likewise.
30813 * elf/tst-unique1mod2.c: Likewise.
30814 * elf/tst-unique1mod1.c: Likewise.
30815 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30816 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30817 Replace ASM_TYPE_DIRECTIVE with .type.
30818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30819 * sysdeps/i386/sysdep.h: Likewise.
30820 * sysdeps/x86_64/sysdep.h: Likewise.
30821 * sysdeps/sh/sysdep.h: Likewise.
30822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30823 Do not define ASM_TYPE_DIRECTIVE.
30824 * sysdeps/powerpc/sysdep.h: Likewise.
30825 * sysdeps/powerpc/powerpc32/sysdep.h:
30826 Replace ASM_TYPE_DIRECTIVE with .type.
30827 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30828 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30829 * sysdeps/i386/fpu/e_powf.S: Likewise.
30830 * sysdeps/i386/fpu/e_expl.S: Likewise.
30831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30833 * sysdeps/i386/fpu/e_pow.S: Likewise.
30834 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30835 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30836 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30837 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30838 * sysdeps/i386/fpu/e_log2.S: Likewise.
30839 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30841 * sysdeps/i386/fpu/e_powl.S: Likewise.
30842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30843 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30844 * sysdeps/i386/fpu/e_logl.S: Likewise.
30845 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30846 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30850 * sysdeps/i386/fpu/e_log.S: Likewise.
30851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30852 * sysdeps/i386/fpu/e_logf.S: Likewise.
30853 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30855 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30856 * sysdeps/i386/fpu/e_log10.S: Likewise.
30857 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30858 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30859 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30860 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30863 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30864 * sysdeps/i386/i686/strtok.S: Likewise.
30865 * sysdeps/i386/i386-mcount.S: Likewise.
30866 * sysdeps/i386/strtok.S: Likewise.
30867 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30868 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30871 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30876 * sysdeps/x86_64/_mcount.S: Likewise.
30877 * sysdeps/x86_64/strtok.S: Likewise.
30878 * sysdeps/sh/_mcount.S: Likewise.
30880 2012-08-01 Roland McGrath <roland@hack.frob.com>
30882 * libio/iofopen.c: Include <fcntl.h>.
30883 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30884 (_IO_fopen64, fopen64): Define as aliases.
30885 * libio/iofopen64.c: Include <fcntl.h>.
30886 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30887 Conditionalize body on this.
30888 * sysdeps/wordsize-64/iofopen.c: File removed.
30889 * sysdeps/wordsize-64/iofopen64.c: File removed.
30891 2012-08-01 Marek Polacek <polacek@redhat.com>
30893 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30894 Use dlfcn directly instead of a variable.
30895 (binfmt-subdir): Do not define.
30898 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30901 Remove all definitions.
30902 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30903 <kernel-features.h>.
30904 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30905 (miss_F_GETOWN_EX): Remove all definitions.
30906 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30908 [!__ASSUME_FCNTL64]: Remove conditional code.
30909 [__ASSUME_FCNTL64]: Make code unconditional.
30910 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30911 <kernel-features.h>.
30912 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30913 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30914 (lockf64) [__NR_fcntl64]: Make code unconditional.
30915 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30917 * sysdeps/unix/sysv/linux/kernel-features.h
30918 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30919 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30920 Make code unconditional.
30921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30924 [__NR_vfork]: Make code unconditional.
30925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30928 [__NR_vfork]: Make code unconditional.
30929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30932 2012-08-01 Roland McGrath <roland@hack.frob.com>
30934 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30935 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30937 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30938 Define mkstemp64 as an alias.
30939 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30940 Define mkstemps64 as an alias.
30941 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30942 Define mkostemp64 as an alias.
30943 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30944 Define mkostemps64 as an alias.
30945 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30946 Conditionalize body on this.
30947 * misc/mkostemp64.c: Likewise.
30948 * misc/mkostemps64.c: Likewise.
30949 * misc/mkstemps64.c: Likewise.
30950 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30951 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30952 * sysdeps/wordsize-64/mkostemp.c: File removed.
30953 * sysdeps/wordsize-64/mkstemp.c: File removed.
30954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30960 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30961 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30962 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30963 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30965 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30966 compat_symbol macros from <shlib-compat.h> rather than the underlying
30967 default_symbol_version and symbol_version macros, so that DEFAULT
30968 lines in shlib-versions are respected.
30969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30971 2012-08-01 Florian Weimer <fweimer@redhat.com>
30973 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30974 Declare with warn_unused_result.
30975 (setgid, setregid, setegid, setresgid): Likewise.
30976 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30978 * WUR-REPORT: Remove set*id functions.
30980 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30982 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30984 2012-07-31 Roland McGrath <roland@hack.frob.com>
30987 * include/sys/socket.h (__libc_accept, __libc_accept4):
30988 Add attribute_hidden.
30989 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30991 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30993 * inet/getnetgrent_r.c (setup): Likewise.
30995 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30997 2012-07-31 David S. Miller <davem@davemloft.net>
30999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31001 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31004 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31005 value between 1.0 and 2.0 and smaller part has absolute value less
31007 * math/s_clog10.c (__clog10): Likewise.
31008 * math/s_clog10f.c (__clog10f): Likewise.
31009 * math/s_clog10l.c (__clog10l): Likewise.
31010 * math/s_clogf.c (__clogf): Likewise.
31011 * math/s_clogl.c (__clogl): Likewise.
31012 * math/libm-test.inc (clog_test): Add more tests.
31013 (clog10_test): Likewise.
31014 * sysdeps/i386/fpu/libm-test-ulps: Update.
31015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31017 2012-07-31 Florian Weimer <fweimer@redhat.com>
31019 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31020 Exit with zero in case no suitable GID is found, and write a
31021 message to standard error.
31023 2012-07-30 Roland McGrath <roland@hack.frob.com>
31025 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31027 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31028 (MAXPATHLEN): Removed.
31029 (NOGROUP, NODEV): New macros.
31030 (setbit, clrbit, isset, isclr): New macros.
31031 (howmany, roundup, powerof2): New macros.
31032 (DEV_BSIZE): New macro.
31034 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31035 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31037 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31038 definition on [!__NO_LONG_DOUBLE_MATH].
31040 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31041 PTR_MANGLE and PTR_DEMANGLE.
31043 * socket/accept4.c (accept4): Rename to __libc_accept4.
31044 Define accept4 as a weak alias.
31046 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31047 on [_DIRENT_HAVE_D_TYPE].
31048 * io/ftw.c (ftw_dir): Likewise.
31050 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31052 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31054 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31055 Use the BSD numbers rather than the arbitrary ones we had.
31056 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31057 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31058 (SIGXCPU, SIGXFSZ): New macros.
31061 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31062 initializer on [_LIBC_REENTRANT].
31064 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31065 definitions inside [_POSIX_MAPPED_FILES].
31067 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31069 * dirent/opendir.c: Include <fcntl.h>.
31071 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31072 (__libc_getspecific): Likewise.
31073 (__libc_key_create): Likewise.
31075 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31076 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31077 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31078 (tmpfile64): Define as alias.
31079 * sysdeps/wordsize-64/tmpfile.c: File removed.
31080 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31084 * stdio-common/vfscanf.c: Include <stdbool.h>.
31085 * nss/makedb.c: Likewise.
31086 * stdio-common/_i18n_number.h: Likewise.
31087 * argp/argp-help.c: Likewise.
31088 * posix/wordexp.c: Likewise.
31089 * sysdeps/posix/spawni.c: Likewise.
31090 * nss/nss_files/files-initgroups.c: Likewise.
31091 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31092 * nss/nss_files/files-initgroups.c: Likewise.
31093 * nss/nss_db/db-netgrp.c: Likewise.
31094 * nss/nss_db/db-initgroups.c: Likewise.
31095 * io/fchmodat.c: Include <sys/stat.h>.
31097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31098 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31100 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31103 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31104 Add multiple inclusion protection.
31106 2012-07-27 David S. Miller <davem@davemloft.net>
31108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31110 2012-07-27 Gary Benson <gbenson@redhat.com>
31113 * elf/rtld.c: Include <stap-probe.h>.
31114 (dl_main): Added static probes "init_start" and "init_complete".
31115 * elf/dl-load.c: Include <stap-probe.h>.
31116 (lose): Take new parameter "nsid".
31117 Added static probe "map_failed".
31118 (_dl_map_object_from_fd): Pass namespace id to lose.
31119 Added static probe "map_start".
31120 (open_verify): Pass namespace id to lose.
31121 * elf/dl-open.c: Include <stap-probe.h>.
31122 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31123 and "reloc_complete".
31124 * elf/dl-close.c: Include <stap-probe.h>.
31125 (_dl_close_worker): Added static probes "unmap_start" and
31127 * elf/rtld-debugger-interface.txt: New file documenting the above.
31129 2012-07-26 Roland McGrath <roland@hack.frob.com>
31131 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31132 rather than a string variable.
31133 * sunrpc/rpc_main.c (h_output): Likewise.
31134 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31136 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31138 * inet/check_native.c: New file.
31140 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31143 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31144 if larger part has absolute value 1.0.
31145 * math/s_clog10.c (__clog10): Likewise.
31146 * math/s_clog10f.c (__clog10f): Likewise.
31147 * math/s_clog10l.c (__clog10l): Likewise.
31148 * math/s_clogf.c (__clogf): Likewise.
31149 * math/s_clogl.c (__clogl): Likewise.
31150 * math/libm-test.inc (clog_test): Add more tests.
31151 (clog10_test): Likewise.
31152 * sysdeps/i386/fpu/libm-test-ulps: Update.
31153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31155 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31156 (pltexit): Likewise.
31157 (La_regs): Likewise.
31158 (La_retval): Likewise.
31159 (int_retval): Likewise.
31160 Update #error for removed macros to refer only to definitions in
31162 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31164 (pltexit): Likewise.
31165 (La_regs): Likewise.
31166 (La_retval): Likewise.
31167 (int_retval): Likewise.
31168 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31170 (pltexit): Likewise.
31171 (La_regs): Likewise.
31172 (La_retval): Likewise.
31173 (int_retval): Likewise.
31174 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31176 (pltexit): Likewise.
31177 (La_regs): Likewise.
31178 (La_retval): Likewise.
31179 (int_retval): Likewise.
31180 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31182 (pltexit): Likewise.
31183 (La_regs): Likewise.
31184 (La_retval): Likewise.
31185 (int_retval): Likewise.
31186 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31188 (pltexit): Likewise.
31189 (La_regs): Likewise.
31190 (La_retval): Likewise.
31191 (int_retval): Likewise.
31192 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31194 (pltexit): Likewise.
31195 (La_regs): Likewise.
31196 (La_retval): Likewise.
31197 (int_retval): Likewise.
31198 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31199 macro definitions in tst-audit.h.
31200 * sysdeps/i386/tst-audit.h: New file.
31201 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31202 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31203 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31204 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31205 * sysdeps/sh/tst-audit.h: Likewise.
31206 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31207 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31208 * sysdeps/x86_64/tst-audit.h: Likewise.
31210 2012-07-26 Andreas Jaeger <aj@suse.de>
31212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31215 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31216 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31217 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31219 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31220 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31221 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31223 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31226 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31228 (si_call_addr, si_syscall, si_arch): Define new macro.
31229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31231 (si_call_addr, si_syscall, si_arch): Define new marcro.
31232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31234 (si_call_addr, si_syscall, si_arch): Define new macro.
31235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31237 (si_call_addr, si_syscall, si_arch): Define new macro.
31239 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31243 Change to 2.4.21 where previously 2.4.1.
31244 * sysdeps/unix/sysv/linux/configure: Regenerated.
31245 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31246 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31247 Linux kernel version.
31248 (__ASSUME_STD_AUXV): Remove.
31249 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31251 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31252 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31253 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31254 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31255 (__ASSUME_NETLINK_SUPPORT): Likewise.
31256 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31257 (__no_netlink_support): Remove conditional definition.
31258 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31260 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31261 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31262 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31263 (if_nameindex_ioctl): Remove.
31264 (if_nameindex_netlink): Do not handle __no_netlink_support.
31265 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31267 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31268 Remove conditional code.
31269 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31271 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31273 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31274 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31277 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31278 [!__ASSUME_STD_AUXV]: Remove conditional code.
31279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31280 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31281 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31283 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31284 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31286 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31288 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31291 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31293 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31299 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31300 code unconditional.
31301 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31303 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31305 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31308 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31310 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31313 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31314 code unconditional.
31315 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31317 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31319 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31322 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31323 code unconditional.
31324 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31326 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31328 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31331 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31333 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31334 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31335 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31336 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31337 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31338 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31340 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31341 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31342 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31343 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31344 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31345 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31346 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31349 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31351 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31353 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31354 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31357 2012-07-25 Florian Weimer <fweimer@redhat.com>
31359 * Versions.def: Add GLIBC_2.17.
31360 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31361 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31362 Introduce __libc_secure_getenv.
31363 * stdlib/Versions (2.17): Add secure_getenv
31364 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31365 * stdlib/secure-getenv.c: Rename __secure_getenv to
31366 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31367 symbol __secure_getenv for GLIBC_2.0.
31368 * stdlib/tst-secure-getenv.c: New.
31369 * stdlib/Makefile (tests): Add testcase.
31370 * manual/startup.texi (Environment Access): Document
31372 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31373 __libc_secure_getenv.
31374 * inet/ruserpass.c (ruserpass): Likewise.
31375 * malloc/mtrace.c (mtrace): Likewise.
31376 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31377 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31378 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31379 * sysdeps/posix/tempname.c: Likewise. Evaluate
31380 HAVE_SECURE_GETENV.
31381 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31382 __secure_getenv to __libc_secure_getenv.
31383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31396 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31398 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31399 (struct La_i86_retval): Likewise.
31400 (struct La_x86_64_regs): Likewise.
31401 (struct La_x86_64_retval): Likewise.
31402 (struct La_x32_regs): Likewise.
31403 (struct La_x32_retval): Likewise.
31404 (struct La_ppc32_regs): Likewise.
31405 (struct La_ppc32_retval): Likewise.
31406 (struct La_ppc64_regs): Likewise.
31407 (struct La_ppc64_retval): Likewise.
31408 (struct La_sh_regs): Likewise.
31409 (struct La_sh_retval): Likewise.
31410 (struct La_s390_32_regs): Likewise.
31411 (struct La_s390_32_retval): Likewise.
31412 (struct La_s390_64_regs): Likewise.
31413 (struct La_s390_64_retval): Likewise.
31414 (struct La_sparc32_regs): Likewise.
31415 (struct La_sparc32_retval): Likewise.
31416 (struct La_sparc64_regs): Likewise.
31417 (struct La_sparc64_retval): Likewise.
31418 (struct audit_ifaces): Remove architecture-specific pltenter and
31420 * sysdeps/i386/ldsodefs.h: New file.
31421 * sysdeps/powerpc/ldsodefs.h: Likewise.
31422 * sysdeps/s390/ldsodefs.h: Likewise.
31423 * sysdeps/sh/ldsodefs.h: Likewise.
31424 * sysdeps/sparc/ldsodefs.h: Likewise.
31425 * sysdeps/x86_64/ldsodefs.h: Likewise.
31427 2012-07-25 Marek Polacek <polacek@redhat.com>
31430 * math/libm-test.inc (yn_test): Add another test.
31431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31432 to ERANGE when the result is +-Inf.
31433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31436 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31438 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31440 * conform/data/time.h-data (NULL): Use macro-constant. Require
31442 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31444 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31446 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31448 * configure.in <sysdeps resolving>: Correct printing
31450 * configure: Regenerate.
31452 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31454 * math/w_ilogb.c: Include <limits.h>.
31455 * math/w_ilogbl.c: Likewise.
31457 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31459 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31460 va_copy. Document allowing for unavailable va_copy only as
31461 pre-C99 compatibility.
31462 * manual/string.texi (Copying and Concatenation): Use va_copy
31463 instead of __va_copy in concat example.
31465 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31467 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31468 (__sendto): Use create_address_port. Initialize APORT and deallocate
31471 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31472 with O_NOLINK passed to __file_name_lookup.
31474 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31475 with O_NOLINK passed to __file_name_lookup.
31477 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31478 negative N or less than NGIDS.
31480 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31481 type to string_t. Set ERANGE as errno and return it if NAME is not big
31482 enough. Use memcpy instead of strncpy.
31484 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31486 * elf/Makefile (check-data): Remove.
31487 (localplt.data): New vpath directive.
31488 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31489 instead of $(check-data).
31490 * scripts/data/localplt-generic.data: Move to ...
31491 * sysdeps/generic/localplt.data: ... here.
31492 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31493 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31494 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31497 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31500 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31503 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31506 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31509 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31513 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31515 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31516 PPC32 and PPC64 files.
31517 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31518 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31520 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31522 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31523 __makecontext_ret to ...
31524 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31525 ... here and call exit if uc_link is NULL. New file.
31526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31527 __makecontext_ret.S.
31528 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31529 __makecontext_ret to ...
31530 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31531 ... here and call exit if uc_link is NULL. New file.
31532 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31533 __makecontext_ret.S.
31535 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31537 * elf/elf.h (R_390_IRELATIVE): New definition.
31538 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31539 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31540 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31542 (elf_machine_lazy_rel): Likewise.
31543 * sysdeps/s390/dl-irel.h: New file.
31544 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31545 * sysdeps/s390/s390-64/memset.S: New asm code.
31546 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31547 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31549 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31550 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31551 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31553 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31554 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31555 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31556 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31557 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31558 * sysdeps/s390/s390-32/memset.S: New asm code.
31559 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31561 2012-07-17 Marek Polacek <polacek@redhat.com>
31564 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31565 * sysdeps/s390/s390-64/configure.in: Likewise.
31566 * sysdeps/sparc/configure.in: Likewise.
31567 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31568 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31569 * sysdeps/i386/configure.in: Likewise.
31570 * sysdeps/x86_64/configure.in: Likewise.
31571 * sysdeps/sh/configure.in: Likewise.
31572 * sysdeps/s390/s390-32/configure: Regenerated.
31573 * sysdeps/s390/s390-64/configure: Likewise.
31574 * sysdeps/x86_64/configure: Likewise.
31575 * sysdeps/sh/configure: Likewise.
31576 * sysdeps/powerpc/powerpc64/configure: Likewise.
31577 * sysdeps/powerpc/powerpc32/configure: Likewise.
31578 * sysdeps/sparc/configure: Likwise.
31579 * sysdeps/i386/configure: Likewise.
31581 * elf/dl-open.c: Comment fixes.
31583 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31585 * Makefile [CXX] (check-data): Remove.
31586 [CXX] (c++-types.data): New vpath directive.
31587 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31588 vpath. Do not allow for C++ type data being missing.
31589 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31590 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31591 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31592 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31593 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31594 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31595 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31598 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31601 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31604 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31607 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31610 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31613 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31616 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31619 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31620 definitions to architecture-specific files.
31621 (TLS_IE): Likewise.
31622 (TLS_LD): Likewise.
31623 (TLS_GD): Likewise.
31624 * sysdeps/i386/tls-macros.h: New file.
31625 * sysdeps/powerpc/tls-macros.h: Likewise.
31626 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31627 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31628 * sysdeps/sh/tls-macros.h: Likewise.
31629 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31630 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31631 * sysdeps/x86_64/tls-macros.h: Likewise.
31633 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31636 zero value for regular exit case.
31638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31639 (__start_context): Preserve zero value for regular exit case.
31641 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31642 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31644 * manual/setjmp.texi (setcontext): Clarify normal process
31645 termination when uc_link is the null pointer.
31646 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31649 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31651 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31652 preprocessor. Test for each exception mask separately.
31654 2012-07-16 Andreas Jaeger <aj@suse.de>
31656 * po/ru.po: Update from translation team.
31658 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31660 * conform/data/string.h-data (NULL): Use macro-constant. Require
31662 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31664 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31665 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31668 2012-07-13 Andreas Jaeger <aj@suse.de>
31670 * po/fr.po: Update from translation team.
31672 2012-07-12 Marek Polacek <polacek@redhat.com>
31675 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31679 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31683 Change to 2.4.1 where previously 2.4.0.
31684 * sysdeps/unix/sysv/linux/configure: Regenerated.
31685 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31686 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31688 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31689 (__ASSUME_AT_CLKTCK): Remove.
31690 (__ASSUME_AT_PAGESIZE): Likewise.
31691 (__ASSUME_AT_XID): Likewise.
31692 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31693 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31694 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31696 (HAVE_AUX_PAGESIZE): Likewise.
31697 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31698 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31699 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31701 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31705 the temporary buffer used to invoke __gethostbyname2_r,
31706 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31707 host_data / struct gaih_addrtuple.
31708 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31709 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31710 header file nss/nsswitch.h.
31711 * nss/nsswitch.h (global scope): Add definition of implementation
31712 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31713 resolv/nss_dns/dns-host.c).
31715 2012-07-11 Andreas Jaeger <aj@suse.de>
31717 * po/fr.po: Update from translation team.
31719 * po/sv.po: Update from translation team
31720 * po/fr.po: Another update from translation team.
31722 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31725 for subnormals or multiply small sinh result by itself.
31726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31729 2012-07-11 David S. Miller <davem@davemloft.net>
31731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31733 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31736 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31737 (INTERNAL_MARK): Shift it here.
31739 2012-07-10 Marek Polacek <polacek@redhat.com>
31742 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31743 libc_cv_asm_global_directive with .globl.
31744 * configure: Regenerated.
31745 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31747 * sysdeps/i386/configure: Regenerated.
31748 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31750 * sysdeps/x86_64/configure: Regenerated.
31751 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31752 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31753 * elf/tst-unique2mod2.c: Likewise.
31754 * elf/tst-unique2mod1.c: Likewise.
31755 * elf/tst-unique1mod2.c: Likewise.
31756 * elf/tst-unique1mod1.c: Likewise.
31757 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31761 * sysdeps/mach/sysdep.h: Likewise.
31762 * sysdeps/i386/sysdep.h: Likewise.
31763 * sysdeps/i386/i386-mcount.S: Likewise.
31764 * sysdeps/x86_64/_mcount.S: Likewise.
31765 * sysdeps/x86_64/sysdep.h: Likewise.
31766 * sysdeps/sh/_mcount.S: Likewise.
31767 * sysdeps/sh/sysdep.h: Likewise.
31768 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31769 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31770 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31772 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31773 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31774 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31775 * locale/localeinfo.h: Likewise.
31776 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31777 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31779 2012-07-09 Roland McGrath <roland@hack.frob.com>
31782 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31784 * manual/message.texi (The Uniforum approach): Likewise.
31785 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31786 (glibc iconv Implementation): Likewise.
31788 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31791 * math/s_clog.c (__clog): Avoid scaling a value down where that
31792 could result in underflow.
31793 * math/s_clog10.c (__clog10): Likewise.
31794 * math/s_clog10f.c (__clog10f): Likewise.
31795 * math/s_clog10l.c (__clog10l): Likewise.
31796 * math/s_clogf.c (__clogf): Likewise.
31797 * math/s_clogl.c (__clogl): Likewise.
31798 * math/libm-test.inc (clog_test): Add more tests.
31799 (clog10_test): Likewise.
31800 * sysdeps/i386/fpu/libm-test-ulps: Update.
31801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31803 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31806 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31807 by 7 not 8 to examine high bit of fractional part.
31810 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31811 for call to __mcount_internal.
31812 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31813 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31814 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31816 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31819 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31820 approximation for values within 0x1p-13f of an odd multiple of
31822 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31823 exception. Add more tests.
31824 * sysdeps/i386/fpu/libm-test-ulps: Update.
31827 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31828 inputs and return -1 for them. Do not check for +Inf in case not
31829 reachable for +Inf.
31830 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31831 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31833 and return -1 for them. Do not check for +Inf in case not
31834 reachable for +Inf.
31835 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31838 and return -1 for them. Do not check for +Inf in case not
31839 reachable for +Inf.
31840 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31841 spurious underflow.
31842 * sysdeps/i386/fpu/libm-test-ulps: Update.
31843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31845 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31847 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31849 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31853 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31854 could result in spurious underflow. Scale down values above
31855 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31856 * math/s_csqrtf.c (__csqrtf): Likewise.
31857 * math/s_csqrtl.c (__csqrtl): Likewise.
31858 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31859 spurious underflow.
31860 * sysdeps/i386/fpu/libm-test-ulps: Update.
31861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31863 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31865 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31867 * catgets/xopen-msg.awk: New file.
31868 * catgets/xopen-msg.sed: Removed.
31870 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31872 * intl/po2test.awk: New file.
31873 * intl/po2test.sed: Removed.
31875 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31878 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31879 or multiply small sinh result by itself.
31880 * math/s_ctanf.c (__ctanf): Likewise.
31881 * math/s_ctanh.c (__ctanh): Likewise.
31882 * math/s_ctanhf.c (__ctanhf): Likewise.
31883 * math/s_ctanhl.c (__ctanhl): Likewise.
31884 * math/s_ctanl.c (__ctanl): Likewise.
31885 * math/libm-test.inc (ctan_test_tonearest): New function.
31886 (ctan_test_towardzero): Likewise.
31887 (ctan_test_downward): Likewise.
31888 (ctan_test_upward): Likewise.
31889 (ctanh_test_tonearest): Likewise.
31890 (ctanh_test_towardzero): Likewise.
31891 (ctanh_test_downward): Likewise.
31892 (ctanh_test_upward): Likewise.
31893 (main): Call these new functions.
31894 * sysdeps/i386/fpu/libm-test-ulps: Update.
31895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31897 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31899 * .gitignore: Delete /ports entry.
31901 2012-07-03 Andreas Jaeger <aj@suse.de>
31903 * po/bg.po: Update from translation team.
31904 * po/cs.po: Likewise.
31905 * po/de.po: Likewise.
31906 * po/hr.po: Likewise.
31907 * po/nl.pl: Likewise.
31908 * po/pl.po: Likewise.
31909 * po/vi.po: Likewise.
31911 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31913 * Makeconfig [!+link] (+link-before-libc): New variable.
31914 [!+link] (+link-after-libc): Likewise.
31915 [!+link] (+link-tests): Likewise.
31916 [!+link] (+link): Define in terms of $(+link-before-libc) and
31917 $(+link-after-libc).
31918 [!+link-static] (+link-static-before-libc): New variable.
31919 [!+link-static] (+link-static-after-libc): Likewise.
31920 [!+link-static] (+link-static-tests): Likewise.
31921 [!+link-static] (+link-static): Define in terms of
31922 $(+link-static-before-libc) and $(+link-static-after-libc).
31923 [build-shared] (link-libc-before-gnulib): New variable.
31924 [build-shared] (link-libc-tests): Likewise.
31925 [build-shared] (link-libc): Define in terms of
31926 $(link-libc-before-gnulib).
31927 [!build-shared] (link-libc-tests): New variable.
31928 (link-libc-static-tests): New variable.
31929 [!gnulib] (gnulib-arch): New variable.
31930 [!gnulib] (gnulib-tests): Likewise.
31931 [!gnulib] (static-gnulib-arch): Likewise.
31932 [!gnulib] (static-gnulib-tests): Likewise.
31933 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31934 Define with "=" instead of ":=".
31935 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31936 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31937 * Rules (binaries-all-notests): New variable.
31938 (binaries-all-tests): Likewise.
31939 (binaries-static-notests): Likewise.
31940 (binaries-static-tests): Likewise.
31941 (binaries-all): Define using $(binaries-all-notests) and
31942 $(binaries-all-tests).
31943 (binaries-static): Define using $(binaries-static-notests) and
31944 $(binaries-static-tests).
31945 (binaries-shared-tests): New variable.
31946 (binaries-shared-notests): Likewise.
31947 (binaries-shared): Remove variable.
31948 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31949 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31950 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31951 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31952 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31953 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31954 * elf/Makefile (sln-modules): New variable.
31955 (extra-objs): Add $(sln-modules:=.o).
31956 (ldconfig-modules): Add static-stubs.
31957 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31958 * elf/static-stubs.c: New file.
31961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31962 by 7 not 8 to examine high bit of fractional part. Use volatile
31963 variables when splitting into final array of floats if
31964 __FLT_EVAL_METHOD__ != 0.
31965 * math/libm-test.inc (cos_test): Add another test.
31966 (sin_test): Likewise.
31967 * sysdeps/i386/fpu/libm-test-ulps: Update.
31970 * math/libm-test.inc (cosh_test): Add more tests.
31972 * version.h (RELEASE): Set to "development".
31973 (VERSION): Set to "2.16.90".
31975 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31977 * NEWS: Update copyright. Remove last-updated date.
31978 Mention math library bug fixes and timezone data changes.
31979 * README: Mention GNU/Hurd, x32, and HPPA support status.
31981 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31983 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31985 2012-06-27 Andreas Jaeger <aj@suse.de>
31987 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31989 2012-06-25 Andreas Jaeger <aj@suse.de>
31991 * sysdeps/s390/fpu/libm-test-ulps: Update.
31993 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31994 Thomas Schwinge <thomas@codesourcery.com>
31996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31997 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32001 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32003 * sysdeps/mach/start.c: Remove file.
32004 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32005 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32006 * sysdeps/sh/init-first.c: Likewise.
32008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32009 registers for frame unwinding purposes, add CFI directives.
32010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32012 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32016 __fortify_fail returning.
32017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32020 sysdeps/sh/____longjmp_chk.S.
32021 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32022 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32023 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32024 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32026 * sysdeps/sh/abort-instr.h: New file.
32027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32028 process in case exit returns.
32030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32031 initialize the GOT register before use.
32033 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32034 calculation of ARGC > 4.
32036 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32037 meaningful names to some local labels.
32039 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32040 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32042 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32043 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32044 (__arch_compare_and_exchange_val_16_acq): Likewise.
32045 (__arch_compare_and_exchange_val_32_acq): Likewise.
32046 (atomic_exchange_and_add): Fix gUSA sequence.
32047 (atomic_add): Likewise.
32048 (atomic_add_negative): Likewise.
32049 (atomic_add_zero): Likewise.
32050 (atomic_bit_test_set): Likewise.
32052 2012-06-22 Andreas Schwab <schwab@redhat.com>
32055 * include/link.h (struct link_map): Add l_free_initfini.
32056 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32058 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32059 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32060 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32063 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32065 * configure.in: Use AC_LANG_SOURCE.
32066 * configure: Regenerate.
32068 2012-06-22 Roland McGrath <roland@hack.frob.com>
32070 * configure.in (libc_cv_localstatedir): New substituted variable.
32071 * configure: Regenerated.
32072 * config.make.in (localstatedir): New variable, substituted from
32073 libc_cv_localstatedir.
32074 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32075 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32076 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32077 * sysdeps/gnu/configure: Regenerated.
32079 2012-06-21 Jeff Law <law@redhat.com>
32082 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32083 free. Simplify list management for _LIBC case.
32085 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32088 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32089 Clear sign bit of 64-bit integer value before comparing against
32092 * sysdeps/mach/configure: Regenerated.
32094 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32097 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32099 2012-06-21 Jeff Law <law@redhat.com>
32102 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32103 uint16_t for elements in the "seen" array to avoid char overflows.
32104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32105 * elf/dl-open.c (dl_open_worker): Likewise.
32107 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32109 * scripts/list-sources.sh: Scan PORTS for translations.
32110 * po/libc.pot: Regenerated.
32112 2012-06-21 Andreas Jaeger <aj@suse.de>
32115 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32117 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32118 * bits/byteswap-16.h (__bswap_16): Likewise.
32119 * bits/byteswap.h (__bswap_constant_16): Likewise.
32121 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/i386/fpu_control.h: Removed.
32125 * sysdeps/x86_64/fpu_control.h: Moved to ...
32126 * sysdeps/x86/fpu_control.h: Here.
32128 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32129 (_FPU_SETCW): Likewise.
32131 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32134 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32135 * sysdeps/x86/fpu/bits/mathinline.h: This.
32136 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32140 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32141 functions if __x86_64__ is defined.
32143 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32145 * string/endian.h: Add !__ASSEMBLER__ condition for including
32146 conversion interfaces.
32148 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32152 of ABS(x) in calculating zero to negative powers other than odd
32154 * math/libm-test.inc (pow_test): Add more tests.
32156 2012-06-15 Andreas Jaeger <aj@suse.de>
32158 * manual/contrib.texi (Contributors): Update entry of Liubov
32159 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32162 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32164 * string/string.h: Add __wur to GNU version of strerror_r.
32166 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32169 * string/Makefile (tests): Add tst-strtok_r.
32170 * string/tst-strtok_r.c: New file.
32171 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32172 RAX_LP/RDX_LP on SAVE_PTR.
32174 2012-06-14 Roland McGrath <roland@hack.frob.com>
32176 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32178 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32180 * libm_test.inc (csqrt_test): Allow more spurious underflow
32182 (j0_test): Likewise.
32183 (j1_test): Likewise.
32184 (y0_test): Likewise.
32185 (y1_test): Likewise.
32187 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32189 * po/Makefile (libc.pot): Use UTF-8 charset.
32191 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32194 Suppress sign-conversion warning from FD_SET.
32195 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32196 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32197 not unsigned long int.
32198 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32200 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32204 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32205 __extern_always_inline instead of __extern_inline.
32206 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32207 (__signbit): Likewise.
32208 (__signbitl): Support C++ namespace.
32209 (lrintf): New inline function.
32211 (llrintf): Likewise.
32212 (llrint): Likewise.
32222 (floorf): Likewise.
32223 (nearbyint): Likewise.
32224 (nearbyintf): Likewise.
32226 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32229 non-default versions.
32231 2012-06-11 Roland McGrath <roland@hack.frob.com>
32234 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32236 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32238 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32239 (FE_UPWARD, FE_DOWNWARD): Don't define.
32240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32248 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32255 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32258 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32259 * sysdeps/i386/fpu/Implies: New file.
32260 * sysdeps/x86_64/fpu/Implies: Likewise.
32261 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32262 * sysdeps/x86/fpu/bits/fenv.h: This.
32264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32267 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32270 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32271 character 0xffff that matches the last element of the
32274 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32279 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32282 values higher than 25.6283.
32284 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32287 subnormal exponent extraction and add some __builtin_expect.
32288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32289 Fix for subnormal mantissa calculation.
32291 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32293 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32294 cpu2 is -1 and errno is not ENOSYS.
32296 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32299 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32300 * sysdeps/x86/bits/string.h: This.
32301 * sysdeps/x86_64/bits/string.h: Removed.
32303 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32304 if not compiling for x86-64, but compiling for >= i486.
32306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32307 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32310 New macro from Linux kernel 3.4.0.
32311 (FP_XSTATE_MAGIC2): Likewise.
32312 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32313 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32314 (struct _fpx_sw_bytes): New struct.
32315 (struct _xsave_hdr): Likewise.
32316 (struct _ymmh_state): Likewise.
32317 (struct _xstate): Likewise.
32319 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32320 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32322 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32324 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32326 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32328 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32329 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32330 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32331 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32333 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32336 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32337 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32338 (sysdep_headers): Include sys/platform/ppc.h.
32339 * sysdeps/powerpc/test-gettimebase.c: Test for
32340 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32341 * manual/Makefile (appendices): Include platform.texi.
32342 * manual/contrib.texi (Contributors): Update @node pointers.
32343 * manual/maint.texi (Maintenance): Likewise.
32344 (Platform): New node.
32345 * manual/platform.texi: New file. Document the new features.
32347 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32348 Jakub Jelinek <jakub@redhat.com>
32351 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32352 where __builtin_expect is unavailable.
32354 2012-06-03 David S. Miller <davem@davemloft.net>
32356 * stdlib/longlong.h: Updated from GCC.
32358 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32361 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32362 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32365 (GLIBC_2.16): Likewise.
32367 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32371 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32374 (default-abi): New variable.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32380 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32385 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32386 definition. Document in comment.
32388 2012-06-01 David S. Miller <davem@davemloft.net>
32390 * stdlib/longlong.h: Updated from GCC.
32392 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32395 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32396 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32397 sys/debugreg.h sys/io.h here.
32398 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32399 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32401 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32402 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32403 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32404 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32405 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32406 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32409 Define only if __x86_64__ is defined.
32411 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32415 Use int64_t for variable i.
32416 * math/libm-test.inc (fmod_test): Add more tests.
32418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32419 z computation is not scheduled after fetestexcept.
32420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32421 Use math_force_eval instead of asm to ensure calculation scheduled
32422 before exception test.
32423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32424 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32426 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32429 computation is not scheduled after fetestexcept.
32431 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32435 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32437 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32439 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32442 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32445 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32447 (__WCHAR_MIN): Support __WORDSIZE == 64.
32448 (__WCHAR_MAX): Likewise.
32450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32455 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32458 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32462 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32465 Defined to 1 if __x86_64__ isn't defined.
32466 (_STAT_VER_LINUX_OLD): New.
32467 (st_atime): Remove duplicate.
32468 (st_mtime): Likewise.
32469 (st_ctime): Likewise.
32471 2012-05-31 David S. Miller <davem@davemloft.net>
32473 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32476 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32478 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32482 * elf/dl-reloc.c: Include <_itoa.h>.
32483 (_dl_reloc_bad_type): Remove use of INTUSE.
32484 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32485 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32486 * stdio-common/psiginfo.c (psiginfo): Likewise.
32487 * stdio-common/psignal.c (psignal): Likewise.
32488 * string/strsignal.c (strsignal): Likewise.
32489 * include/signal.h (_sys_siglist): Declare hidden proto.
32490 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32491 INTVARDEF with libc_hidden_data_def.
32492 * stdio-common/itoa-udigits.c: Likewise.
32493 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32494 (_itoa_lower_digits_internal): Remove declaration.
32495 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32496 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32497 (_sys_sigabbrev_internal): Remove aliases.
32498 (_sys_siglist): Define hidden alias.
32500 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32505 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32509 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32511 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32514 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32516 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32538 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32542 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32545 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32551 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32552 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32554 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32556 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32557 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32558 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32564 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32566 * math/math.h (M_El): Use two more decimal places.
32567 (M_LOG2El): Likewise.
32568 (M_LOG10El): Likewise.
32569 (M_LN2l): Likewise.
32570 (M_LN10l): Likewise.
32572 (M_PI_2l): Likewise.
32573 (M_PI_4l): Likewise.
32574 (M_1_PIl): Likewise.
32575 (M_2_PIl): Likewise.
32576 (M_2_SQRTPIl): Likewise.
32577 (M_SQRT2l): Likewise.
32578 (M_SQRT1_2l): Likewise.
32580 2012-05-31 David S. Miller <davem@davemloft.net>
32582 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32583 values between float registers.
32584 * sysdeps/sparc/sparc64/memset.S: Likewise.
32585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32587 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32589 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32590 -D_FORTIFY_SOURCE=1.
32591 (CPPFLAGS-tst-longjmp_chk.c): Define.
32592 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32593 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32594 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32595 CFLAGS-tst-wchar-h.c.
32597 2012-05-31 Marek Polacek <polacek@redhat.com>
32600 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32601 __endmntent_internal): Remove declaration.
32602 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32603 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32604 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32606 2012-05-30 David S. Miller <davem@davemloft.net>
32608 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32609 (___Q_simulate_exceptions): Use real FP ops rather than writing
32611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32614 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32617 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32618 * sysdeps/x86/bits/xtitypes.h: This.
32620 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32621 * sysdeps/x86/bits/wordsize.h: This.
32623 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32624 * sysdeps/x86/bits/huge_vall.h: This.
32626 * sysdeps/i386/bits/select.h: Removed.
32627 * sysdeps/x86_64/bits/select.h: Renamed to ...
32628 * sysdeps/x86/bits/select.h: This.
32630 * sysdeps/i386/bits/setjmp.h: Removed.
32631 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32632 * sysdeps/x86/bits/setjmp.h: This.
32634 * sysdeps/i386/bits/mathdef.h: Removed.
32635 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32636 * sysdeps/x86/bits/mathdef.h: This.
32638 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32641 * include/sys/socket.h (__connect_internal)
32642 (__libc_sa_len_internal): Remove declaration.
32643 (__connect, __libc_sa_len): Declare hidden_proto.
32644 (SA_LEN): Remove use of INTUSE.
32645 * socket/connect.c: Add libc_hidden_def.
32646 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32647 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32648 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32652 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32653 of adding _internal alias.
32655 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32658 * sysdeps/i386/bits/link.h: Removed.
32659 * sysdeps/i386/bits/linkmap.h: Likewise.
32660 * sysdeps/x86_64/bits/link.h: Renamed to ...
32661 * sysdeps/x86/bits/link.h: This.
32662 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32663 * sysdeps/x86/bits/linkmap.h: This.
32665 * sysdeps/i386/bits/endian.h: Removed.
32666 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32667 * sysdeps/x86/bits/endian.h: This.
32669 * sysdeps/i386/bits/byteswap.h: Removed.
32670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32671 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32672 * sysdeps/x86/bits/byteswap.h: This.
32673 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32674 * sysdeps/x86/bits/byteswap-16.h: This.
32675 * sysdeps/i386/Implies: Add x86.
32676 * sysdeps/x86_64/Implies: Likewise.
32678 2012-05-30 David S. Miller <davem@davemloft.net>
32680 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32681 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32683 (FP_TRAPPING_EXCEPTIONS): Define.
32684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32685 (FP_TRAPPING_EXCEPTIONS): Define.
32686 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32687 subnormals only when inexact has been signalled or underflow
32688 exceptions are enabled.
32689 (_FP_PACK_CANONICAL): Likewise.
32691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32695 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32697 2012-05-30 Richard Henderson <rth@twiddle.net>
32699 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32700 with #ifndef NOT_IN_libc.
32702 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32703 marked to avoid plt entry.
32705 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32708 * Makeconfig (default-abi): New macro.
32709 (abi-includes): Likewise.
32710 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32711 $(abi-$(default-abi)-lib-soname) for soname if defined.
32712 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32714 * Makefile (installed-stubs): Likewise.
32715 * include/stubs-biarch.h: Removed.
32716 * scripts/lib-names.awk: Only handle one library at a time.
32717 * scripts/soversions.awk: Remove WORDSIZE support.
32718 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32722 (syscall-list-default-condition): Likewise.
32723 (syscall-list-default-condition): Likewise.
32724 (syscall-list-includes): Likewise.
32725 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32726 syscall-list-* with abi-*. Handle undefined abi-variants.
32727 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32728 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32729 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32730 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32731 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32732 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32734 (syscall-list-32-options): Likewise.
32735 (syscall-list-32-condition): Likewise.
32736 (syscall-list-64-options): Likewise.
32737 (syscall-list-64-condition): Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32740 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32743 (abi-64-ld-soname): New macro.
32744 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32745 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32748 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32749 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32751 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32753 * sysdeps/unix/sysv/linux/kernel-features.h
32754 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32755 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32756 include <kernel-features.h>.
32757 [!__NR_ftruncate64]: Remove conditional code.
32758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32759 [__NR_ftruncate64]: Make code unconditional.
32760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32761 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32762 include <kernel-features.h>.
32763 [!__NR_ftruncate64]: Remove conditional code.
32764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32765 [__NR_ftruncate64]: Make code unconditional.
32766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32768 include <kernel-features.h>.
32769 [!__NR_ftruncate64]: Remove conditional code.
32770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32771 [__NR_ftruncate64]: Make code unconditional.
32772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32774 include <kernel-features.h>.
32775 [!__NR_ftruncate64]: Remove conditional code.
32776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32777 [__NR_ftruncate64]: Make code unconditional.
32778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32780 * configure.in (libc_cv_fpie): Weaken to a compile test using
32781 LIBC_TRY_CC_OPTION.
32782 * configure: Regenerated.
32784 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32799 2012-05-27 David S. Miller <davem@davemloft.net>
32801 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32803 (__Q_simulate_exceptions): Return void. Change to simulate
32804 exceptions by writing into the %fsr.
32805 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32806 (__Qp_handle_exceptions): Likewise.
32808 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32809 __Qp_handle_exceptions.
32810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32811 __Qp_handle_exceptions.
32812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32813 as unused and give dummy FP_RND_NEAREST initializer.
32814 (FP_INHIBIT_RESULTS): Define.
32815 (___Q_simulate_exceptions): Update declaration.
32816 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32819 as unused and give dummy FP_RND_NEAREST initializer.
32820 (__Qp_handle_exceptions): Update declaration.
32821 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32824 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32827 the temporary FPU control word.
32828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32829 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32832 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32834 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32836 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32837 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32840 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32845 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32847 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32848 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32852 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32853 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32856 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32858 * po/h.po: Update from translation team.
32860 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32862 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32865 handling of denormals.
32866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32867 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32875 2012-05-26 Marek Polacek <polacek@redhat.com>
32878 * math/libm-test.inc (fma_test): Don't always expect underflow
32881 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32884 * elf/tst-execstack.c: Include stackinfo.h.
32885 (do_test): Adjust test case to ensure that pthread_getattr_np
32886 behaviour remains the same after marking stack executable.
32888 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32890 * sysdeps/unix/sysv/linux/kernel-features.h
32891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32896 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32898 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32899 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32901 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32903 * configure.in: Define the default includes to being none.
32904 * configure: Regenerated.
32906 2012-05-25 Roland McGrath <roland@hack.frob.com>
32908 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32909 * sysdeps/x86_64/setjmp.S: Likewise.
32910 * sysdeps/i386/bsd-setjmp.S: Likewise.
32911 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32912 * sysdeps/i386/setjmp.S: Likewise.
32913 * sysdeps/i386/__longjmp.S: Likewise.
32914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32915 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32917 * include/stap-probe.h: New file.
32918 * configure.in: Handle --enable-systemtap.
32919 * configure: Regenerated.
32920 * config.h.in (USE_STAP_PROBE): New #undef.
32921 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32922 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32925 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32929 to 2.4.0 where earlier.
32930 * sysdeps/unix/sysv/linux/configure: Regenerated.
32931 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32932 <kernel-features.h>.
32933 [__ASSUME_32BITUIDS]: Make code unconditional.
32934 [!__ASSUME_32BITUIDS]: Remove conditional code.
32935 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32936 <kernel-features.h>.
32937 [__ASSUME_32BITUIDS]: Make code unconditional.
32938 [!__ASSUME_32BITUIDS]: Remove conditional code.
32939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32940 [__ASSUME_32BITUIDS]: Make code unconditional.
32941 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32942 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32943 <kernel-features.h>.
32944 [__ASSUME_32BITUIDS]: Make code unconditional.
32945 [!__ASSUME_32BITUIDS]: Remove conditional code.
32946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32947 <kernel-features.h>.
32948 [__ASSUME_32BITUIDS]: Make code unconditional.
32949 [!__ASSUME_32BITUIDS]: Remove conditional code.
32950 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32951 <kernel-features.h>.
32952 [__ASSUME_32BITUIDS]: Make code unconditional.
32953 [!__ASSUME_32BITUIDS]: Remove conditional code.
32954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32955 <kernel-features.h>.
32956 [__ASSUME_32BITUIDS]: Make code unconditional.
32957 [!__ASSUME_32BITUIDS]: Remove conditional code.
32958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32959 <kernel-features.h>.
32960 [__ASSUME_32BITUIDS]: Make code unconditional.
32961 [!__ASSUME_32BITUIDS]: Remove conditional code.
32962 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32963 <kernel-features.h>.
32964 [__ASSUME_32BITUIDS]: Make code unconditional.
32965 [!__ASSUME_32BITUIDS]: Remove conditional code.
32966 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32967 <kernel-features.h>.
32968 [__ASSUME_32BITUIDS]: Make code unconditional.
32969 [!__ASSUME_32BITUIDS]: Remove conditional code.
32970 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32971 <kernel-features.h>.
32972 [__ASSUME_32BITUIDS]: Make code unconditional.
32973 [!__ASSUME_32BITUIDS]: Remove conditional code.
32974 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32975 <kernel-features.h>.
32976 [__ASSUME_32BITUIDS]: Make code unconditional.
32977 [!__ASSUME_32BITUIDS]: Remove conditional code.
32978 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32979 <kernel-features.h>.
32980 [__ASSUME_32BITUIDS]: Make code unconditional.
32981 [!__ASSUME_32BITUIDS]: Remove conditional code.
32982 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32983 <kernel-features.h>.
32984 [__NR_setresgid] (__setresgid): Do not declare.
32985 [__ASSUME_32BITUIDS]: Make code unconditional.
32986 [!__ASSUME_32BITUIDS]: Remove conditional code.
32987 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32988 <kernel-features.h>.
32989 [__NR_setresuid] (__setresuid): Do not declare.
32990 [__ASSUME_32BITUIDS]: Make code unconditional.
32991 [!__ASSUME_32BITUIDS]: Remove conditional code.
32992 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32993 <kernel-features.h>.
32994 [__ASSUME_32BITUIDS]: Make code unconditional.
32995 [!__ASSUME_32BITUIDS]: Remove conditional code.
32996 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32997 <kernel-features.h>.
32998 [__ASSUME_32BITUIDS]: Make code unconditional.
32999 [!__ASSUME_32BITUIDS]: Remove conditional code.
33000 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33001 <kernel-features.h>.
33002 [__ASSUME_32BITUIDS]: Make code unconditional.
33003 [!__ASSUME_32BITUIDS]: Remove conditional code.
33004 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33005 <kernel-features.h>.
33006 [__ASSUME_32BITUIDS]: Make code unconditional.
33007 [!__ASSUME_32BITUIDS]: Remove conditional code.
33008 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33009 <kernel-features.h>.
33010 [__ASSUME_32BITUIDS]: Make code unconditional.
33011 [!__ASSUME_32BITUIDS]: Remove conditional code.
33012 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33013 <kernel-features.h>.
33014 [__ASSUME_32BITUIDS]: Make code unconditional.
33015 [!__ASSUME_32BITUIDS]: Remove conditional code.
33016 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33017 <kernel-features.h>.
33018 [__ASSUME_32BITUIDS]: Make code unconditional.
33019 [!__ASSUME_32BITUIDS]: Remove conditional code.
33020 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33021 <kernel-features.h>.
33022 [__ASSUME_32BITUIDS]: Make code unconditional.
33023 [!__ASSUME_32BITUIDS]: Remove conditional code.
33024 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33025 <kernel-features.h>.
33026 [__ASSUME_32BITUIDS]: Make code unconditional.
33027 [!__ASSUME_32BITUIDS]: Remove conditional code.
33028 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33029 <kernel-features.h>.
33030 [__ASSUME_32BITUIDS]: Make code unconditional.
33031 [!__ASSUME_32BITUIDS]: Remove conditional code.
33032 * sysdeps/unix/sysv/linux/kernel-features.h
33033 (__ASSUME_SETRESUID_SYSCALL): Remove.
33034 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33035 (__ASSUME_32BITUIDS): Likewise.
33036 (__ASSUME_LDT_WORKS): Likewise.
33037 (__ASSUME_O_DIRECTORY): Likewise.
33038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33039 architecture but not kernel version.
33040 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33041 (__ASSUME_MMAP2_SYSCALL): Likewise.
33042 (__ASSUME_STAT64_SYSCALL): Likewise.
33043 (__ASSUME_IPC64): Likewise.
33044 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33045 <kernel-features.h>.
33046 [__ASSUME_32BITUIDS]: Make code unconditional.
33047 [!__ASSUME_32BITUIDS]: Remove conditional code.
33048 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33049 <kernel-features.h>.
33050 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33051 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33052 132096]: Remove conditional code.
33053 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33055 <kernel-features.h>.
33056 [__ASSUME_32BITUIDS]: Make code unconditional.
33057 [!__ASSUME_32BITUIDS]: Remove conditional code.
33058 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33059 <kernel-features.h>.
33060 [__ASSUME_32BITUIDS]: Make code unconditional.
33061 [!__ASSUME_32BITUIDS]: Remove conditional code.
33062 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33063 <kernel-features.h>.
33064 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33066 (__setresgid): Do not declare.
33067 [__ASSUME_32BITUIDS]: Make code unconditional.
33068 [!__ASSUME_32BITUIDS]: Remove conditional code.
33069 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33070 <kernel-features.h>.
33071 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33073 (__setresuid): Do not declare.
33074 [__ASSUME_32BITUIDS]: Make code unconditional.
33075 [!__ASSUME_32BITUIDS]: Remove conditional code.
33076 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33077 <kernel-features.h>.
33078 [__ASSUME_32BITUIDS]: Make code unconditional.
33079 [!__ASSUME_32BITUIDS]: Remove conditional code.
33080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33081 <kernel-features.h>.
33082 [__ASSUME_32BITUIDS]: Make code unconditional.
33083 [!__ASSUME_32BITUIDS]: Remove conditional code.
33085 2012-05-25 Richard Henderson <rth@twiddle.net>
33087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33088 dl_hwcap to ifunc resolver.
33089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33092 dl_hwcap to ifunc resolver.
33093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33095 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33098 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33099 for |x| <= 2**-26, not 2**-57.
33100 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33103 2012-05-24 Jeff Law <law@redhat.com>
33105 * stdio-common/Makefile (tests): Add bug25.
33106 * stdio-common/bug25.c: New test.
33108 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33111 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33112 multiple of MALLOC_ALIGNMENT in size.
33113 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33115 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33117 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33119 (FILENAME_MAX): Use macro-int-constant.
33120 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33121 (_IOFBF): Use macro-int-constant.
33122 (_IOLBF): Likewise.
33123 (_IONBF): Likewise.
33124 (SEEK_CUR): Likewise.
33125 (SEEK_END): Likewise.
33126 (SEEK_SET): Likewise.
33127 (TMP_MAX): Likewise.
33128 (EOF): Use macro-int-constant. Require < 0.
33129 (NULL): Use macro-constant. Require == 0.
33130 (stdin): Require type to be FILE *.
33131 (stdout): Likewise.
33132 (stderr): Likewise.
33133 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33134 macro-int-constant.
33135 (EXIT_SUCCESS): Likewise.
33136 (NULL): Use macro-constant. Require == 0.
33137 (RAND_MAX): Use macro-int-constant.
33138 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33139 [C99-based standards] (strtof): Require function.
33140 [C99-based standards] (strtold): Likewise.
33141 [C99-based standards] (strtoll): Likewise.
33142 [C99-based standards] (strtoull): Likewise.
33143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33144 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33145 [ISO || ISO99 || ISO11] (math.h): Likewise.
33146 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33150 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33153 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33154 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33155 * intl/dgettext.c (DCGETTEXT): Likewise.
33156 * intl/gettext.c (DCGETTEXT): Likewise.
33157 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33158 * posix/regex_internal.h (gettext): Likewise.
33159 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33160 Remove declaration.
33161 * include/argz.h (__argz_count_internal)
33162 (__argz_stringify_internal): Remove declaration.
33163 (__argz_count, __argz_stringify): Declare hidden proto.
33164 * intl/dcgettext.c: Remove use of INTDEF.
33165 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33166 * string/argz-stringify.c: Likewise.
33167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33169 Declare hidden proto.
33170 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33171 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33172 Declare hidden proto.
33173 * include/stdio.h (__asprintf_internal): Don't declare.
33174 (__asprintf): Don't define as macro. Declare hidden proto.
33175 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33176 (__fsetlocking): Declare hidden proto.
33177 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33178 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33180 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33181 (_IO_setlinebuf): Remove use of INTUSE.
33182 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33183 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33184 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33185 Remove declaration.
33186 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33187 (_IO_do_flush): Remove use of INTUSE.
33188 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33189 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33190 (_IO_adjust_column, _IO_least_wmarker)
33191 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33192 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33193 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33194 (_IO_default_doallocate, _IO_wdefault_doallocate)
33195 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33196 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33197 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33198 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33199 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33200 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33201 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33202 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33203 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33204 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33205 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33206 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33207 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33209 (_IO_flush_all_internal, _IO_adjust_column_internal)
33210 (_IO_default_uflow_internal, _IO_default_finish_internal)
33211 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33212 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33213 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33214 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33215 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33216 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33217 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33218 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33219 (_IO_file_close_internal, _IO_file_close_it_internal)
33220 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33221 (_IO_file_init_internal, _IO_file_attach_internal)
33222 (_IO_file_fopen_internal, _IO_file_read_internal)
33223 (_IO_file_sync_internal, _IO_file_seek_internal)
33224 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33225 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33226 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33227 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33228 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33229 (_IO_list_all_internal, _IO_link_in_internal)
33230 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33231 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33232 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33233 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33234 (_IO_do_write_internal, _IO_padn_internal)
33235 (_IO_getline_info_internal, _IO_getline_internal)
33236 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33237 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33238 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33239 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33240 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33241 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33242 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33243 with libc_hidden_ver, remove use of INTUSE.
33244 * libio/genops.c: Likewise.
33245 * libio/freopen.c: Likewise.
33246 * libio/freopen64.c: Likewise.
33247 * libio/iofclose.c: Likewise.
33248 * libio/iofdopen.c: Likewise.
33249 * libio/iofflush.c: Likewise.
33250 * libio/iofflush_u.c: Likewise.
33251 * libio/iofgets.c: Likewise.
33252 * libio/iofgets_u.c: Likewise.
33253 * libio/iofopen.c: Likewise.
33254 * libio/iofopncook.c: Likewise.
33255 * libio/iofread.c: Likewise.
33256 * libio/iofread_u.c: Likewise.
33257 * libio/ioftell.c: Likewise.
33258 * libio/iofwrite.c: Likewise.
33259 * libio/iogetline.c: Likewise.
33260 * libio/iogets.c: Likewise.
33261 * libio/iogetwline.c: Likewise.
33262 * libio/iopadn.c: Likewise.
33263 * libio/iopopen.c: Likewise.
33264 * libio/ioseekoff.c: Likewise.
33265 * libio/ioseekpos.c: Likewise.
33266 * libio/iosetbuffer.c: Likewise.
33267 * libio/iosetvbuf.c: Likewise.
33268 * libio/ioungetc.c: Likewise.
33269 * libio/ioungetwc.c: Likewise.
33270 * libio/iovdprintf.c: Likewise.
33271 * libio/iovsprintf.c: Likewise.
33272 * libio/iovsscanf.c: Likewise.
33273 * libio/memstream.c: Likewise.
33274 * libio/obprintf.c: Likewise.
33275 * libio/oldfileops.c: Likewise.
33276 * libio/oldiofclose.c: Likewise.
33277 * libio/oldiofdopen.c: Likewise.
33278 * libio/oldiofopen.c: Likewise.
33279 * libio/oldiopopen.c: Likewise.
33280 * libio/oldstdfiles.c: Likewise.
33281 * libio/putc.c: Likewise.
33282 * libio/setbuf.c: Likewise.
33283 * libio/setlinebuf.c: Likewise.
33284 * libio/stdfiles.c: Likewise.
33285 * libio/strops.c: Likewise.
33286 * libio/vasprintf.c: Likewise.
33287 * libio/vscanf.c: Likewise.
33288 * libio/vsnprintf.c: Likewise.
33289 * libio/vswprintf.c: Likewise.
33290 * libio/wfiledoalloc.c: Likewise.
33291 * libio/wfileops.c: Likewise.
33292 * libio/wgenops.c: Likewise.
33293 * libio/wmemstream.c: Likewise.
33294 * libio/wstrops.c: Likewise.
33295 * libio/__fpurge.c: Likewise.
33296 * libio/__fsetlocking.c: Likewise.
33297 * assert/assert.c: Likewise.
33298 * debug/fgets_chk.c: Likewise.
33299 * debug/fgets_u_chk.c: Likewise.
33300 * debug/fread_chk.c: Likewise.
33301 * debug/fread_u_chk.c: Likewise.
33302 * debug/gets_chk.c: Likewise.
33303 * debug/obprintf_chk.c: Likewise.
33304 * debug/vasprintf_chk.c: Likewise.
33305 * debug/vdprintf_chk.c: Likewise.
33306 * debug/vsnprintf_chk.c: Likewise.
33307 * debug/vsprintf_chk.c: Likewise.
33308 * malloc/mtrace.c: Likewise.
33309 * misc/error.c: Likewise.
33310 * misc/syslog.c: Likewise.
33311 * stdio-common/asprintf.c: Likewise.
33312 * stdio-common/fxprintf.c: Likewise.
33313 * stdio-common/getw.c: Likewise.
33314 * stdio-common/isoc99_fscanf.c: Likewise.
33315 * stdio-common/isoc99_scanf.c: Likewise.
33316 * stdio-common/isoc99_vfscanf.c: Likewise.
33317 * stdio-common/isoc99_vscanf.c: Likewise.
33318 * stdio-common/isoc99_vsscanf.c: Likewise.
33319 * stdio-common/printf-prs.c: Likewise.
33320 * stdio-common/printf_fp.c: Likewise.
33321 * stdio-common/printf_fphex.c: Likewise.
33322 * stdio-common/printf_size.c: Likewise.
33323 * stdio-common/putw.c: Likewise.
33324 * stdio-common/scanf.c: Likewise.
33325 * stdio-common/sprintf.c: Likewise.
33326 * stdio-common/tmpfile.c: Likewise.
33327 * stdio-common/vfprintf.c: Likewise.
33328 * stdio-common/vfscanf.c: Likewise.
33329 * stdlib/strfmon_l.c: Likewise.
33330 * sunrpc/openchild.c: Likewise.
33331 * sunrpc/xdr_stdio.c: Likewise.
33332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33333 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33335 2012-05-24 Roland McGrath <roland@hack.frob.com>
33337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33339 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33340 in the third column, to generate for the shared library an IFUNC
33341 that uses _dl_vdso_vsym.
33342 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33343 * Makeconfig (object-suffixes-noshared): New variable.
33345 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33346 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33347 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33348 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33351 * include/sys/time.h (__gettimeofday): Remove macro.
33352 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33353 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33355 (__gettimeofday): Add libc_hidden_def.
33356 (gettimeofday): Add libc_hidden_weak.
33357 * sysdeps/mach/gettimeofday.c: Likewise.
33358 * sysdeps/posix/gettimeofday.c: Likewise.
33359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33360 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33362 (__gettimeofday_internal): Remove strong_alias.
33363 (__gettimeofday): Add libc_hidden_def.
33364 (gettimeofday): Add libc_hidden_weak.
33365 * sysdeps/unix/syscalls.list (gettimeofday):
33366 Remove __gettimeofday_internal alias.
33368 2012-05-24 Daniel Jacobowitz <drow@false.org>
33369 H.J. Lu <hongjiu.lu@intel.com>
33372 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33373 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33374 (largebin_index_32_big): New.
33375 (largebin_index): Use it for 16-byte alignment.
33376 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33377 correction with front_misalign.
33379 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33407 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33408 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33410 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33414 * math/libm-test.inc (exp_test): Add test from bug 14036.
33415 (pow_test): Add test from bug 10846.
33417 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33419 (special_function): Do not include flags in test name.
33420 (parse_args): Likewise.
33421 * sysdeps/i386/fpu/libm-test-ulps: Update.
33422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33427 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33429 * math/libm-test.inc ("Philosophy"): Update comment about
33431 (UNDERFLOW_EXCEPTION): New macro.
33432 (UNDERFLOW_EXCEPTION_OK): Likewise.
33433 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33434 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33435 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33436 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33437 (INVALID_EXCEPTION_OK): Update value.
33438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33439 (OVERFLOW_EXCEPTION_OK): Likewise.
33440 (IGNORE_ZERO_INF_SIGN): Likewise.
33441 (test_exceptions): Handle underflow exceptions.
33442 (acos_test): Update for underflow exception expectations.
33443 (cexp_test): Likewise.
33444 (clog_test): Likewise.
33445 (clog10_test): Likewise.
33446 (csqrt_test): Likewise.
33447 (ctan_test): Likewise.
33448 (ctanh_test): Likewise.
33449 (exp_test): Likewise.
33450 (exp10_test): Likewise.
33451 (exp2_test): Likewise.
33452 (expm1_test): Likewise.
33453 (fma_test): Likewise.
33454 (j0_test): Likewise.
33455 (jn_test): Likewise.
33456 (nexttoward_test): Likewise.
33457 (pow_test): Likewise.
33458 (scalbn_test): Likewise.
33459 (scalbln_test): Likewise.
33460 (tan_test): Likewise.
33461 (y1_test): Likewise.
33462 * sysdeps/i386/fpu/libm-test-ulps: Update.
33463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33465 2012-05-23 David S. Miller <davem@davemloft.net>
33467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33468 (__libc_sigaction): Remove unused local variables.
33470 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33472 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33474 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33476 mktime: avoid signed integer overflow
33477 * time/mktime.c (__mktime_internal): Do not mishandle the case
33478 where diff == INT_MIN.
33480 mktime: simplify computation of average
33481 * time/mktime.c (ranged_convert): Use new time_t_avg function
33482 instead of rolling our own (probably-slower) code.
33484 mktime: do not assume signed right shift propagates sign bit
33485 * time/mktime.c (isdst_differ): New static function.
33486 (__mktime_internal): No need to normalize tm_isdst now.
33487 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33490 mktime: merge another wrapv change from gnulib
33491 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33492 from some compilers.
33494 mktime: remove incorrect attempt at unusual arithmetics
33495 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33496 The code didn't really work on such machines anyway.
33497 (TYPE_MINIMUM): Assume two's complement.
33498 (twos_complement_arithmetic): Verify that long_int and time_t
33499 are two's complement (or unsigned, in the latter case).
33501 mktime: check signed shifts on long_int and time_t, too
33502 * time/mktime.c (SHR): Check that shifts work as desired
33503 on the types long_int and time_t too, as SHR is used on
33506 mktime: do not assume 'long' is wide enough
33507 * time/mktime.c (verify): Move decl up.
33508 (long_int): New type.
33509 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33510 to remove assumption in the code that 'long' is wide enough to
33511 store year values. This assumption is not true on x32 and on
33512 some non-glibc platforms.
33514 mktime: merge wrapv change from gnulib
33515 * time/mktime.c (WRAPV): New macro.
33516 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33517 (guess_time_tm, __mktime_internal): Do not assume that signed
33518 integer overflow wraps around; modern compilers generate code
33519 where this assumption is no longer valid.
33521 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33524 Replace "jmp L(pseudo_end)" with "ret".
33525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33528 2012-05-23 Andreas Jaeger <aj@suse.de>
33530 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33531 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33533 2012-05-23 Andreas Jaeger <aj@suse.de>
33534 Maximilian Attems <max@stro.at>
33536 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33539 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33542 code so that pseudo_end is just ret and the stack pointer is
33543 correct also for static library in error case.
33545 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33548 move to syscalls.list.
33549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33554 * manual/install.texi (Running make install): Do not mention Linux
33555 kernel version for which pt_chown is not needed.
33556 (Linux): Do not mention problems with nscd with 2.0 kernels.
33557 * INSTALL: Regenerated.
33559 2012-05-23 Andreas Jaeger <aj@suse.de>
33561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33562 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33564 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33566 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33568 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33574 * sysdeps/unix/sysv/linux/bits/in.h
33575 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33577 2012-05-22 Roland McGrath <roland@hack.frob.com>
33579 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33580 (PREPARE_VERSION): Just use assert instead, it will be elided
33581 under [NDEBUG] anyway.
33583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33585 * sysdeps/unix/sysv/linux/Makefile: Include
33586 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33587 (sysdep_routines): Remove sysctl.
33588 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33589 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33591 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33592 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33594 2012-05-22 Andreas Jaeger <aj@suse.de>
33596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33597 that pseudo_end is just ret and the stack pointer is correct also
33598 for static library in error case.
33600 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33603 * nss/nsswitch.c (defconfig_entries): New variable.
33604 (__nss_database_lookup): Don't leak defconfig entries.
33605 (nss_parse_service_list): Don't leak on error paths.
33606 (free_database_entries): New function.
33607 (free_defconfig): New function.
33608 (free_mem): Move common code to free_database_entries.
33610 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33617 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33620 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33621 (INTERNAL_SYSCALL_TYPES): Likewise.
33622 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33623 (LOAD_REGS_TYPES_[1-6]): Likewise.
33624 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33625 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33627 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33630 copysignl for GLIBC_2_0.
33631 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33632 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33634 logbl for GLIBC_2_0.
33635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33638 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33646 * time/mktime.c: Update copyright years.
33648 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33650 mktime: merge comment-quoting-style change from gnulib
33651 * time/mktime.c: Quote 'like this' in comments.
33652 The GNU coding standards suggest that we no longer quote `like this',
33653 as "`" and "'" are typically rendered asymmetrically nowadays.
33654 The typical gnulib style is to quote 'like this' when quoting
33655 code, and "like this" when quoting English.
33657 * time/mktime.c (compile-command): Add "-I.".
33659 mktime: merge mktime-internal.h change from gnulib
33660 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33662 mktime: merge time_r change from gnulib
33663 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33665 mktime: merge DEBUG change from gnulib
33666 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33667 case system <time.h> has a #define.
33669 mktime: merge <sys/types.h> change from gnulib
33670 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33671 since <time.t> is now guaranteed to define time_t.
33673 mktime: merge HAVE_CONFIG_H change from gnulib
33674 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33676 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33683 (struct rusage): Use anonymous union to pad each field to
33686 2012-05-21 David S. Miller <davem@davemloft.net>
33688 * Makefules (o-iterator): Remove .s cases.
33689 (compile-command.s): Delete.
33690 (COMPILE.s): Delete.
33691 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33693 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33695 * configure.in (libc_cv_predef_stack_protector): Only consider
33696 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33697 * configure: Regenerated.
33699 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33702 New macro. Use R*LP on int and pointer.
33703 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33704 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33705 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33706 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33708 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33709 [__WORDSIZE_TIME64_COMPAT32] instead of
33710 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33711 (struct utmp): Likewise.
33712 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33713 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33715 (__WORDSIZE_TIME64_COMPAT32): This.
33716 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33717 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33718 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33719 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33721 (__WORDSIZE_TIME64_COMPAT32): New macro.
33723 2012-05-21 Andreas Jaeger <aj@suse.de>
33725 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33726 only if [SHARED]. Add prototype for __wcschr_ia32.
33728 2012-05-21 Roland McGrath <roland@hack.frob.com>
33730 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33731 of %rbp unmolested in the jmp_buf while mangling the low bits.
33732 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33733 unmolested high bits of %rbp while demangling the low bits.
33734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33736 2012-05-21 Andreas Jaeger <aj@suse.de>
33738 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33739 * sunrpc/svc_simple.c: Use it for registerrpc.
33740 * sunrpc/xcrypt.c: Use it for passwd2des.
33742 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33744 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33746 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33747 Don't define if [__SYSCALL_WORDSIZE != 32].
33748 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33751 2012-05-21 Bruno Haible <bruno@clisp.org>
33752 Andreas Jaeger <aj@suse.de>
33754 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33755 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33756 inptr and inend for must_buffer_ch.
33757 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33758 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33759 * stdio-common/Makefile (tests): Remove bug15.
33760 (bug15-ENV): Remove macro.
33761 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33764 2012-05-19 Andreas Jaeger <aj@suse.de>
33765 Roland McGrath <roland@hack.frob.com>
33767 * manual/contrib.texi: Completely rewritten. It contains now an
33768 alphabetical list of contributors and their contributions.
33770 2012-05-21 Richard Henderson <rth@twiddle.net>
33772 * misc/getauxval.c (__getauxval): Use unsigned long int.
33773 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33774 (getauxval): Use unsigned long int.
33776 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33780 2012-05-21 Roland McGrath <roland@hack.frob.com>
33782 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33783 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33784 __alignof__ (long double).
33786 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33790 2012-05-20 Richard Henderson <rth@twiddle.net>
33792 * misc/getauxval.c: New file.
33793 * misc/sys/auxv.h: New file.
33794 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33795 (routines): Add getauxval.
33796 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33798 * elf/dl-sysdep.c (_dl_auxv): Remove.
33799 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33800 * elf/dl-support.c (_dl_auxv): New variable.
33801 (_dl_aux_init): Initialize it.
33802 * manual/startup.texi (Auxiliary Vector): New node.
33803 * sysdeps/generic/bits/hwcap.h: New file.
33804 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33805 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33806 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33807 * sysdeps/sparc/sysdep.h: ... here. Include it.
33808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33821 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33825 2012-05-19 David S. Miller <davem@davemloft.net>
33827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33829 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33832 * math/s_ccosh.c: Include <float.h>
33833 (__ccosh): Avoid internal overflow calculating sinh and cosh
33834 values before multiplying by sin and cos values.
33835 * math/s_ccoshf.c: Likewise.
33836 * math/s_ccoshl.c: Likewise.
33837 * math/s_csin.c: Likewise.
33838 * math/s_csinf.c: Likewise.
33839 * math/s_csinl.c: Likewise.
33840 * math/s_csinh.c: Likewise.
33841 * math/s_csinhf.c: Likewise.
33842 * math/s_csinhl.c: Likewise.
33843 * math/libm-test.inc (ccos_test): Add more tests.
33844 (ccosh_test): Likewise.
33845 (csin_test): Likewise.
33846 (csinh_test): Likewise.
33847 * sysdeps/i386/fpu/libm-test-ulps: Update.
33848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33850 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33852 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33855 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33857 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33859 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33860 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33861 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33862 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33863 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33864 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33865 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33866 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33867 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33868 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33869 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33870 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33871 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33872 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33873 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33874 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33875 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33876 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33877 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33878 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33879 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33880 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33881 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33882 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33883 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33884 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33885 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33886 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33887 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33888 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33889 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33891 2012-05-18 Andreas Jaeger <aj@suse.de>
33893 * csu/.gitignore: Delete.
33895 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33897 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33898 (timex): Use __syscall_slong_t.
33900 2012-05-18 Andreas Jaeger <aj@suse.de>
33901 Carlos O'Donell <carlos_odonell@mentor.com>
33903 * manual/install.texi (Configuring and compiling): Update
33904 description about files modified in the source directory.
33905 * INSTALL: Regenerated.
33907 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33909 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33910 value. Use "or" to set return value to -1.
33911 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33912 negate return value.
33914 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33916 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33917 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33918 failure if the compiler has Graphite support disabled.
33919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33921 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33922 (CFLAGS-memmove.c): Likewise.
33923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33926 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33928 * sysdeps/x86_64/x32/_itoa.h: New file.
33930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33931 getdents system call only if kernel and user dirents have the
33932 same d_ino and d_off.
33934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33935 LLONG_MAX != LONG_MAX.
33936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33937 (_fitoa_word): Likewise.
33939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33946 include <bits/wordsize.h>. Check __x86_64__ instead of
33948 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33949 if __x86_64__ is defined. Use anonymous union on fpstate.
33951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33954 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33956 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33957 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33959 Refer to _rtld_local_ro instead of _rtld_global_ro.
33960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33962 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33964 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33966 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33967 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33968 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33970 * sysdeps/powerpc/powerpc32/dl-machine.c
33971 (__elf_machine_runtime_setup) [PROF]: Don't reference
33974 2012-05-18 Andreas Jaeger <aj@suse.de>
33976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33977 function only available for GCCs before 3.4 since GCC 3.4
33978 introduced a builtin.
33980 (llrintf): Likewise.
33981 (llrint): Likewise.
33988 (nearbyint): Likewise.
33989 (nearbyintf): Likewise.
33993 (floorf): Likewise.
33995 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33997 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33998 on both fields and cast pointer to __syscall_ulong_t.
34000 * bits/types.h (__fsword_t): New type.
34001 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34002 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34004 (__FSWORD_T_TYPE): Likewise.
34005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34006 (__FSWORD_T_TYPE): Likewise.
34007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34008 (__FSWORD_T_TYPE): Likewise.
34009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34010 (__FSWORD_T_TYPE): Likewise.
34011 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34012 __SWORD_TYPE with __fsword_t.
34013 (statfs64): Likewise.
34015 2012-05-17 David S. Miller <davem@davemloft.net>
34017 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34019 2012-05-17 Andreas Jaeger <aj@suse.de>
34021 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34024 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34026 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34028 2012-05-17 Andreas Jaeger <aj@suse.de>
34030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34033 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34035 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34037 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34039 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34040 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34042 2012-05-17 Andreas Jaeger <aj@suse.de>
34043 Carlos O'Donell <carlos_odonell@mentor.com>
34046 * sysdeps/x86_64/multiarch/init-arch.h
34047 (bit_YMM_Usable): Rename to...
34048 (bit_AVX_Usable): ... this.
34049 (bit_FMA4_Usable): New macro.
34050 (bit_XMM_state): New macro.
34051 (bit_YMM_state): New macro.
34052 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34053 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34054 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34055 (CPUID_OSXSAVE): New macro.
34056 (CPUID_AVX): New macro.
34057 (CPUID_FMA4): New macro.
34058 (index_YMM_Usable): Rename to...
34059 (index_AVX_Usable): ... this.
34060 (HAS_AVX): Use HAS_ARCH_FEATURE.
34061 (HAS_FMA4): Likewise.
34062 (HAS_YMM_USABLE): Remove.
34063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34064 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34066 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34067 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34068 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34069 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34070 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34072 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34074 * math/libm-test.c: Support platforms without multiple rounding modes.
34075 * math/bug-nextafter.c: Support platforms without FP exceptions.
34076 * math/bug-nexttoward.c: Likewise.
34077 * math/test-fenv.c: Likewise.
34078 * math/test-misc.c: Likewise.
34079 * stdlib/bug-getcontext.c: Likewise.
34081 2012-05-17 Andreas Jaeger <aj@suse.de>
34083 * manual/examples/search.c (critter_cmp): Change signature to
34085 * manual/string.texi (Collation Functions): Likewise.
34087 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34089 * bits/types.h: Fold copyright years.
34090 * bits/typesizes.h: Likewise.
34091 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34095 * time/time.h: Likewise.
34097 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34100 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34101 in instead of returning them. Return void.
34102 (__libc_mallinfo): Accumulate over all arenas.
34103 (__malloc_stats): Adjust for change in int_mallinfo interface.
34105 2012-05-16 Roland McGrath <roland@hack.frob.com>
34108 * configure.in (NM): Add AC_CHECK_TOOL for it.
34109 (libc_extra_cflags): New substituted variable.
34110 Check for -fstack-protector being used implicitly.
34111 * configure: Regenerated.
34112 * config.make.in (config-extra-cflags): New variable,
34113 gets @libc_extra_cflags@.
34114 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34117 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34118 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34119 * configure: Regenerated.
34120 * config.make.in (CPPUNDEFS): New substituted variable.
34121 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34122 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34123 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34127 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34128 (mq_attr): Use __syscall_slong_t.
34130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34133 Check __x86_64__ instead of __WORDSIZE.
34134 (_STAT_VER_LINUX): Likewise.
34135 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34136 __syscall_ulong_t and __syscall_slong_t.
34137 (stat64): Likewise.
34139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34149 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34153 include <bits/wordsize.h>. Check __x86_64__ instead of
34155 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34157 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34160 include <bits/wordsize.h>. Check __x86_64__ instead of
34162 (user_regs_struct): Use "__extension__ unsigned long long"
34163 instead of "unsigned long" if __x86_64__ is defined.
34164 (user): Likewise. Pad after pointer field if __ILP32__ is
34167 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34169 * configure.in (makeinfo): Require version 4.5 or later. Allow
34171 * configure: Regenerated.
34172 * manual/install.texi (texinfo): Increase version requirement to
34174 * INSTALL: Regenerated.
34176 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34182 * sysdeps/x86_64/x32/ffs.c: New file.
34184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34186 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34187 defined. Use __syscall_ulong_t.
34188 (shminfo): Use __syscall_ulong_t.
34189 (shm_info): Likewise.
34191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34196 (msgqnum_t): Use __syscall_ulong_t.
34197 (msglen_t): Likewise.
34198 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34204 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34206 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34207 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34209 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34213 include <bits/wordsize.h>. Check __x86_64__ instead of
34216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34217 "unsigned long long int" if __x86_64__ is defined.
34218 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34222 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34224 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34226 (GET_PC): Cast to uintptr_t first.
34227 (GET_FRAME): Likewise.
34228 (GET_STACK): Likewise.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34260 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34262 * Makerules (+depfiles): Also collect depfiles from .oS in
34264 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34265 .oS, $(libnldbl-routines)).
34267 * Makerules (native-compile-mkdep-flags): Define.
34268 * sunrpc/Makefile (extra-objs): Add $(addprefix
34269 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34270 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34271 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34272 calling $(make-target-directory).
34274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34276 * bits/types.h (__snseconds_t): Removed.
34277 * time/time.h (struct timespec): Replace __snseconds_t with
34279 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34280 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34283 (__SNSECONDS_T_TYPE): Likewise.
34284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34285 (__SNSECONDS_T_TYPE): Likewise.
34286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34287 (__SNSECONDS_T_TYPE): Likewise.
34289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34291 * sysdeps/mach/hurd/bits/typesizes.h
34292 (__SYSCALL_SLONG_TYPE): New macro.
34293 (__SYSCALL_ULONG_TYPE): Likewise.
34295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34297 * bits/types.h (__syscall_slong_t): New type.
34298 (__syscall_ulong_t): Likewise.
34300 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34301 (__SYSCALL_ULONG_TYPE): Likewise.
34302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34303 (__SYSCALL_SLONG_TYPE): Likewise.
34304 (__SYSCALL_ULONG_TYPE): Likewise.
34305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34306 (__SYSCALL_SLONG_TYPE): Likewise.
34307 (__SYSCALL_ULONG_TYPE): Likewise.
34308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34309 (__SYSCALL_SLONG_TYPE): Likewise.
34310 (__SYSCALL_ULONG_TYPE): Likewise.
34312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34314 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34315 Add sigaltstack-offsets.sym.
34316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34317 <sigaltstack-offsets.h>.
34318 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34319 longjmp_msg pointer.
34320 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34321 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34323 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34325 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34327 * elf/stackguard-macros.h: Remove file.
34328 * sysdeps/generic/stackguard-macros.h: New file.
34329 * sysdeps/i386/stackguard-macros.h: Likewise.
34330 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34331 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34332 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34333 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34334 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34335 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34336 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34337 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34338 <elf/stackguard-macros.h>.
34341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34342 __aligned__ in attribute.
34343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34344 (gregset_t): Likewise.
34346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34348 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34349 * sysdeps/x86_64/64/Implies-after: Here. New file.
34350 * sysdeps/x86_64/x32/Implies-after: New file.
34352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34354 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34355 and access return value for _dl_profile_fixup. Use R10_LP to
34358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34360 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34364 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34365 * sysdeps/x86_64/x32/sysdep.h: New file.
34367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34369 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34370 * sysdeps/x86_64/setjmp.S: Likewise.
34372 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34376 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34378 remove unused global constant.
34380 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34382 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34383 include of <not-cancel.h>.
34385 2012-05-15 Roland McGrath <roland@hack.frob.com>
34387 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34389 2012-05-15 Jeff Law <law@redhat.com>
34390 Andreas Jaeger <aj@suse.de>
34393 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34395 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34396 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34398 code changing __hst_map_handle.map.
34400 2012-05-15 Roland McGrath <roland@hack.frob.com>
34402 * configure.in (sysnames): Look for Implies-before and Implies-after
34404 * configure: Regenerated.
34406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34408 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34409 8-byte data alignment with LP_SIZE alignment.
34411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34418 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34430 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34431 (stackinfo_sub_sp): Likewise.
34433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34450 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34454 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34455 into R11_LP and load __x86_64_shared_cache_size_half into
34458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34463 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34472 powerpc32/power7/fpu/s_logb.c via #include.
34473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34474 powerpc32/power7/fpu/s_logbf.c via #include.
34475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34476 powerpc32/power7/fpu/s_logbl.c via #include.
34478 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34480 * README.libm: Remove file.
34482 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34484 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34485 count for x32. Use R*_LP and omit operand-size suffix.
34487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34489 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34490 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34491 * sysdeps/x86_64/x32/shlib-versions: New file.
34493 2012-05-14 Roland McGrath <roland@hack.frob.com>
34495 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34496 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34497 Use _dl_fatal_printf instead.
34499 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34501 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34502 set if not set by the user. Do not allow for being unset.
34503 * sysdeps/unix/sysv/linux/configure: Regenerated.
34505 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34508 the `q' suffix from lea and replace .quad with ASM_ADDR.
34510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34513 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34515 (PTR_DEMANGLE): Likewise.
34517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34519 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34521 (ASM_ADDR): Likewise.
34522 (RAX_LP): Likewise.
34523 (RBP_LP): Likewise.
34524 (RBX_LP): Likewise.
34525 (RCX_LP): Likewise.
34526 (RDI_LP): Likewise.
34527 (RSI_LP): Likewise.
34528 (RSP_LP): Likewise.
34531 (R10_LP): Likewise.
34532 (R10_LP): Likewise.
34533 (R11_LP): Likewise.
34534 (R12_LP): Likewise.
34535 (R13_LP): Likewise.
34536 (R14_LP): Likewise.
34537 (R15_LP): Likewise.
34539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/x86_64/x32/dl-machine.h: New file.
34543 2012-05-14 Andreas Jaeger <aj@suse.de>
34545 * manual/Makefile (subdir): Remove export of subdir.
34546 (all): Remove target.
34547 (.PHONY): Remove all from list.
34548 (mkinstalldirs): Remove.
34549 (.PHONY): Remove installdirs from list.
34550 ($(inst_infodir)/libc.info): Use make-target-directory.
34551 (installdirs): Remove.
34552 (subdir_%): Remove.
34553 (glibc-targets): Remove.
34556 ($(objpfx)stubs ../po/manual.pot): Remove.
34557 ($(objpfx)stamp%): Remove.
34558 (make-target-directory): Remove.
34559 (subdir_install): Remove.
34560 (routines): Remove.
34567 * manual/.gitignore: Remove, it's not needed anymore.
34568 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34570 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34572 (texis): Renamed to $(objpfx)texis.
34573 (texis-path): New, contains path to generated files.
34574 (chapters.%): Use texis-path for complete path, add extra argument
34576 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34577 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34578 (summary,texi, stamp-summary): Use complete path of
34579 files. Generate files in build dir.
34580 (dir-add.texi): Build in build dir.
34581 (libm-err.texi,stamp-libm-err): Likewise.
34582 (version.texi, stamp-version): Likewise.
34583 (.%c.texi): Likewise.
34584 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34585 (mostlyclean): Remove target.
34586 (realclean): Remove target.
34587 (generated): Add new variable with contents from mostlyclean and
34588 realclean, remove entries duplicated in common-mostlyclean, add
34589 stamp-libm-err and stamp-version.
34590 (generated-dirs): Add libc directory.
34591 ($(inst_infodir)/libc.info): Install files from build dir.
34593 * manual/install.texi (Configuring and compiling): Adjust since
34594 the info files are not part of the tar ball anymore.
34596 2012-05-14 Andreas Jaeger <aj@suse.de>
34598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34601 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34605 to 2.2.0 where earlier.
34606 * sysdeps/unix/sysv/linux/configure: Regenerated.
34607 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34608 Remove conditional code.
34609 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34610 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34611 Remove conditional code.
34612 [!__NR_lchown]: Likewise.
34613 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34614 [__NR_lchown]: Likewise.
34615 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34616 comment referencing __ASSUME_LCHOWN_SYSCALL.
34617 * sysdeps/unix/sysv/linux/i386/sigaction.c
34618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34621 Remove conditional code.
34622 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34623 (__protocol_available): Remove #if 0 code.
34624 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34626 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34627 * sysdeps/unix/sysv/linux/kernel-features.h
34628 (__ASSUME_GETCWD_SYSCALL): Don't define.
34629 (__ASSUME_REALTIME_SIGNALS): Likewise.
34630 (__ASSUME_PREAD_SYSCALL): Likewise.
34631 (__ASSUME_PWRITE_SYSCALL): Likewise.
34632 (__ASSUME_POLL_SYSCALL): Likewise.
34633 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34634 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34636 (__ASSUME_SIOCGIFNAME): Don't define.
34637 (__ASSUME_MSG_NOSIGNAL): Likewise.
34638 (__ASSUME_SENDFILE): Define unconditionally.
34639 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34640 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34642 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34643 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34645 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34646 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34647 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34648 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34673 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34674 Remove conditional code.
34675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34676 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34677 Remove conditional code.
34678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34679 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34680 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34681 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34682 Remove conditional code.
34683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34684 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34685 Remove conditional code.
34686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34687 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34688 Remove conditional code.
34689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34690 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34691 Remove conditional code.
34692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34693 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34694 Remove conditional code.
34695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34696 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34699 * sysdeps/unix/sysv/linux/sigaction.c
34700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34702 * sysdeps/unix/sysv/linux/sigpending.c
34703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34705 * sysdeps/unix/sysv/linux/sigprocmask.c
34706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34708 * sysdeps/unix/sysv/linux/sigsuspend.c
34709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34712 (__libc_missing_rt_sigs): Remove.
34713 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34714 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34715 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34716 Remove conditional code.
34717 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34718 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34725 2012-05-14 Andreas Jaeger <aj@suse.de>
34727 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34728 it's not used in glibc.
34729 (__coshm1): Likewise.
34730 (__acosh1p): Likewise.
34733 * manual/string.texi (Copying and Concatenation): Add missing
34734 variable in concat example.
34735 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34741 __builtin_clzl with __builtin_clzll.
34743 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34746 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34749 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34751 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34752 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34753 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34756 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34758 * NEWS: Update ia64 info.
34760 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34762 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34765 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34767 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34768 * sysdeps/unix/syscalls.list (dup3): Likewise.
34769 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34770 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34772 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34774 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34775 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34777 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34779 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34781 (TLS_IE): Use mov/add instead of movq/addq to load thread
34783 (TLS_GD_PREFIX): New.
34786 2012-05-11 David S. Miller <davem@davemloft.net>
34788 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34789 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34790 (_FPU_SETCW): Likewise.
34792 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34794 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34795 is 32-byte aligned.
34797 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34800 * iconvdata/gb18030.c: Update tables.
34801 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34802 characters specially.
34803 (BODY for TO_LOOP): Add encoding of missing ranges.
34805 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34808 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34809 * sysdeps/mach/hurd/dup3.c: Likewise.
34810 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34811 * sysdeps/powerpc/memmove.c:: Likewise.
34813 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34816 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34818 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34820 * elf/elf.h (R_X86_64_RELATIVE64): New.
34821 (R_X86_64_NUM): Updated.
34822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34823 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34824 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34825 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34826 tst-quad1pie tst-quad2pie
34827 (modules-names): Add tst-quadmod1 tst-quadmod2.
34828 ($(objpfx)tst-quad1): New dependency.
34829 ($(objpfx)tst-quad2): Likewise.
34830 ($(objpfx)tst-quad1pie): Likewise.
34831 ($(objpfx)tst-quad2pie): Likewise.
34832 * sysdeps/x86_64/tst-quad1.c: New file.
34833 * sysdeps/x86_64/tst-quad1pie.c: New file.
34834 * sysdeps/x86_64/tst-quad2.c: Likewise.
34835 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34836 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34837 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34838 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34839 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34843 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34844 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34845 * streams/stropts.h (t_scalar_t): Define type.
34847 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34848 (_PATH_PRESERVE): Set to "/var/lib".
34849 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34851 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34854 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34855 if __dir_mkfile succeeded.
34857 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34858 checking for _hurd_dtablesize. Unlock it right after having
34859 finished _hurd_dtable allocation.
34861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34863 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34864 * sysdeps/mach/hurd/configure: Regenerated.
34865 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34866 special-casing to...
34867 * sysdeps/gnu/configure.in: ... this new file.
34868 * sysdeps/unix/sysv/linux/configure: Regenerated.
34869 * sysdeps/gnu/configure: New generated file.
34871 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34872 for Linux: use nsec instead of usec, as well as:
34873 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34874 members of type struct timespec.
34875 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34877 (struct stat64): Likewise.
34878 (_STATBUF_ST_NSEC): New macro.
34879 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34881 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34882 __strtoul_internal rather than strtoul.
34884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34886 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34891 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34892 which preserves existing values.
34893 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34895 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34897 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34898 TIMEOUT values. Return EINVAL for NFDS values either negative or
34899 greater than FD_SETSIZE.
34901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34903 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34904 allocated, call __vm_protect to finish enabling the existing space, and
34905 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34906 allocate the remainder.
34908 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34910 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34911 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34915 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34916 sysdeps/mach/hurd/readlink.c.
34918 * posix/tst-sysconf.c (posix_options): Only use
34919 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34920 _POSIX_SYNCHRONIZED_IO when they are defined
34921 * sysdeps/mach/hurd/bits/posix_opt.h:
34922 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34923 (_XOPEN_REALTIME): Undefine macro.
34924 (_XOPEN_REALTIME_THREADS): Undefine macro.
34925 (_XOPEN_SHM): Undefine macro.
34926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34930 (_POSIX_ASYNC_IO): Undefine macro.
34931 (_POSIX_PRIORITIZED_IO): Undefine macro.
34932 (_POSIX_SPIN_LOCKS): Define macro to -1.
34934 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34935 SA_NODEFER, SA_RESETHAND.
34936 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34937 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34942 * elf/Makefile (pldd-modules): Define unconditionally.
34944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34946 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34950 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34951 Return ENOENT when name is empty.
34952 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34956 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34958 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34962 Fix mlock in all cases except non-readable pages.
34963 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34964 instead of VM_PROT_ALL as parameter to __vm_wire function.
34966 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34967 (__mkdir): When path is `/', just fail with EEXIST.
34968 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34972 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34973 <sys/uio.h> (for writev).
34974 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34975 and <sys/param.h> (for MIN).
34977 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34979 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34980 REQUESTED_TIME. Properly set the remaining time and return EINTR
34983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34986 Depend on against $(link-rpcuserlibs).
34988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34990 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34991 (__libc_stack_end): Do not use attribute_relro.
34992 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34993 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34994 to libthread-provided value.
34995 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34998 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35001 * bits/libc-lock.h (__libc_once_get): New macro.
35002 * sysdeps/mach/bits/libc-lock.h: Likewise.
35003 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35005 instead of using implementation details.
35007 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35008 * libio/freopen.c: Likewise.
35009 * libio/freopen64.c: Likewise.
35010 * misc/syslog.c: Likewise.
35011 * nscd/connections.c: Likewise.
35012 * nscd/netgroupcache.c: Likewise.
35013 * sysdeps/posix/getcwd.c: Likewise.
35015 2012-05-10 Roland McGrath <roland@hack.frob.com>
35017 * math/w_ilogbf.c: Add #include <limits.h>.
35019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35021 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35022 path instead of returning without unlocking.
35024 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35025 immediate-write ioctls.
35026 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35030 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35031 __builtin_frame_address instead of making assumptions about the
35032 location of the return address relative to DATA. Force early load of
35033 the return address.
35034 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35035 __builtin_frame_address.
35038 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35039 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35040 implement dup3 and do some further code clean-ups.
35041 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35046 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35048 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35049 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35050 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35051 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35052 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35055 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35056 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35057 when handler == SIG_ERR, not when handler != SIG_ERR.
35059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35061 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35062 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35065 accept4 for GNU Hurd.
35066 * include/sys/socket.h (__libc_accept4): New prototype.
35067 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35068 to implement __libc_accept4.
35069 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35074 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35075 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35076 signal-defines.sym.
35078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35080 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35084 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35085 assertion on O_CLOEXEC flag.
35086 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35087 * hurd/intern-fd.c: Likewise.
35088 * hurd/port2fd.c: Likewise.
35090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35093 * bits/in.h (IPV6_PKTINFO): Define new macro.
35094 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35096 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35103 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35107 * math/libm-test.inc (logb_test) : Additional logb tests.
35109 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35110 Andreas Jaeger <aj@suse.de>
35112 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35113 * configure: Regenerated.
35114 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35115 * config.make.in (link-obsolete-rpc): New substituted variable.
35116 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35117 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35118 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35119 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35120 so that libc.a contains the symbols.
35121 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35122 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35123 * sunrpc/auth_none.c: Likewise.
35124 * sunrpc/auth_unix.c: Likewise.
35125 * sunrpc/authdes_prot.c: Likewise.
35126 * sunrpc/authuxprot.c: Likewise.
35127 * sunrpc/clnt_gen.c: Likewise.
35128 * sunrpc/clnt_perr.c: Likewise.
35129 * sunrpc/clnt_raw.c: Likewise.
35130 * sunrpc/clnt_simp.c: Likewise.
35131 * sunrpc/clnt_tcp.c: Likewise.
35132 * sunrpc/clnt_udp.c: Likewise.
35133 * sunrpc/clnt_unix.c: Likewise.
35134 * sunrpc/des_crypt.c: Likewise.
35135 * sunrpc/des_soft.c: Likewise.
35136 * sunrpc/get_myaddr.c: Likewise.
35137 * sunrpc/key_call.c: Likewise.
35138 * sunrpc/key_prot.c: Likewise.
35139 * sunrpc/netname.c: Likewise.
35140 * sunrpc/pm_getmaps.c: Likewise.
35141 * sunrpc/pm_getport.c: Likewise.
35142 * sunrpc/pmap_clnt.c: Likewise.
35143 * sunrpc/pmap_prot.c: Likewise.
35144 * sunrpc/pmap_prot2.c: Likewise.
35145 * sunrpc/pmap_rmt.c: Likewise.
35146 * sunrpc/publickey.c: Likewise.
35147 * sunrpc/rpc_cmsg.c: Likewise.
35148 * sunrpc/rpc_common.c: Likewise.
35149 * sunrpc/rpc_dtable.c: Likewise.
35150 * sunrpc/rpc_prot.c: Likewise.
35151 * sunrpc/rpc_thread.c: Likewise.
35152 * sunrpc/rtime.c: Likewise.
35153 * sunrpc/svc.c: Likewise.
35154 * sunrpc/svc_auth.c: Likewise.
35155 * sunrpc/svc_raw.c: Likewise.
35156 * sunrpc/svc_run.c: Likewise.
35157 * sunrpc/svc_tcp.c: Likewise.
35158 * sunrpc/svc_udp.c: Likewise.
35159 * sunrpc/svc_unix.c: Likewise.
35160 * sunrpc/svcauth_des.c: Likewise.
35161 * sunrpc/xcrypt.c: Likewise.
35162 * sunrpc/xdr.c: Likewise.
35163 * sunrpc/xdr_array.c: Likewise.
35164 * sunrpc/xdr_float.c: Likewise.
35165 * sunrpc/xdr_intXX_t.c: Likewise.
35166 * sunrpc/xdr_mem.c: Likewise.
35167 * sunrpc/xdr_rec.c: Likewise.
35168 * sunrpc/xdr_ref.c: Likewise.
35169 * sunrpc/xdr_sizeof.c: Likewise.
35170 * sunrpc/xdr_stdio.c: Likewise.
35172 2012-05-10 Roland McGrath <roland@hack.frob.com>
35174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35175 change. Update copyright years.
35177 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35179 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35181 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35182 Joseph Myers <joseph@codesourcery.com>
35183 Paul Pluzhnikov <ppluzhnikov@google.com>
35186 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35188 [cross-compiling] (extra-libs): Likewise.
35189 [cross-compiling] (extra-libs-others): Likewise.
35190 [cross-compiling] (librpcsvc-routines): Likewise.
35191 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35192 [cross-compiling] (omit-deps): Likewise.
35193 (sunrpc-CPPFLAGS): New variable.
35194 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35195 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35196 (cross-rpcgen-objs): New variable.
35197 (extra-objs): Append $(cross-rpcgen-objs).
35198 ($(cross-rpcgen-objs)): New rule.
35199 ($(objpfx)cross-rpcgen): Likewise.
35200 (rpcgen-cmd): Define to use $(built-program-file). Expand
35202 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35203 ($(objpfx)x%.stmp): Likewise.
35204 * sunrpc/proto.h [IS_IN_build] (_): Define.
35205 [IS_IN_build] (_libc_intl_domainname): Likewise.
35207 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35210 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35211 and R_X86_64_TPOFF64.
35213 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35215 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35216 sysdeps/unix/sysv/syscalls.list.
35219 * sysdeps/unix/sysv/syscalls.list: Remove file.
35221 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35224 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35225 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35226 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35227 (__LC_IDENTIFICATION): Make these macros useful in #if
35228 expressions, as required by C99.
35230 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35232 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35233 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35236 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35238 * stdlib/longlong.h: Updated from GCC.
35240 2012-05-09 Andreas Jaeger <aj@suse.de>
35242 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35243 default is first entry.
35244 (run_mode): Set type.
35245 (main): Remove informal message about syslog.
35246 (options): Fix typo.
35249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35252 (llrintf): Likewise.
35253 (llrint): Likewise.
35256 (nearbyint): Likewise.
35257 (nearbyintf): Likewise.
35259 2012-05-09 Andreas Jaeger <aj@suse.de>
35260 Pedro Alves <palves@redhat.com>
35262 * nscd/nscd.c (run_mode): Use enum.
35263 (main): Cleanup coding style issue.
35265 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35266 Andreas Jaeger <aj@suse.de>
35268 * nscd/nscd.c (go_background): Replaced with...
35269 (run_mode): ... this.
35270 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35271 (options): Add -F --foreground.
35272 (main): Implement it.
35273 (parse_opt): Parse it.
35275 2012-05-09 Andreas Jaeger <aj@suse.de>
35278 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35279 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35280 -Wconversion warning.
35281 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35284 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35286 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35288 (LC_ALL): Use macro-int-constant.
35289 (LC_COLLATE): Likewise.
35290 (LC_CTYPE): Likewise.
35291 (LC_MESSAGES): Likewise.
35292 (LC_MONETARY): Likewise.
35293 (LC_NUMERIC): Likewise.
35294 (LC_TIME): Likewise.
35295 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35296 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35298 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35300 [C99-based standards] (float_t): Expect type.
35301 [C99-based standards] (double_t): Expect type.
35302 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35304 [C99-based standards] (HUGE_VALL): Likewise.
35305 [C99-based standards] (INFINITY): Likewise.
35306 [C99-based standards] (NAN): Likewise.
35307 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35308 [C99-based standards] (FP_NAN): Likewise.
35309 [C99-based standards] (FP_NORMAL): Likewise.
35310 [C99-based standards] (FP_SUBNORMAL): Likewise.
35311 [C99-based standards] (FP_ZERO): Likewise.
35312 [C99-based standards] (FP_FAST_FMA): Use
35313 optional-macro-int-constant. Specify type. Require == 1.
35314 [C99-based standards] (FP_FAST_FMAF): Likewise.
35315 [C99-based standards] (FP_FAST_FMAL): Likewise.
35316 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35317 [C99-based standards] (FP_ILOGBNAN): Likewise.
35318 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35320 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35321 [C99-based standards] (math_errhandling): Specify type.
35322 [ISO99 || ISO11] (signgam): Do not allow.
35323 [non-C99-based standards] (copysignf): Do not allow.
35324 [non-C99-based standards] (exp2f): Likewise.
35325 [non-C99-based standards] (log2f): Likewise.
35326 [non-C99-based standards] (modff): Allow.
35327 [non-C99-based standards] (erff): Do not allow.
35328 [non-C99-based standards] (erfcf): Likewise.
35329 [non-C99-based standards] (gammaf): Likewise.
35330 [non-C99-based standards] (hypotf): Likewise.
35331 [non-C99-based standards] (j0f): Likewise.
35332 [non-C99-based standards] (j1f): Likewise.
35333 [non-C99-based standards] (jnf): Likewise.
35334 [non-C99-based standards] (lgammaf): Likewise.
35335 [non-C99-based standards] (tgammaf): Likewise.
35336 [non-C99-based standards] (y0f): Likewise.
35337 [non-C99-based standards] (y1f): Likewise.
35338 [non-C99-based standards] (ynf): Likewise.
35339 [non-C99-based standards] (isnanf): Likewise.
35340 [non-C99-based standards] (acoshf): Likewise.
35341 [non-C99-based standards] (asinhf): Likewise.
35342 [non-C99-based standards] (atanhf): Likewise.
35343 [non-C99-based standards] (cbrtf): Likewise.
35344 [non-C99-based standards] (expm1f): Likewise.
35345 [non-C99-based standards] (ilogbf): Likewise.
35346 [non-C99-based standards] (log1pf): Likewise.
35347 [non-C99-based standards] (logbf): Likewise.
35348 [non-C99-based standards] (nextafterf): Likewise.
35349 [non-C99-based standards] (remainderf): Likewise.
35350 [non-C99-based standards] (rintf): Likewise.
35351 [non-C99-based standards] (scalbf): Likewise.
35352 [non-C99-based standards] (copysignl): Likewise.
35353 [non-C99-based standards] (exp2l): Likewise.
35354 [non-C99-based standards] (log2l): Likewise.
35355 [non-C99-based standards] (modfl): Allow.
35356 [non-C99-based standards] (erfl): Do not allow.
35357 [non-C99-based standards] (erfcl): Likewise.
35358 [non-C99-based standards] (gammal): Likewise.
35359 [non-C99-based standards] (hypotl): Likewise.
35360 [non-C99-based standards] (j0l): Likewise.
35361 [non-C99-based standards] (j1l): Likewise.
35362 [non-C99-based standards] (jnl): Likewise.
35363 [non-C99-based standards] (lgammal): Likewise.
35364 [non-C99-based standards] (tgammal): Likewise.
35365 [non-C99-based standards] (y0l): Likewise.
35366 [non-C99-based standards] (y1l): Likewise.
35367 [non-C99-based standards] (ynl): Likewise.
35368 [non-C99-based standards] (isnanl): Likewise.
35369 [non-C99-based standards] (acoshl): Likewise.
35370 [non-C99-based standards] (asinhl): Likewise.
35371 [non-C99-based standards] (atanhl): Likewise.
35372 [non-C99-based standards] (cbrtl): Likewise.
35373 [non-C99-based standards] (expm1l): Likewise.
35374 [non-C99-based standards] (ilogbl): Likewise.
35375 [non-C99-based standards] (log1pl): Likewise.
35376 [non-C99-based standards] (logbl): Likewise.
35377 [non-C99-based standards] (nextafterl): Likewise.
35378 [non-C99-based standards] (remainderl): Likewise.
35379 [non-C99-based standards] (rintl): Likewise.
35380 [non-C99-based standards] (scalbl): Likewise.
35381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35382 [non-C99-based standards] (FP_*): Do not allow.
35383 [C99-based standards] (FP_*): Change to
35384 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35385 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35387 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35388 (SIG_ERR): Likewise.
35389 [X/Open-based standards] (SIG_HOLD): Likewise.
35390 (SIG_IGN): Likewise.
35391 (SIGABRT): Use macro-int-constant. Specify type. Require
35393 (SIGFPE): Likewise.
35394 (SIGILL): Likewise.
35395 (SIGINT): Likewise.
35396 (SIGSEGV): Likewise.
35397 (SIGTER): Likewise.
35398 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35399 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35400 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35401 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35402 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35403 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35404 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35405 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35406 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35408 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35409 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35410 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35411 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35412 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35413 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35414 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35415 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35416 [X/Open-based standards] (SIGTRAP): Likewise.
35417 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35418 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35419 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35420 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35421 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35424 2012-05-08 Ian Wienand <ianw@vmware.com>
35427 * time/tzset.c (__tzset_parse_tz): Update default rules for
35428 daylight time changes in the Energy Policy Act of 2005.
35430 2012-05-09 Andreas Jaeger <aj@suse.de>
35433 * elf/ldconfig.c (parse_conf): Change string to make clear that
35434 ldconfig only issued a warning if ld.so.conf does not exist.
35436 2012-05-08 David S. Miller <davem@davemloft.net>
35438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35439 movxtod instead of popping the value on the stack.
35441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35443 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35445 * config.h.in: Add HAVE_ARM_PCS_VFP.
35447 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35450 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35451 checking but the checks are disabled for any reason.
35453 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35455 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35456 and ELF64_R_TYPE with ELFW(R_TYPE).
35458 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35460 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35461 (ulimit): Likewise.
35463 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35464 (settimeofday): Likewise.
35466 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35468 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35469 a struct th_u2 inside the union, and move tu_block/tu_code into
35470 a new th_u3 union of tu_block/tu_code inside of that. Move
35471 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35472 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35473 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35474 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35475 (th_stuff): Change to th_u1.tu_stuff.
35477 (th_msg): Change to th_u1.th_u2.tu_data.
35479 2012-05-07 David S. Miller <davem@davemloft.net>
35481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35485 (SETUP_PIC_REG): Use it.
35486 (SETUP_PIC_REG_LEAF): Use it.
35488 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35494 (EXPL_FINITE): Likewise.
35495 (FLDLOG): Likewise.
35496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35497 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35501 (EXPL_FINITE): Likewise.
35502 (FLDLOG): Likewise.
35503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35504 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35506 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35507 test of -max_value argument for long double.
35508 * sysdeps/i386/fpu/libm-test-ulps: Update.
35509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35511 2012-05-06 David S. Miller <davem@davemloft.net>
35513 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35514 quad soft-float symbols whose references which are compiler
35516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35518 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35524 (EXPL_FINITE): Likewise.
35525 (FLDLOG): Likewise.
35528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35529 Adjust comments for base varying.
35530 (__expl_finite): Change alias to EXPL_FINITE.
35531 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35533 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35534 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35536 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35539 (EXPL_FINITE): Likewise.
35540 (FLDLOG): Likewise.
35543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35544 Adjust comments for base varying.
35545 (__expl_finite): Change alias to EXPL_FINITE.
35546 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35551 * math/libm-test.inc (check_float_internal): Correct ulp
35552 calculation for subnormal expected results.
35554 2012-05-06 Andreas Jaeger <aj@suse.de>
35556 * Makeconfig (+math-flags): New, set to -frounding-math.
35557 (+cflags): Add +math-flags so that all of glibc gets compiled with
35560 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35562 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35564 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35570 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35571 (__ieee754_expl): Allow for and saturate large arguments.
35572 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35573 (u_threshold): Likewise.
35574 (__exp): Call __ieee754_exp before checking for overflow and
35576 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35577 (u_threshold): Likewise.
35578 (__expf): Call __ieee754_expf before checking for overflow and
35580 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35581 (u_threshold): Likewise.
35582 (__expl): Call __ieee754_expl before checking for overflow and
35584 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35585 (__ieee754_expl): Allow for and saturate large arguments.
35586 * math/libm-test.inc (exp_test): Add another test. Do not allow
35587 missing overflow exception on overflow.
35588 (expm1_test): Do not allow missing overflow exception on overflow.
35590 * sysdeps/i386/fpu/e_expl.c: Move to ...
35591 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35592 rather than using inline asm.
35593 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35594 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35595 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35597 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35600 (signal): Likewise.
35604 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35606 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35607 sysdeps/unix/common/syscalls.list.
35608 (fchmod): Likewise.
35609 (fchown): Likewise.
35610 (ftruncate): Likewise.
35611 (getrusage): Likewise.
35612 (gettimeofday): Likewise.
35613 (setpgid): Likewise.
35614 (setregid): Likewise.
35615 (setreuid): Likewise.
35616 (sigaction): Likewise.
35617 (truncate): Likewise.
35618 (vhangup): Likewise.
35619 * sysdeps/unix/common/syscalls.list: Remove file.
35620 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35621 * sysdeps/unix/sysv/linux/Implies: Likewise.
35623 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35625 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35627 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35649 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35660 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35668 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35670 * sysdeps/unix/common/bits/dirent.h: Remove file.
35671 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35673 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35674 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35675 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35676 * sysdeps/unix/bsd/isatty.c: Likewise.
35677 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35678 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35679 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35681 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35685 long double comparison inaccuracies.
35686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35689 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35691 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35694 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35698 nonzero digits before rounding a hex value.
35699 * stdlib/tst-strtod.c (tests): Add another test.
35701 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35703 * sysdeps/s390/fpu/libm-test-ulps: Update.
35705 2012-05-03 Andreas Jaeger <aj@suse.de>
35707 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35708 does not get optimized out.
35709 (malloc_opt_barrier): New.
35711 2012-05-03 Andreas Jaeger <aj@suse.de>
35712 Roland McGrath <roland@hack.frob.com>
35714 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35715 intermediate file deletion.
35716 (generated): Add .symlist files.
35718 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35721 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35722 Redirect under this condition.
35723 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35724 [__USE_GNU] (__dprintf_chk): Not under this condition.
35725 [__USE_GNU] (__vdprintf_chk): Likewise.
35726 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35727 under this condition.
35728 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35729 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35730 [__USE_XOPEN2K8] (vdprintf): Likewise.
35731 [__USE_GNU] (__dprintf_chk): Not under this condition.
35732 [__USE_GNU] (__vdprintf_chk): Likewise.
35733 [__USE_GNU] (dprintf): Likewise.
35734 [__USE_GNU] (vdprintf): Likewise.
35736 2012-05-03 Roland McGrath <roland@hack.frob.com>
35738 * elf/Makefile (common-generated): Set this instead of generated for
35739 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35740 $(all-built-dso)-derived lists.
35742 2012-05-03 Andreas Jaeger <aj@suse.de>
35744 * sysdeps/i386/fpu/libm-test-ulps: Update.
35747 * FAQ.in: Likewise.
35748 * scripts/gen-FAQ.pl: Likewise.
35749 * manual/install.texi (Installation): Point to online location of
35751 * Makefile (files-for-dist): Remove FAQ.
35754 2012-05-02 Allan McRae <allan@archlinux.org>
35756 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35757 (LDFLAGS-reldepmod5.so): Likewise.
35758 (LDFLAGS-reldep6mod1.so): Likewise.
35759 (LDFLAGS-reldep6mod4.so): Likewise.
35760 (LDFLAGS-reldep8mod3.so): Likewise.
35761 (LDFLAGS-unload4mod1.so): Likewise.
35762 (LDFLAGS-unload4mod2.so): Likewise.
35763 (LDFLAGS-tst-initorder): Likewise.
35764 (LDFLAGS-tst-initordera2.so): Likewise.
35765 (LDFLAGS-tst-initordera3.so): Likewise.
35766 (LDFLAGS-tst-initordera4.so): Likewise.
35767 (LDFLAGS-tst-initorderb2.so): Likewise.
35768 (LDFLAGS-noload): Likewise.
35769 (LDFLAGS-next): Likewise.
35770 (LDFLAGS-order2mod1.so): Likewise.
35771 (LDFLAGS-order2mod2.so): Likewise.
35772 (LDFLAGS-tst-initorder2): Likewise.
35773 (LDFLAGS-tst-initorder2a.so): Likewise.
35774 (LDFLAGS-tst-initorder2b.so): Likewise.
35775 (LDFLAGS-tst-initorder2c.so): Likewise.
35776 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35778 2012-05-02 David S. Miller <davem@davemloft.net>
35780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35782 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35785 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35787 2012-05-02 Andreas Jaeger <aj@suse.de>
35789 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35790 since we manipulate rounding mode.
35791 (CPPFLAGS-test-idouble.c): Likewise.
35792 (CPPFLAGS-test-ifloat.c): Likewise.
35793 (CFLAGS-test-ldouble.c): Likewise.
35794 (CFLAGS-test-double.c): Likewise.
35795 (CFLAGS-test-float.c): Likewise.
35796 (CFLAGS-test-misc.c): Likewise.
35797 (CFLAGS-test-test-fenv.c): Likewise.
35799 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35804 comparisons to determine direction to adjust input.
35806 2012-05-01 Roland McGrath <roland@hack.frob.com>
35808 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35809 output to the target.
35811 * scripts/localplt.awk: New file.
35812 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35813 (check-localplt-CFLAGS): Variable removed.
35814 ($(all-built-dso:=.jmprel)): New static pattern rule.
35815 (generated): Add those targets.
35816 (localplt-built-dso): New variable.
35817 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35819 * elf/check-localplt.c: File removed.
35821 * scripts/check-execstack.awk: New file.
35822 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35823 (check-execstack-CFLAGS): Variable removed.
35824 ($(objpfx)check-execstack.h): Target removed.
35825 ($(objpfx)execstack-default): New target.
35826 (generated): Add that instead of check-execstack.h.
35827 ($(all-built-dso:=.phdr)): New static pattern rule.
35828 (generated): Add those targets.
35829 * elf/check-execstack.c: File removed.
35831 * scripts/check-textrel.awk: New file.
35832 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35833 (check-textrel-CFLAGS): Variable removed.
35834 (all-built-dso): Use := to define.o
35835 ($(all-built-dso:=.dyn)): New static pattern rule.
35836 (generated): Add those targets.
35837 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35838 * config.make.in (READELF): New substituted variable.
35839 * elf/check-textrel.c: File removed.
35841 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35843 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35845 * conform/data/ctype.h-data [C99-based standards] (isblank):
35847 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35848 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35850 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35851 Specify type. Require positive value.
35852 (EILSEQ): Likewise.
35853 (ERANGE): Likewise.
35854 [ISO || POSIX] (EILSEQ): Do not expect.
35855 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35856 Specify type. Require positive value.
35857 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35866 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35871 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35872 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35873 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35874 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35875 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35876 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35877 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35879 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35880 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35881 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35882 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35883 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35884 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35885 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35886 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35887 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35888 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35889 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35890 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35891 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35892 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35893 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35897 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35903 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35904 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35905 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35906 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35907 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35908 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35909 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35910 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35911 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35912 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35913 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35914 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35915 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35916 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35917 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35918 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35919 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35920 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35921 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35922 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35923 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35924 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35925 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35926 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35927 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35928 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35929 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35930 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35931 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35932 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35933 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35935 (FLT_ROUNDS): Expect as macro, not constant.
35936 (FLT_MANT_DIG): Use macro-int-constant.
35937 (DBL_MANT_DIG): Likewise.
35938 (LDBL_MANT_DIG): Likewise.
35939 (FLT_DIG): Likewise.
35940 (DBL_DIG): Likewise.
35941 (LDBL_DIG): Likewise.
35942 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35943 (DBL_MIN_EXP): Likewise.
35944 (LDBL_MIN_EXP): Likewise.
35945 (FLT_MAX_EXP): Use macro-int-constant.
35946 (DBL_MAX_EXP): Likewise.
35947 (LDBL_MAX_EXP): Likewise.
35948 (FLT_MAX_10_EXP): Likewise.
35949 (DBL_MAX_10_EXP): Likewise.
35950 (LDBL_MAX_10_EXP): Likewise.
35951 (FLT_MAX): Use macro-constant.
35952 (DBL_MAX): Likewise.
35953 (LDBL_MAX): Likewise.
35954 (FLT_EPSILON): Use macro-constant. Give upper bound.
35955 (DBL_EPSILON): Likewise.
35956 (LDBL_EPSILON): Likewise.
35957 (FLT_MIN): Likewise.
35958 (DBL_MIN): Likewise.
35959 (LDBL_MIN): Likewise.
35960 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35961 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35962 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35963 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35964 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35965 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35966 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35967 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35968 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35969 [ISO11] (FLT_TRUE_MIN): Likewise.
35970 [ISO11] (LDBL_TRUE_MIN): Likewise.
35971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35972 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35973 (SCHAR_MIN): Use macro-int-constant. Specify type.
35974 (SCHAR_MAX): Likewise.
35975 (UCHAR_MAX): Likewise.
35976 (CHAR_MIN): Likewise.
35977 (CHAR_MAX): Likewise.
35978 (MB_LEN_MAX): Use macro-int-constant.
35979 (SHRT_MIN): Use macro-int-constant. Specify type.
35980 (SHRT_MAX): Likewise.
35981 (USHRT_MAX): Likewise.
35982 (INT_MAX): Likewise.
35983 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35985 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35987 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35989 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35990 bound negative. Suffix upper bound with "L".
35991 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35993 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35995 [C99-based standards] (LLONG_MAX): Likewise.
35996 [C99-based standards] (ULLONG_MAX): Likewise.
35997 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35999 [ISO11] (max_align_t): Require type.
36000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36002 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36003 from $CFLAGS, without defining away __attribute__ calls.
36004 (checknamespace): Use $CFLAGS_namespace.
36006 * conform/conformtest.pl (@keywords): Only include C99 keywords
36007 for standards based on C99 or C11.
36009 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36011 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36014 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36015 usability of symbols in #if.
36017 * conform/conformtest.pl: If macro or constant types start
36018 "promoted:", expect the symbol to be of the following type
36019 promoted by the integer promotions.
36021 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36022 in one place. Also handle "macro-constant".
36024 * conform/conformtest.pl: Only accept expected macro values with
36025 "==". Parse all "macro" lines in one place.
36026 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36028 * conform/conformtest.pl: Handle braced types on "constant" lines
36029 instead of handling "typed-constant".
36030 * conform/data/signal.h-data: Use "constant" instead of
36033 * conform/conformtest.pl: Handle "optional-" at start of lines in
36034 one place rather than duplicating several cases. Handle each
36035 format of "macro" line with initial "optional-".
36037 * conform/conformtest.pl: Only accept expected constant or
36038 optional-constant values with "==". Parse all "constant" lines in
36039 one place. Parse all "optional-constant" lines in one place.
36040 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36041 * conform/data/fmtmsg.h-data: Likewise.
36042 * conform/data/netinet/in.h-data: Likewise.
36043 * conform/data/tar.h-data: Likewise.
36044 * conform/data/limits.h-data: Use "==" form on "constant" and
36045 "optional-constant" lines.
36047 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36048 Use -std=c99 for XOPEN2K.
36049 (@knownproblems): Remove.
36050 (newtoken): Don't check %isknown.
36052 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36053 Do not expect macro.
36054 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36066 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36067 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36078 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36081 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36082 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36084 [XPG3] (acosh): Likewise.
36085 [XPG3] (asinh): Likewise.
36086 [XPG3] (atanh): Likewise.
36087 [XPG3] (cbrt): Likewise.
36088 [XPG3] (expm1): Likewise.
36089 [XPG3] (ilogb): Likewise.
36090 [XPG3] (log1p): Likewise.
36091 [XPG3] (logb): Likewise.
36092 [XPG3] (nextafter): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36095 [XPG3] (remainder): Likewise.
36096 [XPG3] (rint): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36104 [UNIX98 || XOPEN2K] (scalb): Expect.
36105 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36106 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36120 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36121 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36122 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36123 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36124 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36125 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36126 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36127 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36128 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36129 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36130 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36131 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36132 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36133 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36134 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36135 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36136 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36137 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36138 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36139 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36140 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36141 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36142 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36143 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36144 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36145 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36146 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36147 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36148 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36149 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36150 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36151 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36152 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36153 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36154 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36155 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36156 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36157 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36158 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36159 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36160 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36161 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36162 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36163 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36164 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36165 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36166 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36167 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36168 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36169 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36170 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36171 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36172 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36173 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36174 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36175 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36176 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36177 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36178 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36179 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36180 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36181 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36182 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36183 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36184 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36185 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36186 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36187 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36188 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36189 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36190 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36191 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36192 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36193 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36194 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36195 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36196 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36197 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36198 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36199 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36200 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36201 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36202 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36203 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36204 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36205 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36206 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36207 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36208 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36209 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36210 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36211 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36212 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36213 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36214 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36215 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36216 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36217 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36218 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36219 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36220 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36221 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36222 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36223 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36224 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36225 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36226 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36227 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36228 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36229 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36230 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36231 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36232 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36233 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36234 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36235 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36236 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36237 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36238 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36239 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36240 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36241 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36243 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36244 _XOPEN_SOURCE_EXTENDED for XPG4.
36246 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36248 * Makeconfig (localtime): Remove variable.
36249 (inst_localtime-file): Likewise.
36251 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36272 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36276 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36277 comparisons to determine direction to adjust input.
36278 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36279 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36289 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36291 * math/libm-test.inc (nexttoward_test): Add more tests.
36293 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36297 in version GLIBC_2.1, not GLIBC_2.0.
36298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36301 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36307 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36308 * math/libm-test.inc (acos_test): Add more tests.
36309 (asin_test): Likewise.
36310 * sysdeps/i386/fpu/libm-test-ulps: Update.
36311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36314 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36316 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36317 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36318 * math/libm-test.inc (acos_test_tonearest): New function.
36319 (acos_test_towardzero): Likewise.
36320 (acos_test_downward): Likewise.
36321 (acos_test_upward): Likewise.
36322 (asin_test_tonearest): Likewise.
36323 (asin_test_towardzero): Likewise.
36324 (asin_test_downward): Likewise.
36325 (asin_test_upward): Likewise.
36326 (main): Call the new functions.
36327 * sysdeps/i386/fpu/libm-test-ulps: Update.
36328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36332 * math/e_exp10.c: Include <float.h>.
36333 (__ieee754_exp10): Handle underflow here rather than multiplying
36334 large negative argument by M_LN10.
36335 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36337 * math/e_exp10l.c: Include <float.h>.
36338 (__ieee754_exp10l): Handle underflow here rather than multiplying
36339 large negative argument by M_LN10l.
36340 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36341 spurious overflow exception on underflow.
36343 2012-04-29 Marek Polacek <polacek@redhat.com>
36345 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36346 (__fortify_function): New macro.
36347 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36348 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36349 __extern_always_inline.
36350 * libio/bits/stdio2.h: Likewise.
36351 * libio/bits/stdio.h: Likewise.
36352 * string/string.h: Likewise.
36353 * string/bits/string3.h: Likewise.
36354 * include/stdio.h: Likewise.
36355 * stdlib/bits/stdlib.h: Likewise.
36356 * stdlib/stdlib.h: Likewise.
36357 * rt/bits/mqueue2.h: Likewise.
36358 * rt/mqueue.h: Likewise.
36359 * posix/bits/unistd.h: Likewise.
36360 * posix/unistd.h: Likewise.
36361 * io/bits/poll2.h: Likewise.
36362 * io/bits/fcntl2.h: Likewise.
36363 * io/fcntl.h: Likewise.
36364 * io/sys/poll.h: Likewise.
36365 * misc/bits/syslog.h: Likewise.
36366 * misc/bits/syslog-ldbl.h: Likewise.
36367 * misc/sys/syslog.h: Likewise.
36368 * socket/bits/socket2.h: Likewise.
36369 * socket/sys/socket.h: Likewise.
36370 * debug/tst-chk1.c: Likewise.
36371 * wcsmbs/bits/wchar2.h: Likewise.
36372 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36373 * wcsmbs/wchar.h: Likewise.
36375 2012-04-29 Andreas Jaeger <aj@suse.de>
36377 * Makerules (tests): Remove enable-check-abi protection.
36378 (check-abi-warn): Remove.
36379 (check-abi-%): Remove check-abi-warn usage.
36381 * configure.in: Remove check-abi configure option.
36382 * configure: Regenerated.
36383 * config.make.in (enable-check-abi): Remove.
36385 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36388 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36389 double functions to double *_finite functions.
36392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36393 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36395 * stdio-common/Makefile (tests): Add tst-sprintf3.
36396 * stdio-common/tst-sprintf3.c: New file.
36398 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36399 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36401 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36403 * conform/conformtest.pl: Remove duplicate typed-constant
36406 2012-04-28 David S. Miller <davem@davemloft.net>
36408 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36409 (check-abi-%): Remove AWK script prerequisite and explicit
36411 (check-abi): Rewrite to just diff the symlist with the abilist.
36412 (config-tls, config-abi-config): Delete, no longer used.
36413 (update-abi-%): Remove AWK script and explicit abilist directory.
36414 (update-abi): Rewrite to simply compare and conditionally copy the
36415 symlist and the sysdep abilist file. Remove update-abi-config
36417 * abilist/ld.abilist: Remove.
36418 * abilist/libBrokenLocale.abilist: Remove.
36419 * abilist/libanl.abilist: Remove.
36420 * abilist/libcrypt.abilist: Remove.
36421 * abilist/libdl.abilist: Remove.
36422 * abilist/librt.abilist: Remove.
36423 * abilist/libthread_db.abilist: Remove.
36424 * abilist/libutil.abilist: Remove.
36425 * scripts/extract-abilist.awk: Remove.
36426 * scripts/merge-abilist.awk: Remove.
36427 * sysdeps/generic/libcidn.abilist: New file.
36428 * sysdeps/generic/libnss_compat.abilist: New file.
36429 * sysdeps/generic/libnss_db.abilist: New file.
36430 * sysdeps/generic/libnss_dns.abilist: New file.
36431 * sysdeps/generic/libnss_files.abilist: New file.
36432 * sysdeps/generic/libnss_hesiod.abilist: New file.
36433 * sysdeps/generic/libnss_nis.abilist: New file.
36434 * sysdeps/generic/libnss_nisplus.abilist: New file.
36435 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36436 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36437 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36440 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36441 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36442 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36443 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36444 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36445 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36447 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36449 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36455 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36456 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36570 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36578 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36580 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36581 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36633 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36635 * conform/conformtest.pl: Fix typo in handling typed-constant from
36638 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36640 * README: Cut down references to pre-2.6 Linux kernels and
36641 Linuxthreads. Update lists of configurations in libc and ports
36642 and sort alphabetically. Say "or newer" with Linux kernel version
36645 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36647 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36650 * math/libm-test.inc (logb_test_downward): New test to expose
36651 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36654 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36657 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36659 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36660 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36662 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36664 * sysdeps/unix/i386/brk.S: Remove file.
36665 * sysdeps/unix/i386/dl-brk.S: Likewise.
36666 * sysdeps/unix/i386/pipe.S: Likewise.
36667 * sysdeps/unix/i386/sigreturn.S: Likewise.
36668 * sysdeps/unix/i386/syscall.S: Likewise.
36669 * sysdeps/unix/i386/vfork.S: Likewise.
36670 * sysdeps/unix/i386/wait.S: Likewise.
36672 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36673 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36675 * configure.in (arm*-none*): Do not allow without
36676 --enable-hacker-mode.
36677 (netbsd*): Remove case setting base_os.
36678 (386bsd*): Likewise.
36679 (freebsd*): Likewise.
36682 (sunos*): Likewise.
36683 (ultrix*): Likewise.
36684 (newsos*): Likewise.
36685 (dynix*): Likewise.
36691 (minix*): Likewise.
36692 (irix4*): Likewise.
36693 (irix6*): Likewise.
36694 (solaris[2-9]*): Likewise.
36696 * configure: Regenerated.
36698 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36702 overflow or cancellation in calculating denominator.
36703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36705 down expression to avoid unexpected rounding in newer GCCs.
36706 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36708 2012-04-26 David S. Miller <davem@davemloft.net>
36710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36711 long-double compat symbols.
36712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36726 2012-04-25 David S. Miller <davem@davemloft.net>
36728 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36729 HWCAP_* values only after the memory barriers have been defined.
36730 (atomic_full_barrier): Define.
36731 (atomic_read_barrier): Define.
36732 (atomic_write_barrier): Define.
36734 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36736 * shlib-versions: Add libgcc_s version information.
36737 * sysdeps/generic/libgcc_s.h: Remove.
36738 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36740 * sysdeps/gnu/unwind-resume.c: Likewise.
36741 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36743 2012-04-25 David S. Miller <davem@davemloft.net>
36745 * sysdeps/unix/sparc/brk.S: Delete.
36746 * sysdeps/unix/sparc/dl-brk.S: Delete.
36747 * sysdeps/unix/sparc/pipe.S: Delete.
36748 * sysdeps/unix/sparc/sysdep.S: Delete.
36749 * sysdeps/unix/sparc/sysdep.h: Delete.
36750 * sysdeps/unix/sparc/vfork.S: Delete.
36751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36752 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36754 (ret_ERRVAL, r0, r1, MOVE): Define.
36755 (JUMPTARGET): Remove.
36756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36757 sysdeps/unix/sparc/sysdep.h
36758 (ENTRY, END): Remove.
36759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36761 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36763 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36764 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36767 * timezone/README: Update upstream location and email address for
36769 * timezone/zdump.c: Update from tzcode 2012b.
36770 * timezone/zic.c: Likewise.
36772 * configure.in (libc_cv_as_needed): Remove test.
36773 * configure: Regenerated.
36774 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36775 conditional definition.
36776 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36777 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36778 * config.make.in (have-as-needed): Remove variable.
36780 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36781 Paul Pluzhnikov <ppluzhnikov@google.com>
36783 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36786 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36788 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36789 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36790 * sysdeps/sh/strlen.S: Likewise.
36792 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36794 * sysdeps/unix/fork.S: Remove file.
36795 * sysdeps/unix/i386/fork.S: Likewise.
36796 * sysdeps/unix/sparc/fork.S: Likewise.
36798 * sysdeps/unix/system.c: Remove file.
36799 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36801 * sysdeps/unix/getegid.S: Remove file.
36802 * sysdeps/unix/geteuid.S: Likewise.
36804 2012-04-24 Roland McGrath <roland@hack.frob.com>
36806 * scripts/check-localplt.awk: New file.
36807 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36809 * scripts/data/localplt-generic.data: Add a comment.
36811 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36812 NODE when __dir_mkfile failed.
36813 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36814 Reported by Ludovic Courtès <ludo@gnu.org>.
36816 2012-04-24 Andreas Jaeger <aj@suse.de>
36818 * Makerules (common-clean): Also remove gen-as-const-headers
36821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36823 * Makerules (native-compile): Do not change working directory for
36824 build. Use $(OUTPUT_OPTION) in command.
36825 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36827 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36830 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36831 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36832 * math/libm-test.inc (floor_test): Add more tests.
36833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36835 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36837 * sysdeps/unix/getdents.c: Remove file.
36838 * sysdeps/unix/sysv/getdents.c: Likewise.
36839 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36841 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36842 sysdeps/unix/mman/syscalls.list.
36844 (mprotect): Likewise.
36846 (munmap): Likewise.
36847 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36848 * sysdeps/unix/mman/syscalls.list: Remove.
36849 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36851 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36852 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36853 * configure: Regenerated.
36854 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36855 $(libgcc_s_suffix).
36856 * config.make.in (libgcc_s_suffix): Remove variable.
36858 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36860 * sysdeps/unix/sysv/gethostname.c: Move to ...
36861 * sysdeps/posix/gethostname.c: ... here.
36863 * sysdeps/unix/execve.S: Remove file.
36865 * sysdeps/unix/_exit.S: Remove file.
36867 2012-04-23 Andreas Jaeger <aj@suse.de>
36870 * manual/Makefile: Remove make dist support, there's no
36871 need for a stand-alone documentation tar ball.
36872 (TEXI2DVI): Define always, it's not in Makeconfig.
36875 (edition): Removed.
36876 (glibc-doc-$(edition).tar): Removed
36880 (ETAGS): Remove, it's in Makeconfig.
36881 (move-if-change): Remove, it's in Makeconfig.
36883 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36886 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36887 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36888 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36889 (strtod_l, strtof_l, strtold_l): Remove __wur.
36890 It is not necessarily an error to ignore strtol's return value.
36891 One can reliably look at the stored endptr to decide whether
36892 the number had valid syntax.
36894 2012-04-21 Andreas Jaeger <aj@suse.de>
36897 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36899 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36902 * sysdeps/unix/sysv/Versions: Remove file.
36904 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36909 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36913 version from __vm86.
36915 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36917 * sysdeps/unix/common/lxstat.c: Remove file.
36918 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36920 * sysdeps/unix/sysv/Makefile: Remove file.
36922 * sysdeps/unix/sysv/direct.h: Remove file.
36924 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36925 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36926 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36927 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36928 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36929 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36930 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36932 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36934 * sysdeps/unix/xmknod.c: Remove file.
36935 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36937 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36939 * sysdeps/unix/sysv/i386/time.S: Remove file.
36941 * sysdeps/unix/fxstat.c: Remove file.
36942 * sysdeps/unix/xstat.c: Likewise.
36943 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36945 * sysdeps/unix/sysv/sigaction.c: Remove file.
36947 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36948 (sysdep_headers): Remove variable.
36949 [termio.h not in sysdep_headers] (generated): Likewise.
36950 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36951 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36952 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36953 * sysdeps/unix/sysv/tcflow.c: Likewise.
36954 * sysdeps/unix/sysv/tcflush.c: Likewise.
36955 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36956 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36957 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36958 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36959 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36961 * sysdeps/unix/siglist.c: Remove file.
36963 * sysdeps/unix/getppid.S: Remove file.
36965 * sysdeps/unix/mkdir.c: Remove file.
36966 * sysdeps/unix/rmdir.c: Likewise.
36968 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36970 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36973 errlist-compat value.
36975 2012-04-18 David S. Miller <davem@davemloft.net>
36977 * sysdeps/generic/memcopy.h (reg_char): Delete.
36978 * debug/strcat_chk.c: Use char, not reg_char.
36979 * debug/strcpy_chk.c: Likewise.
36980 * debug/strncat_chk.c: Likewise.
36981 * debug/strncpy_chk.c: Likewise.
36982 * string/memchr.c: Likewise.
36983 * string/memrchr.c: Likewise.
36984 * string/rawmemchr.c: Likewise.
36985 * string/strcat.c: Likewise.
36986 * string/strchr.c: Likewise.
36987 * string/strchrnul.c: Likewise.
36988 * string/strcmp.c: Likewise.
36989 * string/strcpy.c: Likewise.
36990 * string/strncat.c: Likewise.
36991 * string/strncmp.c: Likewise.
36992 * string/strncpy.c: Likewise.
36994 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36996 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36997 __builtin_memcopy is called when src and dest ranges are known to not
37000 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37003 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37004 fwd_align_merge macro call.
37005 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37006 bwd_align_merge macro call.
37007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37009 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37012 bwd_align_merge macros.
37013 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37014 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37017 2012-04-18 David S. Miller <davem@davemloft.net>
37019 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37021 2012-04-18 Andreas Jaeger <aj@suse.de>
37024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37029 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37032 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37033 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37034 Adjust for changed ldbl-128 files.
37036 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37037 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37040 2012-04-17 David S. Miller <davem@davemloft.net>
37042 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37044 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37046 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37047 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37048 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37049 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37051 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37053 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37056 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37057 * math/libm-test.inc: Add ilogb errno and exception tests.
37058 * math/w_ilogb.c: New file: ilogb wrapper.
37059 * math/w_ilogbf.c: New file: ilogbf wrapper.
37060 * math/w_ilogbl.c: New file: ilogbl wrapper.
37061 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37062 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37063 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37064 exception being thrown with 0.0 as argument.
37065 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37066 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37067 exception being thrown with 0.0 as argument.
37068 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37069 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37070 exception being thrown with 0.0 as argument.
37071 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37072 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37073 exception being thrown with 0.0 as argument.
37074 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37075 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37077 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37079 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37080 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37081 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37082 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37084 2012-04-17 Petr Baudis <pasky@ucw.cz>
37086 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37089 2012-04-16 Marek Polacek <polacek@redhat.com>
37091 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37093 2012-04-16 Marek Polacek <polacek@redhat.com>
37095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37096 operands of fdivp instruction.
37098 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37100 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37101 * elf/tst-auditmod3b.c: Likewise.
37102 * elf/tst-auditmod4b.c: Likewise.
37103 * elf/tst-auditmod5b.c: Likewise.
37104 * elf/tst-auditmod6b.c: Likewise.
37105 * elf/tst-auditmod6c.c: Likewise.
37106 * elf/tst-auditmod7b.c: Likewise.
37107 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37108 * sysdeps/x86_64/preconfigure.in: Likewise.
37109 * sysdeps/x86_64/preconfigure: Regenerated.
37111 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37113 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37116 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37119 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37121 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37124 * locale/iso-639.def: Fix gl language name. Spotted by
37127 2012-04-12 Roland McGrath <roland@hack.frob.com>
37130 * libio/libio.h (__io_write_fn): Update comment.
37132 2012-04-12 Petr Baudis <pasky@ucw.cz>
37135 * stdio.texi (Hook Functions): The user provided writer function
37136 is not allowed to return -1.
37138 2012-04-11 David S. Miller <davem@davemloft.net>
37140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37142 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37144 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37145 Add a leading slash to rtkaio.
37147 2012-04-11 Jim Meyering <meyering@redhat.com>
37150 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37151 It is not necessarily an error to ignore fwrite's return
37152 value. One can reliably use ferror to test for errors after
37155 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37157 * bits/types.h (__snseconds_t): New type.
37158 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37160 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37162 (__SNSECONDS_T_TYPE): Likewise.
37163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37164 (__SNSECONDS_T_TYPE): Likewise.
37165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37166 (__SNSECONDS_T_TYPE): Likewise.
37168 2012-04-10 Andreas Jaeger <aj@suse.de>
37171 * manual/time.texi (Processor Time): Return type of times is
37172 elapsed real time since an arbitrary point in the past.
37173 (CPU Time): Move CLK_TCK from here...
37174 (Processor Time): ...to here. Correct description.
37175 * manual/conf.texi (Constants for Sysconf): Correct description of
37178 2012-04-10 David S. Miller <davem@davemloft.net>
37181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37182 where the is a gap between DT_REL(A) and DT_JMPREL.
37184 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37186 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37187 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37188 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37190 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37192 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37193 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37194 (dl_main): Handle --inhibit-cache.
37195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37197 * elf/dl-load.c (_dl_map_object): Use it.
37198 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37200 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37203 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37204 (__ieee754_powl): Saturate large exponents rather than testing for
37205 overflow of y*log2(x).
37206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37207 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37211 * math/s_ctan.c: Include <float.h>.
37212 (__ctan): Avoid internal overflow or cancellation in calculating
37214 * math/s_ctanf.c: Likewise.
37215 * math/s_ctanl.c: Likewise.
37216 * math/s_ctanh.c: Likewise.
37217 * math/s_ctanhf.c: Likewise.
37218 * math/s_ctanhl.c: Likewise.
37219 * math/libm-test.inc (ctan_test): Add more tests.
37220 (ctanh_test): Likewise.
37221 * sysdeps/i386/fpu/libm-test-ulps: Update.
37222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37224 2012-04-09 Andreas Jaeger <aj@suse.de>
37227 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37228 is an optional BSD extension.
37231 * manual/stdio.texi (Opening Streams): Document additional fopen
37234 2012-04-09 Roland McGrath <roland@hack.frob.com>
37236 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37237 %eax without telling the compiler.
37239 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37242 * manual/install.texi: Use sourceware.org.
37244 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37247 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37248 (__ieee754_pow): Generate overflow and underflow using huge*huge
37249 and tiny*tiny rather than just returning constant infinity or zero
37250 for large exponents.
37251 * math/libm-test.inc (pow_test): Require overflow exceptions for
37252 applicable cases of large exponents.
37255 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37256 (__ieee754_pow): Use iterative multiplication algorithm only for
37257 integer exponents with absolute value below 1024. Check for odd
37258 integer exponents when using algorithm for real exponents.
37259 * math/libm-test.inc (pow_test): Add more tests.
37260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37262 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37265 * math/libm-test.inc (exp_test): Do not allow overflow exception
37268 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37271 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37272 instead of __kernel_standard_f.
37274 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37276 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37277 * sysdeps/x86_64/memset_chk.S: Likewise.
37279 2012-04-08 Andreas Jaeger <aj@suse.de>
37282 * manual/startup.texi (Environment Access): Describe return value
37283 for putenv and setenv.
37286 * manual/filesys.texi (Directory Entries): Add description for
37290 * manual/filesys.texi (Directory Entries): Clarify that it's file
37291 system not operating system in the description of DT_UNKNOWN.
37294 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37296 2012-04-08 Stephen Compall <s11@member.fsf.org>
37299 * manual/llio.texi (Opening and Closing Files): Add cross
37300 reference to explain mode argument.
37302 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37304 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37305 * sysdeps/x86_64/memset_chk.S: Likewise.
37307 2012-04-07 David S. Miller <davem@davemloft.net>
37309 * elf/elf.h (R_SPARC_WDISP10): Define.
37310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37313 R_SPARC_SIZE64 and R_SPARC_H34.
37315 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37318 conditions and remove no longer applicable assertion.
37320 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37322 * bits/byteswap.h: Include <features.h>.
37323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37326 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37328 * bits/byteswap.h (__bswap_16): Removed.
37329 Include <bits/byteswap-16.h> to get __bswap_16.
37330 * sysdeps/i386/bits/byteswap.h: Likewise.
37331 * sysdeps/s390/bits/byteswap.h: Likewise.
37332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37333 * bits/byteswap-16.h: New file.
37334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37335 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37336 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37337 * string/Makefile (headers): Add bits/byteswap-16.h.
37339 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37342 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37344 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37345 * nss/tst-nss-static.c: New.
37347 2012-04-06 Robert Millan <rmh@gnu.org>
37350 * manual/llio.texi (File Position Primitive): lseek
37351 refers to WHENCE when it really means OFFSET.
37353 2012-04-06 Andreas Jaeger <aj@suse.de>
37355 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37356 strncmp declarations.
37358 * abilist/libc.abilist: Add __poll and __ppoll.
37360 2012-04-05 David S. Miller <davem@davemloft.net>
37362 * scripts/check-local-headers.sh: Accept a host triplet in the
37363 path matched by the exclude regexp.
37365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37367 * sysdeps/powerpc/powerpc32/dl-machine.h
37368 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37369 * sysdeps/s390/s390-32/dl-machine.h
37370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37371 * sysdeps/sparc/sparc32/dl-machine.h
37372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37373 * sysdeps/sparc/sparc64/dl-machine.h
37374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37376 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37378 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37379 undefined symbol errors.
37381 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37384 2012-04-05 Michael Matz <matz@suse.de>
37387 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37389 2012-04-05 Andreas Jaeger <aj@suse.de>
37392 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37395 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37398 which ROUND is no valid rounding mode.
37400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37404 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37406 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37409 an exception using FPU order intentionally.
37411 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37414 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37415 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37416 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37418 2012-04-05 Simon Josefsson <simon@josefsson.org>
37421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37422 EINVAL when BUFLEN is too smal.
37424 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37427 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37428 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37430 2012-04-03 Andreas Jaeger <aj@suse.de>
37433 * manual/setjmp.texi (System V contexts): Fix sentence.
37436 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37437 New macro for this case.
37438 [!__GNUC__] (__bswap_64): New inline function for this case.
37439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37440 * bits/byteswap.h: Likewise.
37441 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37442 ull, guard with __GLIBC_HAVE_LONG_LONG.
37444 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37445 __GLIBC_HAVE_LONG_LONG.
37447 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37448 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37450 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37453 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37454 inptr and inend, rather than using last_ch.
37456 2012-04-02 David S. Miller <davem@davemloft.net>
37458 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37459 * stdio-common/printf-parse.h (read_int): Change return type to
37460 'int', return -1 on INT_MAX overflow.
37461 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37462 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37463 overflows INT_MAX. Check for overflow of in-format-string precision
37464 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37465 SIZE_MAX not INT_MAX for integer overflow test.
37466 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37467 skip the construct in the format string but do not record anything.
37468 * stdio-common/bug22.c: Adjust to test both width/prevision
37469 INT_MAX overflow as well as total length INT_MAX overflow. Check
37470 explicitly for proper errno values.
37472 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37474 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37476 * string/test-strcmp.c [! WIDE]: Likewise.
37477 * time/tst-mktime2.c: Likewise for INT_MAX.
37478 * string/test-string.h: #include <sys/param.h> for MIN.
37480 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37481 * sysdeps/i386/init-first.c (init): Likewise.
37482 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37483 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37484 * sysdeps/sh/init-first.c (init): Likewise.
37486 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37488 * po/ru.po: Update from translation team.
37489 * po/vi.po: Likewise.
37491 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37493 * resolv/nss_dns/dns-host.c: Merge copyright years.
37495 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37498 Optimize memcpy with prefetch if
37499 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37500 src, dst pointers have unequal 16 byte alignments.
37502 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37505 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37506 from a CNAME entry and return the minimum ttl for the query.
37507 (gaih_getanswer_slice): Likewise.
37509 2012-03-30 Jeff Law <law@redhat.com>
37511 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37516 * resolv/nss_dns/dns-host.c: Update copyright year.
37518 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37520 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37521 requests to save a system call. Fix check that all bytes are sent.
37523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37524 comments for sendmmsg.
37526 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37530 with only 1 character between 0x0041 and 0x01b0.
37531 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37532 * wcsmbs/tst-mbsnrtowcs.c: New file.
37534 2012-03-29 David S. Miller <davem@davemloft.net>
37536 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37537 small copies by hand.
37539 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37542 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37543 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37546 2012-03-28 David S. Miller <davem@davemloft.net>
37548 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37549 that branches into memcpy.
37550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37553 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37556 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37557 implementation too.
37558 * sysdeps/sparc/mempcpy.S: New file.
37560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37561 the IFUNC routine in the libc case.
37562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37566 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37567 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37568 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37569 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37570 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37571 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37573 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37574 loop to 256 bytes instead of 64 bytes and fix test signedness.
37576 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37577 * sysdeps/sparc/sparc32/Makefile: rather than here...
37578 * sysdeps/sparc/sparc64/Makefile: and here.
37580 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37582 * malloc/mallocbug.c: Avoid warnings about unused variables.
37584 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37587 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37588 in the right place. Discard and retry query if response is
37589 larger than input buffer size.
37591 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37597 x for large integer exponent.
37598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37599 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37600 sign of result as needed afterwards.
37601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37603 result for underflowing pow the same as for overflow.
37604 (__kernel_standard_l): Handle powl overflow and underflow here
37605 rather than calling __kernel_standard.
37606 * math/libm-test.inc (pow_test): Add more tests.
37621 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37622 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37623 (__kernel_standard_l): New function.
37624 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37626 * math/w_acosl.c (__acosl): Likewise.
37627 * math/w_asinl.c (__asinl): Likewise.
37628 * math/w_atan2l.c (__atan2l): Likewise.
37629 * math/w_atanhl.c (__atanhl): Likewise.
37630 * math/w_coshl.c (__coshl): Likewise.
37631 * math/w_exp10l.c (__exp10l): Likewise.
37632 * math/w_exp2l.c (__exp2l): Likewise.
37633 * math/w_fmodl.c (__fmodl): Likewise.
37634 * math/w_hypotl.c (__hypotl): Likewise.
37635 * math/w_j0l.c (__j0l, __y0l): Likewise.
37636 * math/w_j1l.c (__j1l, __y1l): Likewise.
37637 * math/w_jnl.c (__jnl, __ynl): Likewise.
37638 * math/w_lgammal.c (__lgammal): Likewise.
37639 * math/w_log10l.c (__log10l): Likewise.
37640 * math/w_log2l.c (__log2l): Likewise.
37641 * math/w_logl.c (__logl): Likewise.
37642 * math/w_powl.c (__powl): Likewise.
37643 * math/w_remainderl.c (__remainderl): Likewise.
37644 * math/w_scalbl.c (sysv_scalbl): Likewise.
37645 * math/w_sinhl.c (__sinhl): Likewise.
37646 * math/w_sqrtl.c (__sqrtl): Likewise.
37647 * math/w_tgammal.c (__tgammal): Likewise.
37648 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37649 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37650 * math/libm-test.inc (acos_test): Add more tests.
37651 (acosh_test): Likewise.
37652 (asin_test): Likewise.
37653 (atanh_test): Likewise.
37654 (exp_test): Likewise.
37655 (exp10_test): Likewise.
37656 (exp2_test): Likewise.
37657 (expm1_test): Likewise.
37658 (lgamma_test): Likewise.
37659 (log_test): Likewise.
37660 (log10_test): Likewise.
37661 (log1p_test): Likewise.
37662 (log2_test): Likewise.
37663 (pow_test): Do not allow some spurious overflow exceptions.
37664 (sqrt_test): Add more tests.
37665 (tgamma_test): Likewise.
37666 (y0_test): Likewise.
37667 (y1_test): Likewise.
37668 (yn_test): Likewise.
37670 2012-03-27 Anton Blanchard <anton@samba.org>
37672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37678 2012-03-27 David S. Miller <davem@davemloft.net>
37680 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37683 have-as-vis3 check.
37685 2012-03-27 Andreas Jaeger <aj@suse.de>
37687 * sysdeps/x86_64/elf/configure.in: Moved to ...
37688 * sysdeps/x86_64/configure.in: ... here.
37689 * sysdeps/x86_64/elf/start.S: Moved to ...
37690 * sysdeps/x86_64/start.S: ... here.
37691 * sysdeps/x86_64/elf/configure: Delete.
37693 * sysdeps/x86_64/configure.in: Merge contents from
37694 sysdeps/i386/configure.in (without i686 check).
37696 * sysdeps/i386/elf/Versions: Merge into ...
37697 * sysdeps/i386/Versions: ... this.
37698 * sysdeps/i386/elf/Versions: Delete file.
37699 * sysdeps/i386/elf/start.S: Moved to ...
37700 * sysdeps/i386/start.S: ...here.
37701 * sysdeps/i386/elf/configure.in: Merge into...
37702 * sysdeps/i386/configure.in: ...here.
37703 * sysdeps/i386/elf/configure.in: Delete file.
37704 * sysdeps/i386/elf/configure: Delete file.
37706 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37707 * debug/backtracesyms.c: ... here.
37708 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37709 * debug/backtracesymsfd.c: ... here.
37710 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37711 * sysdeps/generic/ifunc-sel.h: ... here.
37713 * sysdeps/unix/i386/start.c: Delete file.
37714 * sysdeps/unix/sparc/start.c: Delete file.
37715 * sysdeps/unix/start.c: Delete file.
37717 * sysdeps/sh/elf/configure.in: Moved to ...
37718 * sysdeps/sh/configure.in: ... here.
37719 * sysdeps/sh/elf/start.S: Moved to ...
37720 * sysdeps/sh/start.S: ... here.
37721 * sysdeps/sh/elf/configure: Delete file.
37723 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37724 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37725 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37726 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37727 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37728 * sysdeps/powerpc/powerpc64/start.S: here.
37729 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37730 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37731 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37732 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37733 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37735 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37736 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37737 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37738 * sysdeps/powerpc/powerpc32/start.S: ... here.
37739 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37740 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37741 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37743 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37744 * sysdeps/powerpc/ifunc-sel.h: ... here.
37745 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37746 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37748 * sysdeps/sparc/elf/configure.in: Moved to ...
37749 * sysdeps/sparc/configure.in: ... here.
37750 * sysdeps/sparc/elf/configure: Delete file.
37751 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37752 * sysdeps/sparc/sparc32/start.S: ... here.
37753 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37754 * sysdeps/sparc/sparc64/start.S: ... here.
37755 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37756 * sysdeps/sparc/sparc32/Makefile: ... this.
37757 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37758 * sysdeps/sparc/sparc64/Makefile: ... this.
37760 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37761 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37762 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37763 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37764 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37765 * sysdeps/s390/s390-32/setjmp.S: ... here.
37766 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37767 * sysdeps/s390/s390-32/configure.in: ... here.
37768 * sysdeps/s390/s390-32/elf/configure: Delete file.
37769 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37770 * sysdeps/s390/s390-32/start.S: ... here.
37772 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37773 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37774 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37775 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37776 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37777 * sysdeps/s390/s390-64/setjmp.S: ... here.
37778 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37779 * sysdeps/s390/s390-64/configure.in: ... here
37780 * sysdeps/s390/s390-64/elf/configure: Delete file.
37781 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37782 * sysdeps/s390/s390-64/start.S: ... here.
37783 * sysdeps/s390/s390-64/elf/configure: Delete.
37785 * configure.in: Remove support for elf directories in sysdeps.
37787 * configure: Regenerated.
37788 * sysdeps/i386/configure: Regenerated.
37789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37791 * sysdeps/s390/s390-32/configure: Regenerated.
37792 * sysdeps/s390/s390-64/configure: Regenerated.
37793 * sysdeps/sh/configure: Regenerated.
37794 * sysdeps/sparc/configure: Regenerated.
37795 * sysdeps/x86_64/configure: Regenerated.
37797 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37802 denormal result into account.
37804 2012-03-25 Roland McGrath <roland@hack.frob.com>
37806 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37807 Reported by Allan McRae <allan@archlinux.org>.
37809 2012-03-23 Jeff Law <law@redhat.com>
37811 * nss/getnssent.c (__nss_getent): Fix typo.
37813 2012-03-23 David S. Miller <davem@davemloft.net>
37815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37817 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37819 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37820 to pad to uint64_t for each field.
37821 (dl_tls_index): Replace unsigned long with uint64_t.
37823 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37824 Paul Pluzhnikov <ppluzhnikov@google.com>
37827 * grp/Makefile (otherlibs): Don't set it.
37828 * inet/Makefile (otherlibs): Likewise.
37829 * login/Makefile (otherlibs): Likewise.
37830 * nscd/Makefile (otherlibs): Likewise.
37831 * posix/Makefile (otherlibs): Likewise.
37832 * pwd/Makefile (otherlibs): Likewise.
37833 * rt/Makefile (otherlibs): Likewise.
37834 * sunrpc/Makefile (otherlibs): Likewise.
37835 * nss/Makefile (otherlibs): Likewise.
37836 Add libnss_files to routines and static-only-routines.
37837 ($(objpfx)getent): Remove rule.
37838 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37839 static-only-routines.
37841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37844 * math/s_cexp.c: Include <float.h>.
37845 (__cexp): Handle exp result overflowing not necessarily
37846 overflowing both real and imaginary parts of result.
37847 * math/s_cexpf.c: Likewise.
37848 * math/s_cexpl.c: Likewise.
37849 * math/libm-test.inc (cexp_test): Add more tests.
37850 * sysdeps/i386/fpu/libm-test-ulps: Update.
37851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37855 * include/link.h (ELFW): New macro.
37856 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37857 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37859 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37861 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37864 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37866 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37868 (struct La_x32_retval): Likewise.
37870 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37872 * sysdeps/x86_64/preconfigure.in: New file.
37873 * sysdeps/x86_64/preconfigure: New generated file.
37875 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37878 * math/e_exp2l.c: Include <float.h>.
37879 (__ieee754_exp2l): Handle overflow and underflow cases
37880 separately. Only pass fractional part of argument to
37882 * math/libm-test.inc (exp2_test): Add more tests.
37884 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37885 negating x to take absolute value.
37886 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37891 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37892 computing low part if x was negated.
37893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37895 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37897 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37898 la_x32_gnu_pltexit.
37899 (pltexit): Cast int_retval to ptrdiff_t.
37900 * elf/tst-auditmod3b.c: Likewise.
37901 * elf/tst-auditmod4b.c: Likewise.
37902 * elf/tst-auditmod5b.c: Likewise.
37903 * elf/tst-auditmod6b.c: Likewise.
37904 * elf/tst-auditmod6c.c: Likewise.
37905 * elf/tst-auditmod7b.c: Likewise.
37907 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37908 and x32_gnu_pltexit.
37910 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37911 __ELF_NATIVE_CLASS.
37912 (La_x32_regs): New macro.
37913 (La_x32_retval): Likewise.
37914 (la_x32_gnu_pltenter): New function prototype.
37915 (la_x32_gnu_pltexit): Likewise.
37917 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37924 * configure.in (libc_cv_cc_nofma): Check for option to disable
37925 generation of FMA instructions.
37926 * configure: Regenerate.
37927 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37928 * sysdeps/ieee754/dbl-64/Makefile: New file.
37929 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37930 Remove brandred-fma4.
37931 (CFLAGS-brandred-fma4.c): Remove.
37932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37938 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37941 LLONG_MAX != LONG_MAX.
37942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37943 (_fitoa_word): Likewise.
37944 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37945 LLONG_MAX != LONG_MAX.
37946 * stdio-common/_itowa.h: Include <_itoa.h>.
37947 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37948 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37949 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37950 only if not defined.
37951 (_ITOA_WORD_TYPE): Likewise.
37952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37953 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37955 2012-03-21 David S. Miller <davem@davemloft.net>
37957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37959 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37961 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37962 of x86_64 when setting libc_cv_slibdir, libdir and
37964 * sysdeps/unix/sysv/linux/configure: Regenerated.
37966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37968 * manual/lang.texi (Old Varargs): Remove section.
37969 (How Variadic): Update menu.
37970 (va_start): Do not mention varargs.h.
37972 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37973 Joseph Myers <joseph@codesourcery.com>
37975 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37977 * configure: Regenerated.
37979 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37981 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37982 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37988 * Makefile (files-for-dist): Remove NOTES.
37989 (NOTES): Remove rule.
37990 * README: Don't refer to NOTES.
37991 * manual/creature.texi: Don't include macros.texi.
37992 * manual/intro.texi (creature.texi): Remove comment referring to
37995 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37996 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37997 * configure: Regenerated.
37998 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37999 LIBC_TRY_CC_OPTION.
38000 (libc_cv_as_i686): Likewise.
38001 (libc_cv_cc_avx): Likewise.
38002 (libc_cv_cc_sse2avx): Likewise.
38003 (libc_cv_cc_fma4): Likewise.
38004 (libc_cv_cc_novzeroupper): Likewise.
38005 * sysdeps/i386/configure: Regenerated.
38008 * sysdeps/i386/fpu/s_cexp.S: Remove.
38009 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38011 * math/libm-test.inc (cexp_test): Add more tests.
38012 * sysdeps/i386/fpu/libm-test-ulps: Update.
38013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38015 2012-03-21 Allan McRae <allan@archlinux.org>
38017 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38019 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38022 * math/w_exp2.c: Do not include <float.h>.
38023 (o_threshold, u_threshold): Remove.
38024 (__exp2): Calculate result before checking finiteness and calling
38026 * math/w_exp2f.c: Likewise.
38027 * math/w_exp2l.c: Likewise.
38028 * math/libm-test.inc (exp2_test): Require overflow exception for
38032 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38033 range of signed 64-bit integers before using fistpll. Remove
38034 checks for whether integers fit in mantissa bits.
38035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38036 the range of signed 32-bit integers before using fistpl. Remove
38037 checks for whether integers fit in mantissa bits.
38038 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38039 (__ieee754_powl): Test for y outside the range of signed 64-bit
38040 integers before using fistpll. Reduce 64-bit values to 63-bit
38042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38043 divide-by-zero is raised for zero to large negative powers.
38044 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38045 (__ieee754_powl): Test for y outside the range of signed 64-bit
38046 integers before using fistpll. Reduce 64-bit values to 63-bit
38048 * math/libm-test.inc (pow_test): Add more tests.
38050 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38052 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38053 <stdio-common/_itoa.h>.
38054 * debug/segfault.c: Likewise.
38055 * elf/dl-cache.c: Likewise.
38056 * elf/dl-minimal.c: Likewise.
38057 * elf/dl-misc.c: Likewise.
38058 * elf/dl-sysdep.c: Likewise.
38059 * elf/dl-version.c: Likewise.
38060 * elf/rtld.c: Likewise.
38061 * hurd/hurdsock.c: Likewise.
38062 * hurd/lookup-retry.c: Likewise.
38063 * malloc/malloc.c: Likewise.
38064 * malloc/mtrace.c: Likewise.
38065 * nscd/nscd_getgr_r.c: Likewise.
38066 * nscd/nscd_getpw_r.c: Likewise.
38067 * nscd/nscd_getserv_r.c: Likewise.
38068 * posix/getopt_init.c: Likewise.
38069 * posix/wordexp.c: Likewise.
38070 * stdio-common/_itoa.c: Likewise.
38071 * stdio-common/printf_fphex.c: Likewise.
38072 * stdio-common/vfprintf.c: Likewise.
38073 * string/_strerror.c: Likewise.
38074 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38075 * sysdeps/i386/i686/hp-timing.h: Likewise.
38076 * sysdeps/mach/_strerror.c: Likewise.
38077 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38078 * sysdeps/mach/hurd/sethostid.c: Likewise.
38079 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38080 * sysdeps/mach/xpg-strerror.c: Likewise.
38081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38083 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38084 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38085 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38086 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38088 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38089 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38090 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38091 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38093 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38094 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38097 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38098 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38101 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38103 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38105 * stdio-common/_itoa.h: Moved to ...
38106 * sysdeps/generic/_itoa.h: Here.
38108 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38110 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38111 instead of "_itoa.h" and "_itowa.h".
38112 * stdio-common/vfprintf.: Likewise.
38114 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38118 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38119 (__signbit): Likwise.
38120 (llrintf): Likwise.
38123 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38125 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38128 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38130 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38131 OVERFLOW_EXCEPTION_OK.
38132 * math/libm-test.inc ("Philosophy"): Update comment about
38134 (OVERFLOW_EXCEPTION): Define.
38135 (OVERFLOW_EXCEPTION_OK): Likewise.
38136 (INVALID_EXCEPTION_OK): Renumber.
38137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38138 (IGNORE_ZERO_INF_SIGN): Likewise.
38139 (test_exceptions): Handle FE_OVERFLOW.
38140 (exp10_test): Expect overflow exceptions.
38141 (exp2_test): Likewise.
38142 (expm1_test): Likewise.
38143 (nextafter_test): Likewise.
38144 (pow_test): Likewise.
38145 (scalbn_test): Likewise.
38146 (scalbln_test): Likewise.
38148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38150 * sysdeps/x86_64/bits/atomic.h
38151 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38153 (atomic_exchange_acq): Likewise.
38154 (__arch_exchange_and_add_body): Likewise.
38155 (__arch_add_body): Likewise.
38156 (atomic_add_negative): Likewise.
38157 (atomic_add_zero): Likewise.
38159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38161 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38162 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38166 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38167 Check __x86_64__ instead of __WORDSIZE.
38169 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38171 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38173 2012-03-19 David S. Miller <davem@davemloft.net>
38175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38177 * sysdeps/sparc/fpu/fenv_private.h: New file.
38178 * sysdeps/sparc/fpu/math_private.h: Use it.
38179 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38182 (libc_feholdexcept_setroundl): Remove.
38183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38190 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38191 int64_t instead of long int.
38192 (INSERT_WORDS64): Likwise.
38194 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38196 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38197 _Unwind_GetCFA return to _Unwind_Ptr first.
38199 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38202 * math/s_clog.c: Include <float.h>.
38203 (__clog): Scale large or subnormal inputs.
38204 * math/s_clogf.c: Likewise.
38205 * math/s_clogl.c: Likewise.
38206 * math/s_clog10.c: Include <float.h>.
38207 (M_LOG10_2): Define.
38208 (__clog10): Scale large or subnormal inputs.
38209 * math/s_clog10f.c: Likewise.
38210 * math/s_clog10l.c: Likewise.
38211 * math/libm-test.inc (clog_test): Add more tests.
38212 (clog10_test): Likewise.
38213 * sysdeps/i386/fpu/libm-test-ulps: Update.
38214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38219 * math/libm-test.inc (atan2_test): Add another test.
38221 * Makerules (common-objdir-compile): Remove.
38222 * sysdeps/unix/Makefile (config-generated): Do not add
38223 $(unix-generated) to variable.
38224 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38225 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38227 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38229 [generic bits/local_lim.h] (before-compile): Do not append to
38231 [generic bits/local_lim.h] (common-generated): Likewise.
38232 [generic sys/param.h] (before-compile): Do not append to variable.
38233 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38234 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38238 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38239 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38240 [generic sys/param.h] ($(addprefix
38241 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38242 [generic sys/param.h] (common-generated): Do not append to
38244 [generic sys/param.h] (sysdep_headers): Likewise.
38245 [generic bits/errno.h] (before-compile): Do not append to
38247 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38249 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38250 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38251 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38252 [generic bits/errno.h] (common-generated): Do not append to
38254 [generic bits/ioctls.h] (before-compile): Do not append to
38256 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38258 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38259 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38263 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38264 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38265 [generic bits/ioctls.h] (common-generated): Do not append to
38267 [generic sys/syscall.h] (syscall.h): Remove variable.
38268 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38270 [generic sys/syscall.h] (before-compile): Do not append to
38272 [generic sys/syscall.h] (common-generated): Likewise.
38273 * sysdeps/unix/errnos-tmpl.c: Remove file.
38274 * sysdeps/unix/errnos.awk: Likewise.
38275 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38276 * sysdeps/unix/ioctls.awk: Likewise.
38277 * sysdeps/unix/mk-local_lim.c: Likewise.
38278 * sysdeps/unix/snarf-ioctls: Likewise.
38280 2012-03-19 Richard Henderson <rth@twiddle.net>
38282 * sysdeps/i386/fpu/fenv_private.h: New file.
38283 * sysdeps/i386/fpu/math_private.h: Use it.
38284 (math_opt_barrier, math_force_eval): Remove.
38285 (libc_feholdexcept_setround_53bit): Remove.
38286 (libc_feupdateenv_53bit): Remove.
38287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38288 (math_opt_barrier, math_force_eval): Remove.
38289 (libc_feholdexcept): Remove.
38290 (libc_feholdexcept_setround): Remove.
38291 (libc_fetestexcept, libc_fesetenv): Remove.
38292 (libc_feupdateenv_test): Remove.
38293 (libc_feupdateenv, libc_feholdsetround): Remove.
38294 (libc_feresetround): Remove.
38296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38297 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38299 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38300 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38301 (libc_feupdateenv_testl): New.
38302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38303 (libc_feupdateenv_testf): New.
38304 (libc_feupdateenv): Use libc_feupdateenv_test.
38305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38308 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38309 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38310 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38311 (libc_feresetround_noex): New.
38312 (libc_feresetround_noexf): New.
38313 (libc_feresetround_noexl): New.
38314 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38315 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38316 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38322 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38324 SET_RESTORE_ROUND_NOEX.
38325 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38326 SET_RESTORE_ROUND_NOEXF.
38327 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38328 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38329 (libc_feholdsetroundf): New.
38330 (libc_feresetround, libc_feresetroundf): New.
38332 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38333 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38334 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38336 * sysdeps/generic/math_private.h: Include <fenv.h>.
38337 (default_libc_feholdexcept): New.
38338 (default_libc_feholdexcept_setround): New.
38339 (default_libc_fesetenv, default_libc_feupdateenv): New.
38340 (libc_feholdexcept): Only define if undefined.
38341 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38342 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38343 (libc_feholdexcept_setroundl): Likewise.
38344 (libc_feholdexcept_setround_53bit): Likewise.
38345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38346 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38347 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38348 (libc_feupdateenv_53bit): Likewise.
38349 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38350 (libc_feholdexcept): Convert from macro to inline function.
38351 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38352 (libc_fesetenv, libc_feupdateenv): Likewise.
38354 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38355 not previously defined.
38356 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38357 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38358 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38359 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38360 * sysdeps/ieee754/flt-32/math_private.h: New file.
38361 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38362 math_private.h below SET_FLOAT_WORD.
38363 (__isnan, __isinf_ns, __finite): Remove.
38364 (__isnanf, __isinf_nsf, __finitef): Remove.
38366 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38370 2012-03-17 David S. Miller <davem@davemloft.net>
38373 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38376 2012-03-16 David S. Miller <davem@davemloft.net>
38378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38382 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38384 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38386 sysdep_routines when subdir is sysvipc.
38387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38388 __getshmlba helper.
38390 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38394 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38397 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38399 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38401 (__lround): Renamed to ...
38402 (__llround): This. Replace long int with long long int.
38403 Define lround functions as aliases of llround functions.
38404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38406 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38408 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38409 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38410 adresses to uintptr_t. Replace "long int" and "unsigned long
38411 int" with "greg_t" on va_arg.
38413 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38415 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38416 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38418 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38419 Move e_machine check before EI_CLASS check. Handle x32
38420 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38421 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38422 SKIP_EM_IA_64 and include
38423 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38425 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38426 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38427 (add_system_dir): New macro.
38429 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38432 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38443 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38445 * math/w_j0f.c (j0f): Likewise.
38447 * math/w_j0l.c (__j0l): Likewise.
38449 * math/w_j1.c (j1): Likewise.
38451 * math/w_j1f.c (j1f): Likewise.
38453 * math/w_j1l.c (__j1l): Likewise.
38455 * math/w_jn.c (jn): Likewise.
38457 * math/w_jnf.c (jnf): Likewise.
38459 * math/w_jnl.c (__jnl): Likewise.
38461 * math/libm-test.inc (j0_test): Add more tests.
38462 (j1_test): Likewise.
38463 (jn_test): Likewise. Add trailing semicolon to existing test.
38464 (y0_test): Likewise.
38465 (y1_test): Likewise.
38466 * sysdeps/i386/fpu/libm-test-ulps: Update.
38467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38472 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38473 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38475 (__tanl): Set errno for infinite argument.
38476 * sysdeps/i386/fpu/mptan.c: Remove.
38477 * sysdeps/i386/fpu/s_tan.S: Likewise.
38478 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38479 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38480 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38481 * math/libm-test.inc (tan_test): Add more tests and enable more
38482 tests for double and long double.
38483 * sysdeps/i386/fpu/libm-test-ulps: Update.
38484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38486 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38488 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38489 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38491 2012-03-16 Roland McGrath <roland@hack.frob.com>
38493 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38494 * configure.in: Use it for both main tree and add-ons.
38495 * configure: Regenerated.
38497 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38499 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38501 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38507 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38508 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38513 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38515 != 0 for prec == 2.
38516 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38517 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38518 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38519 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38520 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38521 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38522 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38523 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38524 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38525 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38526 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38527 * math/libm-test.inc (cos_test): Add more tests and enable more
38528 tests for long double.
38529 (sin_test): Likewise.
38530 (sincos_test): Likewise.
38531 * sysdeps/i386/fpu/libm-test-ulps: Update.
38532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38534 2012-03-16 David S. Miller <davem@davemloft.net>
38536 * sysdeps/sparc/fpu/math_private.h: New file.
38538 2012-03-15 David S. Miller <davem@davemloft.net>
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38554 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38555 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38557 * sysdeps/sparc/sparc-ifunc.h: New file.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38603 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38605 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38609 2012-03-15 Andreas Jaeger <aj@suse.de>
38612 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38613 ieee754/flt-32 implementation for sin, cos and sincos.
38614 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38615 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38616 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38617 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38618 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38619 ieee754/flt-32 implementation for tan.
38621 * math/libm-test.inc (cos_test): Enable some large input tests for
38623 (sin_test): Likewise.
38624 (sincos_test): Likewise.
38625 (tan_test): Add tests for large input.
38627 * sysdeps/i386/fpu/libm-test-ulps: Update.
38629 2012-03-15 Andreas Jaeger <aj@suse.de>
38632 * math/libm-test.inc (cos_test): Add more test cases.
38633 (sin_test): Likewise.
38634 (sincos_test): Likewise.
38636 2012-03-15 Andreas Jaeger <aj@suse.de>
38639 * math/libm-test.inc (cos_test): Add a test case for large input
38641 (sin_test): Likewise.
38642 (sincos_test): Likewise.
38644 2012-03-15 Andreas Jaeger <aj@suse.de>
38645 Joseph Myers <joseph@codesourcery.com>
38648 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38649 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38650 * sysdeps/i386/fpu/branred.c: Likewise.
38651 * sysdeps/i386/fpu/dosincos.c: Likewise.
38652 * sysdeps/i386/fpu/mpa.c: Likewise.
38653 * sysdeps/i386/fpu/s_cos.S: Likewise.
38654 * sysdeps/i386/fpu/s_sin.S: Likewise.
38655 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38656 * sysdeps/i386/fpu/sincos32.c: Likewise.
38658 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38660 (libc_feupdateenv_53bit): Define.
38661 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38663 (libc_feupdateenv_53bit): Define.
38665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38666 53 bit (without extend i386 double precision).
38668 * math/libm-test.inc (sincos_test): Add tests for large input.
38672 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38674 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38678 2012-03-15 David S. Miller <davem@davemloft.net>
38680 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38681 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38682 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38683 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38708 fmin/fmax sysdep routines.
38709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38711 2012-03-14 David S. Miller <davem@davemloft.net>
38713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38785 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38790 * sysdeps/sparc/configure.in: New file.
38791 * sysdeps/sparc/configure: Generate.
38792 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38793 * configure: Regenerate.
38794 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38795 * config.make.in (have-as-vis3): New.
38796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38797 available use -Av9d instead of -Av9a.
38798 * sysdeps/sparc/sparc64/Makefile: Likewise.
38799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38814 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38815 fzeros/fnegs to load 0x80000000 into a float register instead of
38817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38819 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38823 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38824 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38825 ($(inst_includedir)/bits/syscall.h): Remove rule.
38826 ($(objpfx)bits/syscall.d): Include instead of
38827 $(objpfx)syscall-list.d.
38828 (generated): Change syscall-list.h and syscall-list.d to
38829 bits/syscall.h and bits/syscall.d.
38831 2012-03-14 Roland McGrath <roland@hack.frob.com>
38834 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38836 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38839 * math/s_csqrt.c: Include <float.h>.
38840 (__csqrt): Scale large or subnormal inputs.
38841 * math/s_csqrtf.c: Likewise.
38842 * math/s_csqrtl.c: Likewise.
38843 * math/libm-test.inc (csqrt_test): Add more tests.
38844 * sysdeps/i386/fpu/libm-test-ulps: Update.
38845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38848 * math/libm-test.inc (hypot_test): Add more tests.
38850 2012-03-13 David S. Miller <davem@davemloft.net>
38853 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38854 double-precision for the calculation instead of scaling.
38856 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38859 manipulate bits before adding and subtracting TWO52[sx].
38860 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38865 2012-03-13 David S. Miller <davem@davemloft.net>
38867 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38868 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38870 rtld-global-offsets.h
38871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38873 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38879 'err' in the ifdef scope in which it is actually used.
38881 * nss/nss_db/db-init.c: Include string.h
38883 2012-03-12 David S. Miller <davem@davemloft.net>
38885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38886 masking out of the most significant byte of random value used.
38887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38888 Fix coding style in previous change.
38890 * sysdeps/unix/sysv/linux/kernel-features.h
38891 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38892 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38894 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38897 2012-03-11 David S. Miller <davem@davemloft.net>
38899 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38900 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38902 for 'resultvar' otherwise things get truncated on 64-bit.
38904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38905 Fix masking out of the most significant byte of random value used.
38907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38909 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38913 2012-03-09 David S. Miller <davem@davemloft.net>
38915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38916 variables with appropriate CPP guards.
38917 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38918 from the frame pointer, not the stack pointer. Correct layout
38919 comments. Fix test on resulting framesize and the management of
38920 the outregs buffer for pltexit. Preserve floating point return
38921 values across _dl_call_pltexit call.
38922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38923 framesize and the management of the outregs buffer for pltexit.
38924 Preserve floating point return values across _dl_call_pltexit
38926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38927 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38928 (la_sparc64_gnu_pltexit): New functions.
38929 (print_exit): Fix format string for return register value.
38931 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38933 * sunrpc/Makefile (others): Add rpcgen.
38934 ($(objpfx)rpcgen): Remove special build rule and dependency on
38936 * sunrpc/rpcgen.c: New file.
38938 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38941 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38942 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38943 * sysdeps/i386/crti.S: Likewise.
38944 * sysdeps/i386/crtn.S: Likewise.
38945 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38946 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38947 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38948 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38949 * sysdeps/sh/crti.S: Likewise.
38950 * sysdeps/sh/crtn.S: Likewise.
38951 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38954 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38956 * locale/programs/locfile-kw.gperf: Likewise.
38957 * locale/programs/charmap-kw.h: Regenerated.
38958 * locale/programs/locfile-kw.h: Likewise.
38961 * intl/plural.y: Replace FSF snail mail address with URL.
38962 * intl/plural.c: Regenerated.
38964 2012-03-09 Richard Henderson <rth@twiddle.net>
38966 * include/math_private.h: Remove file.
38967 * math/math_private.h: Move file ...
38968 * sysdeps/generic/math_private.h: ... here.
38970 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38971 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38972 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38974 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38975 and <math_private.h>.
38976 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38977 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38978 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38979 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38980 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39022 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39025 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39027 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39028 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39044 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39045 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39059 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39060 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39063 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39069 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39071 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39073 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39076 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39077 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39078 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39079 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39080 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39084 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39088 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39090 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39092 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39095 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39096 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39099 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39101 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39103 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39104 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39105 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39106 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39107 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39108 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39109 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39110 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39111 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39112 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39113 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39114 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39115 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39118 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39119 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39120 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39121 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39122 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39123 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39124 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39125 * sysdeps/ieee754/k_standard.c: Likewise.
39126 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39130 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39135 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39136 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39138 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39140 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39152 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39153 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39154 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39157 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39158 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39159 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39170 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39171 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39172 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39177 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39179 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39182 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39183 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39185 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39186 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39187 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39205 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39206 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39222 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39223 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39230 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39233 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39243 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39245 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39246 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39247 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39252 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39253 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39258 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39274 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39275 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39280 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39281 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39286 * sysdeps/ieee754/s_lib_version.c: Likewise.
39287 * sysdeps/ieee754/s_matherr.c: Likewise.
39288 * sysdeps/ieee754/s_signgam.c: Likewise.
39289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39291 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39292 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39293 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39294 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39295 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39296 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39297 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39298 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39299 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39300 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39301 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39302 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39303 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39304 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39305 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39307 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39313 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39314 * sunrpc/rpc_main.c: Likewise.
39315 * sunrpc/rpc_svcout.c: Likewise.
39317 2012-03-09 David S. Miller <davem@davemloft.net>
39319 * include/math_private.h: New file.
39321 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39323 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39324 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39325 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39326 from <bits/socket_type.h>.
39327 (enum __socket_type): Don't define here.
39328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39330 bits/socket_type.h.
39333 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39334 checking __USE_GNU.
39336 * Makerules ($(inst_includedir)/%.h): New rule.
39337 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39338 (install-others): Remove variable setting.
39339 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39341 2012-03-08 Richard Henderson <rth@twiddle.net>
39343 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39344 from macro to inline function; merge with the
39345 !__LIBC_INTERNAL_MATH_INLINES version.
39346 (__ieee754_sqrtf): Likewise.
39348 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39349 to inline function.
39350 (__rintf, __floor, __floorf): Likewise.
39352 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39353 macro to inline function.
39354 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39357 not <math/math_private.h>.
39359 2012-03-08 David S. Miller <davem@davemloft.net>
39361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39363 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39365 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39367 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39369 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39370 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39372 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39374 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39375 be defined individually, they must be defined as a block. Define
39376 S for printing a string instead of hidint the different by using a
39377 macro for adding the 'l'.
39378 * stdio-common/tst-fphex-wide.c: Adjust.
39380 2012-03-07 Marek Polacek <polacek@redhat.com>
39382 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39384 2012-03-08 Marek Polacek <polacek@redhat.com>
39387 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39388 * stdio-common/tst-fphex.c: Define a few macros to make the
39389 test reusable. Use them.
39390 * stdio-common/tst-fphex-wide.c: New file.
39392 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39395 * manual/macros.texi (gnusystems): New macro.
39396 (nongnusystems): Likewise.
39397 (gnulinuxhurdsystems): Likewise.
39398 (gnuhurdsystems): Likewise..
39399 (gnulinuxsystems): Likewise.
39400 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39401 variants of the GNU system, not "GNU system".
39402 * manual/conf.texi: Likewise.
39403 * manual/errno.texi: Likewise. Update example of errno macro
39405 * manual/filesys.texi: Likewise.
39406 (getumask): Document as specific to GNU/Hurd.
39407 * manual/install.texi: Likewise. Reword some references to
39409 * manual/intro.texi: Likewise.
39410 * manual/io.texi: Likewise.
39411 (File Name Portability): Detail which constraints are inapplicable
39412 to all GNU systems and which are only inapplicable to GNU/Hurd.
39413 * manual/job.texi: Likewise.
39414 * manual/llio.texi: Likewise.
39415 (O_NOCTTY): Document as present on GNU/Linux.
39416 * manual/maint.texi: Likewise.
39417 * manual/memory.texi: Likewise.
39418 * manual/pattern.texi: Likewise.
39419 * manual/pipe.texi: Likewise.
39420 * manual/process.texi: Likewise.
39421 * manual/resource.texi: Likewise.
39422 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39424 * manual/setjmp.texi: Likewise.
39425 * manual/signal.texi: Likewise.
39426 * manual/startup.texi: Likewise.
39427 * manual/stdio.texi: Likewise.
39428 * manual/terminal.texi: Likewise.
39429 (ONLCR): Document as POSIX.
39430 (OXTABS): Document availability on GNU/Linux as XTABS.
39431 (ONOEOT): Document availability separately from other bits.
39432 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39433 * manual/time.texi: Likewise.
39434 * manual/users.texi: Likewise.
39435 * INSTALL: Regenerated.
39436 * sysdeps/gnu/errlist.c: Regenerated.
39438 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39439 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39440 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39442 * configure: Regenerated.
39444 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39446 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39447 default includes instead of AC_HEADER_CHECK.
39448 * sysdeps/i386/configure: Regenerated.
39451 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39452 * math/s_cacoshf.c (__cacoshf): Likewise.
39453 * math/s_cacoshl.c (__cacoshl): Likewise.
39454 * math/s_casinh.c (__casinh): Set signs of result from argument.
39455 * math/s_casinhf.c (__casinhf): Likewise.
39456 * math/s_casinhl.c (__casinhl): Likewise.
39457 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39458 (casinh_test): Add more tests.
39459 * sysdeps/i386/fpu/libm-test-ulps: Update.
39460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39462 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39464 * po/zh_TW.po: Update from translation team.
39466 * login/Makefile (distribute): Remove variable.
39467 * catgets/Makefile: Likewise.
39468 * mach/Makefile: Likewise.
39469 * malloc/Makefile: Likewise.
39470 * misc/Makefile: Likewise.
39471 * iconv/Makefile: Likewise.
39472 * nscd/Makefile: Likewise.
39473 * hurd/Makefile: Likewise.
39474 * manual/Makefile: Likewise.
39475 * locale/Makefile: Likewise.
39476 * intl/Makefile: Likewise.
39477 * conform/Makefile: Likewise.
39478 * nss/Makefile: Likewise.
39479 * time/Makefile: Likewise.
39480 * soft-fp/Makefile: Likewise.
39481 * dirent/Makefile: Likewise.
39482 * gmon/Makefile: Likewise.
39483 * po/Makefile: Likewise.
39484 * rt/Makefile: Likewise.
39485 * socket/Makefile: Likewise.
39486 * math/Makefile: Likewise.
39487 * signal/Makefile: Likewise.
39488 * debug/Makefile: Likewise.
39489 * elf/Makefile: Likewise.
39490 * timezone/Makefile: Likewise.
39491 * stdlib/Makefile: Likewise.
39492 * iconvdata/Makefile: Likewise.
39493 * sunrpc/Makefile: Likewise.
39494 * io/Makefile: Likewise.
39495 * argp/Makefile: Likewise.
39496 * inet/Makefile: Likewise.
39497 * hesiod/Makefile: Likewise.
39498 * grp/Makefile: Likewise.
39499 * csu/Makefile: Likewise.
39500 * wctype/Makefile: Likewise.
39501 * crypt/Makefile: Likewise.
39502 * libio/Makefile: Likewise.
39503 * string/Makefile: Likewise.
39504 * nis/Makefile: Likewise.
39505 * resolv/Makefile: Likewise.
39506 * stdio-common/Makefile: Likewise.
39507 * wcsmbs/Makefile: Likewise.
39508 * dlfcn/Makefile: Likewise.
39509 * posix/Makefile: Likewise.
39512 * timezone/Makefile: Don't install timezone files, just the programs
39515 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39517 * nss/databases.def: Add missing gshadow entry.
39519 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39521 2012-03-06 Marek Polacek <polacek@redhat.com>
39524 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39525 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39526 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39527 * stdio-common/tst-long-dbl-fphex.c: New file.
39529 2012-03-06 David S. Miller <davem@davemloft.net>
39531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39532 (set_obp_int): New function.
39533 (get_obp_int): New function.
39534 (__get_clockfreq_via_dev_openprom): Likewise.
39535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39536 Avoid unused variable warnings on 'val' and use builtin_expect.
39537 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39539 (INLINE_CLONE_SYSCALL): Likewise.
39541 2012-03-05 David S. Miller <davem@davemloft.net>
39543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39545 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39550 only for |x| >= 40.
39551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39553 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39556 Replace gettimeofday with __vdso_gettimeofday.
39558 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39559 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39560 __vdso_clock_gettime and __vdso_getcpu.
39562 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39563 time with __vdso_time.
39565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39567 * manual/lang.texi (size_t): Note types to which size_t may be
39568 equivalent with the GNU C Library, but do not describe when
39569 differences between them are significant.
39571 2012-03-05 Andreas Jaeger <aj@suse.de>
39573 * sysdeps/i386/fpu/libm-test-ulps: Update.
39575 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39578 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39579 (__ieee754_pow): Save and restore rounding mode and use
39580 round-to-nearest for main computations.
39581 * math/libm-test.inc (pow_test_tonearest): New function.
39582 (pow_test_towardzero): Likewise.
39583 (pow_test_downward): Likewise.
39584 (pow_test_upward): Likewise.
39585 (main): Call the new functions.
39586 * sysdeps/i386/fpu/libm-test-ulps: Update.
39587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39590 * math/libm-test.inc (cosh_test_tonearest): New function.
39591 (cosh_test_towardzero): Likewise.
39592 (cosh_test_downward): Likewise.
39593 (cosh_test_upward): Likewise.
39594 (sinh_test_tonearest): Likewise.
39595 (sinh_test_towardzero): Likewise.
39596 (sinh_test_downward): Likewise.
39597 (sinh_test_upward): Likewise.
39598 (main): Call the new functions.
39599 * sysdeps/i386/fpu/libm-test-ulps: Update.
39600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39602 2012-03-05 Tom de Vries <tom@codesourcery.com>
39604 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39605 default stack guard is set in last bytes.
39606 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39608 2012-03-05 Kees Cook <keescook@chromium.org>
39610 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39613 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39614 possibly allocate from heap instead of stack.
39615 * stdio-common/bug-vfprintf-nargs.c: New file.
39616 * stdio-common/Makefile (tests): Add nargs overflow test.
39618 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39622 2012-03-03 Marek Polacek <polacek@redhat.com>
39624 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39625 * math/math_private.h: Likewise.
39626 * stdlib/tst-strtod.c: Likewise.
39627 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39628 * sysdeps/x86_64/bits/atomic.h: Likewise.
39630 2012-03-02 David S. Miller <davem@davemloft.net>
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39636 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39637 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39638 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39639 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39641 2012-03-02 Roland McGrath <roland@hack.frob.com>
39644 * manual/examples/README: New file, says the example source files
39645 can be used under GPL>=2.
39646 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39647 line containing just "*/".
39648 * manual/examples/add.c: Add copyright header (GPL>=2).
39649 * manual/examples/argp-ex1.c: Likewise.
39650 * manual/examples/argp-ex2.c: Likewise.
39651 * manual/examples/argp-ex3.c: Likewise.
39652 * manual/examples/argp-ex4.c: Likewise.
39653 * manual/examples/atexit.c: Likewise.
39654 * manual/examples/db.c: Likewise.
39655 * manual/examples/dir.c: Likewise.
39656 * manual/examples/dir2.c: Likewise.
39657 * manual/examples/execinfo.c: Likewise.
39658 * manual/examples/filecli.c: Likewise.
39659 * manual/examples/filesrv.c: Likewise.
39660 * manual/examples/fmtmsgexpl.c: Likewise.
39661 * manual/examples/genpass.c: Likewise.
39662 * manual/examples/inetcli.c: Likewise.
39663 * manual/examples/inetsrv.c: Likewise.
39664 * manual/examples/isockad.c: Likewise.
39665 * manual/examples/longopt.c: Likewise.
39666 * manual/examples/memopen.c: Likewise.
39667 * manual/examples/memstrm.c: Likewise.
39668 * manual/examples/mkfsock.c: Likewise.
39669 * manual/examples/mkisock.c: Likewise.
39670 * manual/examples/mygetpass.c: Likewise.
39671 * manual/examples/pipe.c: Likewise.
39672 * manual/examples/popen.c: Likewise.
39673 * manual/examples/rprintf.c: Likewise.
39674 * manual/examples/search.c: Likewise.
39675 * manual/examples/select.c: Likewise.
39676 * manual/examples/setjmp.c: Likewise.
39677 * manual/examples/sigh1.c: Likewise.
39678 * manual/examples/sigusr.c: Likewise.
39679 * manual/examples/stpcpy.c: Likewise.
39680 * manual/examples/strdupa.c: Likewise.
39681 * manual/examples/strftim.c: Likewise.
39682 * manual/examples/strncat.c: Likewise.
39683 * manual/examples/subopt.c: Likewise.
39684 * manual/examples/swapcontext.c: Likewise.
39685 * manual/examples/termios.c: Likewise.
39686 * manual/examples/testopt.c: Likewise.
39687 * manual/examples/testpass.c: Likewise.
39688 * manual/examples/timeval_subtract.c: Likewise.
39691 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39693 * manual/timeval_subtract.c.texi: ... here, new file.
39695 2012-03-02 David S. Miller <davem@davemloft.net>
39697 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39699 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39702 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39703 (__sin): Save and restore rounding mode and use round-to-nearest
39704 for all computations.
39705 (__cos): Save and restore rounding mode and use round-to-nearest
39706 for all computations.
39707 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39709 (tan): Save and restore rounding mode and use round-to-nearest for
39711 * math/libm-test.inc (cos_test_tonearest): New function.
39712 (cos_test_towardzero): Likewise.
39713 (cos_test_downward): Likewise.
39714 (cos_test_upward): Likewise.
39715 (sin_test_tonearest): Likewise.
39716 (sin_test_towardzero): Likewise.
39717 (sin_test_downward): Likewise.
39718 (sin_test_upward): Likewise.
39719 (tan_test_tonearest): Likewise.
39720 (tan_test_towardzero): Likewise.
39721 (tan_test_downward): Likewise.
39722 (tan_test_upward): Likewise.
39723 (main): Call the new functions.
39724 * sysdeps/i386/fpu/libm-test-ulps: Update.
39725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39728 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39729 small n, then large n, before computing and testing k+n.
39730 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39735 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39736 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39740 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39743 * math/libm-test.inc (scalbn_test): Add more tests.
39744 (scalbln_test): Likewise.
39746 * manual/filesys.texi (mode_t): Describe constraints on size and
39747 signedness, not exact equivalence to a particular type.
39749 (ino64_t): Likewise.
39751 (nlink_t): Likewise.
39752 (blkcnt_t): Likewise.
39753 (blkcnt64_t): Likewise.
39754 * manual/llio.texi (off_t): Likewise.
39757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39758 (__ieee754_exp): Save and restore rounding mode and use
39759 round-to-nearest for all computations.
39760 * math/libm-test.inc (exp_test_tonearest): New function.
39761 (exp_test_towardzero): Likewise.
39762 (exp_test_downward): Likewise.
39763 (exp_test_upward): Likewise.
39764 (main): Call the new functions.
39765 * sysdeps/i386/fpu/libm-test-ulps: Update.
39766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39768 2012-03-01 Chris Demetriou <cgd@google.com>
39770 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39771 have predictable order.
39773 2012-03-01 David S. Miller <davem@davemloft.net>
39775 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39777 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39778 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39779 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39780 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39782 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39783 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39784 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39786 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39787 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39788 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39789 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39790 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39795 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39798 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39799 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39800 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39801 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39802 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39806 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39807 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39808 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39814 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39815 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39816 * sysdeps/sparc/elf/configure: Regenerated.
39818 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39820 * configure.in (AS, LD): Require binutils 2.20 or later.
39821 * configure: Regenerated.
39822 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39823 as required minimum version.
39824 * INSTALL: Regenerated.
39828 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39829 before squaring exponent.
39830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39831 bottom long double and 27 bits of top long double before squaring
39833 * math/libm-test.inc (erfc_test): Add more tests.
39834 * sysdeps/i386/fpu/libm-test-ulps: Update.
39835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39838 2012-03-01 Kai Tietz <ktietz@redhat.com>
39840 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39841 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39842 containing bit-fields.
39843 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39844 * soft-fp/single.h (_FP_UNION_S): Likewise.
39845 * soft-fp/double.h (_FP_UNION_D): Likewise.
39847 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39850 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39851 not include ../strcmp.S.
39852 [USE_AS_STRNCASECMP_L]: Likewise.
39853 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39854 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39855 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39856 (__strncasecmp_l_ia32): Define as alias to
39857 __strncasecmp_l_nonascii.
39860 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39861 * sysdeps/i386/fpu/libm-test-ulps: Update.
39862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39864 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39867 2012-02-29 Jeff Law <law@redhat.com>
39869 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39870 out of bounds read.
39872 2012-02-29 Marek Polacek <polacek@redhat.com>
39875 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39876 * elf/Makefile: Add rules to run tst-unused-dep.out.
39878 2012-02-28 David S. Miller <davem@davemloft.net>
39880 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39881 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39884 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39885 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39887 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39889 * math/libm-test.inc (llround_test): Move one test from
39890 lround_test. Use TEST_f_L in moved test.
39891 (lround_test): Move misplaced test to llround_test. Add testcase
39894 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39896 * sysdeps/x86_64/fpu/e_expf.S: New file.
39897 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39899 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39902 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39903 of remain_len that may cause incomplete multi-byte character and
39905 * posix/bug-regex33.c: New file.
39906 * posix/Makefile (tests): Add bug-regex33.
39908 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39910 * manual/macros.texi: New file.
39911 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39912 * manual/libc.texinfo: Include macros.texi.
39913 * manual/creatute.texi: Likewise.
39914 * manual/install.texi: Likewise.
39915 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39916 @glibcadj{} in references to the GNU C Library.
39917 * manual/charset.texi: Likewise.
39918 * manual/conf.texi: Likewise.
39919 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39920 when not using those macros.
39921 * manual/creature.texi: Likewise.
39922 * manual/crypt.texi: Likewise.
39923 * manual/errno.texi: Likewise.
39924 * manual/filesys.texi: Likewise.
39925 * manual/header.texi: Likewise.
39926 * manual/install.texi: Likewise.
39927 * manual/intro.texi: Likewise.
39928 * manual/io.texi: Likewise.
39929 * manual/job.texi: Likewise.
39930 * manual/lang.texi: Likewise.
39931 * manual/libc.texiinfo: Likewise.
39932 * manual/llio.texi: Likewise.
39933 * manual/locale.texi: Likewise.
39934 * manual/maint.texi: Likewise.
39935 * manual/math.texi: Likewise.
39936 * manual/memory.texi: Likewise.
39937 * manual/message.texi: Likewise.
39938 * manual/nss.texi: Likewise.
39939 * manual/pattern.texi: Likewise.
39940 * manual/process.texi: Likewise.
39941 * manual/resource.texi: Likewise.
39942 * manual/search.texi: Likewise.
39943 * manual/setjmp.texi: Likewise.
39944 * manual/signal.texi: Likewise.
39945 * manual/socket.texi: Likewise.
39946 * manual/startup.texi: Likewise.
39947 * manual/stdio.texi: Likewise.
39948 * manual/string.texi: Likewise.
39949 * manual/sysinfo.texi: Likewise.
39950 * manual/syslog.texi: Likewise.
39951 * manual/terminal.texi: Likewise.
39952 * manual/time.texi: Likewise.
39953 * manual/users.texi: Likewise.
39954 * INSTALL: Regenerated.
39955 * NOTES: Regenerated.
39956 * sysdeps/gnu/errlist.c: Regenerated.
39958 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39960 * include/dirent.h: Include <dirstream.h> before
39963 2012-02-28 David S. Miller <davem@davemloft.net>
39965 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39966 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39967 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39968 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39970 2012-02-27 David S. Miller <davem@davemloft.net>
39972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39974 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39975 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39978 frame pointer instead of stack pointer relative arg slot.
39979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39980 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39981 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39983 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39986 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39988 2012-02-27 David S. Miller <davem@davemloft.net>
39990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39996 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39997 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39999 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40001 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40002 later. Allow versions 5-9.
40003 * configure: Regenerated.
40004 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40005 required minimum version and 4.6 as recommended version. Do not
40006 mention bugs in GCC 2.7 and 2.8.
40007 * INSTALL: Regenerated.
40009 2012-02-27 David S. Miller <davem@davemloft.net>
40011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40017 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40018 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40021 manipulate bits before adding and subtracting TWO112[sx].
40022 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40024 2012-02-27 Roland McGrath <roland@hack.frob.com>
40027 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40028 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40029 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40030 being in POSIX, because they are in 1003.1-2008.
40032 * rt/tst-aio.c: Include <fcntl.h>.
40033 * rt/tst-aio7.c: Likewise.
40034 * rt/tst-aio64.c: Likewise.
40036 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40038 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40040 * manual/install.texi (--with-headers): Describe headers as
40041 interface headers, not private headers.
40042 (Specific advice for GNU/Linux systems): Describe use of headers
40043 from "make headers_install", not private headers from older
40045 * INSTALL: Regenerated.
40046 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40048 * sysdeps/unix/sysv/linux/configure: Regenerated.
40050 * manual/llio.texi (fclean): Remove documentation.
40052 * manual/Makefile (libc-texi-generated): New variable. Include
40054 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40055 $(libc-texi-generated), not duplicated list of files.
40056 (version.texi, stamp-version): New rules.
40057 (realclean): Remove $(libc-texi-generated), not individual files
40058 from that list. Do not remove dir-add.texinfo.
40059 * manual/libc.texinfo: Comment out uses of edition numbers and
40060 references to printed manual. Remove last-updated dates.
40061 (EDITION): Comment out.
40063 (VERSION, UPDATED): Remove.
40064 (version.texi): Include.
40066 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40068 * sysdeps/posix/spawni.c: Include <signal.h>.
40069 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40070 * sysdeps/pthread/aio_fsync.c: Likewise.
40072 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40074 * conform/Makefile (tests): Run only when not cross-compiling and
40075 when fast-check is not defined.
40077 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40078 * conform/data/limits.h-data: Fixes for POSIX2008.
40079 * conform/run-conformtest.sh: Run all tests.
40080 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40082 * include/bits/dlfcn.h: Likewise.
40083 * include/langinfo.h: Likewise.
40084 * include/monetary.h: Likewise.
40085 * include/sys/poll.h: Likewise.
40087 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40089 * posix/spawn.h: Define __need_sigset_t.
40090 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40091 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40092 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40093 to get sigevent_t only.
40094 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40095 only for __USE_GNU.
40096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40098 process_vm_writev only for __USE_GNU.
40099 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40101 * conform/Makefile: For now ignore errors from run-conformtest.
40102 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40103 POSIX to avoid namespace pollution. Don't prepend headers.
40104 * conform/data/aio.h-data: Fixes for POSIX testing.
40105 * conform/data/fcntl.h-data: Likewise.
40106 * conform/data/glob.h-data: Likewise.
40107 * conform/data/grp.h-data: Likewise.
40108 * conform/data/pthread.h-data: Likewise.
40109 * conform/data/pwd.h-data: Likewise.
40110 * conform/data/signal.h-data: Likewise.
40111 * conform/data/spawn.h-data: Likewise.
40112 * conform/data/stdio.h-data: Likewise.
40113 * conform/data/stdlib.h-data: Likewise.
40114 * conform/data/stropts.h-data: Likewise.
40115 * conform/data/sys/mman.h-data: Likewise.
40116 * conform/data/sys/stat.h-data: Likewise.
40117 * conform/data/sys/types.h-data: Likewise.
40118 * conform/data/sys/wait.h-data: Likewise.
40119 * conform/data/time.h-data: Likewise.
40120 * conform/data/unistd.h-data: Likewise.
40121 * conform/data/utime.h-data: Likewise.
40123 * io/sys/stat.h: fchmod was always in POSIX.
40124 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40125 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40126 * rt/aio.h: Define __need_timespec before including <time.h>.
40127 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40128 struct. Add forward declaration of pthread_attr_t and use it in
40130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40132 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40133 always remove CLK_TCK definition.
40135 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40137 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40139 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40141 * conform/run-conformtest.sh: New file.
40142 * conform/Makefile: Run run-conformtest for tests.
40143 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40146 * conform/data/uchar.h-data: New file.
40147 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40148 * conform/data/arpa/inet.h-data: Likewise.
40149 * conform/data/assert.h-data: Likewise.
40150 * conform/data/complex.h-data: Likewise.
40151 * conform/data/cpio.h-data: Likewise.
40152 * conform/data/ctype.h-data: Likewise.
40153 * conform/data/dirent.h-data: Likewise.
40154 * conform/data/dlfcn.h-data: Likewise.
40155 * conform/data/errno.h-data: Likewise.
40156 * conform/data/fcntl.h-data: Likewise.
40157 * conform/data/float.h-data: Likewise.
40158 * conform/data/fmtmsg.h-data: Likewise.
40159 * conform/data/fnmatch.h-data: Likewise.
40160 * conform/data/ftw.h-data: Likewise.
40161 * conform/data/glob.h-data: Likewise.
40162 * conform/data/grp.h-data: Likewise.
40163 * conform/data/iconv.h-data: Likewise.
40164 * conform/data/inttypes.h-data: Likewise.
40165 * conform/data/langinfo.h-data: Likewise.
40166 * conform/data/libgen.h-data: Likewise.
40167 * conform/data/limits.h-data: Likewise.
40168 * conform/data/locale.h-data: Likewise.
40169 * conform/data/math.h-data: Likewise.
40170 * conform/data/monetary.h-data: Likewise.
40171 * conform/data/mqueue.h-data: Likewise.
40172 * conform/data/ndbm.h-data: Likewise.
40173 * conform/data/net/if.h-data: Likewise.
40174 * conform/data/netdb.h-data: Likewise.
40175 * conform/data/netinet/in.h-data: Likewise.
40176 * conform/data/nl_types.h-data: Likewise.
40177 * conform/data/poll.h-data: Likewise.
40178 * conform/data/pthread.h-data: Likewise.
40179 * conform/data/pwd.h-data: Likewise.
40180 * conform/data/regex.h-data: Likewise.
40181 * conform/data/sched.h-data: Likewise.
40182 * conform/data/search.h-data: Likewise.
40183 * conform/data/semaphore.h-data: Likewise.
40184 * conform/data/setjmp.h-data: Likewise.
40185 * conform/data/signal.h-data: Likewise.
40186 * conform/data/spawn.h-data: Likewise.
40187 * conform/data/stdarg.h-data: Likewise.
40188 * conform/data/stdio.h-data: Likewise.
40189 * conform/data/stdlib.h-data: Likewise.
40190 * conform/data/string.h-data: Likewise.
40191 * conform/data/strings.h-data: Likewise.
40192 * conform/data/stropts.h-data: Likewise.
40193 * conform/data/sys/ipc.h-data: Likewise.
40194 * conform/data/sys/mman.h-data: Likewise.
40195 * conform/data/sys/msg.h-data: Likewise.
40196 * conform/data/sys/resource.h-data: Likewise.
40197 * conform/data/sys/select.h-data: Likewise.
40198 * conform/data/sys/sem.h-data: Likewise.
40199 * conform/data/sys/shm.h-data: Likewise.
40200 * conform/data/sys/socket.h-data: Likewise.
40201 * conform/data/sys/stat.h-data: Likewise.
40202 * conform/data/sys/statvfs.h-data: Likewise.
40203 * conform/data/sys/time.h-data: Likewise.
40204 * conform/data/sys/timeb.h-data: Likewise.
40205 * conform/data/sys/times.h-data: Likewise.
40206 * conform/data/sys/types.h-data: Likewise.
40207 * conform/data/sys/uio.h-data: Likewise.
40208 * conform/data/sys/un.h-data: Likewise.
40209 * conform/data/sys/utsname.h-data: Likewise.
40210 * conform/data/sys/wait.h-data: Likewise.
40211 * conform/data/syslog.h-data: Likewise.
40212 * conform/data/tar.h-data: Likewise.
40213 * conform/data/termios.h-data: Likewise.
40214 * conform/data/utime.h-data: Likewise.
40215 * conform/data/utmpx.h-data: Likewise.
40216 * conform/data/varargs.h-data: Likewise.
40217 * conform/data/wchar.h-data: Likewise.
40218 * conform/data/wctype.h-data: Likewise.
40219 * conform/data/wordexp.h-data: Likewise.
40221 * include/stropts.h: New file.
40222 * include/uchar.h: New file.
40223 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40224 * include/assert.h: Likewise.
40225 * include/ctype.h: Likewise.
40226 * include/dirent.h: Likewise.
40227 * include/dlfcn.h: Likewise.
40228 * include/fcntl.h: Likewise.
40229 * include/fnmatch.h: Likewise.
40230 * include/glob.h: Likewise.
40231 * include/grp.h: Likewise.
40232 * include/libio.h: Likewise.
40233 * include/locale.h: Likewise.
40234 * include/math.h: Likewise.
40235 * include/net/if.h: Likewise.
40236 * include/netdb.h: Likewise.
40237 * include/netinet/in.h: Likewise.
40238 * include/pthread.h: Likewise.
40239 * include/pwd.h: Likewise.
40240 * include/regex.h: Likewise.
40241 * include/sched.h: Likewise.
40242 * include/search.h: Likewise.
40243 * include/setjmp.h: Likewise.
40244 * include/signal.h: Likewise.
40245 * include/stdio.h: Likewise.
40246 * include/stdlib.h: Likewise.
40247 * include/string.h: Likewise.
40248 * include/sys/cdefs.h: Likewise.
40249 * include/sys/mman.h: Likewise.
40250 * include/sys/msg.h: Likewise.
40251 * include/sys/resource.h: Likewise.
40252 * include/sys/select.h: Likewise.
40253 * include/sys/socket.h: Likewise.
40254 * include/sys/stat.h: Likewise.
40255 * include/sys/statvfs.h: Likewise.
40256 * include/sys/time.h: Likewise.
40257 * include/sys/times.h: Likewise.
40258 * include/sys/uio.h: Likewise.
40259 * include/sys/utsname.h: Likewise.
40260 * include/sys/wait.h: Likewise.
40261 * include/termios.h: Likewise.
40262 * include/time.h: Likewise.
40263 * include/ulimit.h: Likewise.
40264 * include/unistd.h: Likewise.
40265 * include/utime.h: Likewise.
40266 * include/wchar.h: Likewise.
40267 * include/wctype.h: Likewise.
40268 * include/wordexp.h: Likewise.
40270 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40272 * time/time.h: TIME_UTC must be a macro.
40273 Make timespec_get available for ISO C11 only as well.
40275 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40277 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40278 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40280 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40282 * configure.in: Use -o not -a in test for unsupported multi-arch.
40284 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40286 * manual/texinfo.tex: Update to version 2012-01-19.16.
40288 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40290 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40292 2012-02-24 Roland McGrath <roland@hack.frob.com>
40295 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40296 * manual/fdl-1.3.texi: New file.
40297 * manual/fdl-1.1.texi: File removed.
40300 * manual/libc.texinfo (FDL_VERSION): New @set.
40301 Use it for mention of FDL in cover text.
40302 (Documentation License): Use it in @include file name.
40304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40305 Roland McGrath <roland@hack.frob.com>
40308 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40309 (not LONG_LONG_MAX and LONG_LONG_MIN.
40310 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40311 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40313 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40320 manipulate bits before adding and subtracting TWO23[sx].
40321 * math/libm-test.inc (nearbyint_test): Add more tests.
40323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40326 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40327 bits before adding and subtracting TWO23[sx].
40328 * math/libm-test.inc (rint_test): Add more tests.
40329 (rint_test_tonearest): Likewise.
40330 (rint_test_towardzero): Likewise.
40331 (rint_test_downward): Likewise.
40332 (rint_test_upward: Likewise.
40334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40337 * include/stdc-predef.h: New file. Extracted from features.h.
40338 * include/features.h: Include stdc-predef.h.
40339 * Makefile (headers): Add stdc-predef.h.
40340 * CONFORMANCE (Compiler limitations): Update.
40342 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40344 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40346 2012-02-21 David S. Miller <davem@davemloft.net>
40348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40351 2012-02-20 David S. Miller <davem@davemloft.net>
40353 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40354 using a normal save/restore sequence, rather than allocating a
40355 dummy stack frame just to store a frame pointer and restore.
40356 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40358 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40360 * manual/install.texi: Fix stray word in line-wrapped comment.
40362 2012-02-20 David S. Miller <davem@davemloft.net>
40364 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40365 both binutils and gcc support GOTDATA.
40367 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40368 "rd %pc" in the PIC register setup sequences.
40370 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40371 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40373 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40374 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40379 (SYSCALL_ERROR_HANDLER): Likewise.
40380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40381 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40383 (SYSCALL_ERROR_HANDLER): Likewise.
40385 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40386 (HAVE_GCC_GOTDATA): New.
40387 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40388 relocation support in both binutils and gcc.
40389 * sysdeps/sparc/elf/configure: Regenerate.
40391 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40392 * sysdeps/sparc/sparc32/elf/configure: Delete.
40393 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40394 * sysdeps/sparc/sparc64/elf/configure: Delete.
40395 * sysdeps/sparc/elf/configure.in: New file.
40396 * sysdeps/sparc/elf/configure: Generate.
40398 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40399 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40400 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40401 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40402 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40404 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40406 * manual/install.texi: Do not mention specific glibc version
40408 * manual/libc.texinfo (VERSION, UPDATED): Update.
40409 (@copying): Use @copyright{} and range of years.
40411 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40414 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40415 [crti.S not in sysdirs] (generated): Do not append.
40416 [crti.S not in sysdirs] (omit-deps): Likewise.
40417 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40418 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40419 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40420 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40421 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40423 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40424 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40425 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40426 * csu/defs.awk: Remove file.
40427 * sysdeps/generic/initfini.c: Likewise.
40428 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40430 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40433 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40435 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40436 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40437 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40440 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40442 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40443 (__EPOLL_PACKED): Define to empty if not defined by
40445 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40449 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40451 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40452 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40453 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40454 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40456 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40460 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40462 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40465 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40469 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40474 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40476 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40477 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40479 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40481 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40484 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40486 * math/w_acos.c: Use non-signaling floating-point comparisons.
40487 * math/w_acosf.c: Likewise.
40488 * math/w_acosh.c: Likewise.
40489 * math/w_acoshf.c: Likewise.
40490 * math/w_acoshl.c: Likewise.
40491 * math/w_acosl.c: Likewise.
40492 * math/w_asin.c: Likewise.
40493 * math/w_asinf.c: Likewise.
40494 * math/w_asinl.c: Likewise.
40495 * math/w_atanh.c: Likewise.
40496 * math/w_atanhf.c: Likewise.
40497 * math/w_atanhl.c: Likewise.
40498 * math/w_exp2.c: Likewise.
40499 * math/w_exp2f.c: Likewise.
40500 * math/w_exp2l.c: Likewise.
40501 * math/w_j0.c: Likewise.
40502 * math/w_j0f.c: Likewise.
40503 * math/w_j0l.c: Likewise.
40504 * math/w_j1.c: Likewise.
40505 * math/w_j1f.c: Likewise.
40506 * math/w_j1l.c: Likewise.
40507 * math/w_jn.c: Likewise.
40508 * math/w_jnf.c: Likewise.
40509 * math/w_log.c: Likewise.
40510 * math/w_log10.c: Likewise.
40511 * math/w_log10f.c: Likewise.
40512 * math/w_log10l.c: Likewise.
40513 * math/w_log2.c: Likewise.
40514 * math/w_log2f.c: Likewise.
40515 * math/w_log2l.c: Likewise.
40516 * math/w_logf.c: Likewise.
40517 * math/w_logl.c: Likewise.
40518 * math/w_sqrt.c: Likewise.
40519 * math/w_sqrtf.c: Likewise.
40520 * math/w_sqrtl.c: Likewise.
40521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40522 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40527 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40530 * manual/string.texi (strnlen): Use correct parameter name in
40531 equivalent expression.
40533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40536 * manual/users.texi (seteuid): Consistently use neweuid for
40539 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40542 * manual/nss.texi (Services in the NSS configuration): Correct
40543 list of services in example configuration file.
40545 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40548 * manual/arith.texi: Remove statements about negative zero
40549 behaving identically to zero.
40551 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40554 * manual/install.texi: Do not document upgrading from libc5.
40556 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40559 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40561 2012-02-18 David S. Miller <davem@davemloft.net>
40563 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40564 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40565 %o7 across the call.
40566 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40569 SETUP_PIC_REG_LEAF.
40570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40571 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40572 * sysdeps/sparc/crtn.S: Likewise.
40574 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40576 * aout/Makefile: Remove.
40578 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40581 * manual/examples/argp-ex1.c (main): Format definition in GNU
40583 * manual/examples/argp-ex2.c (main): Likewise.
40584 * manual/examples/argp-ex3.c (main): Likewise.
40585 * manual/examples/argp-ex4.c (main): Likewise.
40586 * manual/examples/longopt.c (main): Use new-style prototype
40588 * manual/examples/strncat.c (main): Specify return type and use
40589 (void) for arguments.
40590 * manual/examples/subopt.c (main): Use char **argv argument.
40592 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40595 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40598 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40601 * manual/string.texi (strchr): Change when strchrnul is
40604 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40607 * manual/locale.texi (setlocale): Document LOCPATH.
40609 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40612 * manual/process.texi (execle): Move @dots{} before last argument.
40614 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40617 * manual/charset.texi (Generic Charset Conversion): Fix typo
40618 (LC_TYPE -> LC_CTYPE).
40620 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40623 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40624 (scalbnf): Likewise.
40625 (scalbnl): Likewise.
40626 (scalbln): Likewise.
40627 (scalblnf): Likewise.
40628 (scalblnl): Likewise.
40629 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40630 (vwarnx): Likewise.
40633 * manual/filesys.texi (telldir): Use braces around return type.
40634 * manual/llio.texi (mmap): Add space after comma.
40635 (mmap64): Likewise.
40636 * manual/math.texi (jn): Use @var{} on parameter names.
40642 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40644 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40646 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40647 (sched_get_priority_max): Likewise.
40648 * manual/signal.texi (sigvec): Add space after comma.
40649 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40651 (if_indextoname): Likewise.
40652 (if_freenameindex): Likewise.
40653 (sendto): Use ',' instead of '.' in prototype.
40654 * manual/startup.texi (syscall): Use @dots{} instead of literal
40656 * manual/stdio.texi (__fpending): Separate initial words of
40657 paragraph from @deftypefun line.
40658 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40660 (vsyslog): Use @var{} on parameter names.
40661 * manual/terminal.texi (stty): Use @var{} on parameter names.
40662 * manual/users.texi (getutmp): Use @var{} on parameter names.
40663 (getutmpx): Likewise.
40665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40668 * manual/stdio.texi (fopen): Fix typos in description of
40671 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40674 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40675 get clock_id definition.
40677 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40680 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40681 (madvise): Cast every argument to void on its own.
40683 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40686 * manual/startup.texi (Exit Status): Fix typo.
40688 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40691 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40692 * manual/examples/argp-ex2.c: Likewise.
40693 * manual/examples/argp-ex3.c: Likewise.
40695 2012-02-16 Richard Henderson <rth@redhat.com>
40697 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40698 * sysdeps/s390/s390-32/initfini.c: Remove.
40699 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40700 * sysdeps/s390/s390-64/initfini.c: Remove.
40702 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40704 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40705 compiler output for sysdeps/generic/initfini.c.
40706 * sysdeps/sh/elf/initfini.c: Remove file.
40708 2012-02-16 David S. Miller <davem@davemloft.net>
40711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40713 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40714 * sysdeps/sparc/crti.S: New file.
40715 * sysdeps/sparc/crtn.S: New file.
40716 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40717 * sysdeps/sparc/sparc64/Makefile: Likewise.
40719 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40722 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40724 2012-02-15 Roland McGrath <roland@hack.frob.com>
40727 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40729 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40730 (write, read, close): Likewise.
40731 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40733 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40735 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40736 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40737 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40738 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40740 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40744 2012-02-14 Marek Polacek <polacek@redhat.com>
40746 * sysdeps/x86_64/crti.S: New file.
40747 * sysdeps/x86_64/crtn.S: New file.
40748 * sysdeps/x86_64/elf/initfini.c: Remove file.
40750 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40752 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40753 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40754 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40755 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40757 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40761 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40763 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40764 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40765 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40766 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40768 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40772 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40774 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40775 __feraiseexcept instead of feraiseexcept.
40777 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40778 nanosleep invocations.
40779 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40780 strings, and add error checking for a nanosleep invocations.
40782 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40784 Replace FSF snail mail address with URLs, as per GNU coding standards.
40785 Most of the snail mail addresses were wrong anyway, and omitting
40786 them makes the source code easier to maintain. Almost all of the
40787 changes are to license notices and to locale LC_IDENTIFICATION
40788 addresses, except for this one:
40789 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40790 not its snail mail address.
40792 2012-02-09 Richard Henderson <rth@twiddle.net>
40794 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40795 of kernel-features.h.
40797 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40799 2012-02-08 Marek Polacek <polacek@redhat.com>
40801 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40802 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40803 * sysdeps/gnu/_G_config.h: Likewise.
40804 * sysdeps/generic/_G_config.h: Likewise.
40806 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40808 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40812 * sysdeps/powerpc/powerpc32/crti.S: New file.
40813 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40814 * sysdeps/powerpc/powerpc64/crti.S: New file.
40815 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40817 * Makeconfig (have-initfini): Don't set.
40818 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40819 * configure.in (nopic_initfini): Don't substitute.
40820 * config.h.in (HAVE_INITFINI): Don't #undef.
40821 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40822 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40824 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40826 Support crti.S and crtn.S provided directly by architectures.
40827 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40828 [crti.S in sysdirs] (omit-deps): Likewise.
40829 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40830 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40831 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40832 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40833 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40834 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40835 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40836 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40837 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40838 compiler output for sysdeps/generic/initfini.c.
40839 * sysdeps/i386/elf/Makefile: Remove file.
40840 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40842 2012-02-07 Marek Polacek <polacek@redhat.com>
40844 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40845 * sysdeps/gnu/_G_config.h: Likewise.
40846 * sysdeps/mach/hurd/_G_config.h: Likewise.
40848 2012-02-07 Marek Polacek <polacek@redhat.com>
40850 * math/Makefile (tests): Add tst-CMPLX2.
40851 * math/tst-CMPLX2.c: New file.
40853 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40855 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40857 * math/libm-test.inc (jn_test): Add missing L suffix.
40859 2012-02-06 Marek Polacek <polacek@redhat.com>
40861 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40862 * sysdeps/i386/fpu/e_powf.S: Likewise.
40863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40864 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40866 * sysdeps/i386/fpu/e_pow.S: Likewise.
40867 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40868 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40869 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40870 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40871 * sysdeps/i386/fpu/e_log2.S: Likewise.
40872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40873 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40874 * sysdeps/i386/fpu/e_powl.S: Likewise.
40875 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40878 * sysdeps/i386/fpu/e_logl.S: Likewise.
40879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40880 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40885 * sysdeps/i386/fpu/e_log.S: Likewise.
40886 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40888 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40889 * sysdeps/i386/fpu/e_logf.S: Likewise.
40890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40891 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40892 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40893 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40894 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40895 * sysdeps/i386/fpu/e_log10.S: Likewise.
40896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40901 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40902 * sysdeps/i386/asm-syntax.h: Likewise.
40903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40906 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40907 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40912 * sysdeps/powerpc/sysdep.h: Likewise.
40913 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40914 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40916 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40919 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40921 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40923 * sysdeps/i386/sysdep.h: Include <features.h>.
40924 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40927 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40929 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40931 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40936 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40937 (SETUP_PIC_REG): Use GET_PC_THUNK.
40938 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40941 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40944 for non-PIC compilation.
40945 (SETUP_PIC_REG): Add .p2align directive.
40946 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40947 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40948 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40954 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40955 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40956 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40957 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40958 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40959 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40961 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40962 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40963 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40964 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40965 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40968 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40969 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40973 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40974 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40975 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40978 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40979 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40980 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40988 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40990 * math/tst-CMPLX.c: Include <stdio.h>.
40992 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40994 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40996 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40997 * sysdeps/sparc/bits/mathdef.h: Likewise.
40999 2012-01-31 Marek Polacek <polacek@redhat.com>
41001 * libio/libio.h: Don't define _PARAMS.
41002 * locale/programs/config.h: Don't define PARAMS.
41003 * stdlib/strtol_l.c: Likewise.
41004 (__strtol_l): Remove PARAMS from the prototype.
41006 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41008 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41009 names. Just use the correct names. Remove unnecessary wrapper
41011 * malloc/arena.c: Likewise.
41012 * malloc/hooks.c: Likewise.
41014 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41015 ARENA_TEST says not to. Simplify test for creation of a new arena.
41016 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41018 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41020 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41022 (update_get_addr): New function.
41023 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41024 GET_ADDR_MODULE parameter.
41026 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41028 * crypt/cert.c: Remove __STDC__ conditionals.
41029 * crypt/crypt-entry.c: Likewise.
41030 * crypt/crypt_util.c: Likewise.
41031 * libio/filedoalloc.c: Likewise.
41032 * libio/fileops.c: Likewise.
41033 * libio/genops.c: Likewise.
41034 * libio/iofclose.c: Likewise.
41035 * libio/iofdopen.c: Likewise.
41036 * libio/iofopen.c: Likewise.
41037 * libio/iofopen64.c: Likewise.
41038 * libio/iogetdelim.c: Likewise.
41039 * libio/iopopen.c: Likewise.
41040 * libio/obprintf.c: Likewise.
41041 * libio/oldfileops.c: Likewise.
41042 * libio/oldiofclose.c: Likewise.
41043 * libio/oldiofdopen.c: Likewise.
41044 * libio/oldiofopen.c: Likewise.
41045 * libio/oldiopopen.c: Likewise.
41046 * libio/wfiledoalloc.c: Likewise.
41047 * libio/wgenops.c: Likewise.
41048 * locale/programs/xmalloc.c: Likewise.
41049 * misc/syslog.c: Likewise.
41050 * stdio-common/xbug.c: Likewise.
41051 * string/memchr.c: Likewise.
41052 * string/memcmp.c: Likewise.
41053 * string/memrchr.c: Likewise.
41054 * string/rawmemchr.c: Likewise.
41055 * sysdeps/posix/getcwd.c: Likewise.
41056 * time/strftime_l.c: Likewise.
41058 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41060 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41061 * config.make.in (config-cflags-sse2avx): Define.
41062 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41065 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41067 * scripts/config.guess: Update from upstream config git repository.
41068 * scripts/config.sub: Likewise.
41070 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41072 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41074 (R_TILEPRO_*, R_TILEGX_*): New macros.
41076 * scripts/firstversions.awk: Fix bug in version range handling.
41078 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41080 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41082 * include/sys/epoll.h: New file.
41083 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41086 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41088 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41089 Avoid unnecessary __WORDSIZE == 64 test.
41090 (fmaxf): Use VEX format if possible.
41095 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41096 * math/math_private.h: Remove libc_fegetround* and
41098 * sysdeps/i386/configure.in: Check for -msse2avx.
41099 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41100 also if SSE2AVX is defined.
41101 Remove libc_fegetround* and libc_fesetround*.
41102 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41103 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41104 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41112 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41114 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41120 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41123 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41125 * Makeconfig (libm): Define.
41126 * elf/Makefile: Add rules to build and run tst-relsort1.
41127 * elf/tst-relsort1.c: New file.
41128 * elf/tst-relsort1mod1.c: New file.
41129 * elf/tst-relsort1mod2.c: New file.
41131 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41133 * math/s_ldexp.c: Remove __STDC__ conditionals.
41134 * math/s_ldexpf.c: Likewise.
41135 * math/s_ldexpl.c: Likewise.
41136 * math/s_nextafter.c: Likewise.
41137 * math/s_nexttowardf.c: Likewise.
41138 * math/s_significand.c: Likewise.
41139 * math/s_significandf.c: Likewise.
41140 * math/s_significandl.c: Likewise.
41141 * math/w_jnl.c: Likewise.
41142 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41143 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41144 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41145 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41146 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41154 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41155 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41157 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41158 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41161 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41162 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41164 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41166 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41167 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41169 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41170 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41171 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41172 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41173 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41174 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41175 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41176 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41177 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41179 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41180 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41181 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41182 * sysdeps/ieee754/k_standard.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41232 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41239 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41240 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41252 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41253 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41255 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41262 * sysdeps/ieee754/s_matherr.c: Likewise.
41263 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41264 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41268 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41270 * crypt/md5.h: Remove __STDC__ conditionals.
41271 * libio/libioP.h: Likewise.
41272 * locale/programs/config.h: Likewise.
41273 * sysdeps/generic/sysdep.h: Likewise.
41274 * sysdeps/i386/asm-syntax.h: Likewise.
41275 * sysdeps/s390/asm-syntax.h: Likewise.
41276 * sysdeps/unix/sysdep.h: Likewise.
41277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41280 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41282 * libio/libio.h: Remove __STDC__ conditionals.
41283 * malloc/obstack.h: Likewise.
41284 * math/complex.h: Likewise.
41285 * math/math.h: Likewise.
41286 * sysdeps/generic/_G_config.h: Likewise.
41287 * sysdeps/gnu/_G_config.h: Likewise.
41288 * sysdeps/mach/hurd/_G_config.h: Likewise.
41289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41290 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41291 * sysdeps/sparc/bits/mathdef.h: Likewise.
41293 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41297 Clean up HAS_* macros.
41298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41299 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41309 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41311 * elf/tst-unique3.cc (gets): Remove declaration.
41312 * elf/tst-unique3lib.cc (gets): Likewise.
41313 * elf/tst-unique3lib2.cc (gets): Likewise.
41314 * elf/tst-unique4.cc (gets): Likewise.
41316 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41318 * include/stdio.h: Add C++ protection. Add gets declarations and
41320 * debug/tst-chk1.c: Don't declare gets here.
41321 * stdio-common/tst-gets.c: Likewise.
41323 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41325 * posix/glob: Remove directory.
41327 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41329 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41331 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41333 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41334 of the non-standard EPFNOSUPPORT.
41336 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41338 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41339 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41340 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41342 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41344 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41346 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41348 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41350 * nscd/grpcache.c (cache_addgr): Likewise.
41351 * nscd/hstcache.c (cache_addhst): Likewise.
41352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41353 * nscd/pwdcache.c (cache_addpw): Likewise.
41354 * nscd/servicescache.c (cache_addserv): Likewise.
41356 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41358 * malloc/malloc.c: Various cleanups.
41359 * malloc/hooks.c: Likewise.
41361 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41362 * stdlib/bug-fmtmsg1.c: New file.
41364 * stdlib/fmtmsg.c (init): Add missing unlock.
41365 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41367 2012-01-12 Marek Polacek <polacek@redhat.com>
41369 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41372 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41374 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41375 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41376 macro to ensure uniqueness of label name.
41377 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41378 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41380 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41382 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41384 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41385 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41389 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41391 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41393 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41394 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41397 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41400 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41401 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41404 * math/bits/math-finite.h: Add ldexp support.
41406 2012-01-10 Marek Polacek <polacek@redhat.com>
41408 * locale/programs/localedef.h (show_archive_content): Add noreturn
41411 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41413 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41415 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41417 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41419 * io/Makefile (headers): Add bits/poll2.h.
41421 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41424 typo #include statement.
41426 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41428 * include/sys/cdefs.h: Define __attribute_alloc_size.
41429 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41430 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41431 * elf/pldd.c: Likewise.
41432 * iconv/iconv_charmap.c: Likewise.
41433 * iconv/iconvconfig.c: Likewise.
41434 * iconv/strtab.c: Likewise.
41435 * locale/programs/locale.c: Likewise.
41436 * locale/programs/localedef.h: Likewise.
41437 * locale/programs/simple-hash.c: Likewise.
41438 * nscd/nscd.h: Likewise.
41439 * nss/makedb.c: Likewise.
41440 * sysdeps/generic/ldconfig.h: Likewise.
41441 * locale/programs/localedef.c: Remove xmalloc prototype.
41442 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41444 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41451 * math/Makefile (tests): Add tst-CMPLX.
41452 * math/tst-CMPLX.c: New file.
41454 * math/complex.h (CMPLXL): Fix typo.
41456 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41457 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41459 * debug/tst-chk1.c: Add poll and ppoll tests.
41460 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41461 * include/sys/poll.h: Add hidden proto for ppoll.
41462 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41463 * sysdeps/mach/hurd/ppoll.c: Likewise.
41464 * io/ppoll.c: Likewise.
41465 * debug/poll_chk.c: New file.
41466 * debug/ppoll_chk.c: New file.
41467 * include/bits/poll2.h: New file.
41468 * io/bits/poll2.h: New file.
41471 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41473 * configure.in: static is always set to yes. Remove.
41474 * config.make.in: Don't set build-static.
41475 * Makeconfig: Remove use of build-static.
41476 * dlfcn/Makefile: Likewise.
41477 * elf/Makefile: Likewise.
41478 * math/Makefile: Likewise.
41479 * misc/Makefile: Likewise.
41480 * nptl/Makefile: Likewise.
41481 * sysdeps/mach/hurd/Makefile: Likewise.
41483 * configure.in: PWD_P is not used anymore.
41484 * config.make.in: Remove PWD_P entry.
41486 * configure.in: Remove last remnants of RANLIB.
41487 No need to check for signed size_t anymore.
41488 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41490 Remove __builtin_expect test because we require at least gcc 3.4.
41491 * aclocal.m4: Likewise.
41493 * wcsmbs/mbrtoc16.c: Implement using towc function.
41494 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41495 * wcsmbs/wcsmbsload.c: Likewise.
41496 * iconv/gconv_simple.c: Likewise.
41497 * iconv/gconv_int.h: Likewise.
41498 * iconv/gconv_builtin.h: Likewise.
41499 * iconv/iconv_prog.c: Remove CHAR16 handling.
41501 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41503 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41505 * configure.in: Remove --with-elf and --enable-bounded options.
41506 Dont set base_machine for ia64. More non-ELF conditions removed.
41507 Remove testing and setting of leading underscore information.
41508 * config.make.in (build-bounded): Set to no.
41509 * config.h.in: Remove NO_UNDERSCORES entry.
41510 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41512 * csu/start.c: Remove !NO_UNDERSCORE code.
41513 * locale/localeinfo.h: Likewise.
41514 * sysdeps/generic/machine-gmon.h: Likewise.
41515 * sysdeps/generic/sysdep.h: Likewise.
41516 * sysdeps/i386/sysdep.h: Likewise.
41517 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41518 * sysdeps/mach/sysdep.h: Likewise.
41519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41521 * sysdeps/sh/sysdep.h: Likewise.
41522 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41523 * sysdeps/unix/i386/sysdep.S: Likewise.
41524 * sysdeps/unix/sparc/start.c: Likewise.
41525 * sysdeps/unix/sparc/sysdep.S: Likewise.
41526 * sysdeps/unix/sparc/sysdep.h: Likewise.
41527 * sysdeps/unix/start.c: Likewise.
41528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41529 * sysdeps/x86_64/sysdep.h: Likewise.
41531 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41534 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41536 * argp/argp-fmtstream.h: Use const instead __const.
41537 * argp/argp.h: Likewise.
41538 * assert/assert.h: Likewise.
41539 * bits/fenv.h: Likewise.
41540 * bits/sched.h: Likewise.
41541 * bits/sigset.h: Likewise.
41542 * bits/sigthread.h: Likewise.
41543 * catgets/nl_types.h: Likewise.
41544 * conform/data/pthread.h-data: Likewise.
41545 * crypt/crypt-private.h: Likewise.
41546 * crypt/crypt.h: Likewise.
41547 * crypt/crypt_util.c: Likewise.
41548 * ctype/ctype.h: Likewise.
41549 * debug/execinfo.h: Likewise.
41550 * debug/mbsnrtowcs_chk.c: Likewise.
41551 * debug/mbsrtowcs_chk.c: Likewise.
41552 * debug/wcsnrtombs_chk.c: Likewise.
41553 * debug/wcsrtombs_chk.c: Likewise.
41554 * debug/wcstombs_chk.c: Likewise.
41555 * dirent/dirent.h: Likewise.
41556 * dlfcn/dlfcn.h: Likewise.
41557 * elf/neededtest4.c: Likewise.
41558 * grp/grp.h: Likewise.
41559 * gshadow/gshadow.h: Likewise.
41560 * iconv/gconv.h: Likewise.
41561 * iconv/gconv_int.h: Likewise.
41562 * iconv/gconv_simple.c: Likewise.
41563 * iconv/iconv.h: Likewise.
41564 * iconv/loop.c: Likewise.
41565 * iconv/skeleton.c: Likewise.
41566 * include/aio.h: Likewise.
41567 * include/aliases.h: Likewise.
41568 * include/argz.h: Likewise.
41569 * include/arpa/inet.h: Likewise.
41570 * include/assert.h: Likewise.
41571 * include/dirent.h: Likewise.
41572 * include/dlfcn.h: Likewise.
41573 * include/execinfo.h: Likewise.
41574 * include/fcntl.h: Likewise.
41575 * include/fenv.h: Likewise.
41576 * include/glob.h: Likewise.
41577 * include/grp.h: Likewise.
41578 * include/libintl.h: Likewise.
41579 * include/mntent.h: Likewise.
41580 * include/netdb.h: Likewise.
41581 * include/pwd.h: Likewise.
41582 * include/rpc/netdb.h: Likewise.
41583 * include/sched.h: Likewise.
41584 * include/search.h: Likewise.
41585 * include/shadow.h: Likewise.
41586 * include/signal.h: Likewise.
41587 * include/stdio.h: Likewise.
41588 * include/stdlib.h: Likewise.
41589 * include/string.h: Likewise.
41590 * include/sys/socket.h: Likewise.
41591 * include/sys/stat.h: Likewise.
41592 * include/sys/statfs.h: Likewise.
41593 * include/sys/statvfs.h: Likewise.
41594 * include/sys/syslog.h: Likewise.
41595 * include/sys/time.h: Likewise.
41596 * include/sys/uio.h: Likewise.
41597 * include/time.h: Likewise.
41598 * include/unistd.h: Likewise.
41599 * include/utmp.h: Likewise.
41600 * include/wchar.h: Likewise.
41601 * include/wctype.h: Likewise.
41602 * inet/aliases.h: Likewise.
41603 * inet/arpa/inet.h: Likewise.
41604 * inet/netinet/ether.h: Likewise.
41605 * inet/netinet/in.h: Likewise.
41606 * intl/libintl.h: Likewise.
41607 * io/bits/fcntl2.h: Likewise.
41608 * io/fcntl.h: Likewise.
41609 * io/ftw.h: Likewise.
41610 * io/sys/poll.h: Likewise.
41611 * io/sys/stat.h: Likewise.
41612 * io/sys/statfs.h: Likewise.
41613 * io/sys/statvfs.h: Likewise.
41614 * io/utime.h: Likewise.
41615 * libio/bits/stdio.h: Likewise.
41616 * libio/bits/stdio2.h: Likewise.
41617 * libio/libio.h: Likewise.
41618 * libio/libioP.h: Likewise.
41619 * libio/stdio.h: Likewise.
41620 * locale/lc-ctype.c: Likewise.
41621 * locale/locale.h: Likewise.
41622 * login/utmp.h: Likewise.
41623 * malloc/arena.c: Likewise.
41624 * malloc/malloc.c: Likewise.
41625 * malloc/malloc.h: Likewise.
41626 * malloc/mcheck.c: Likewise.
41627 * malloc/mtrace.c: Likewise.
41628 * math/bits/mathcalls.h: Likewise.
41629 * math/fenv.h: Likewise.
41630 * math/math_private.h: Likewise.
41631 * misc/bits/error.h: Likewise.
41632 * misc/bits/syslog.h: Likewise.
41633 * misc/err.h: Likewise.
41634 * misc/error.h: Likewise.
41635 * misc/fstab.h: Likewise.
41636 * misc/mntent.h: Likewise.
41637 * misc/regexp.h: Likewise.
41638 * misc/search.h: Likewise.
41639 * misc/sgtty.h: Likewise.
41640 * misc/sys/mman.h: Likewise.
41641 * misc/sys/syslog.h: Likewise.
41642 * misc/sys/uio.h: Likewise.
41643 * misc/sys/xattr.h: Likewise.
41644 * misc/ttyent.h: Likewise.
41645 * nis/rpcsvc/ypclnt.h: Likewise.
41646 * nss/nss.h: Likewise.
41647 * posix/bits/unistd.h: Likewise.
41648 * posix/fnmatch.h: Likewise.
41649 * posix/glob.h: Likewise.
41650 * posix/sched.h: Likewise.
41651 * posix/spawn.h: Likewise.
41652 * posix/sys/wait.h: Likewise.
41653 * posix/unistd.h: Likewise.
41654 * posix/wordexp.h: Likewise.
41655 * pwd/pwd.h: Likewise.
41656 * resolv/netdb.h: Likewise.
41657 * resource/sys/resource.h: Likewise.
41658 * rt/aio.h: Likewise.
41659 * rt/bits/mqueue2.h: Likewise.
41660 * rt/mqueue.h: Likewise.
41661 * shadow/shadow.h: Likewise.
41662 * signal/signal.h: Likewise.
41663 * socket/send.c: Likewise.
41664 * socket/sendto.c: Likewise.
41665 * socket/sys/socket.h: Likewise.
41666 * stdio-common/printf.h: Likewise.
41667 * stdlib/bits/stdlib.h: Likewise.
41668 * stdlib/fmtmsg.h: Likewise.
41669 * stdlib/monetary.h: Likewise.
41670 * stdlib/stdlib.h: Likewise.
41671 * stdlib/ucontext.h: Likewise.
41672 * streams/stropts.h: Likewise.
41673 * string/argz.h: Likewise.
41674 * string/bits/string2.h: Likewise.
41675 * string/string.h: Likewise.
41676 * string/strings.h: Likewise.
41677 * sunrpc/rpc/auth.h: Likewise.
41678 * sunrpc/rpc/auth_des.h: Likewise.
41679 * sunrpc/rpc/clnt.h: Likewise.
41680 * sunrpc/rpc/netdb.h: Likewise.
41681 * sunrpc/rpc/pmap_clnt.h: Likewise.
41682 * sunrpc/rpc/xdr.h: Likewise.
41683 * sysdeps/generic/inttypes.h: Likewise.
41684 * sysdeps/generic/net/if.h: Likewise.
41685 * sysdeps/generic/sys/swap.h: Likewise.
41686 * sysdeps/gnu/net/if.h: Likewise.
41687 * sysdeps/gnu/utmpx.h: Likewise.
41688 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41689 * sysdeps/i386/i486/bits/string.h: Likewise.
41690 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41691 * sysdeps/s390/bits/string.h: Likewise.
41692 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41693 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41694 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41695 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41696 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41697 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41698 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41699 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41700 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41701 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41702 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41703 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41704 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41705 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41706 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41707 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41708 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41712 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41713 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41714 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41715 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41716 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41717 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41718 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41719 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41720 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41721 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41722 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41723 * sysvipc/sys/ipc.h: Likewise.
41724 * sysvipc/sys/msg.h: Likewise.
41725 * sysvipc/sys/sem.h: Likewise.
41726 * sysvipc/sys/shm.h: Likewise.
41727 * termios/termios.h: Likewise.
41728 * time/sys/time.h: Likewise.
41729 * time/time.h: Likewise.
41730 * wcsmbs/bits/wchar2.h: Likewise.
41731 * wcsmbs/uchar.h: Likewise.
41732 * wcsmbs/wchar.h: Likewise.
41733 * wctype/wctype.h: Likewise.
41736 * Makeconfig: Remove all but ELF support including AIX support.
41737 * Makerules: Likewise.
41738 * config.h.in: Likewise.
41739 * config.make.in: Likewise.
41740 * configure: Likewise.
41741 * configure.in: Likewise.
41742 * csu/Makefile: Likewise.
41743 * csu/version.c: Likewise.
41744 * debug/Makefile: Likewise.
41745 * dlfcn/Makefile: Likewise.
41746 * elf/Makefile: Likewise.
41747 * extra-lib.mk: Likewise.
41748 * iconv/Makefile: Likewise.
41749 * include/libc-symbols.h: Likewise.
41750 * include/shlib-compat.h: Likewise.
41751 * resolv/Makefile: Likewise.
41752 * resolv/res_libc.c: Likewise.
41753 * rt/Makefile: Likewise.
41754 * sysdeps/i386/asm-syntax.h: Likewise.
41755 * sysdeps/i386/sysdep.h: Likewise.
41756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41757 * sysdeps/mach/sysdep.h: Likewise.
41758 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41759 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41760 * sysdeps/s390/asm-syntax.h: Likewise.
41761 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41762 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41763 * sysdeps/sh/sysdep.h: Likewise.
41764 * sysdeps/unix/sparc/sysdep.h: Likewise.
41765 * sysdeps/wordsize-32/divdi3.c: Likewise.
41766 * sysdeps/x86_64/sysdep.h: Likewise.
41768 * argp/Versions: Remove _argp_unlock_xxx.
41771 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41772 * abilist/libBrokenLocale.abilist: Likewise.
41773 * abilist/libanl.abilist: Likewise.
41774 * abilist/libc.abilist: Likewise.
41775 * abilist/libcrypt.abilist: Likewise.
41776 * abilist/libdl.abilist: Likewise.
41777 * abilist/libm.abilist: Likewise.
41778 * abilist/libnsl.abilist: Likewise.
41779 * abilist/libpthread.abilist: Likewise.
41780 * abilist/libresolv.abilist: Likewise.
41781 * abilist/librt.abilist: Likewise.
41782 * abilist/libthread_db.abilist: Likewise.
41783 * abilist/libutil.abilist: Likewise.
41784 * abilist/libnss_db.abilist: New file.
41786 * scripts/abilist.awk: Add support for indirect functions.
41788 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41790 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41792 * shlib-versions: Remove entries for ports architectures.
41794 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41796 * elf/stackguard-macros.h: Remove support for IA-64.
41797 * elf/tst-auditmod1.c: Likewise.
41798 * sysdeps/generic/ldsodefs.h: Likewise.
41800 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41801 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41805 * configure.in: Remove --enable-omitfp support.
41807 * config.make.in: Likewise.
41808 * Makeconfig: Likewise.
41809 * manual/install.texi: Likewise.
41811 In case anyone cares, the IA-64 architecture could move to ports.
41812 * sysdeps/ia64/*: Removed.
41813 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41814 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41817 * configure.in: Remove entries for unsupported architectures.
41820 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41821 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41823 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41824 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41825 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41826 fall back to using wcrtomb.
41827 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41828 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41830 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41831 * wcsmbs/tst-c16c32-1.c: New file.
41833 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41836 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41838 * elf/tst-unique3.cc: Add explicit declaration of gets.
41839 * elf/tst-unique3lib.cc: Likewise.
41840 * elf/tst-unique3lib2.cc: Likewise.
41841 * elf/tst-unique4.cc: Likewise.
41843 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41845 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41848 * assert/assert.h (static_assert): Don't define for C++.
41849 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41850 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41852 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41854 * iconv/loop.c (single loop): Fix assertion in storing of
41857 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41859 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41861 * posix/getconf.c: Update copyright year.
41862 * nss/getent.c: Likewise.
41863 * nss/makedb.c: Likewise.
41864 * iconv/iconvconfig.c: Likewise.
41865 * iconv/iconv_prog.c: Likewise.
41866 * elf/ldconfig.c: Likewise.
41867 * elf/pldd.c: Likewise.
41868 * elf/sotruss.ksh: Likewise.
41869 * catgets/gencat.c: Likewise.
41870 * csu/version.c: Likewise.
41871 * elf/ldd.bash.in: Likewise.
41872 * elf/sprof.c (print_version): Likewise.
41873 * locale/programs/locale.c: Likewise.
41874 * locale/programs/localedef.c: Likewise.
41875 * login/programs/pt_chown.c: Likewise.
41876 * nscd/nscd.c (print_version): Likewise.
41877 * debug/xtrace.sh: Likewise.
41878 * malloc/memusage.sh: Likewise.
41879 * malloc/mtrace.pl: Likewise.
41880 * debug/catchsegv.sh: Likewise.
41882 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41884 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41887 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41890 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41891 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41893 * iconv/gconv_int.h: Likewise.
41894 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41895 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41896 from libc for GLIBC_2.16.
41897 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41898 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41899 * wcsmbs/uchar.h: Really define mbstate_t.
41900 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41901 * wcsmbs/c16rtomb.c: New file.
41902 * wcsmbs/mbrtoc16.c: New file.
41903 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41904 for C/POSIX locale.
41905 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41906 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41908 * wcsmbs/wchar.h: Add missing __restrict.
41910 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41913 * time/Makefile (routines): Add timespec_get.
41914 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41915 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41916 timespec for ISO C11.
41917 * time/timespec_get.c: New file.
41918 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41919 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41922 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41923 * stdlib/stdlib.h: Declare aligned_alloc.
41924 * Versions.def: Add GLIBC_2.16 for libc.
41925 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41928 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41931 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41935 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41938 * assert/assert.h (static_assert): Define.
41940 * version.h: Update for 2.16 development version.
41943 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41946 * version.h (RELEASE): Bump for 2.15 release.
41947 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41949 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41950 Patch by Marek Polacek <mpolacek@redhat.com>.
41952 * bits/byteswap.h: Protect long long constants with __extension__.
41953 * sysdeps/i386/bits/byteswap.h: Likewise.
41954 * sysdeps/ia64/bits/byteswap.h: Likewise.
41955 * sysdeps/s390/bits/byteswap.h: Likewise.
41956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41958 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41962 destination buffer.
41963 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41965 2011-12-23 Marek Polacek <polacek@redhat.com>
41967 * elf/dl-addr.c (determine_info): Add inline keyword.
41968 * elf/tst-auditmod4b.c (check_avx): Likewise.
41969 * elf/tst-auditmod6b.c (check_avx): Likewise.
41970 * elf/tst-auditmod6c.c (check_avx): Likewise.
41971 * elf/tst-auditmod7b.c (check_avx): Likewise.
41973 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41975 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41978 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41981 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41982 processing for last bytes.
41984 2011-08-06 Bruno Haible <bruno@clisp.org>
41987 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41988 U+0385, not to U+1FEE.
41991 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41992 entry for U+00A5 U+0301.
41994 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41997 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41998 buffer for the output is too small.
42000 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42004 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42005 SSE flags if possible.
42007 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42011 processing for last bytes.
42013 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42015 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42016 (syscall-list-default-options, syscall-list-default-condition)
42017 (syscall-list-includes): Define.
42018 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42019 list of ABIs and options and #if conditions for each ABI. Do not
42020 handle common syscalls between ABIs specially.
42021 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42023 (syscall-list-variants, syscall-list-32bit-options)
42024 (syscall-list-32bit-condition, syscall-list-64bit-options)
42025 (syscall-list-64bit-condition): Define.
42026 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42027 (syscall-list-variants, syscall-list-32bit-options)
42028 (syscall-list-32bit-condition, syscall-list-64bit-options)
42029 (syscall-list-64bit-condition): Define.
42030 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42032 (syscall-list-variants, syscall-list-32bit-options)
42033 (syscall-list-32bit-condition, syscall-list-64bit-options)
42034 (syscall-list-64bit-condition): Define.
42035 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42037 (syscall-list-variants, syscall-list-32bit-options)
42038 (syscall-list-32bit-condition, syscall-list-64bit-options)
42039 (syscall-list-64bit-condition): Define.
42041 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42043 * locale/iso-639.def: Add brx entry.
42046 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42047 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42049 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42050 __feraiseexcept_renamed.
42052 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42055 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42056 EPOLLET with unsigned values.
42057 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42060 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42061 to large cancellation.
42062 * math/s_cacoshf.c: Likewise.
42063 * math/s_cacoshl.c: Likewise.
42065 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42069 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42070 * math/s_cacoshf.c: Likewise.
42071 * math/s_cacoshl.c: Likewise.
42073 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42076 * iconv/gconv.h: Define __GCONV_SWAP.
42077 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42078 * iconvdata/utf-16.c: Likewise.
42079 * iconvdata/utf-32.c: Likewise.
42081 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42085 numerator after shifting it by one limb.
42087 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42090 under [__USE_EXTERN_INLINES].
42092 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42095 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42097 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42099 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42100 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42102 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42104 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42105 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42106 for strncasecmp/strncasecmp_l compilation.
42107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42108 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42110 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42113 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42116 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42119 * time/tzfile.c (__tzfile_read): Check values from file header.
42121 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42123 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42124 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42125 * powerpc/powerpc32/dl-start.S: Likewise.
42126 * powerpc/powerpc32/elf/start.S: Likewise.
42127 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42128 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42129 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42130 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42131 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42132 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42133 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42134 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42135 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42136 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42137 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42138 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42139 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42140 * powerpc/powerpc32/memset.S: Likewise.
42141 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42142 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42143 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42144 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42145 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42146 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42147 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42148 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42149 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42150 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42151 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42152 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42153 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42155 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42157 * math/libm-test.inc: Added more nearbyint tests.
42158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42163 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42165 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42168 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42170 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42171 Add wcscpy-ssse3 wcscpy-c.
42172 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42173 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42174 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42175 * sysdeps/x86_64/wcschr.S: New file.
42176 * sysdeps/x86_64/wcsrchr.S: New file.
42177 * string/test-strcmp.c: Remove checking of wcscmp function for
42179 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42180 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42181 wcsrchr-sse2 wcsrchr-c.
42182 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42183 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42184 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42185 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42186 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42187 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42188 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42189 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42190 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42191 * wcsmbc/wcschr.c (WCSCHR): New macro.
42193 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42195 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42196 * wcsmbs/test-wcsrchr.c: New file.
42197 * string/test-strrchr.c: Add wcsrchr support.
42199 * wcsmbs/test-wcscpy.c: New file.
42200 * string/test-strcpy.c: Add wcscpy support.
42203 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42208 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42211 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42213 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42216 Minor optimizations.
42218 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42219 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42220 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42222 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42224 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42225 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42226 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42227 for gcc to avoid warnings.
42228 * inet/Makefile (tests): Add tst-checks.
42229 * inet/tst-checks.c: New file.
42231 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42234 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42237 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42238 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42240 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42242 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42244 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42247 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42249 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42251 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42252 conditional on GCC version.
42253 (__arch_compare_and_exchange_val_8_acq)
42254 (__arch_compare_and_exchange_val_16_acq)
42255 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42256 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42257 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42259 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42261 * sysdeps/sh/backtrace.c: New file.
42263 2011-12-02 Andreas Schwab <schwab@redhat.com>
42265 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42268 2011-12-01 Andreas Schwab <schwab@redhat.com>
42270 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42271 falling back to utime.
42273 2011-11-30 Andreas Schwab <schwab@redhat.com>
42275 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42276 expectations for float.
42278 2011-11-29 Andreas Schwab <schwab@redhat.com>
42280 * locale/weight.h (findidx): Add parameter len.
42281 * locale/weightwc.h (findidx): Likewise.
42282 * posix/fnmatch_loop.c (FCT): Adjust caller.
42283 * posix/regcomp.c (build_equiv_class): Likewise.
42284 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42285 * posix/regexec.c (check_node_accept_bytes): Likewise.
42286 * string/strcoll_l.c (STRCOLL): Likewise.
42287 * string/strxfrm_l.c (STRXFRM): Likewise.
42289 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42291 * Makefile.in: Remove CVSOPT handling.
42292 * configure.in: Remove use of AC_REVISION.
42293 * iconvdata/Makefile (distribute): No need to filter out CVS.
42294 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42297 2011-11-16 Andreas Schwab <schwab@redhat.com>
42299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42300 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42301 [USE_AS_STRNCASECMP_L]: Likewise.
42302 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42303 NO_TLS_DIRECT_SEG_REFS.
42304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42305 Fix argument offsets for non-PIC.
42306 [USE_AS_STRNCASECMP_L]: Likewise.
42307 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42308 NO_TLS_DIRECT_SEG_REFS.
42310 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42312 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42314 * locale/loadlocale.c (_nl_load_locale): Likewise.
42316 2011-11-15 Andreas Schwab <schwab@redhat.com>
42318 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42319 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42321 (SYSCALL_GETTIME): Set errno on error.
42323 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42324 count references to noai6ai_cached.
42326 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42328 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42330 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42331 FD_CLOEXEC for /proc/self/maps.
42333 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42334 FD_CLOEXEC for /proc/meminfo.
42336 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42339 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42340 FD_CLOEXEC for given file.
42342 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42344 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42345 FD_CLOEXEC for /etc/hosts.
42346 (_gethtent): Likewise.
42348 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42350 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42351 cancellation and set FD_CLOEXEC for /etc/netgroup.
42353 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42354 reading /etc/publickey.
42356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42357 allow cancellation when reading /etc/group.
42359 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42361 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42363 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42364 when using data file.
42366 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42368 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42369 (write_nis_obj): Use "c" and "e" in fopen.
42371 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42373 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42375 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42377 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42379 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42382 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42384 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42386 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42388 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42389 file parsing and set FD_CLOEXEC.
42391 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42393 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42395 2011-11-14 Andreas Schwab <schwab@redhat.com>
42397 * malloc/arena.c (arena_get2): Don't call reused_arena when
42398 _int_new_arena failed.
42400 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42402 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42403 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42405 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42406 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42408 to compile strcasecmp and strncasecmp.
42409 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42410 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42414 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42417 locale-defines.sym to gen-as-const-headers.
42418 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42419 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42421 to compile strcasecmp and strncasecmp.
42422 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42423 strcasecmp_l and strncasecmp_l.
42424 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42425 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42426 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42427 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42428 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42429 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42430 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42431 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42432 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42433 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42434 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42436 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42438 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42439 result of SYSDEP_GETTIME_CPU to retval.
42440 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42441 parameter list to macro. Remove trailing semicolon. Adjust users.
42443 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42446 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42448 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42451 from unused variable.
42453 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42455 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42458 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42461 * sunrpc/rpc_prot.c (rejected): Fix case value.
42463 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42464 unsigned long long int to avoid warnings in shift.
42466 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42468 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42471 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42472 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42475 * nis/nis_table.c (nis_list): Use variable of correct type for
42476 result of __follow_path call.
42478 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42480 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42481 of math functions ceil, trunc, floor, round, and sqrt, when
42482 avaliable on the platform.
42483 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42489 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42491 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42494 2011-11-11 Roland McGrath <roland@hack.frob.com>
42496 * include/unistd.h: Fix __readlink return type.
42497 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42499 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42501 * stdlib/ucontext.h: Undo last change for makecontext.
42503 2011-11-11 Andreas Schwab <schwab@redhat.com>
42505 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42507 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42508 * setjmp/setjmp.h: Mark functions as non-leaf.
42509 * setjmp/bits/setjmp2.h: Likewise.
42510 * stdlib/ucontext.h: Likewise.
42512 2011-11-10 Andreas Schwab <schwab@redhat.com>
42514 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42515 (reused_arena): Don't check arena limit.
42516 (arena_get2): Atomically check arena limit.
42518 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42520 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42521 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42526 2011-11-07 Andreas Schwab <schwab@redhat.com>
42528 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42529 handler when locking.
42531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42532 Fix size of allocated buffer.
42534 2011-11-04 Andreas Schwab <schwab@redhat.com>
42537 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42538 declarations for long double functions.
42539 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42541 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42543 2011-11-03 Andreas Schwab <schwab@redhat.com>
42545 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42548 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42551 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42553 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42555 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42557 * include/alloca.h (stackinfo_alloca_round): Define.
42558 (extend_alloca): Use it.
42559 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42560 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42563 * scripts/check-local-headers.sh: Ignore libaudit.h.
42565 * nscd/Makefile (extra-objs): Make recursively expanded.
42567 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42569 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42570 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42572 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42573 * posix/tst-rfc3484-2.c: Likewise.
42574 * posix/tst-rfc3484-3.c: Likewise.
42576 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42578 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42580 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42581 process_vm_writev from libc using GLIBC_2.15 version.
42583 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42585 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42587 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42590 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42593 * nss/getent.c (initgroups_keys): Show error message in case no group
42596 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42597 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42598 __bump_nl_timestamp.
42599 * nscd/connections (nscd_init): When host database is served open
42600 netlink socket and request notification about configuration changes.
42601 (main_loop_poll): Track netlink file descriptor and bump timestamp
42602 in case data becomes available.
42603 (main_loop_epoll): Likewise.
42604 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42605 (database_pers_head): Add extra_data fileds.
42606 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42608 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42611 in6ai data, call __free_in6ai.
42612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42613 Add -DHAVE_NETLINK.
42614 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42615 interface information. Reuse previous data if netlink timestamp
42617 (__bump_nl_timestamp): New function.
42618 (__free_in6ai): New function.
42620 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42623 close_not_cancel_no_status here.
42624 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42626 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42629 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42632 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42633 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42634 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42636 2011-07-03 Andreas Jaeger <aj@suse.de>
42639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42640 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42641 * math/libm-test.inc (sin_test): Add test case.
42643 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42646 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42647 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42649 * elf/chroot_canon.c (chroot_canon): Cleanups.
42651 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42654 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42655 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42657 * string/test-strchr.c: Make usable for strchrnul testing.
42658 * string/test-strchrnul.c: New file.
42659 * string/Makefile (strop-tests): Add strchrnul.
42661 * po/it.po: Update from translation team.
42662 * po/es.po: Likewise.
42664 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42667 the three constants needed as parameters. Drop the others.
42668 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42669 __m128i_strloadu_tolower.
42670 Create and initialize variable zero and use it in all the places
42671 where _mm_setzero_si128 was used.
42673 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42674 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42675 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42676 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42678 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42679 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42680 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42681 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42682 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42683 __mpranred, __mptan.
42684 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42685 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42686 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42687 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42688 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42689 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42691 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42692 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42694 2011-10-28 Andreas Schwab <schwab@redhat.com>
42696 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42697 redefine if SHARED.
42698 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42701 wide char related routines to wcsmbs subdir.
42703 2011-10-27 Andreas Schwab <schwab@redhat.com>
42706 * misc/sys/cdefs.h (__THROWNL): Define.
42707 * posix/unistd.h: Use __THREADNL instead of __THREAD
42708 for memory synchronization functions.
42710 2011-10-26 Roland McGrath <roland@hack.frob.com>
42713 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42715 * manual/stdio.texi (Obstack Streams): Node removed.
42717 2011-10-26 Andreas Schwab <schwab@redhat.com>
42719 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42723 * math/math_private.h (math_force_eval): Allow non-addressable
42725 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42727 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42729 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42730 file is not needed.
42732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42739 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42741 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42742 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42743 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42744 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42745 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42746 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42747 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42751 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42752 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42754 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42755 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42756 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42757 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42758 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42759 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42761 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42762 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42765 place. Use VEX encoding when compiling for AVX.
42767 2011-10-25 Andreas Schwab <schwab@redhat.com>
42769 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42770 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42772 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42774 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42776 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42777 useless if() expression.
42778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42784 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42788 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42790 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42792 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42793 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42796 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42798 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42800 2011-10-25 Andreas Schwab <schwab@redhat.com>
42802 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42804 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42806 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42808 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42809 .text section. Avoid duplicate constants.
42810 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42822 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42823 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42826 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42827 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42831 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42834 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42835 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42836 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42837 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42838 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42839 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42841 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42843 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42844 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42846 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42848 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42849 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42850 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42856 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42858 * sysdeps/x86_64/dla.h: Move to ...
42859 * sysdeps/x86_64/fpu/dla.h: ...here.
42860 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42861 situations. Use __builtin_fma only for gcc 4.6 and up.
42863 * config.make.in: Add have-mfma4 entry.
42864 * configure.in: Substitute libc_cv_cc_fma4.
42865 * math/Makefile (dbl-only-routines): Add sincostab.
42866 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42867 Use __sincostab not sincos.
42868 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42875 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42876 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42877 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42878 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42881 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42883 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42884 define aliases when function name is a macro.
42885 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42886 sysdeps/ieee754/dbl-64/sincos.tbl.
42887 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42888 fma4-enabled routines.
42889 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42890 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42891 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42892 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42899 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42901 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42913 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42915 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42916 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42917 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42918 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42920 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42931 2011-10-24 Andreas Schwab <schwab@redhat.com>
42933 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42935 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42939 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42943 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42944 Remove unused variable magic_bits.
42945 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42947 * string/strnlen.c: Define and use STRNLEN macro.
42948 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42949 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42951 * wcsmbs/wcslen.c: Define and use WCSLEN.
42952 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42953 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42954 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42955 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42956 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42957 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42960 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42963 strnlen-sse2-no-bsf.
42964 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42966 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42967 Add strnlen support.
42968 (USE_AS_STRNLEN): New macro.
42969 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42970 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42971 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42972 * sysdeps/x86_64/wcslen.S: New file.
42974 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42977 XMM-moves are used for copying on small sizes.
42979 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42981 * wcsmbs/Makefile (strop-tests): Add wcschr.
42982 * wcsmbs/test-wcschr.c: New file.
42983 * string/test-strchr.c: Update.
42984 Add wcschr support.
42987 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42989 * wcsmbs/Makefile (strop-tests): Add wcslen.
42990 * wcsmbs/test-wcslen.c: New file.
42991 * string/test-strlen.c: Update.
42992 Add wcslen support.
42995 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42997 * po/it.po: Update from translation team.
42999 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43001 * sysdeps/x86_64/wcscmp.S: Update.
43002 Fix wrong comparison semantics.
43003 wcscmp shall use signed comparison not unsigned.
43004 Don't use substraction to avoid overflow bug.
43005 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43006 * wcsmbc/wcscmp.c: Likewise.
43007 * string/test-strcmp.c: Likewise.
43008 Add new tests to check cases with negative values.
43010 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43012 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43013 * sysdeps/x86_64/dla.h: ...here. New file.
43014 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43024 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43027 __ynl_finite aliases.
43029 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43033 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43035 [DLA_FMA] (EMULV): Use DLA_FMA.
43036 [DLA_FMA] (MUL12): Use EMULV.
43037 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43038 that are not needed.
43039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43047 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43049 * math/s_nan.c: Undef __nan.
43050 * math/s_nanf.c: Undef __nanf.
43051 * math/s_nanl.c: Undef __nanl.
43052 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43055 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43057 * math/s_catan.c: Add branch predictions.
43058 * math/s_catanf.c: Likewise.
43059 * math/s_catanh.c: Likewise.
43060 * math/s_catanhf.c: Likewise.
43061 * math/s_catanhl.c: Likewise.
43062 * math/s_catanl.c: Likewise.
43063 * math/s_cexp.c: Likewise.
43064 * math/s_cexpf.c: Likewise.
43065 * math/s_cexpl.c: Likewise.
43066 * math/s_clog.c: Likewise.
43067 * math/s_clog10.c: Likewise.
43068 * math/s_clog10f.c: Likewise.
43069 * math/s_clog10l.c: Likewise.
43070 * math/s_clogf.c: Likewise.
43071 * math/s_clogl.c: Likewise.
43072 * math/s_csqrt.c: Likewise.
43073 * math/s_csqrtf.c: Likewise.
43074 * math/s_csqrtl.c: Likewise.
43075 * math/s_ctanf.c: Likewise.
43076 * math/s_ctanh.c: Likewise.
43077 * math/s_ctanhf.c: Likewise.
43078 * math/s_ctanhl.c: Likewise.
43079 * math/s_ctanl.c: Likewise.
43081 * math/math_private.h: Define __nan, __nanf, __nanl.
43082 * math/s_cacosh.c: Include <math_private.h>.
43083 * math/s_cacoshl.c: Likewise.
43084 * math/s_casinh.c: Likewise.
43085 * math/s_casinhf.c: Likewise.
43086 * math/s_casinhl.c: Likewise.
43087 * math/s_ccos.c: Rely entire on ccosh.
43088 * math/s_ccosf.c: Rely entire on ccoshf.
43089 * math/s_ccosl.c: Rely entirely on ccoshl.
43090 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43091 Remove tests for FE_INVALID.
43092 * math/s_ccoshf.c: Likewise.
43093 * math/s_ccoshl.c: Likewise.
43094 * math/s_csin.c: Likewise.
43095 * math/s_csinf.c: Likewise.
43096 * math/s_csinh.c Likewise.
43097 * math/s_csinhf.c: Likewise.
43098 * math/s_csinhl.c: Likewise.
43099 * math/s_csinl.c: Likewise.
43100 * math/s_ctan.c: Likewise.
43101 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43102 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43105 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43108 compilation problems.
43110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43113 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43115 * sysdeps/i386/configure.in: Test for -mfma4 option.
43116 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43117 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43118 COMMON_CPUID_INDEX_80000001.
43119 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43120 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43121 use it if FMA3 is not supported.
43122 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43124 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43125 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43127 2011-10-20 Andreas Schwab <schwab@redhat.com>
43130 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43131 it would create a cycle with a link time dependency.
43133 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43135 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43137 * string/Makefile (strop-tests): Add rawmemchr.
43138 * string/test-rawmemchr.c: New file.
43140 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43142 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43143 when compiling str{,n}casecmp and when AVX is available. Hook up
43144 new optimized code in initializers.
43146 2011-10-19 Andreas Schwab <schwab@redhat.com>
43148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43149 __feraiseexcept instead of feraiseexcept.
43151 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43153 * math/math_private.h: Define defaults for libc_fetestexcept and
43155 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43156 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43158 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43159 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43160 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43161 libc_fetestexcept and libc_feupdateenv.
43163 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43164 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43165 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43166 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43167 libc_feholdexcept_setround.
43169 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43170 Add s_nearbyint-c and s_nearbyintf-c.
43171 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43172 nearbyintf inlines.
43173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43174 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43176 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43178 * math/math_private.h: Define defaults for libc_fegetround,
43179 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43180 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43181 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43183 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43184 standard functions.
43185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43186 Remove comments and hacks for old compiler versions.
43187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43188 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43189 libc_feholdexceptl.
43191 2011-10-18 Andreas Schwab <schwab@redhat.com>
43193 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43194 (__feraiseexcept_renamed): Add __NTH.
43195 (feraiseexcept): Add __NTH. Rename local variables to fix
43196 namespace violations.
43198 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43204 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43205 recently added interfaces.
43206 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43208 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43209 about macro parameter expansion.
43211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43212 __NO_MATH_INLINES is defined. Cleanups.
43214 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43215 and __floorf is target has SSE4.1.
43216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43217 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43218 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43219 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43221 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43223 (floorf): Likewise.
43225 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43227 2011-10-17 Andreas Schwab <schwab@redhat.com>
43229 * misc/sys/cdefs.h: Fix last change.
43231 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43234 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43236 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43238 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43245 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43247 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43248 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43249 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43250 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43253 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43254 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43255 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43256 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43257 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43259 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43261 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43262 ceil, ceilf, floor, floorf.
43264 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43265 Perform IRELATIVE relocations last.
43267 * elf/do-rel.h: Add another parameter nrelative, replacing the
43268 local variable with the same name. Change name of the function
43269 to end in Rel or Rela (uppercase).
43270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43271 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43272 elf_dynamic_do_##reloc function.
43274 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43276 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43277 is sufficient, at least on modern CPUs.
43279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43281 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43282 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43284 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43286 * math/bits/math-finite.h: Add entries for exp.
43287 * math/e_expl.c: Add __*_finite alias.
43288 * sysdeps/i386/fpu/e_exp.S: Likewise.
43289 * sysdeps/i386/fpu/e_expf.S: Likewise.
43290 * sysdeps/i386/fpu/e_expl.c: Likewise.
43291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43295 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43296 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43299 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43300 is sufficient, at least on modern CPUs.
43302 * ctype/ctype-info.c (__ctype_init): Define.
43303 * include/ctype.h (__ctype_init): Declare.
43304 (__ctype_b_loc): The variable is always initialized.
43305 (__ctype_toupper_loc): Likewise.
43306 (__ctype_tolower_loc): Likewise.
43307 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43308 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43310 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43312 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43314 * configure.in: Also look in $cxxmachine/include for C++ system
43317 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43319 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43320 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43321 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43322 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43324 (USE_AS_WMEMCMP): New macro.
43326 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43327 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43328 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43329 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43331 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43332 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43333 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43334 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43335 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43337 (USE_AS_WMEMCMP): New macro.
43338 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43339 * sysdeps/string/test-memcmp.c: Update.
43340 Fix simple_wmemcmp.
43342 * wcsmbs/wmemcmp.c: Update.
43343 (WMEMCMP): New macro.
43346 2011-10-12 Andreas Jaeger <aj@suse.de>
43349 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43351 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43353 * libio/iofwide.c (do_length): Avoid warning.
43355 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43357 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43359 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43361 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43362 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43363 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43364 * sysdeps/i386/i686/fpu/e_log.S: New file.
43365 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43366 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43368 * ctype/ctype.h: Add support for inlined isXXX functions when
43369 compiling C++ code.
43371 2011-10-14 Andreas Schwab <schwab@redhat.com>
43373 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43377 2011-10-13 Roland McGrath <roland@hack.frob.com>
43380 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43382 2011-10-13 Andreas Schwab <schwab@redhat.com>
43384 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43385 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43388 * sysdeps/x86_64/memrchr.S: Check for zero size.
43390 * string/stratcliff.c: Add memrchr tests.
43392 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43395 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43396 rawmemchr-sse2 rawmemchr-sse2-bsf.
43397 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43398 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43399 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43400 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43401 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43402 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43403 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43404 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43406 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43407 * string/memrchr.c (MEMRCHR): New macro.
43409 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43411 Add integration with gcc's -ffinite-math-only and optimize wrapper
43413 * Versions.def: Define GLIBC_2.15 version for libm.
43414 * math/Makefile (headers): Add bits/math-finite.h.
43415 * math/bits/math-finite.h: New file.
43416 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43417 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43418 * math/e_acoshl.c: Add __*_finite alias.
43419 * math/e_acosl.c: Likewise.
43420 * math/e_asinl.c: Likewise.
43421 * math/e_atan2l.c: Likewise.
43422 * math/e_atanhl.c: Likewise.
43423 * math/e_coshl.c: Likewise.
43424 * math/e_exp10.c: Likewise.
43425 * math/e_exp10f.c: Likewise.
43426 * math/e_exp10l.c: Likewise.
43427 * math/e_exp2l.c: Likewise.
43428 * math/e_fmodl.c: Likewise.
43429 * math/e_gammal_r.c: Likewise.
43430 * math/e_hypotl.c: Likewise.
43431 * math/e_j0l.c: Likewise.
43432 * math/e_j1l.c: Likewise.
43433 * math/e_jnl.c: Likewise.
43434 * math/e_lgammal_r.c: Likewise.
43435 * math/e_log10l.c: Likewise.
43436 * math/e_log2l.c: Likewise.
43437 * math/e_logl.c: Likewise.
43438 * math/e_powl.c: Likewise.
43439 * math/e_sinhl.c: Likewise.
43440 * math/e_sqrtl.c: Likewise.
43441 * math/e_scalb.c: Completely rewritten and optimized.
43442 * math/e_scalbf.c: Likewise.
43443 * math/e_scalbl.c: Likewise.
43444 * math/w_acos.c: Likewise.
43445 * math/w_acosf.c: Likewise.
43446 * math/w_acosl.c: Likewise.
43447 * math/w_acosh.c: Likewise.
43448 * math/w_acoshf.c: Likewise.
43449 * math/w_acoshl.c: Likewise.
43450 * math/w_asin.c: Likewise.
43451 * math/w_asinf.c: Likewise.
43452 * math/w_asinl.c: Likewise.
43453 * math/w_atan2.c: Likewise.
43454 * math/w_atan2f.c: Likewise.
43455 * math/w_atan2l.c: Likewise.
43456 * math/w_atanh.c: Likewise.
43457 * math/w_atanhf.c: Likewise.
43458 * math/w_atanhl.c: Likewise.
43459 * math/w_exp10.c: Likewise.
43460 * math/w_exp10f.c: Likewise.
43461 * math/w_exp10l.c: Likewise.
43462 * math/w_fmod.c: Likewise.
43463 * math/w_fmodf.c: Likewise.
43464 * math/w_fmodl.c: Likewise.
43465 * math/w_j0.c: Likewise.
43466 * math/w_j0f.c: Likewise.
43467 * math/w_j0l.c: Likewise.
43468 * math/w_j1.c: Likewise.
43469 * math/w_j1f.c: Likewise.
43470 * math/w_j1l.c: Likewise.
43471 * math/w_jn.c: Likewise.
43472 * math/w_jnf.c: Likewise.
43473 * math/w_log.c: Likewise.
43474 * math/w_logf.c: Likewise.
43475 * math/w_logl.c: Likewise.
43476 * math/w_log10.c: Likewise.
43477 * math/w_log10f.c: Likewise.
43478 * math/w_log10l.c: Likewise.
43479 * math/w_log2.c: Likewise.
43480 * math/w_log2f.c: Likewise.
43481 * math/w_log2l.c: Likewise.
43482 * math/w_pow.c: Likewise.
43483 * math/w_powf.c: Likewise.
43484 * math/w_powl.c: Likewise.
43485 * math/w_remainder.c: Likewise.
43486 * math/w_remainderf.c: Likewise.
43487 * math/w_remainderl.c: Likewise.
43488 * math/w_scalb.c: Likewise.
43489 * math/w_scalbf.c: Likewise.
43490 * math/w_scalbl.c: Likewise.
43491 * math/w_sqrt.c: Likewise.
43492 * math/w_sqrtf.c: Likewise.
43493 * math/w_sqrtl.c: Likewise.
43494 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43495 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43497 * math/math_private.h: Declare __kernel_standard_f.
43498 * math/w_cosh.c: Remove cruft and optimize a bit.
43499 * math/w_coshf.c: Likewise.
43500 * math/w_coshl.c: Likewise.
43501 * math/w_exp2.c: Likewise.
43502 * math/w_exp2f.c: Likewise.
43503 * math/w_exp2l.c: Likewise.
43504 * math/w_hypot.c: Likewise.
43505 * math/w_hypotf.c: Likewise.
43506 * math/w_hypotl.c: Likewise.
43507 * math/w_lgamma.c: Likewise.
43508 * math/w_lgamma_r.c: Likewise.
43509 * math/w_lgammaf.c: Likewise.
43510 * math/w_lgammaf_r.c: Likewise.
43511 * math/w_lgammal.c: Likewise.
43512 * math/w_lgammal_r.c: Likewise.
43513 * math/w_sinh.c: Likewise.
43514 * math/w_sinhf.c: Likewise.
43515 * math/w_sinhl.c: Likewise.
43516 * math/w_tgamma.c: Likewise.
43517 * math/w_tgammaf.c: Likewise.
43518 * math/w_tgammal.c: Likewise.
43519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43521 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43522 Minor optimizations. Pretty printing. Remove cruft.
43523 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43524 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43527 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43528 * sysdeps/i386/fpu/e_asin.S: Likewise.
43529 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43530 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43531 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43532 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43534 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43535 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43536 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43537 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43538 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43539 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43540 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43541 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43542 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43543 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43544 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43545 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43546 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43547 * sysdeps/i386/fpu/e_log.S: Likewise.
43548 * sysdeps/i386/fpu/e_log10.S: Likewise.
43549 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43551 * sysdeps/i386/fpu/e_log2.S: Likewise.
43552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43553 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43554 * sysdeps/i386/fpu/e_logf.S: Likewise.
43555 * sysdeps/i386/fpu/e_logl.S: Likewise.
43556 * sysdeps/i386/fpu/e_pow.S: Likewise.
43557 * sysdeps/i386/fpu/e_powf.S: Likewise.
43558 * sysdeps/i386/fpu/e_powl.S: Likewise.
43559 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43560 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43561 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43565 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43566 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43567 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43579 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43582 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43588 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43589 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43590 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43591 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43592 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43593 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43594 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43595 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43596 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43597 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43598 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43602 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43603 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43604 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43605 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43606 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43607 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43608 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43611 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43612 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43613 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43614 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43615 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43616 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43617 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43619 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43620 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43622 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43623 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43624 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43625 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43626 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43627 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43636 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43642 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43645 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43646 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43647 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43648 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43649 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43650 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43651 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43652 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43653 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43655 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43657 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43659 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43661 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43662 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43663 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43664 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43665 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43666 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43667 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43668 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43669 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43670 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43671 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43673 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43675 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43676 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43678 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43679 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43680 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43681 (__isnanf): Likewise.
43682 (__isinf_ns): Likewise.
43683 (__isinf_nsf): Likewise.
43684 (__finite): Likewise.
43685 (__finitef): Likewise.
43686 (__ieee754_sqrt): Define as macro.
43687 (__ieee754_sqrtf): Define as macro.
43688 (__ieee754_sqrtl): Define as macro.
43689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43691 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43692 __FINITE_MATH_ONLY__ consistent.
43693 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43695 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43697 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43702 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43704 * po/ja.po: Update from translation team.
43706 2011-10-08 Roland McGrath <roland@hack.frob.com>
43708 * locale/programs/locarchive.c (prepare_address_space): New function.
43709 (create_archive, enlarge_archive, open_archive): Use it.
43711 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43712 inside [SHARED], where it is used.
43714 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43716 * nss/getent.c (netgroup_keys): Remove unused variable.
43717 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43719 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43721 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43726 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43727 * math/Makefile (libm-calls): Add s_isinf_ns.
43728 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43729 * math/multc3.c: Likewise.
43730 * math/s_casin.c: Likewise.
43731 * math/s_casinf.c: Likewise.
43732 * math/s_casinl.c: Likewise.
43733 * math/s_ccos.c: Likewise.
43734 * math/s_ccosf.c: Likewise.
43735 * math/s_ccosl.c: Likewise.
43736 * math/s_ctan.c: Likewise.
43737 * math/s_ctanf.c: Likewise.
43738 * math/s_ctanh.c: Likewise.
43739 * math/s_ctanhf.c: Likewise.
43740 * math/s_ctanhl.c: Likewise.
43741 * math/s_ctanl.c: Likewise.
43742 * math/w_fmod.c: Likewise.
43743 * math/w_fmodf.c: Likewise.
43744 * math/w_fmodl.c: Likewise.
43745 * math/w_remainder.c: Likewise.
43746 * math/w_remainderf.c: Likewise.
43747 * math/w_remainderl.c: Likewise.
43748 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43749 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43752 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43753 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43754 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43755 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43757 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43759 * stdio-common/printf_fphex.c: Likewise.
43760 * stdio-common/printf_size.c: Likewise.
43762 * math/e_exp10.c: Include math_private.h using <...> not "...".
43763 * math/e_exp10f.c: Likewise.
43764 * math/e_exp10l.c: Likewise.
43765 * math/e_exp2l.c: Likewise.
43766 * math/e_j0l.c: Likewise.
43767 * math/e_j1l.c: Likewise.
43768 * math/e_jnl.c: Likewise.
43769 * math/e_lgammal_r.c: Likewise.
43770 * math/e_rem_pio2l.c: Likewise.
43771 * math/e_scalb.c: Likewise.
43772 * math/e_scalbf.c: Likewise.
43773 * math/e_scalbl.c: Likewise.
43774 * math/k_cosl.c: Likewise.
43775 * math/k_sinl.c: Likewise.
43776 * math/k_tanl.c: Likewise.
43777 * math/s_cacoshf.c: Likewise.
43778 * math/s_catan.c: Likewise.
43779 * math/s_catanf.c: Likewise.
43780 * math/s_catanh.c: Likewise.
43781 * math/s_catanhf.c: Likewise.
43782 * math/s_catanhl.c: Likewise.
43783 * math/s_catanl.c: Likewise.
43784 * math/s_ccosh.c: Likewise.
43785 * math/s_ccoshf.c: Likewise.
43786 * math/s_ccoshl.c: Likewise.
43787 * math/s_cexp.c: Likewise.
43788 * math/s_cexpf.c: Likewise.
43789 * math/s_cexpl.c: Likewise.
43790 * math/s_clog.c: Likewise.
43791 * math/s_clog10.c: Likewise.
43792 * math/s_clog10f.c: Likewise.
43793 * math/s_clog10l.c: Likewise.
43794 * math/s_clogf.c: Likewise.
43795 * math/s_clogl.c: Likewise.
43796 * math/s_csin.c: Likewise.
43797 * math/s_csinf.c: Likewise.
43798 * math/s_csinh.c: Likewise.
43799 * math/s_csinhf.c: Likewise.
43800 * math/s_csinhl.c: Likewise.
43801 * math/s_csinl.c: Likewise.
43802 * math/s_csqrt.c: Likewise.
43803 * math/s_csqrtf.c: Likewise.
43804 * math/s_csqrtl.c: Likewise.
43805 * math/s_ctan.c: Likewise.
43806 * math/s_ctanf.c: Likewise.
43807 * math/s_ctanh.c: Likewise.
43808 * math/s_ctanhf.c: Likewise.
43809 * math/s_ctanhl.c: Likewise.
43810 * math/s_ctanl.c: Likewise.
43811 * math/s_ldexp.c: Likewise.
43812 * math/s_ldexpf.c: Likewise.
43813 * math/s_ldexpl.c: Likewise.
43814 * math/s_significand.c: Likewise.
43815 * math/s_significandf.c: Likewise.
43816 * math/s_significandl.c: Likewise.
43817 * math/w_acos.c: Likewise.
43818 * math/w_acosf.c: Likewise.
43819 * math/w_acosh.c: Likewise.
43820 * math/w_acoshf.c: Likewise.
43821 * math/w_acoshl.c: Likewise.
43822 * math/w_acosl.c: Likewise.
43823 * math/w_asin.c: Likewise.
43824 * math/w_asinf.c: Likewise.
43825 * math/w_asinl.c: Likewise.
43826 * math/w_atan2.c: Likewise.
43827 * math/w_atan2f.c: Likewise.
43828 * math/w_atan2l.c: Likewise.
43829 * math/w_atanh.c: Likewise.
43830 * math/w_atanhf.c: Likewise.
43831 * math/w_atanhl.c: Likewise.
43832 * math/w_cosh.c: Likewise.
43833 * math/w_coshf.c: Likewise.
43834 * math/w_coshl.c: Likewise.
43835 * math/w_dremf.c: Likewise.
43836 * math/w_exp10.c: Likewise.
43837 * math/w_exp10f.c: Likewise.
43838 * math/w_exp10l.c: Likewise.
43839 * math/w_exp2.c: Likewise.
43840 * math/w_exp2f.c: Likewise.
43841 * math/w_fmod.c: Likewise.
43842 * math/w_fmodf.c: Likewise.
43843 * math/w_fmodl.c: Likewise.
43844 * math/w_hypot.c: Likewise.
43845 * math/w_hypotf.c: Likewise.
43846 * math/w_hypotl.c: Likewise.
43847 * math/w_j0.c: Likewise.
43848 * math/w_j0f.c: Likewise.
43849 * math/w_j0l.c: Likewise.
43850 * math/w_j1.c: Likewise.
43851 * math/w_j1f.c: Likewise.
43852 * math/w_j1l.c: Likewise.
43853 * math/w_jn.c: Likewise.
43854 * math/w_jnf.c: Likewise.
43855 * math/w_jnl.c: Likewise.
43856 * math/w_lgamma.c: Likewise.
43857 * math/w_lgamma_r.c: Likewise.
43858 * math/w_lgammaf.c: Likewise.
43859 * math/w_lgammaf_r.c: Likewise.
43860 * math/w_lgammal.c: Likewise.
43861 * math/w_lgammal_r.c: Likewise.
43862 * math/w_log.c: Likewise.
43863 * math/w_log10.c: Likewise.
43864 * math/w_log10f.c: Likewise.
43865 * math/w_log10l.c: Likewise.
43866 * math/w_log2.c: Likewise.
43867 * math/w_log2f.c: Likewise.
43868 * math/w_log2l.c: Likewise.
43869 * math/w_logf.c: Likewise.
43870 * math/w_logl.c: Likewise.
43871 * math/w_pow.c: Likewise.
43872 * math/w_powf.c: Likewise.
43873 * math/w_powl.c: Likewise.
43874 * math/w_remainder.c: Likewise.
43875 * math/w_remainderf.c: Likewise.
43876 * math/w_remainderl.c: Likewise.
43877 * math/w_scalb.c: Likewise.
43878 * math/w_scalbf.c: Likewise.
43879 * math/w_scalbl.c: Likewise.
43880 * math/w_sinh.c: Likewise.
43881 * math/w_sinhf.c: Likewise.
43882 * math/w_sinhl.c: Likewise.
43883 * math/w_sqrt.c: Likewise.
43884 * math/w_sqrtf.c: Likewise.
43885 * math/w_sqrtl.c: Likewise.
43886 * math/w_tgamma.c: Likewise.
43887 * math/w_tgammaf.c: Likewise.
43888 * math/w_tgammal.c: Likewise.
43890 * po/ja.po: Update from translation team.
43892 2011-09-29 Andreas Jaeger <aj@suse.de>
43895 * sunrpc/netname.c (netname2host): Fix logic.
43899 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43901 * math/w_remainder.c (__remainder): Likewise.
43902 * math/w_remainderf.c (__remainderf): Likewise.
43903 * math/libm-test.inc (remainder_test): Add test cases.
43905 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43907 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43910 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43912 * string/test-memcmp.c: Avoid unncessary #defines.
43913 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43915 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43917 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43918 Use new sse2 version for core i3 - i7 as it's faster
43919 than sse42 version.
43920 (bit_Prefer_PMINUB_for_stringop): New.
43921 * sysdeps/x86_64/rawmemchr.S: Update.
43922 Replace with faster SSE2 version.
43923 * sysdeps/x86_64/memrchr.S: New file.
43924 * sysdeps/x86_64/memchr.S: Update.
43925 Replace with faster SSE2 version.
43927 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43929 * elf/dl-load.c (lose): Add cast to avoid warning.
43931 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43933 * po/ca.po: Update from translation team.
43935 * inet/getnetgrent_r.c: Hook up nscd.
43936 * nscd/Makefile (routines): Add nscd_netgroup.
43937 (nscd-modules): Add netgroupcache.
43938 (CFLAGS-netgroupcache.c): Define.
43939 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43940 (cache_search): Add const to second parameter.
43941 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43943 (dbs): Add netgrdb entry.
43944 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43945 (verify_persistent_db): Handle netgrdb.
43946 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43947 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43949 (netgroup_response_header): Define.
43950 (innetgroup_response_header): Define.
43951 (datahead): Add netgroup_response_header and innetgroup_response_header
43953 * nscd/nscd.conf: Add entries for netgroup cache.
43954 * nscd/nscd.h (dbtype): Add netgrdb.
43955 (_PATH_NSCD_NETGROUP_DB): Define.
43956 (netgroup_iov_disabled): Declare.
43957 (xmalloc, xcalloc, xrealloc): Move declarations here.
43958 (cache_search): Adjust prototype.
43959 Add netgroup-related prototypes.
43960 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43961 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43962 (__nscd_innetgr): Declare.
43963 * nscd/selinux.c (perms): Use access_vector_t as element type and
43964 add netgroup-related initializers.
43965 * nscd/netgroupcache.c: New file.
43966 * nscd/nscd_netgroup.c: New file.
43967 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43968 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43969 For four parameters use innetgr.
43970 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43971 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43972 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43973 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43975 * nscd/connections.c (register_traced_file): Don't register file
43976 for disabled databases.
43978 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43980 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43982 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43983 from tree and freeing node.
43985 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43987 * nss/nsswitch.c (__nss_database_lookup): Handle
43988 nss_parse_service_list out of memory case.
43990 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43992 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43993 out of memory case.
43995 2011-10-04 Andreas Schwab <schwab@redhat.com>
43997 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43998 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44000 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44001 elf_machine_rela, elf_machine_lazy_rel.
44002 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44003 (ELF_DYNAMIC_DO_REL): Likewise.
44004 (ELF_DYNAMIC_DO_RELA): Likewise.
44005 (ELF_DYNAMIC_RELOCATE): Likewise.
44006 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44007 to ELF_DYNAMIC_DO_REL.
44008 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44009 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44010 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44013 skip_ifunc, don't call ifunc function if non-zero.
44014 (elf_machine_rela): Likewise.
44015 (elf_machine_lazy_rel): Likewise.
44016 (elf_machine_lazy_rela): Likewise.
44017 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44018 (elf_machine_lazy_rel): Likewise.
44019 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44021 (elf_machine_lazy_rel): Likewise.
44022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44024 (elf_machine_lazy_rel): Likewise.
44025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44026 (elf_machine_lazy_rel): Likewise.
44027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44028 (elf_machine_lazy_rel): Likewise.
44029 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44030 (elf_machine_lazy_rel): Likewise.
44031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44032 (elf_machine_lazy_rel): Likewise.
44033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44034 (elf_machine_lazy_rel): Likewise.
44035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44036 (elf_machine_lazy_rel): Likewise.
44038 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44040 * nss/nss_files/files-init.c (_nss_files_init): Use static
44041 initialization for all the *_traced_file variables.
44043 2011-09-28 Andreas Schwab <schwab@redhat.com>
44045 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44047 2011-09-27 Roland McGrath <roland@hack.frob.com>
44050 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44052 2011-09-27 Andreas Schwab <schwab@redhat.com>
44054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44055 Reread the line before reparsing it.
44057 2011-09-26 Andreas Schwab <schwab@redhat.com>
44059 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44061 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44062 Maxim Kuvyrkov <maxim@codesourcery.com>
44063 Joseph Myers <joseph@codesourcery.com>
44065 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44066 if needed for __stack_chk_guard.
44068 2011-09-19 Roland McGrath <roland@hack.frob.com>
44070 * sysdeps/posix/spawni.c (script_execute): Always define it.
44071 It will be optimized away if unused.
44072 (maybe_script_execute): New function.
44073 (__spawni): Call it.
44075 * Makerules: Don't include tls.make.
44076 (config-tls): Always set to thread.
44077 * tls.make.c: File removed.
44079 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44081 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44082 * config.make.in (CPPFLAGS-config): New substituted variable.
44084 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44089 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44090 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44092 2011-09-15 Roland McGrath <roland@hack.frob.com>
44094 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44095 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44097 (CALL_FAIL): Likewise.
44098 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44099 (CALL_FAIL): Macro removed.
44100 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44102 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44105 for __FINITE_MATH_ONLY__ == 1.
44107 2011-09-15 Andreas Schwab <schwab@redhat.com>
44109 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44110 __ieee754_sqrt instead of sqrt.
44111 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44112 __ieee754_sqrtf instead of sqrtf.
44113 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44114 __floorf instead of floorf.
44115 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44116 __floorf, __truncf instead of floorf, truncf.
44118 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44120 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44122 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44123 __extern_always_inline.
44124 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44127 2011-09-14 Andreas Schwab <schwab@redhat.com>
44129 * elf/rtld.c (dl_main): Also relocate in dependency order when
44130 doing symbol dependency testing.
44132 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44135 Always define `refsym'.
44137 2011-09-13 Andreas Schwab <schwab@redhat.com>
44139 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44140 (__FD_ELT): Renamed from __FDELT.
44141 * misc/bits/select2.h (__FD_ELT): Likewise.
44142 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44143 __FD_MASK instead of __FDELT, __FDMASK.
44144 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44146 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44149 * elf/Makefile (gen-ldd): Fix pattern.
44151 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44152 (init_tls): Likewise.
44154 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44158 2011-09-12 Andreas Schwab <schwab@redhat.com>
44160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44161 `struct cmsghdr *' instead of `void *'.
44162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44165 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44167 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44169 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44170 ldd_rewrite_script.
44172 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44174 * configure.in: Remove --with-tls option.
44175 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44176 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44177 out in case it is missing.
44178 * sysdeps/ia64/elf/configure.in: Likewise.
44179 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44180 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44181 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44182 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44183 * sysdeps/sh/elf/configure.in: Likewise.
44184 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44185 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44186 * sysdeps/x86_64/elf/configure.in: Likewise.
44187 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44188 * sysdeps/mach/hurd/tls.h: Likewise.
44191 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44194 * configure.in: Fix use of AC_INIT.
44196 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44198 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44200 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44202 * malloc/hooks.c: Likewise.
44205 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44206 variables statically.
44207 (narenas): Initialize.
44208 (list_lock): Initialize.
44209 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44210 initializtion of main_arena and list_lock. Small cleanups.
44211 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44212 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44213 Add initializers to main_arena and mp_.
44214 (malloc_state): Remove pagesize member. Change all users to use
44217 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44218 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44219 is always initialized.
44221 * malloc/malloc.c: Removed unused configurations and dead code.
44222 * malloc/arena.c: Likewise.
44223 * malloc/hooks.c: Likewise.
44224 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44226 * include/tls.h: Removed. USE___THREAD must always be defined.
44227 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44228 * elf/dl-libc.c: Likewise.
44229 * elf/dl-tsd.c: Likewise.
44230 * include/errno.h: Likewise.
44231 * include/netdb.h: Likewise.
44232 * include/resolv.h: Likewise.
44233 * inet/herrno-loc.c: Likewise.
44234 * inet/herrno.c: Likewise.
44235 * malloc/arena.c: Likewise.
44236 * malloc/hooks.c: Likewise.
44237 * malloc/malloc.c: Likewise.
44238 * resolv/res-state.c: Likewise.
44239 * resolv/res_libc.c: Likewise.
44240 * sysdeps/i386/dl-machine.h: Likewise.
44241 * sysdeps/ia64/dl-machine.h: Likewise.
44242 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44244 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44245 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44246 * sysdeps/sh/dl-machine.h: Likewise.
44247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44248 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44249 * sysdeps/unix/i386/sysdep.S: Likewise.
44250 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44251 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44256 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44261 * sysdeps/x86_64/dl-machine.h: Likewise.
44262 * tls.make.c: Likewise.
44264 * configure.in: Remove --with-__thread option. Make tests for
44265 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44266 tls_model attribute fail if no support is available. Remove
44268 * Makeconfig: Adjust for dropped configure option. All features are
44270 * Makerules: Likewise.
44271 * Versions.def: Likewise.
44272 * argp/argp-fmtstream.c: Likewise.
44273 * argp/argp-fmtstream.h: Likewise.
44274 * argp/argp-help.c: Likewise.
44275 * assert/assert.c: Likewise.
44276 * config.h.in: Likewise.
44277 * config.make.in: Likewise.
44278 * configure: Likewise.
44279 * configure.in: Likewise.
44280 * csu/Versions: Likewise.
44281 * csu/init.c: Likewise.
44282 * elf/tst-audit2.c: Likewise.
44283 * elf/tst-tls10.c: Likewise.
44284 * elf/tst-tls10.h: Likewise.
44285 * elf/tst-tls11.c: Likewise.
44286 * elf/tst-tls12.c: Likewise.
44287 * elf/tst-tls14.c: Likewise.
44288 * elf/tst-tlsmod11.c: Likewise.
44289 * elf/tst-tlsmod12.c: Likewise.
44290 * elf/tst-tlsmod13.c: Likewise.
44291 * elf/tst-tlsmod13a.c: Likewise.
44292 * elf/tst-tlsmod14a.c: Likewise.
44293 * elf/tst-tlsmod15b.c: Likewise.
44294 * elf/tst-tlsmod16a.c: Likewise.
44295 * elf/tst-tlsmod16b.c: Likewise.
44296 * elf/tst-tlsmod7.c: Likewise.
44297 * elf/tst-tlsmod8.c: Likewise.
44298 * elf/tst-tlsmod9.c: Likewise.
44299 * gmon/gmon.c: Likewise.
44300 * grp/fgetgrent_r.c: Likewise.
44301 * grp/putgrent.c: Likewise.
44302 * hurd/fopenport.c: Likewise.
44303 * include/libc-symbols.h: Likewise.
44304 * include/tls.h: Likewise.
44305 * intl/gettextP.h: Likewise.
44306 * intl/loadinfo.h: Likewise.
44307 * locale/global-locale.c: Likewise.
44308 * locale/localeinfo.h: Likewise.
44309 * mach/devstream.c: Likewise.
44310 * malloc/arena.c: Likewise.
44311 * malloc/set-freeres.c: Likewise.
44312 * misc/err.c: Likewise.
44313 * misc/getttyent.c: Likewise.
44314 * misc/mntent_r.c: Likewise.
44315 * posix/getopt.c: Likewise.
44316 * posix/wordexp.c: Likewise.
44317 * pwd/fgetpwent_r.c: Likewise.
44318 * resolv/Versions: Likewise.
44319 * resolv/res_hconf.c: Likewise.
44320 * shadow/fgetspent_r.c: Likewise.
44321 * shadow/putspent.c: Likewise.
44322 * stdio-common/printf_fphex.c: Likewise.
44323 * stdio-common/tmpfile.c: Likewise.
44324 * stdlib/abort.c: Likewise.
44325 * stdlib/fmtmsg.c: Likewise.
44326 * sunrpc/auth_unix.c: Likewise.
44327 * sunrpc/clnt_perr.c: Likewise.
44328 * sunrpc/clnt_tcp.c: Likewise.
44329 * sunrpc/clnt_udp.c: Likewise.
44330 * sunrpc/clnt_unix.c: Likewise.
44331 * sunrpc/openchild.c: Likewise.
44332 * sunrpc/svc_simple.c: Likewise.
44333 * sunrpc/svc_tcp.c: Likewise.
44334 * sunrpc/svc_udp.c: Likewise.
44335 * sunrpc/svc_unix.c: Likewise.
44336 * sunrpc/xdr.c: Likewise.
44337 * sunrpc/xdr_array.c: Likewise.
44338 * sunrpc/xdr_rec.c: Likewise.
44339 * sunrpc/xdr_ref.c: Likewise.
44340 * sunrpc/xdr_stdio.c: Likewise.
44342 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44344 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44346 2011-07-03 Andreas Jaeger <aj@suse.de>
44348 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44349 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44350 regenerate with gen-libm-tests.pl.
44352 2010-05-12 Petr Baudis <pasky@suse.cz>
44355 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44356 around j0() zero points by switching to j1().
44357 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44360 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44362 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44366 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44369 Patch in part by Pavel Roskin <proski@gnu.org>.
44372 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44374 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44375 Free memory block if necessary.
44378 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44379 be NULL. Don't lock in this case.
44381 2011-09-09 Roland McGrath <roland@hack.frob.com>
44383 * elf/elf.h (ELFOSABI_GNU): New macro.
44384 (ELFOSABI_LINUX): Define to that.
44386 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44388 * string/strncat.c (strncat): Undef the symbol in case it has been
44389 defined in bits/string.h.
44391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44393 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44395 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44398 2011-08-17 Andreas Jaeger <aj@suse.de>
44400 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44402 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44403 Ian Lance Taylor <iant@google.com>
44405 * math/libm-test.inc (lround_test): New testcase.
44406 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44408 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44410 * Makefile: Remove support for automatic cvs check-ins.
44411 * Makerules: Likewise.
44412 * config.make.in: Likewise.
44413 * configure.in: Likewise.
44414 * intl/Makefile: Likewise.
44415 * locale/Makefile: Likewise.
44416 * po/Makefile: Likewise.
44417 * posix/Makefile: Likewise.
44418 * sysdeps/gnu/Makefile: Likewise.
44419 * sysdeps/mach/hurd/Makefile: Likewise.
44420 * sysdeps/sparc/sparc32/Makefile: Likewise.
44423 * posix/Makefile (bug-regex32-ENV): Define.
44424 Patch by John Stanley <jpsinthemix@verizon.net>.
44426 * misc/Makefile (headers): Add bits/select2.h.
44427 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44428 * misc/bits/select2.h: New file.
44429 * include/bits/select2.h: New file.
44430 * debug/Makefile (routines): Add fdelt_chk.
44431 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44432 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44434 * debug/fdelt_chk.c: New file.
44436 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44437 * wcsmbs/test-wmemcmp.c: Likewise.
44438 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44439 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44441 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44443 * string/Makefile (strop-tests): Add memcmp.
44444 * string/test-wmemcmp.c: New file.
44445 * string/test-memcmp.c: Add wmemcmp support.
44447 2011-09-08 Roland McGrath <roland@hack.frob.com>
44450 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44453 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44454 garbage value in a __mach_port_mod_refs call in the cases of the
44455 task-self and thread-self ports.
44457 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44459 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44461 2011-09-08 Andreas Schwab <schwab@redhat.com>
44463 * elf/dl-load.c (lose): Check for non-null L.
44465 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44467 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44469 * elf/dl-libc.c (dlerror_run): Pass back error code from
44473 * elf/dl-load.c (lose): Free l_origin if it is valid.
44475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44477 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44482 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44484 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44486 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44487 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44489 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44490 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44491 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44492 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44493 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44494 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44495 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44497 2011-08-15 Alan Modra <amodra@gmail.com>
44500 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44501 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44502 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44503 ppc_mcount to static-only-routines.
44504 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44506 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44507 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44509 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44511 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44512 for finite and infinity parameters.
44514 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44517 and add nop instructions for throughput optimization.
44518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44520 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44523 aligned copy for power7 with vector-scalar instructions.
44524 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44526 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44531 2011-09-07 Andreas Schwab <schwab@redhat.com>
44534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44537 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44540 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44541 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44542 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44545 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44547 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44548 Forgot to demangle the pointer.
44550 * sysdeps/i386/sysdep.h: Define atom_text_section.
44551 * sysdeps/x86_64/sysdep.h: Likewise.
44552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44553 section with atom_text_section.
44554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44556 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44558 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44562 already be defined. Change to take two parameters and don't assign
44563 result to variable. Adjust all users.
44564 Define INTERNAL_GETTIME if not already defined.
44565 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44568 HAVE_CLOCK_GETTIME_VSYSCALL.
44569 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44572 gettimeofday vsyscall, just use time.
44574 2011-09-06 Andreas Schwab <schwab@redhat.com>
44576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44579 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44581 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44585 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44587 syscall if possible.
44589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44591 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44592 e_ident. Don't pass to find_mapsXX.
44593 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44595 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44598 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44599 * sysdeps/x86_64/multiarch/strchr.S: Update.
44600 Check bit_slow_BSF bit.
44601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44602 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44605 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44608 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44610 (tryshell): Define.
44611 (__spawni): Change last parameter to be flag. Test
44612 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44613 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44614 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44615 * posix/spawni.c: Likewise.
44616 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44617 * posix/spawnp.c: Likewise. Change normal version to use
44618 SPAWN_XFLAGS_USE_PATH.
44619 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44620 SPAWN_XFLAGS_TRY_SHELL.
44623 * posix/glob.h: Remove gcc 1.x support.
44626 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44628 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44631 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44633 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44634 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44636 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44640 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44642 * sysdeps/x86_64/wcscmp.S: New file.
44644 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44645 wcscmp-c wcscmp-sse2
44646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44647 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44649 * wcsmbs/wcscmp.c: Allow renaming.
44651 2011-09-05 David S. Miller <davem@davemloft.net>
44653 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44654 stack slot, rather than the struct return pointer slot.
44655 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44656 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44658 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44660 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44662 * po/ja.po: Update from translation team.
44665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44666 kernel in 64-bit binaries.
44668 2011-09-01 David S. Miller <davem@davemloft.net>
44670 * elf/elf.h (HWCAP_SPARC_*): Move to..
44671 * sysdeps/sparc/sysdep.h: this new file and add new values.
44672 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44673 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44674 _DL_HWCAP_COUNT to 24.
44675 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44677 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44678 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44679 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44681 instead of magic constants.
44682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44684 2011-08-31 David S. Miller <davem@davemloft.net>
44686 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44688 Reimplement to do errno handling inline.
44689 (SYSCALL_ERROR_HANDLER): New macro.
44690 (__SYSCALL_STRING): Do not do errno handling in asm.
44691 (__CLONE_SYSCALL_STRING): Delete.
44692 (__INTERNAL_SYSCALL_STRING): Delete.
44693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44694 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44695 (PSEUDO): Reimplement to do errno handling inline.
44696 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44697 (SYSCALL_ERROR_HANDLER): New macro.
44698 (__SYSCALL_STRING): Do not do errno handling in asm.
44699 (__CLONE_SYSCALL_STRING): Delete.
44700 (__INTERNAL_SYSCALL_STRING): Delete.
44701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44702 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44704 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44705 (inline_syscall*): Add 'err' argument.
44706 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44707 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44708 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44709 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44711 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44712 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44714 2011-08-30 Andreas Schwab <schwab@redhat.com>
44716 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44718 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44720 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44723 2011-08-24 David S. Miller <davem@davemloft.net>
44725 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44727 2011-08-24 Andreas Schwab <schwab@redhat.com>
44729 * elf/Makefile: Add rules to build and run unload8 test.
44730 * elf/unload8.c: New file.
44731 * elf/unload8mod1.c: New file.
44732 * elf/unload8mod1x.c: New file.
44733 * elf/unload8mod2.c: New file.
44734 * elf/unload8mod3.c: New file.
44736 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44739 2011-08-23 David S. Miller <davem@davemloft.net>
44741 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44742 subtract stack bias.
44743 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44744 %sp not %fp in calculations.
44745 (_JMPBUF_UNWINDS_ADJ): Likewise.
44747 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44748 (aio_suspend): Call it to force an exception region around the
44749 AIO_MISC_WAIT() invocation.
44751 2011-08-23 Andreas Schwab <schwab@redhat.com>
44753 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44756 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44758 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44760 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44761 and <dl-machine.h>.
44762 (Elf64_FuncDesc): Remove.
44764 2011-08-22 David S. Miller <davem@davemloft.net>
44766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44767 sigaltstack check, add missing cfi directives.
44768 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44769 missing cfi directives, and sigaltstack handling.
44771 2011-08-16 Andreas Schwab <schwab@redhat.com>
44774 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44775 object is seen twice.
44776 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44778 * elf/Makefile (distribute): Add tst-initorder2.c.
44779 (tests): Add tst-initorder2.
44780 (modules-names): Add tst-initorder2a tst-initorder2b
44781 tst-initorder2c tst-initorder2d. Add rules to build them.
44782 ($(objpfx)tst-initorder2.out): New rule.
44783 * elf/tst-initorder2.c: New file.
44784 * elf/tst-initorder2.exp: New file.
44786 2011-08-22 Andreas Schwab <schwab@redhat.com>
44788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44790 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44791 dependencies back to end of function.
44793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44794 $(elfobjdir)/ld.so.
44796 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44799 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44801 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44802 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44803 of __vdso_gettimeofday.
44804 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44805 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44807 (_libc_vdso_platform_setup): Remove initialization of
44808 __vdso_gettimeofday and __vdso_time.
44810 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44812 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44813 and fgetc_unlocked.
44814 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44817 * elf/dl-open.c (add_to_global): Report additions to the global scope
44818 for LD_DEBUG=scopes.
44819 (dl_open_worker): Also print scope of newly loaded dependencies.
44820 (_dl_show_scope): Indicate if there is no scope.
44823 * stdio-common/Makefile (tests): Add bug24.
44824 * stdio-common/bug24.c: New file.
44826 2011-08-19 Andreas Jaeger <aj@suse.de>
44829 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44830 non-existant file when using close-on-exec mode.
44832 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44835 the very first instruction.
44837 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44838 the CFI state in the end.
44839 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44840 inclusion of dl-trampoline.h.
44841 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44843 2011-08-19 Andreas Schwab <schwab@redhat.com>
44845 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44846 expectations for long double.
44848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44849 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44851 2011-08-14 David S. Miller <davem@davemloft.net>
44853 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44854 artificual limit depends upon the system page size.
44856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44858 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44859 * resolv/Makefile: Define CFLAGS-libresolv.
44861 2011-08-17 Andreas Schwab <schwab@redhat.com>
44863 * nss/makedb.c (compute_tables): Make variables used in nested
44866 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44868 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44869 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44870 if buffer was too small.
44872 * elf/pldd.c (main): Attach to all threads in the process.
44873 Rewrite /proc handling to use *at functions.
44875 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44877 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44878 specifies first scope to show.
44879 (dl_open_worker): Update callers. Move printing scope of new
44880 object to before the relocation.
44881 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44882 * sysdeps/generic/ldsodefs.h: Update declaration.
44884 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44885 string for the scope number.
44887 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44889 * nscd/servicescache.c (cache_addserv): Make sure written is always
44892 2011-08-14 Roland McGrath <roland@hack.frob.com>
44894 * sysdeps/i386/i486/bits/atomic.h
44895 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44896 statement expression, so as to suppress "set but not used" warning.
44897 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44899 * string/strncat.c (STRNCAT): Use prototype definition.
44901 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44902 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44904 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44905 (localedef-modules): Add localedef.
44906 (locale-modules): Add locale.
44908 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44909 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44910 to avoid a warning.
44912 2011-08-14 David S. Miller <davem@davemloft.net>
44914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44915 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44917 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44919 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44920 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44921 * elf/rtld.c (dl_main): Set l_name of vDSO.
44922 Call _dl_show_scope when DL_DEBUG_SCOPES.
44923 (process_dl_debug): Recognize scopes flag and also set it for all.
44924 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44925 Declare _dl_show_scope.
44927 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44928 (do_dlopen): Pass caller_dlopen to dl_open.
44929 (__libc_dlopen_mode): Initialize caller_dlopen.
44931 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44932 of libc. Make tolower call locale-independent. Optimize a bit by
44933 using isdigit instead of isalnum.
44934 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44936 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44938 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44939 was a dependency or dynamically loaded.
44941 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44943 * intl/l10nflist.c: Allow architecture-specific pop function.
44944 * sysdeps/x86_64/l10nflist.c: New file.
44946 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44949 2011-08-10 Andreas Schwab <schwab@redhat.com>
44951 * include/dirent.h: Add libc_hidden_proto for scandirat and
44952 scandirat64. Don't declare __scandirat64.
44953 * dirent/scandirat.c: Add libc_hidden_def.
44954 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44955 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44957 2011-08-10 David S. Miller <davem@davemloft.net>
44959 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44965 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44967 * Versions.def [libc]: Add GLIBC_2.15.
44968 * dirent/Makefile (routines): Add scandirat and scandirat64.
44969 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44971 * dirent/dirent.h: Declare scandirat and scandirat64.
44972 * dirent/scandirat.c: New file.
44973 * dirent/scandirat64.c: New file.
44974 * sysdeps/wordsize-64/scandirat.c: New file.
44975 * sysdeps/wordsize-64/scandirat64.c: New file.
44976 * dirent/opendir.c: Define opendirat.
44977 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44979 * dirent/scandir64.c: Adjust for scandir.c change.
44980 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44981 __scandirat64, and __scandir_cancel_handler.
44982 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44983 additional parameter and use openat instead of open (outside of ld.so).
44984 Add new __opendir as wrapper around __opendirat.
44985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44986 here without requiring old scandirat implementation.
44988 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44990 * dirent/scandir.c (cancel_handler): Renamed to
44991 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44992 defined. Adjust users.
44993 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44994 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44996 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44998 * string/test-string.h (IMPL): Use __STRING to expand name and then
45001 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45004 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45006 * string/Makefile: Update.
45007 (strop-tests): Append strncat.
45008 * string/test-wcscmp.c: New file.
45009 New comprehensive test for wcscmp.
45010 * string/test-strcmp.c: Update.
45011 (WIDE): New define.
45013 2011-07-22 Andreas Schwab <schwab@redhat.com>
45015 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45018 2011-07-26 Andreas Schwab <schwab@redhat.com>
45020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45021 encoding to ACE if AI_IDN.
45023 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45026 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45028 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45031 Fix overflow bug in strncat.
45032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45034 * string/test-strncat.c: Update.
45035 Add new tests for checking overflow bugs.
45037 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45040 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45041 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45042 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45044 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45045 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45046 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45047 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45050 (USE_AS_STRCAT): Define.
45051 Add strcat and strncat support.
45052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45054 2011-07-25 Andreas Schwab <schwab@redhat.com>
45056 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45057 __n bigger than INT_MAX+1.
45058 (__strncmp_g): Likewise.
45060 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45062 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45063 * libio/stido.h: Likewise.
45065 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45070 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45073 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45077 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45082 (_dl_x86_64_save_sse): Likewise.
45084 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45088 (_dl_x86_64_save_sse): Likewise.
45090 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45092 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45094 2011-07-21 Andreas Schwab <schwab@redhat.com>
45096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45098 (_dl_x86_64_save_sse): Use correct AVX check.
45100 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45103 bug in strncpy/strncat.
45104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45106 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45108 * string/tester.c (test_strcat): Add tests for different alignments
45109 of source and destination.
45110 (test_strncat): Likewise.
45112 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45115 * posix/glob.c (glob): Check passed in values before using them in
45116 expressions to avoid some overflows.
45117 (glob_in_dir): Likewise.
45120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45121 check for AVX enablement so that we don't crash with old kernels and
45123 * elf/tst-audit4.c: Add same checks here.
45124 * elf/tst-audit6.c: Likewise.
45126 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45128 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45130 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45132 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45134 * po/cs.po: Update from translation team.
45135 * po/bg.po: Likewise.
45137 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45139 * misc/sys/cdefs.h: Add support for const attribute.
45140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45141 to gnu_dev_{major,minor,makedev} functions.
45143 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45145 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45147 2011-07-20 Andreas Schwab <schwab@redhat.com>
45149 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45152 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45155 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45156 register in order to avoid conflicts with the soft frame pointer
45157 being held in r11 when necessary.
45158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45159 (INTERNAL_VSYSCALL_NCS): Likewise.
45161 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45163 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45164 * elf/dl-fini.c (_dl_fini): Adjust caller.
45165 * elf/dl-close.c (_dl_close_worker): Likewise.
45166 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45168 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45170 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45171 "aux_cache->nlibs < 0".
45173 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45174 in the reload-count case.
45176 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45179 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45180 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45181 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45182 * sysdeps/x86_64/multiarch/strcat.S: New file.
45183 * sysdeps/x86_64/multiarch/strncat.S: New file.
45184 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45186 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45187 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45189 (USE_AS_STRCAT): Define.
45190 Add strcat and strncat support.
45191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45193 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45194 * string/strncat.c: Update.
45195 (USE_AS_STRNCAT): Define.
45196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45197 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45199 * sysdeps/x86_64/multiarch/init-arch.h
45200 (bit_Prefer_PMINUB_for_stringop): New.
45201 (index_Prefer_PMINUB_for_stringop): Likewise.
45202 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45203 bit_Prefer_PMINUB_for_stringop.
45205 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45207 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45209 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45210 of casting of buffer.
45211 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45212 buffer32 and buffer64.
45213 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45214 writes instead of casting of buffer.
45215 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45217 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45220 2011-07-19 Andreas Schwab <schwab@redhat.com>
45222 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45224 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45226 * nscd/nscd.c (termination_handler): Don't do anything for a database
45227 if it has not yet been initialized.
45229 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45231 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45233 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45235 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45237 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45239 * po/nl.po: Update from translation team.
45240 * po/sv.po: Likewise.
45242 2011-07-16 Roland McGrath <roland@hack.frob.com>
45244 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45245 now disallowed by GCC.
45247 * configure.in (use-default-link): Default to yes if a test -shared
45248 link meets our qualifications.
45249 * configure: Regenerated.
45251 * config.make.in (output-format): New variable.
45252 * configure.in: Check for ld --print-output-format support.
45253 * configure: Regenerated.
45254 * Makerules ($(common-objpfx)format.lds)
45255 [$(output-format) != unknown]: Just use $(output-format),
45256 instead of the linker-script munging.
45258 2011-07-14 Roland McGrath <roland@hack.frob.com>
45260 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45261 of $(common-objpfx)shlib.lds.
45262 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45264 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45265 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45267 * configure.in (-z relro check): Adjust test code to add a large
45268 writable data section after it.
45269 * configure: Regenerated.
45271 2011-07-11 Roland McGrath <roland@hack.frob.com>
45273 * configure.in (-z relro check): Fix test code to make the variable
45275 * configure: Regenerated.
45277 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45279 * nscd/nscd.h (struct traced_file): Define.
45280 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45281 elements. Add traced_files.
45282 (inotify_fd): Declare.
45283 (register_traced_file): Declare.
45284 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45285 (inotify_fd): Export.
45286 (resolv_conf_descr): Remove.
45287 (nscd_init): Move inotify descriptor creation to main.
45288 Don't register files for notification here.
45289 (register_traced_file): New function.
45290 (invalidate_cache): Don't use reset_res to determine whether to call
45291 res_init, go through the list of registered files.
45292 (main_loop_poll): The inotify descriptors are now stored in the
45293 structures for the traced files.
45294 (main_loop_epoll): Likewise
45295 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45296 to __nss_disable_nscd.
45297 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45298 for a database anymore. Check the records for all the registered
45300 * nss/Makefile (libnss_files-routines): Add files-init.
45301 (libnss_db-routines): Add db-init.
45302 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45303 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45304 * nss/nss_db/db-init.c: New file.
45305 * nss/nss_files/files-init.c: New file.
45306 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45307 __nss_lookup_function.
45308 (__nss_lookup_function): Call nss_load_library.
45309 (nss_load_all_libraries): New function.
45310 (__nss_disable_nscd): Take parameter with callback function for files
45311 to register. Set is_nscd. Load all the DSOs for the NSS modules
45312 used for the cached services.
45313 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45314 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45315 options for features to all the files in nscd.
45317 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45319 2011-07-10 Roland McGrath <roland@hack.frob.com>
45321 * csu/elf-init.c (__libc_csu_init): Comment typo.
45323 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45325 * po/pl.po: Update from translation team.
45326 * po/ja.po: Likewise.
45327 * po/ru.po: Likewise.
45328 * po/ko.po: Likewise.
45329 * po/fr.po: Likewise.
45331 2011-07-09 Roland McGrath <roland@hack.frob.com>
45333 * configure.in (.ctors/.dtors header and trailer check):
45334 Use an empirical test on a built program.
45335 * configure: Regenerated.
45337 * configure.in (-z relro check): Use an empirical test on a built DSO.
45338 Detect, but do not require, on ia64.
45339 * configure: Regenerated.
45341 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45342 Update tests that use readelf to use $READELF instead.
45343 * configure: Regenerated.
45345 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45347 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45348 if the result is not used.
45350 2011-07-05 Andreas Jaeger <aj@suse.de>
45353 * stdlib/tst-strtod.c: Add testcase.
45355 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45357 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45358 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45359 The latter has a higher limit. Take additional parameter to pass to
45361 (__pathconf): Pass file to __statfs_link_max.
45362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45364 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45368 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45372 (__statfs_filesize_max): Likewise.
45373 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45375 2011-07-05 Andreas Jaeger <aj@suse.de>
45377 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45379 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45381 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45383 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45386 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45388 * Makefile (strop-tests): Add strncat.
45389 * string/test-strncat.c: New file.
45391 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45393 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45395 2011-06-21 Andreas Jaeger <aj@suse.de>
45397 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45398 Copy rule from iconvdata/Makefile.
45400 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45403 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45404 but no long options are defined, just return 'W'.
45406 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45409 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45411 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45413 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45415 (innetgr): Likewise.
45417 2011-07-05 Roland McGrath <roland@hack.frob.com>
45419 * config.make.in (install_root): Default to $(DESTDIR).
45421 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45425 2011-07-02 Roland McGrath <roland@hack.frob.com>
45427 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45429 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45430 containing directory rather than embedding absolute directory names.
45432 * scripts/check-local-headers.sh: Rewritten using awk.
45433 Match by word, not by line. Print error messages for matches.
45434 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45436 * Makerules [shlib-lds-flags empty]:
45437 ($(common-objpfx)libc_pic.opts): New target.
45438 ($(common-objpfx)libc_pic.os.clean): New target.
45439 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45441 * config.make.in (OBJCOPY): New variable.
45442 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45443 * configure: Regenerated.
45445 * config.make.in (use-default-link): New variable.
45446 * configure.in (use_default_link): Grok --with-default-link to set it.
45447 * configure: Regenerated.
45448 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45449 (shlib-lds, shlib-lds-flags): Define to empty.
45451 * Makerules (shlib-lds): New variable.
45452 (shlib-lds-flags): New variable.
45453 (build-shlib, build-moduile, build-module-asneeded): Use it.
45454 ($(common-objpfx)libc.so): Use $(shlib-lds).
45455 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45456 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45458 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45459 DT_FLAGS/DT_FLAGS_1 with zero flags.
45461 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45462 linker script munging.
45464 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45466 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45468 * crypt/sha512.c (sha512_process_block): Perform total addition using
45469 128-bit if possible.
45470 (__sha512_finish_ctx): Likewise.
45471 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45473 * crypt/sha256.c (SWAP64): Define.
45474 (sha256_process_block): Perform total addition using 64-bit if
45476 (__sha256_finish_ctx): Likewise.
45478 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45480 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45482 * nscd/hstcache.c (cache_addhst): Likewise.
45483 * nscd/grpcache.c (cache_addgr): Likewise.
45484 * nscd/aicache.c (addhstaiX): Likewise
45485 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45487 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45489 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45491 * nscd/hstcache.c (cache_addhst): Likewise.
45492 * nscd/grpcache.c (cache_addgr): Likewise.
45493 * nscd/aicache.c (addhstaiX): Likewise
45495 2011-07-01 Andreas Schwab <schwab@redhat.com>
45497 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45498 domain only when needed.
45500 2011-06-30 Andreas Schwab <schwab@redhat.com>
45502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45503 is always restored.
45505 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45507 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45508 are re-adding the entry.
45509 * nscd/servicescache.c (cache_addserv): Likewise.
45511 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45513 * sysdeps/generic/dl-irel.h: fix protection against multiple
45515 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45517 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45520 * malloc/memusage.sh: Fix quoting in message.
45521 * debug/xtrace.sh: Likewise.
45523 * configure.in: Remove support for --experimental-malloc option, make
45525 * config.make.in: Likewise.
45526 * malloc/Makefile: Likewise.
45528 2011-06-27 Andreas Schwab <schwab@redhat.com>
45530 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45531 two-byte characters.
45533 2011-06-27 Roland McGrath <roland@hack.frob.com>
45535 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45536 AC_CACHE_CHECK invocation.
45537 * configure: Regenerated.
45539 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45541 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45544 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45545 bit from old_res_options.
45547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45549 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45550 value type for setfct.
45552 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45555 __gettimeofday instead of gettimeofday.
45557 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45559 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45561 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45563 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45565 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45568 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45571 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45572 strcpy-sse2-unaligned strncpy-sse2-unaligned
45573 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45574 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45575 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45576 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45577 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45580 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45581 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45582 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45583 (STRCPY): Support SSE2 and SSSE3 versions.
45585 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45589 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45590 kernels which artificially limit size of requests.
45592 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45595 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45596 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45597 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45598 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45599 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45600 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45601 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45604 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45605 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45606 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45607 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45608 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45610 Enable unaligned load optimization for Intel Core i3, i5 and i7
45612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45614 (index_Fast_Unaligned_Load): Define.
45615 (HAS_FAST_UNALIGNED_LOAD): Define.
45617 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45619 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45621 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45625 until it is clear that the information is realy needed.
45626 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45628 2011-06-22 Andreas Schwab <schwab@redhat.com>
45630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45632 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45635 /sys/devices/system/cpu/online if it is usable.
45637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45638 reading the information from the /proc filesystem to once a second.
45640 2011-06-21 Andreas Jaeger <aj@suse.de>
45642 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45643 NULL after inclusion of kernel headers.
45645 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45647 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45648 calls to internal_setent.
45651 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45652 addresses using gethostbyname4_r ignore IPv4 addresses.
45654 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45655 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45657 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45659 2011-06-20 David S. Miller <davem@davemloft.net>
45661 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45663 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45665 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45666 (elf_irel): Use it.
45667 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45668 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45669 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45670 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45671 * sysdeps/x86_64/dl-irel.h: Likewise.
45673 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45674 * elf/dl-sym.c: Likewise.
45676 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45678 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45679 need to dereference resplen2.
45681 2011-06-14 Andreas Schwab <schwab@redhat.com>
45683 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45685 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45687 * Makeconfig: Define vardbdir and inst_vardbdir.
45688 * nss/Makefile: Add rules to install db-Makefile.
45690 * nss/nss_db/db-XXX.c: Cleanup.
45692 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45693 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45695 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45696 * nss/makedb.c: Implement -g option to specify that value strings
45697 are generated and should not be added to table iterated over for
45699 * nss/nss_db/db-initgroups.c: New file.
45701 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45704 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45705 (internal_getgrouplist): Adjust to name change.
45706 Update use_initgroups_entry if this is not the first call.
45707 * nss/databases.def: Add initgroups entry.
45709 * nss/makedb.c (compute_tables): Check result of multiple hash table
45710 sizes to minimize maximum chain length.
45712 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45714 * Versions.def: Add entry for libnss_db.
45715 * shlib-versions: Likewise.
45716 * nss/Makefile: Add rules to build libnss_db.
45717 * nss/Versions: Add libnss_db information. Organize libnss_files
45719 * nss/db-Makefile: Add gshadow support. Change rules for the new
45720 makedb progra. Some minor improvements to generate smaller files.
45721 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45723 * nss/makedb.c: ...here.
45724 Improve database format to be smaller and require less memory at
45726 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45728 * nss/nss_db/db-netgrp.c: Likewise.
45729 * nss/nss_db/db-open.c: Likewise.
45730 * nss/nss_files/flies-XXX.x: Adjust comments.
45731 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45732 * nss/nss_files/files-grp.c: Likewise.
45733 * nss/nss_files/files-hosts.c: Likewise.
45734 * nss/nss_files/files-network.c: Likewise.
45735 * nss/nss_files/files-proto.c: Likewise.
45736 * nss/nss_files/files-pwd.c: Likewise.
45737 * nss/nss_files/files-rpc.c: Likewise.
45738 * nss/nss_files/files-service.c: Likewise.
45739 * nss/nss_files/files-sgrp.c: Likewise.
45740 * nss/nss_files/files-spwd.c: Likewise.
45741 * nss/nss_db/db-alias.c: Removed.
45742 * nss/nss_db/dummy-db.h: Removed.
45744 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45746 * nss/makedb.c: Rewritten to not use database library.
45747 * nss/Makefile: Update to build new makedb program.
45749 2011-06-14 Andreas Jaeger <aj@suse.de>
45751 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45752 memset declaration.
45754 2011-06-10 Andreas Schwab <schwab@redhat.com>
45756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45759 2011-06-10 Roland McGrath <roland@hack.frob.com>
45761 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45762 * elf/Makefile ($(objpfx)ld.so): Likewise.
45764 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45765 Don't list ld.so twice in dependencies.
45767 * posix/bug-regex31.c: Include <stdlib.h>.
45769 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45771 * nis/nss_compat/compat-spwd.c
45772 (getspent_next_nss_netgr): Remove unused variable.
45773 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45775 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45776 nonmembers" output to use the right array.
45778 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45780 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45782 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45783 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45784 * catgets/gencat.c (read_input_file): Likewise.
45785 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45787 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45788 variable definition inside #if's controlling its use.
45790 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45792 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45794 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45796 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45799 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45801 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45802 * configure: Regenerated.
45804 * Makerules: Revert last change.
45805 * elf/Makefile: Likewise.
45807 2011-06-09 Roland McGrath <roland@hack.frob.com>
45809 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45810 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45811 (reloc-link): Likewise.
45813 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45815 * elf/Makefile: Add rules to build pldd.
45816 * elf/pldd.c: New file.
45817 * elf/pldd-xx.c: New file.
45819 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45821 * version.h: Update for 2.15 development version.
45823 2011-06-07 David S. Miller <davem@davemloft.net>
45825 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45828 elf_machine_lazy_rel): Likewise.
45829 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45831 elf_machine_lazy_rel): Likewise.
45832 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45833 dl_hwcap via passed in argument.
45834 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45837 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45839 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45841 2011-06-06 Roland McGrath <roland@hack.frob.com>
45844 * manual/fdl-1.1.texi: New file, verbatim from:
45845 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45846 * manual/lgpl-2.1.texi: New file, verbatim from:
45847 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45848 * manual/Makefile (licenses): New variable, list those new file names.
45850 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45852 * manual/fdl.texi: File removed.
45853 * manual/lesser.texi: File removed.
45854 * manual/libc.texinfo (Copying, Documentation License):
45855 Use new @include file names, put @appendix directive before @include.
45857 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45860 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45861 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45862 (mq_open): Add __NTH.
45864 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45867 Assume Intel Core i3/i5/i7 processor if AVX is available.
45869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45874 2011-05-31 Andreas Schwab <schwab@redhat.com>
45876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45877 memory. Use alloca_account. Fix memory leak when retrying.
45879 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45881 * version.h (RELEASE): Bump for 2.14 release.
45882 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45884 * config.make.in (RANLIB): Remove entry.
45886 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45888 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45889 (libc.pot): Work around missing support for .ksh extension in xgettext.
45892 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45893 if both request failed.
45894 (send_dg): In case of server errors clear resplen or *resplen2.
45897 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45898 when there are multiple maps.
45899 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45900 (_dl_fini): Remove test here.
45902 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45904 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45907 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45908 bit from old_res_options.
45909 (gaih_inet): Likewise.
45912 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45915 * resolv/res_init.c (res_setoptions): Make the code more compact.
45918 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45922 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45924 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45927 * malloc/malloc.h: Declare malloc hook variables as volatile.
45929 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45933 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45934 raise in the comment.
45935 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45937 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45939 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45942 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45943 grow the buffers more if it already has to be sufficient.
45944 (build_wcs_upper_buffer): Likewise.
45945 * posix/regexec.c (check_matching): Likewise.
45946 (clean_state_log_if_needed): Likewise.
45947 (extend_buffers): Don't enlarge buffers beyond size of the input
45949 Patches mostly by Emil Wojak <emil@wojak.eu>.
45950 * posix/bug-regex32.c: New file.
45951 * posix/Makefile (tests): Add bug-regex32.
45953 * locale/findlocale.c (_nl_find_locale): Return right away if
45954 _nl_explode_name failed.
45955 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45957 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45959 * debug/xtrace.sh: Unify messages.
45960 * malloc/memusage.sh: Likewise.
45963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45964 time symbol from vDSO. Substitute with vsyscall if not available.
45965 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45968 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45969 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45970 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45971 Add sendmmsg and internal_sendmmsg.
45972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45973 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45976 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45977 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45978 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45980 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45983 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45984 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45990 * iconvdata/Makefile (tests): Add bug-iconv9.
45991 * iconvdata/bug-iconv9.c: New file.
45993 2011-05-27 Andreas Schwab <schwab@redhat.com>
45996 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45998 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46001 (struct user_regs_struct): Change intcs field back to cs.
46003 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46005 * po/ja.po: Update from translation team.
46007 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46010 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46011 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46013 2011-05-20 Andreas Schwab <schwab@redhat.com>
46015 * stdlib/longlong.h: Update from GCC.
46017 2011-05-23 Andreas Schwab <schwab@redhat.com>
46019 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46021 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46022 Add parameter name.
46023 (__sysconf): Pass it down.
46025 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46028 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46030 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46031 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46032 add in in __libc_use_alloca calls. Adjust callers.
46033 (glob): Use malloc in some situations.
46035 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46036 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46039 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46041 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46042 and CLOCK_BOOTTIME_ALARM.
46045 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46048 * string/_strerror.c (__strerror_r): Print negative errors as signed
46052 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46053 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46054 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46056 * configure.in: Fix typo in redirection and correct removal of test
46057 files in two cases.
46060 * locale/setlocale.c (new_composite_name): Fix test to check for
46061 identical name of all categories.
46064 * libio/filedoalloc.c (local_isatty): New function.
46065 (_IO_file_doallocate): Use local_isatty.
46066 * stdio-common/perror.c (perror): In case a new stream is used
46067 forward the stream error.
46068 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46071 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46076 * include/alloca.h (extend_alloca_account): Define.
46079 * posix/regex.h: Fix comments with documentation of user-accessible
46080 fields after compilation and describe correct free'ing of pattern
46081 after re_compile_pattern.
46082 Patch by Reuben Thomas <rrt@sc3d.org>.
46084 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46086 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46087 and -mno-altivec to prevent the compiler from using Altivec and/or
46088 VSX instructions when the corresponding registers are not available.
46090 2011-05-19 Andreas Schwab <schwab@redhat.com>
46092 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46094 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46096 * libio/freopen.c (freopen): Use __dup2, not dup2.
46097 * libio/freopen64.c (freopen64): Likewise.
46099 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46102 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46103 * math/Makefile (tests): Add test-powl.
46104 (CFLAGS-test-powl.c): Define.
46105 * math/test-powl.c: New file.
46107 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46109 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46111 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46114 * iconvdata/gb18030.c: Update to GB18020-2005.
46116 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46118 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46119 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46120 Patch by Aharon Robbins <arnold@skeeve.com>.
46123 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46127 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46128 through underflows.
46131 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46132 point to strings before performing equality test for error_one_per_line
46136 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46140 (struct user_fpregs_struct): Avoid __uint*_t types.
46143 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46144 symbol info. Use it instead of calling _dl_addr locally.
46145 (lock_and_info): New function.
46146 (tr_freehook): Call lock_and_info and pass symbol info as additional
46147 parameter to tr_where.
46148 (tr_mallochook): Likewise.
46149 (tr_reallochook): Likewise.
46150 (tr_memalignhook): Likewise.
46152 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46153 used and couldn't be at all thread-safe.
46155 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46157 * libio/freopen.c (freopen): Don't close old file descriptor
46158 before the new one is opened. Instead dup the new file descriptor
46159 to the old one after the new stream is created.
46160 * libio/freopen64.c (freopen64): Likewise.
46161 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46162 * libio/fileops.c (_IO_new_file_close_it): Handle new
46163 _IO_FLAGS2_NOCLOSE flag.
46164 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46165 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46166 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46167 _IO_FLAGS2_NOCLOSE flag.
46168 * include/unistd.h: Add hidden_proto for dup3.
46169 Define __have_dup3.
46170 * io/dup3.c: Define hidden symbol.
46171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46174 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46175 when an incomplete long option is used.
46176 * posix/tst-getopt_long1.c: New file.
46177 * posix/Makefile (tests): Add tst-getopt_long1.
46180 * scripts/config.guess: Update from autoconf-2.68.
46181 * scripts/config.sub: Likewise.
46184 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46186 (has_cpuclock): ...this. New function.
46187 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46188 macro here based on has_cpuclock code.
46191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46192 First byte (not low byte) is now always NUL.
46193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46196 Use non-cancelable interfaces.
46199 * locale/iso-639.def: Add entry for Sorani.
46202 * include/stdlib.h: Move include protection to the right place.
46203 Define abort_msg_s. Declare __abort_msg with it.
46204 * stdlib/abort.c (__abort_msg): Adjust type.
46205 * assert/assert.c (__assert_fail_base): New function. Majority
46206 of code from __assert_fail. Allocate memory for __abort_msg with
46208 (__assert_fail): Now call __assert_fail_base.
46209 * assert/assert-perr.c: Remove bulk of implementation. Use
46210 __assert_fail_base.
46211 * include/assert.hL Declare __assert_fail_base.
46212 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46214 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46216 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46220 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46221 until all modules are registered in the DTV.
46222 * elf/Makefile: Add rules to build and run tst-tls19.
46223 * elf/tst-tls19.c: New file.
46224 * elf/tst-tls19mod1.c: New file.
46225 * elf/tst-tls19mod2.c: New file.
46226 * elf/tst-tls19mod3.c: New file.
46227 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46230 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46234 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46235 two-byte sequence errors.
46236 * iconvdata/Makefile (tests): Add bug-iconv8.
46237 * iconvdata/bug-iconv8.c: New file.
46240 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46243 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46246 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46247 (dummy_getcfa): New function.
46248 (init): Get _Unwind_GetCFA address, use dummy if not found.
46249 (backtrace_helper): In recursion check, also check whether CFA changes.
46250 (__backtrace): Completely initialize arg.
46252 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46253 storing incomplete byte sequence in state object. Avoid testing for
46254 guaranteed too small input if we know there is enough data available.
46256 2011-05-11 Andreas Schwab <schwab@redhat.com>
46258 * Makeconfig (+link-pie): Indent.
46259 * Rules (binaries-pie): Define if $(have-fpie) and
46261 (binaries-shared): Also filter out $(binaries-pie).
46262 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46263 * nscd/Makefile (others-pie): Add nscd.
46264 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46265 ($(objpfx)nscd): Remove command override.
46266 * login/Makefile (others-pie): Add pt_chown.
46267 ($(objpfx)pt_chown): Remove command override.
46268 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46269 remove command overrides.
46271 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46273 * libio/tst_putwc.c: Fix error messages.
46276 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46277 currently writing and seek to current position when not.
46278 * libio/Makefile (tests): Add bug-fclose1.
46279 * libio/bug-fclose1.c: New file.
46281 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46284 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46285 don't set DF_1_NODELETE here.
46286 (do_lookup_x): When entering new entry test for copy relocation
46287 and if necessary set DF_1_NODELETE flag.
46288 * elf/tst-unique4.cc: New file.
46289 * elf/tst-unique4.h: New file.
46290 * elf/tst-unique4lib.cc: New file.
46291 * elf/Makefile: Add rules to build and run tst-unique4.
46292 Patch by Piotr Bury <pbury@goahead.com>.
46294 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46297 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46300 * misc/mntent_r.c (addmntent): Flush the stream after the output
46303 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46304 (is_trusted_path_normalize): Skip initial colon. Append slash
46305 to empty buffer. Duplicate is_trusted_path code but allow
46306 constructed patch to be prefix.
46307 (is_dst): Allow $ORIGIN followed by /.
46308 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46309 Correct testing of result of is_trusted_path_normalize
46310 (decompose_rpath): Fix warning.
46312 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46315 * grp/initgroups.c (internal_getgrouplist): When we found the service
46316 list through the initgroups entry in nsswitch.conf do not always
46317 continue on a successful lookup. Don't always use the
46318 __nss_group_database value if it is set.
46319 * nss/nsswitch.conf (initgroups): Change action for successful db
46320 lookup to continue for compatibility.
46322 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46325 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46327 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46329 * iconvdata/tst-tables.sh: Likewise.
46330 * iconvdata/cp770.c: New file.
46331 * iconvdata/cp771.c: New file.
46332 * iconvdata/cp772.c: New file.
46333 * iconvdata/cp773.c: New file.
46334 * iconvdata/cp774.c: New file.
46335 * iconvdata/testdata/CP770: New file.
46336 * iconvdata/testdata/CP770..UTF8: New file.
46337 * iconvdata/testdata/CP771: New file.
46338 * iconvdata/testdata/CP771..UTF8: New file.
46339 * iconvdata/testdata/CP772: New file.
46340 * iconvdata/testdata/CP772..UTF8: New file.
46341 * iconvdata/testdata/CP773: New file.
46342 * iconvdata/testdata/CP773..UTF8: New file.
46343 * iconvdata/testdata/CP774: New file.
46344 * iconvdata/testdata/CP774..UTF8: New file.
46346 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46348 * iconvdata/gen-8bit-gap.sh: Likewise.
46349 * iconvdata/gen-8bit.sh: Likewise.
46351 * locale/iso-639.def: Add ary entry.
46354 * locale/C-translit.h.in: Add U20A1 transliteration.
46357 * locale/iso-639.def: Add wae entry.
46358 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46361 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46365 * locale/C-translit.h.in: Add entry for U20B9.
46366 Patch by pravin.d.s@gmail.com.
46368 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46371 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46372 ENAMETOOLONG use generic getcwd.
46373 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46374 in rtld. Use *stat64.
46375 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46376 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46377 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46378 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46379 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46380 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46381 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46382 __fstatat64 macros.
46383 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46384 * dirent/rewinddir.c: Add libc_hidden_def.
46385 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46386 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46388 * include/dirent.h (__alloc_dir): Add flags parameter.
46389 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46390 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46392 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46393 from fdopendir if O_CLOEXEC is already set.
46395 2011-03-15 Alan Modra <amodra@gmail.com>
46397 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46398 l_tls_firstbyte_offset non-zero. Save padding offset in
46399 l_tls_firstbyte_offset for later use.
46400 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46401 freeing static tls block.
46403 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46405 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46406 where #ifdef was intended. The intent is to prevent ARG_MAX from
46407 being defined by the kernel headers.
46409 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46412 * resolv/resolv.h: Define RES_NOTLDQUERY.
46413 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46414 no-tld-query and set RES_NOTLDQUERY.
46415 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46416 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46417 modern BIND to search name as TLD unless forbidden.
46419 2011-05-07 Petr Baudis <pasky@suse.cz>
46420 Ulrich Drepper <drepper@gmail.com>
46423 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46424 (is_trusted_path): ...to here.
46425 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46426 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46427 using is_trusted_path_normalize() in setuid scripts.
46429 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46431 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46432 __BEGIN/__END_DECLS.
46434 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46437 NSS_STATUS_NOTFOUND if no record was found.
46439 2011-05-05 Andreas Schwab <schwab@redhat.com>
46441 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46442 (headers-not-in-tirpc): Remove rpc/netdb.h
46443 * resolv/netdb.h: Revert last change.
46445 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46447 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46448 circular dependency between libgcc.a and libc.a.
46450 2011-05-05 Andreas Schwab <schwab@redhat.com>
46452 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46453 * nis/Makefile: Don't install rpcsvc/*.
46454 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46455 instead of <rpc/types.h>.
46456 (MAXHOSTNAMELEN): Define.
46458 2011-05-03 Andreas Schwab <schwab@redhat.com>
46460 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46462 2011-04-28 Maciej Babinski <mbabinski@google.com>
46465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46466 gethostbyname4_r when IPv6 results are possible.
46468 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46471 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46472 _PC_PIPE_BUF handling.
46474 2011-04-30 Bruno Haible <bruno@clisp.org>
46477 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46478 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46480 * inet/getnameinfo.c (getnameinfo): Likewise.
46482 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46484 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46485 to groups setting in database lookup.
46486 * nss/nsswitch.conf: Add initgroups entry.
46488 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46491 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46493 Patch by Eric Blake <eblake@redhat.com>.
46495 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46497 * sunrpc/Makefile (need-export-routines): Add svc_run.
46498 (routines): Remove svc_run.
46499 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46500 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46501 * sunrpc/svc_run.c (svc_run): Likewise.
46502 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46504 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46507 problem in reallocation in last patch.
46509 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46511 * sunrpc/Makefile: Move inclusion of Rules.
46513 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46515 * nss/nss_files/files-initgroups.c: New file.
46516 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46517 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46518 _nss_files_initgroups_dyn.
46520 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46522 * elf/elf.h (R_ARM_IRELATIVE): Define.
46524 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46526 * po/ru.po: Update from translation team.
46528 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46530 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46533 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46536 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46537 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46542 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46550 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46553 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46555 * stdlib/bug-getcontext.c: New file.
46556 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46558 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46560 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46561 instructions into .machine "z9-109".
46562 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46563 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46565 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46567 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46568 between environment variables and auxiliary vector.
46570 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46572 * Makefile: Add rules to build linkobj/libc.so.
46573 * include/libc-symbols.h: Define libc_hidden_nolink.
46574 * include/rpc/auth.h: Mark functions which are to be hidden.
46575 * include/rpc/auth_des.h: Likewise.
46576 * include/rpc/auth_unix.h: Likewise.
46577 * include/rpc/clnt.h: Likewise.
46578 * include/rpc/des_crypt.h: Likewise.
46579 * include/rpc/key_prot.h: Likewise.
46580 * include/rpc/pmap_clnt.h: Likewise.
46581 * include/rpc/pmap_prot.h: Likewise.
46582 * include/rpc/pmap_rmt.h: Likewise.
46583 * include/rpc/rpc_msg.h: Likewise.
46584 * include/rpc/svc.h: Likewise.
46585 * include/rpc/svc_auth.h: Likewise.
46586 * include/rpc/xdr.h: Likewise.
46587 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46588 * nss/Makefile: Likewise.
46589 * sunrpc/Makefile: Don't install headers. Build library with normal
46590 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46591 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46592 for the compat linking library. Remove use of INTDEF/INTUSE.
46593 * sunrpc/auth_none.c: Likewise.
46594 * sunrpc/auth_unix.c: Likewise.
46595 * sunrpc/authdes_prot.c: Likewise.
46596 * sunrpc/authuxprot.c: Likewise.
46597 * sunrpc/clnt_gen.c: Likewise.
46598 * sunrpc/clnt_perr.c: Likewise.
46599 * sunrpc/clnt_raw.c: Likewise.
46600 * sunrpc/clnt_simp.c: Likewise.
46601 * sunrpc/clnt_tcp.c: Likewise.
46602 * sunrpc/clnt_udp.c: Likewise.
46603 * sunrpc/clnt_unix.c: Likewise.
46604 * sunrpc/des_crypt.c: Likewise.
46605 * sunrpc/des_soft.c: Likewise.
46606 * sunrpc/get_myaddr.c: Likewise.
46607 * sunrpc/key_call.c: Likewise.
46608 * sunrpc/key_prot.c: Likewise.
46609 * sunrpc/netname.c: Likewise.
46610 * sunrpc/pm_getmaps.c: Likewise.
46611 * sunrpc/pm_getport.c: Likewise.
46612 * sunrpc/pmap_clnt.c: Likewise.
46613 * sunrpc/pmap_prot.c: Likewise.
46614 * sunrpc/pmap_prot2.c: Likewise.
46615 * sunrpc/pmap_rmt.c: Likewise.
46616 * sunrpc/publickey.c: Likewise.
46617 * sunrpc/rpc_cmsg.c: Likewise.
46618 * sunrpc/rpc_common.c: Likewise.
46619 * sunrpc/rpc_dtable.c: Likewise.
46620 * sunrpc/rpc_prot.c: Likewise.
46621 * sunrpc/rpc_thread.c: Likewise.
46622 * sunrpc/rtime.c: Likewise.
46623 * sunrpc/svc.c: Likewise.
46624 * sunrpc/svc_auth.c: Likewise.
46625 * sunrpc/svc_authux.c: Likewise.
46626 * sunrpc/svc_raw.c: Likewise.
46627 * sunrpc/svc_run.c: Likewise.
46628 * sunrpc/svc_simple.c: Likewise.
46629 * sunrpc/svc_tcp.c: Likewise.
46630 * sunrpc/svc_udp.c: Likewise.
46631 * sunrpc/svc_unix.c: Likewise.
46632 * sunrpc/svcauth_des.c: Likewise.
46633 * sunrpc/xcrypt.c: Likewise.
46634 * sunrpc/xdr.c: Likewise.
46635 * sunrpc/xdr_array.c: Likewise.
46636 * sunrpc/xdr_float.c: Likewise.
46637 * sunrpc/xdr_intXX_t.c: Likewise.
46638 * sunrpc/xdr_mem.c: Likewise.
46639 * sunrpc/xdr_rec.c: Likewise.
46640 * sunrpc/xdr_ref.c: Likewise.
46641 * sunrpc/xdr_sizeof.c: Likewise.
46642 * sunrpc/xdr_stdio.c: Likewise.
46644 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46647 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46648 * sysdeps/ia64/dl-tls.h: Likewise.
46649 * sysdeps/powerpc/dl-tls.h: Likewise.
46650 * sysdeps/s390/dl-tls.h: Likewise.
46651 * sysdeps/sh/dl-tls.h: Likewise.
46652 * sysdeps/sparc/dl-tls.h: Likewise.
46653 * sysdeps/x86_64/dl-tls.h: Likewise.
46654 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46656 2011-03-14 Andreas Schwab <schwab@redhat.com>
46658 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46659 rpath element also skip the following colon.
46660 (expand_dynamic_string_token): Add is_path parameter and pass
46661 down to DL_DST_REQUIRED and _dl_dst_substitute.
46662 (decompose_rpath): Call expand_dynamic_string_token with
46663 non-zero is_path. Ignore empty rpaths.
46664 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46667 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46672 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46675 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46676 Patch by Filipe David Manana <fdmanana@apache.org>.
46678 2011-04-07 Andreas Schwab <schwab@redhat.com>
46680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46681 Maintain aligned stack.
46682 (CHECK_RSP): Remove unused macro.
46684 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46686 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46689 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46691 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46693 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46695 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46698 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46699 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46700 * sysdeps/x86_64/memmove.c: New file.
46701 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46702 (memcpy): Renamed to ...
46703 (__new_memcpy): This.
46704 (memcpy): Provide GLIBC_2_14 memcpy.
46705 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46706 (memcpy): Provide GLIBC_2_2_5 memcpy.
46708 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46711 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46713 2011-03-30 Andreas Schwab <schwab@redhat.com>
46715 * misc/syncfs.c: New file.
46716 * misc/Makefile (routines): Add syncfs.
46717 * posix/unistd.h: Declare syncfs.
46718 * sysdeps/unix/syscalls.list: Add syncfs.
46720 2011-04-01 Andreas Schwab <schwab@redhat.com>
46722 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46729 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46732 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46742 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46743 sync_file_range.c with -fexceptions.
46744 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46745 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46746 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46747 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46748 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46751 sync_file_range as cancellation point
46752 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46753 now a wrapper around __call_sync_file_range with cancellation handling.
46754 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46755 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46756 function name to __call_sync_file_range.
46757 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46758 Add call_sync_file_range.
46760 2011-04-01 Andreas Schwab <schwab@redhat.com>
46762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46765 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46767 * iconv/iconv.h: Fix typo in comment.
46768 * io/fcntl.h: Likewise.
46769 * libio/stdio.h: Likewise.
46770 * posix/spawn.h: Likewise.
46771 * posix/unistd.h: Likewise.
46772 * stdlib/stdlib.h: Likewise.
46773 * time/time.h: Likewise.
46774 * wcsmbs/wchar.h: Likewise.
46776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46777 open_by_handle): Add.
46778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46779 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46780 Augment a few comments.
46781 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46786 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46789 * io/fcntl.h (AT_EMPTY_PATH): Define.
46791 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46793 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46794 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46795 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46797 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46798 * Versions.def: Add GLIBC_2.14.
46799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46802 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46806 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46808 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46811 * string/test-strncmp.c (do_page_test): New function.
46812 (check2): Likewise.
46813 (test_main): Call check2.
46814 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46816 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46820 Handle cache information in CPU leaf 4.
46821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46823 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46826 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46827 character representation.
46828 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46830 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46832 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46833 END(__isnan) to END(__isnanf) to match function entry point/label
46834 EALIGN(__isnanf,...).
46836 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46838 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46840 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46843 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46844 copy from the symbol referenced in the relocation to initialize the
46846 Patch by Piotr Bury <pbury@goahead.com>.
46847 * elf/Makefile: Add rules to build and tst-unique3.
46848 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46849 * elf/tst-unique3.cc: New file.
46850 * elf/tst-unique3.h: New file.
46851 * elf/tst-unique3lib.cc: New file.
46852 * elf/tst-unique3lib2.cc: New file.
46854 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46856 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46858 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46859 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46862 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46864 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46865 to-be-loaded object along a path to loader is ld.so.
46867 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46868 Ulrich Drepper <drepper@gmail.com>
46870 * sysdeps/x86_64/memset.S: After aligning destination, code
46871 branches to different locations depending on the value of
46872 misalignment, when multiarch is enabled. Fix this.
46874 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46876 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46877 Set _x86_64_preferred_memory_instruction for AMD processsors.
46878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46879 Set bit_Prefer_SSE_for_memop for AMD processors.
46881 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46883 * libio/fmemopen.c (fmemopen): Optimize a bit.
46885 2011-03-03 Andreas Schwab <schwab@redhat.com>
46887 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46889 2011-03-03 Roland McGrath <roland@redhat.com>
46891 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46893 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46895 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46896 __bzero_ultra1 instead of __memset_ultra1.
46898 2011-02-23 Andreas Schwab <schwab@redhat.com>
46899 Ulrich Drepper <drepper@gmail.com>
46902 * include/link.h (struct link_map): Add l_orig_initfini.
46903 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46904 returning unsuccessfully.
46905 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46906 close of a file loaded at startup, restore the original l_initfini
46908 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46909 list, store the pointer.
46910 * elf/Makefile ($(objpfx)noload-mem): New rule.
46911 (noload-ENV): Define.
46912 (tests): Add $(objpfx)noload-mem.
46913 * elf/noload.c: Include <memcheck.h>.
46914 (main): Call mtrace. Close all opened handles.
46916 2011-02-17 Andreas Schwab <schwab@redhat.com>
46919 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46920 dependencies are missing.
46922 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46924 Fix __if_freereq crash: Unlike the generic version which uses free,
46926 * sysdeps/mach/hurd/ifreq.h: New file.
46928 2011-01-27 Petr Baudis <pasky@suse.cz>
46929 Ulrich Drepper <drepper@gmail.com>
46932 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46933 to extend_alloca().
46934 * stdio-common/bug23.c: New file.
46935 * stdio-common/Makefile (tests): Add bug23.
46937 2010-09-28 Andreas Schwab <schwab@redhat.com>
46938 Ulrich Drepper <drepper@gmail.com>
46941 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46942 before performing relro protection. At old place add assertion
46943 to make sure nothing changed.
46945 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46946 Glauber de Oliveira Costa <glommer@gmail.com>
46948 * elf/elf.h: Add new ARM TLS relocs.
46950 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46953 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46955 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46957 * sysdeps/wordsize-64/tst-writev.c: New file.
46959 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46961 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46962 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46963 insns in _dl_start to prevent a TOC reference before relocs are
46966 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46969 * Makeconfig: Remove RANLIB definition.
46970 * Makerules: Don't use RANLIB.
46971 * aclocal.m4: Remove ranlib test.
46972 * configure.in: No need to check for ranlib.
46973 * elf/rtld-Rules: Don't use RANLIB.
46975 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46977 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46979 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46980 inclusion protection macro.
46982 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46983 SIGRTMIN and SIGRTMAX and print information in that case only when
46984 SIGRTMIN is defined.
46986 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46988 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46989 arginfo fn returning -1.
46991 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46992 and thousands string is zero terminated.
46994 2011-02-03 Andreas Schwab <schwab@redhat.com>
46996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46997 sysdeps/unix/sysv/linux/bits/socket.h.
46999 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47001 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47002 (__CPU_COUNT): Remove old macros.
47003 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47004 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47005 (__CPU_ALLOC, __CPU_FREE): Add macros.
47006 (__sched_cpualloc, __sched_cpufree): Add declarations.
47008 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47010 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47011 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47012 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47013 (readdhstai): Return value of addhstaiX call.
47014 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47015 (addgrbyX): Return value returned by cache_addgr.
47016 (readdgrbyname): Return value returned by addgrbyX.
47017 (readdgrbygid): Likewise.
47018 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47019 (addpwbyX): Return value returned by cache_addpw.
47020 (readdpwbyname): Return value returned by addhstbyX.
47021 (readdpwbyuid): Likewise.
47022 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47023 (addservbyX): Return value returned by cache_addserv.
47024 (readdservbyname): Return value returned by addservbyX:
47025 (readdservbyport): Likewise.
47026 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47027 (addhstbyX): Return value returned by cache_addhst.
47028 (readdhstbyname): Return value returned by addhstbyX.
47029 (readdhstbyaddr): Likewise.
47030 (readdhstbynamev6): Likewise.
47031 (readdhstbyaddrv6): Likewise.
47032 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47033 (readdinitgroups): Return value returned by addinitgroupsX.
47034 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47035 (prune_cache): Keep track of timeout value of re-added entries.
47036 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47037 * nscd/nscd.h: Adjust prototypes of readd* functions.
47039 2011-02-04 Roland McGrath <roland@redhat.com>
47041 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47042 (nis_stats): Likewise.
47043 * nis/nis_modify.c (nis_modify): Likewise.
47044 * nis/nis_remove.c (nis_remove): Likewise.
47045 * nis/nis_add.c (nis_add): Likewise.
47047 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47049 * posix/fnmatch_loop.c: Add some consts.
47051 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47053 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47056 * config.make.in (config-cflags-novzeroupper): Define.
47057 * configure.in: Substitute libc_cv_cc_novzeroupper.
47058 * elf/Makefile (AVX-CFLAGS): Define.
47059 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47060 (CFLAGS-tst-auditmod4a.c): Likewise.
47061 (CFLAGS-tst-auditmod4b.c): Likewise.
47062 (CFLAGS-tst-auditmod6b.c): Likewise.
47063 (CFLAGS-tst-auditmod6c.c): Likewise.
47064 (CFLAGS-tst-auditmod7b.c): Likewise.
47065 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47067 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47069 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47070 function to the callback.
47071 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47073 2011-02-02 Andreas Schwab <schwab@redhat.com>
47075 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47078 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47081 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47083 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47085 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47088 * elf/Makefile: Add rules to build and run new test.
47089 * elf/tst-initorder.c: New file.
47090 * elf/tst-initorder.exp: New file.
47091 * elf/tst-initordera1.c: New file.
47092 * elf/tst-initordera2.c: New file.
47093 * elf/tst-initordera3.c: New file.
47094 * elf/tst-initordera4.c: New file.
47095 * elf/tst-initorderb1.c: New file.
47096 * elf/tst-initorderb2.c: New file.
47097 * elf/tst-order-a1.c: New file.
47098 * elf/tst-order-a2.c: New file.
47099 * elf/tst-order-a3.c: New file.
47100 * elf/tst-order-a4.c: New file.
47101 * elf/tst-order-b1.c: New file.
47102 * elf/tst-order-b2.c: New file.
47103 * elf/tst-order-main.c: New file.
47104 New test case by George Gensure <werkt0@gmail.com>.
47106 2010-10-01 Andreas Schwab <schwab@redhat.com>
47108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47109 decoding ACE if AI_CANONIDN.
47111 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47113 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47115 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47117 * version.h (RELEASE): Bump for 2.13 release.
47118 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47120 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47124 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47131 * posix/getconf.c: Update copyright year.
47132 * catgets/gencat.c: Likewise.
47133 * csu/version.c: Likewise.
47134 * debug/catchsegv.sh: Likewise.
47135 * debug/xtrace.sh: Likewise.
47136 * elf/ldconfig.c: Likewise.
47137 * elf/ldd.bash.in: Likewise.
47138 * elf/sprof.c (print_version): Likewise.
47139 * iconv/iconv_prog.c: Likewise.
47140 * iconv/iconvconfig.c: Likewise.
47141 * locale/programs/locale.c: Likewise.
47142 * locale/programs/localedef.c: Likewise.
47143 * malloc/memusage.sh: Likewise.
47144 * malloc/mtrace.pl: Likewise.
47145 * nscd/nscd.c (print_version): Likewise.
47146 * nss/getent.c: Likewise.
47148 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47149 PF_CAIF, and PF_ALG.
47150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47152 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47154 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47155 (modules-names): Use them.
47156 (ifunc-test-modules, ifunc-pie-tests): Define.
47157 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47158 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47159 (test-extras): Likewise.
47160 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47161 $(compile-command.c).
47162 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47163 (all-built-dso): Define.
47164 (check-textrel.out, check-execstack.out): Depend on it.
47166 * configure.in: Don't override --enable-multi-arch.
47168 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47171 * nscd/hstcache.c (tryagain): Define.
47172 (cache_addhst): Return tryagain not notfound for temporary errors.
47173 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47176 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47179 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47180 to make the syscall.
47181 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47184 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47185 and fall back to matching as normal character if the string ends before
47186 the matching ']' is found. This is what POSIX requires.
47187 * posix/testfnm.c: Adjust test result.
47188 * posix/globtest.sh: Adjust test result. Add new test.
47189 * posix/tst-fnmatch.input: Likewise.
47190 * posix/tst-fnmatch2.c: Add new test.
47192 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47194 * elf/Makefile (check-execstack): Revert last change. Depend on
47196 (check-execstack.h): New target.
47197 (generated): Add check-execstack.h.
47198 * elf/check-execstack.c: Include "check-execstack.h".
47199 (main): Revert last change.
47200 (handle_file): Return zero if GNU_STACK is absent and
47201 DEFAULT_STACK_PERMS doesn't include PF_X.
47203 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47205 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47206 in child fails because the descriptor is already closed.
47207 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47208 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47212 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47216 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47217 temporary buffer used to handle multi lookups locally.
47218 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47222 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47225 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47227 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47228 alignment for SSE2.
47230 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47233 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47234 characters. When rounding increased number of integer digits recompute
47236 * stdio-common/tst-grouping.c: New file.
47237 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47239 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47241 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47242 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47244 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47246 * bits/select.h: Likewise.
47248 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47250 * po/ja.po: Update from translation team.
47252 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47255 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47256 implementation just like for lxstat, fxstatat, et al.
47258 2010-12-27 Jim Meyering <meyering@redhat.com>
47261 * posix/regexec.c (build_trtable): Return failure indication upon
47262 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47264 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47267 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47268 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47270 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47273 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47276 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47277 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47279 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47281 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47282 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47283 script has SORT_BY_INIT_PRIORITY.
47284 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47285 NO_CTORS_DTORS_SECTIONS is defined.
47286 * elf/soinit.c: Likewise.
47287 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47288 NO_CTORS_DTORS_SECTIONS is defined.
47289 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47290 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47291 * sysdeps/sh/init-first.c: Likewise.
47292 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47294 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47296 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47297 always use the slow path.
47299 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47301 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47302 similar rule which adds the sysdep directories to the header search in
47303 order to pick up the correct platform stackinfo.h.
47304 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47305 perform test if it is, otherwise return successfully without testing.
47306 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47307 DEFAULT_STACK_PERMS define in stackinfo.h.
47308 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47309 defined in stackinfo.h.
47310 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47311 DEFAULT_STACK_PERMS defined in stackinfo.h.
47312 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47313 * sysdeps/ia64/stackinfo.h: Likewise.
47314 * sysdeps/s390/stackinfo.h: Likewise.
47315 * sysdeps/sh/stackinfo.h: Likewise.
47316 * sysdeps/sparc/stackinfo.h: Likewise.
47317 * sysdeps/x86_64/stackinfo.h: Likewise.
47318 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47319 PF_X for powerpc64. Retain PF_X for powerpc32.
47321 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47323 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47325 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47326 GETDENTS_64BIT_ALIGNED.
47328 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47330 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47332 2010-12-10 Andreas Schwab <schwab@redhat.com>
47334 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47337 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47338 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47340 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47341 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47343 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47346 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47349 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47351 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47353 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47355 * po/it.po: Update from translation team.
47357 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47362 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47364 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47366 2010-11-24 Andreas Schwab <schwab@redhat.com>
47368 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47370 (gaih_getanswer_slice): Likewise.
47372 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47376 2010-05-31 Petr Baudis <pasky@suse.cz>
47379 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47380 silently even in the chroot mode.
47382 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47385 last patch a bit. Pretty printing
47387 2010-05-31 Petr Baudis <pasky@suse.cz>
47390 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47391 initialization of skip_initgroups_dyn.
47393 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47398 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47400 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47402 2010-11-11 Andreas Schwab <schwab@redhat.com>
47404 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47405 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47406 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47407 ($(objpfx)tst-fnmatch-mem): New rule.
47408 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47409 * posix/tst-fnmatch.c (main): Call mtrace.
47411 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47414 Support Intel processor model 6 and model 0x2c.
47416 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47421 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47424 * string/test-strncasecmp.c (check_result): New function.
47425 (do_one_test): Use it.
47426 (check1): New function.
47427 (test_main): Use it.
47428 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47429 Support strcasecmp and strncasecmp.
47431 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47434 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47437 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47439 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47443 * sysdeps/x86_64/multiarch/bzero.S: New file.
47444 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47445 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47446 * sysdeps/x86_64/multiarch/memset.S: New file.
47447 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47449 Set bit_Prefer_SSE_for_memop for Intel processors.
47450 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47452 (index_Prefer_SSE_for_memop): Define.
47453 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47455 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47458 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47460 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47463 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47464 (__x86_64_raw_data_cache_size_half): Likewise.
47465 (__x86_64_raw_shared_cache_size): Likewise.
47466 (__x86_64_raw_shared_cache_size_half): Likewise.
47468 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47469 (__x86_64_raw_data_cache_size_half): Likewise.
47470 (__x86_64_raw_shared_cache_size): Likewise.
47471 (__x86_64_raw_shared_cache_size_half): Likewise.
47472 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47473 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47474 and __x86_64_raw_shared_cache_size_half. Round
47475 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47476 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47477 to multiple of 256 bytes.
47479 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47483 of inacessible symlinks. Verify result of symlink before returning it.
47484 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47485 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47487 2010-10-28 Erich Ritz <erichritz@gmail.com>
47489 * math/math.h (isinf): Fix typo in comment.
47491 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47493 * po/da.po: Update from translation team.
47495 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47497 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47498 is added to the list.
47500 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47501 Ulrich Drepper <drepper@gmail.com>
47503 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47504 the global list here. Move code to...
47505 (_dl_add_to_namespace_list): ...here. New function.
47506 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47507 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47508 * elf/dl-load.c (lose): Don't remove the element from the list.
47509 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47510 (_dl_map_object): Likewise.
47512 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47515 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47516 into all bytes of SSE register.
47517 Patch by Richard Li <richardpku@gmail.com>.
47519 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47522 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47525 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47527 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47528 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47530 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47535 2010-10-22 Andreas Schwab <schwab@redhat.com>
47537 * include/dlfcn.h (__RTLD_SECURE): Define.
47538 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47539 mode & __RTLD_SECURE instead.
47540 (open_path): Rename preloaded parameter to secure.
47541 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47542 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47543 * elf/dl-deps.c (openaux): Likewise.
47544 * elf/rtld.c (struct map_args): Remove is_preloaded.
47545 (map_doit): Don't use it.
47546 (dl_main): Likewise.
47547 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47548 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47550 2010-09-09 Andreas Schwab <schwab@redhat.com>
47552 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47553 (sysd-rules-targets): Remove duplicates.
47554 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47555 rtld-%.$o dependency.
47557 2010-10-18 Andreas Schwab <schwab@redhat.com>
47559 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47560 _dl_map_object do it.
47562 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47564 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47565 fast fma builtins, define the macros in the C99 standard.
47566 (FP_FAST_FMAF): Likewise.
47567 (FP_FAST_FMAL): Likewise.
47568 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47570 * bits/mathdef.h: Update copyright year.
47571 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47573 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47575 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47576 builtins, define the macros in the C99 standard.
47577 (FP_FAST_FMAF): Likewise.
47578 (FP_FAST_FMAL): Likewise.
47579 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47581 (FP_FAST_FMAF): Likewise.
47583 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47586 * math/libm-test.inc (fma_test): Some new testcases.
47587 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47589 y and infinite z. Do multiplication by C already in long double.
47590 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47592 y and infinite z. Do bitwise or of inexact bit into u.d.
47593 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47594 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47595 * sysdeps/i386/fpu/s_fma.S: Removed.
47596 * sysdeps/i386/fpu/s_fmal.S: Removed.
47598 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47601 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47603 computation is not scheduled after fetestexcept. Fix value
47604 of minimum denormal long double.
47606 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47609 * math/libm-test.inc (fma_test): Add some more tests.
47610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47613 2010-10-15 Andreas Schwab <schwab@redhat.com>
47615 * scripts/data/localplt-s390-linux-gnu.data: New file.
47616 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47618 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47621 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47622 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47624 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47626 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47628 if one of x and y is very large and the other is subnormal.
47629 * sysdeps/s390/fpu/s_fmaf.c: New file.
47630 * sysdeps/s390/fpu/s_fma.c: New file.
47631 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47632 * sysdeps/powerpc/fpu/s_fma.S: New file.
47633 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47634 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47635 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47637 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47640 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47643 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47644 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47645 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47646 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47647 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47650 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47653 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47654 * posix/bug-regex31.input: Add test case.
47656 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47658 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47659 * posix/bug-regex31.input: New file.
47662 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47663 (parse_sub_exp): Fix last change, use postorder.
47665 * posix/bug-regex31.c: New file.
47666 * posix/Makefile: Add rules to build and run bug-regex31.
47668 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47671 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47674 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47675 to have entries in sys_siglist.
47678 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47681 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47684 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47685 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47686 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47687 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47689 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47690 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47691 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47692 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47693 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47694 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47695 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47696 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47697 * math/ftestexcept.c (fetestexcept): Likewise.
47698 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47699 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47700 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47701 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47702 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47703 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47704 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47706 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47709 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47712 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47714 * string/bug-strstr1.c: New file.
47715 * string/Makefile: Add rules to build and run bug-strstr1.
47717 2010-10-05 Eric Blake <eblake@redhat.com>
47720 * string/str-two-way.h (two_way_long_needle): Always clear memory
47721 when skipping input due to the shift table.
47723 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47726 * malloc/mcheck.c: Handle large requests.
47729 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47730 for strncmp and strncasecmp.
47731 * string/stratcliff.c: Add tests for strcmp and strncmp.
47732 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47734 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47736 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47739 2010-09-30 Andreas Jaeger <aj@suse.de>
47741 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47742 (CGROUP_SUPER_MAGIC): Define.
47743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47744 Handle btrfs and cgroup file systems.
47745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47748 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47750 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47751 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47753 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47756 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47757 trying to locate the ELF header.
47759 2010-09-27 Andreas Schwab <schwab@redhat.com>
47762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47763 Mask out sign-bit copies when constructing f_fsid.
47765 2010-09-24 Petr Baudis <pasky@suse.cz>
47767 * debug/stack_chk_fail_local.c: Add missing licence exception.
47768 * debug/warning-nop.c: Likewise.
47770 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47772 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47773 implementing getdents64 using getdents syscall, set d_type if
47774 __ASSUME_GETDENTS32_D_TYPE.
47776 2010-09-16 Andreas Schwab <schwab@redhat.com>
47778 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47779 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47781 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47784 * posix/unistd.h: Undo change of feature selection for ftruncate from
47787 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47789 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47792 2010-09-20 Andreas Schwab <schwab@redhat.com>
47794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47796 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47798 2010-09-14 Andreas Schwab <schwab@redhat.com>
47800 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47801 variables after CHECK_SP call.
47802 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47804 2010-09-13 Andreas Schwab <schwab@redhat.com>
47805 Ulrich Drepper <drepper@redhat.com>
47807 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47808 re-relocationg ld.so.
47809 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47810 _dl_init_paths call.
47811 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47814 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47816 * resolv/res_init.c (__res_vinit): Count the default server we added.
47818 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47819 Ulrich Drepper <drepper@redhat.com>
47822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47823 (____longjmp_chk): Use %ebx for saving value across system call.
47826 2010-09-06 Andreas Schwab <schwab@redhat.com>
47828 * manual/Makefile: Don't mix pattern rules with normal rules.
47830 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47832 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47834 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47835 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47836 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47837 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47841 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47844 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47845 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47847 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47849 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47850 * sysdeps/x86_64/addmul_1.S: Likewise.
47851 * sysdeps/x86_64/lshift.S: Likewise.
47852 * sysdeps/x86_64/mul_1.S: Likewise.
47853 * sysdeps/x86_64/rshift.S: Likewise.
47854 * sysdeps/x86_64/sub_n.S: Likewise.
47855 * sysdeps/x86_64/submul_1.S: Likewise.
47857 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47859 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47860 Define __sched_param instead of SCHED_* and sched_param when
47861 <bits/sched.h> is included with __need_schedparam defined.
47862 * bits/sched.h [__need_schedparam]
47863 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47864 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47865 (__defined_schedparam): Define to 1.
47866 (__sched_param): New structure, identical to sched_param.
47867 (__need_schedparam): Undefine.
47869 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47871 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47872 (epoll_create1): Declare.
47874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47876 2010-08-31 Andreas Schwab <schwab@redhat.com>
47879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47880 shifting retval into place.
47882 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47884 * nis/rpcsvc/nis.h: Update copyright notice.
47885 * nis/rpcsvc/nis.x: Likewise.
47886 * nis/rpcsvc/nis_callback.h: Likewise.
47887 * nis/rpcsvc/nis_callback.x: Likewise.
47888 * nis/rpcsvc/nis_object.x: Likewise.
47889 * nis/rpcsvc/nis_tags.h: Likewise.
47890 * nis/rpcsvc/yp.h: Likewise.
47891 * nis/rpcsvc/yp.x: Likewise.
47892 * nis/rpcsvc/ypupd.h: Likewise.
47893 * nis/yp_xdr.c: Likewise.
47894 * nis/ypupdate_xdr.c: Likewise.
47896 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47897 mainly the body of pmap_getport. Add parameters to specify timeouts.
47898 (pmap_getport): Use __libc_rpc_getport.
47899 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47900 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47901 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47903 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47908 2010-08-27 Roland McGrath <roland@redhat.com>
47910 * sysdeps/i386/i686/multiarch/Makefile
47911 (CFLAGS-varshift.c): New variable.
47913 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47915 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47916 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47920 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47922 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47924 * sysdeps/x86_64/strlen.S: Unroll the loop.
47925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47926 strlen-sse2 strlen-sse2-bsf.
47927 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47928 __strlen_no_bsf if bit_Slow_BSF is set.
47929 (__strlen_sse42): Removed.
47930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47931 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47933 2010-08-25 Roland McGrath <roland@redhat.com>
47935 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47936 * sysdeps/x86_64/multiarch/varshift.c: New file.
47937 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47938 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47939 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47940 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47942 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47945 strlen-sse2 strlen-sse2-bsf.
47946 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47947 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47948 (__strlen_sse2): Removed.
47949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47952 bit_Slow_BSF for Atom.
47953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47954 (index_Slow_BSF): Define.
47955 (HAS_SLOW_BSF): Define.
47957 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47960 * resolv/res_init.c (__res_vinit): When no server address at all
47961 is given default to loopback.
47963 2010-08-24 Roland McGrath <roland@redhat.com>
47965 * configure.in: Remove config-name.h generation.
47966 * configure: Regenerated.
47967 * config-name.in: File removed.
47968 * scripts/config-uname.sh: New file.
47969 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47970 ($(objdir)config-name.h): New target.
47972 * sunrpc/rpc_parse.h: Avoid nested comment.
47974 2010-08-24 Richard Henderson <rth@redhat.com>
47975 Ulrich Drepper <drepper@redhat.com>
47976 H.J. Lu <hongjiu.lu@intel.com>
47978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47980 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47981 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47982 _mm_alignr_epi8 with _mm_loadu_si128.
47983 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47984 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47985 (__m128i_shift_right): Removed.
47986 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47987 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47988 * sysdeps/x86_64/multiarch/varshift.h: New file.
47989 * sysdeps/x86_64/multiarch/varshift.S: New file.
47991 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47993 * configure.in: Move assembler checks to before sysdep dir checking.
47995 2010-08-20 Petr Baudis <pasky@suse.cz>
47997 * LICENSES: Sync the sunrpc license.
47999 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48001 * sunrpc/auth_des.c: Update copyright notice once again.
48002 * sunrpc/auth_none.c: Likewise.
48003 * sunrpc/auth_unix.c: Likewise.
48004 * sunrpc/authdes_prot.c: Likewise.
48005 * sunrpc/authuxprot.c: Likewise.
48006 * sunrpc/bindrsvprt.c: Likewise.
48007 * sunrpc/clnt_gen.c: Likewise.
48008 * sunrpc/clnt_perr.c: Likewise.
48009 * sunrpc/clnt_raw.c: Likewise.
48010 * sunrpc/clnt_simp.c: Likewise.
48011 * sunrpc/clnt_tcp.c: Likewise.
48012 * sunrpc/clnt_udp.c: Likewise.
48013 * sunrpc/clnt_unix.c: Likewise.
48014 * sunrpc/des_crypt.c: Likewise.
48015 * sunrpc/des_soft.c: Likewise.
48016 * sunrpc/get_myaddr.c: Likewise.
48017 * sunrpc/getrpcport.c: Likewise.
48018 * sunrpc/key_call.c: Likewise.
48019 * sunrpc/key_prot.c: Likewise.
48020 * sunrpc/openchild.c: Likewise.
48021 * sunrpc/pm_getmaps.c: Likewise.
48022 * sunrpc/pm_getport.c: Likewise.
48023 * sunrpc/pmap_clnt.c: Likewise.
48024 * sunrpc/pmap_prot.c: Likewise.
48025 * sunrpc/pmap_prot2.c: Likewise.
48026 * sunrpc/pmap_rmt.c: Likewise.
48027 * sunrpc/rpc/auth.h: Likewise.
48028 * sunrpc/rpc/auth_unix.h: Likewise.
48029 * sunrpc/rpc/clnt.h: Likewise.
48030 * sunrpc/rpc/des_crypt.h: Likewise.
48031 * sunrpc/rpc/key_prot.h: Likewise.
48032 * sunrpc/rpc/netdb.h: Likewise.
48033 * sunrpc/rpc/pmap_clnt.h: Likewise.
48034 * sunrpc/rpc/pmap_prot.h: Likewise.
48035 * sunrpc/rpc/pmap_rmt.h: Likewise.
48036 * sunrpc/rpc/rpc.h: Likewise.
48037 * sunrpc/rpc/rpc_des.h: Likewise.
48038 * sunrpc/rpc/rpc_msg.h: Likewise.
48039 * sunrpc/rpc/svc.h: Likewise.
48040 * sunrpc/rpc/svc_auth.h: Likewise.
48041 * sunrpc/rpc/types.h: Likewise.
48042 * sunrpc/rpc/xdr.h: Likewise.
48043 * sunrpc/rpc_clntout.c: Likewise.
48044 * sunrpc/rpc_cmsg.c: Likewise.
48045 * sunrpc/rpc_common.c: Likewise.
48046 * sunrpc/rpc_cout.c: Likewise.
48047 * sunrpc/rpc_dtable.c: Likewise.
48048 * sunrpc/rpc_hout.c: Likewise.
48049 * sunrpc/rpc_main.c: Likewise.
48050 * sunrpc/rpc_parse.c: Likewise.
48051 * sunrpc/rpc_parse.h: Likewise.
48052 * sunrpc/rpc_prot.c: Likewise.
48053 * sunrpc/rpc_sample.c: Likewise.
48054 * sunrpc/rpc_scan.c: Likewise.
48055 * sunrpc/rpc_scan.h: Likewise.
48056 * sunrpc/rpc_svcout.c: Likewise.
48057 * sunrpc/rpc_tblout.c: Likewise.
48058 * sunrpc/rpc_util.c: Likewise.
48059 * sunrpc/rpc_util.h: Likewise.
48060 * sunrpc/rpcinfo.c: Likewise.
48061 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48062 * sunrpc/rpcsvc/key_prot.x: Likewise.
48063 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48064 * sunrpc/rpcsvc/mount.x: Likewise.
48065 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48066 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48067 * sunrpc/rpcsvc/rex.x: Likewise.
48068 * sunrpc/rpcsvc/rstat.x: Likewise.
48069 * sunrpc/rpcsvc/rusers.x: Likewise.
48070 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48071 * sunrpc/rpcsvc/spray.x: Likewise.
48072 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48073 * sunrpc/rtime.c: Likewise.
48074 * sunrpc/svc.c: Likewise.
48075 * sunrpc/svc_auth.c: Likewise.
48076 * sunrpc/svc_authux.c: Likewise.
48077 * sunrpc/svc_raw.c: Likewise.
48078 * sunrpc/svc_run.c: Likewise.
48079 * sunrpc/svc_simple.c: Likewise.
48080 * sunrpc/svc_tcp.c: Likewise.
48081 * sunrpc/svc_udp.c: Likewise.
48082 * sunrpc/svc_unix.c: Likewise.
48083 * sunrpc/svcauth_des.c: Likewise.
48084 * sunrpc/xcrypt.c: Likewise.
48085 * sunrpc/xdr.c: Likewise.
48086 * sunrpc/xdr_array.c: Likewise.
48087 * sunrpc/xdr_float.c: Likewise.
48088 * sunrpc/xdr_mem.c: Likewise.
48089 * sunrpc/xdr_rec.c: Likewise.
48090 * sunrpc/xdr_ref.c: Likewise.
48091 * sunrpc/xdr_sizeof.c: Likewise.
48092 * sunrpc/xdr_stdio.c: Likewise.
48094 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48097 2010-08-19 Andreas Schwab <schwab@redhat.com>
48099 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48101 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48103 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48104 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48105 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48106 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48107 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48108 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48110 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48112 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48113 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48114 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48115 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48116 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48118 2010-07-26 Anton Blanchard <anton@samba.org>
48120 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48121 * malloc/arena.c (heap_trim): Likewise.
48123 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48125 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48128 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48130 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48132 * sysdeps/i386/elf/Makefile: New file.
48134 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48136 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48137 from fanotify_init.
48138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48141 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48143 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48145 * sysdeps/multiarch/strcmp.S: Likewise.
48147 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48150 strncase_l-nonascii.
48151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48152 Add strncase_l-ssse3.
48153 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48154 * sysdeps/x86_64/strcmp.S: Likewise.
48155 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48156 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48157 * sysdeps/x86_64/strncase.S: New file.
48158 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48159 * sysdeps/x86_64/strncase_l.S: New file.
48160 * string/Makefile (strop-tests): Add strncasecmp.
48161 * string/test-strncasecmp.c: New file.
48163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48166 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48169 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48171 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48173 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48175 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48179 2010-05-01 Alan Modra <amodra@gmail.com>
48181 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48182 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48183 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48184 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48185 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48186 tidying. Don't tail-call __sigjmp_save for static lib.
48187 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48189 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48190 (CALL_MCOUNT): Add eh info, and nop after bl.
48191 (TAIL_CALL_SYSCALL_ERROR): New macro.
48192 (PSEUDO_RET): Use it.
48193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48194 Correct save location of integer regs and cr.
48195 (_dl_profile_resolve): Correct cr save location. Delete nops
48196 after bl when SHARED. Reduce cfi size a little by better
48197 placement of cfi directives.
48198 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48199 make a stack frame. Instead use parm save area as a temp.
48200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48201 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48203 Don't make a stack frame for parent, use parm save area.
48204 Increase child stack frame to 112 bytes. Don't save unused reg,
48205 and adjust reg usage. Set up cfi on error recovery and
48206 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48208 (__makecontext): Add dummy nop after jump to exit.
48209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48210 Use correct parm save area and cr save, reduce stack frame.
48211 Correct cfi for possible PSEUDO_RET frame setup.
48212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48213 Branch to local label emitted by PSEUDO_RET rather than
48216 2010-08-12 Andreas Schwab <schwab@redhat.com>
48219 * locale/programs/locale.c (print_assignment): New function.
48220 (show_locale_vars): Use it.
48222 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48224 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48226 (struct statfs64): Likewise.
48227 (_STATFS_F_FLAGS): Define.
48228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48230 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48231 (ST_VALID): Define locally.
48232 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48233 __statvfs_getflags, use the provided value.
48234 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48235 __ASSUME_STATFS_F_FLAGS.
48237 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48240 Add sys/fanotify.h.
48241 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48242 fanotify_mask for GLIBC_2.13.
48243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48244 fanotify_init and fanotify_mark.
48245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48246 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48248 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48250 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48251 prlimit64 for GLIBC_2.13.
48252 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48258 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48262 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48265 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48266 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48268 * nss/Makefile: Add rules to build and run tst-nss-test1.
48269 * shlib-versions: Add entry for libnss_test1.
48270 * nss/nss_test1.c: New file.
48271 * nss/tst-nss-test1.c: New file.
48273 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48274 (__nss_configure_lookup): Set appropriate entry in
48275 __nss_configure_lookup to true.
48276 * nss/nsswitch.h: Define enum with indeces of databases in
48277 databases and __nss_database_custom arrays. Declare
48278 __nss_database_custom.
48279 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48280 to avoid using nscd when custom rules are installed.
48281 * nss/getXXbyYY_r.c: Likewise.
48282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48284 * nss/nss_files/files-parse.c: Whitespace fixes.
48286 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48289 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48290 * posix/fnmatch_loop.c: Likewise.
48292 2010-07-17 Andi Kleen <ak@linux.intel.com>
48294 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48295 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48296 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48297 * Versions.def [GLIBC_2.13]: Add.
48299 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48302 Also fail if tpwd after pwuid call is NULL.
48304 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48306 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48307 when converting to ms.
48309 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48311 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48312 EOPNOTSUPP errors with ENOTTY.
48313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48314 EOPNOTSUPP errors with ENOTTY.
48316 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48318 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48319 Add strcasecmp_l-ssse3.
48320 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48322 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48324 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48326 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48328 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48330 * string/Makefile (strop-tests): Add strcasecmp.
48331 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48332 strcasecmp_l-nonascii.
48333 (gen-as-const-headers): Add locale-defines.sym.
48334 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48335 * sysdeps/x86_64/strcasecmp.S: New file.
48336 * sysdeps/x86_64/strcasecmp_l.S: New file.
48337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48338 * sysdeps/x86_64/locale-defines.sym: New file.
48339 * string/test-strcasecmp.c: New file.
48341 * string/test-strcasestr.c: Test both ends of the range of characters.
48342 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48344 2010-07-29 Roland McGrath <roland@redhat.com>
48347 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48349 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48351 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48354 2010-07-27 Andreas Schwab <schwab@redhat.com>
48356 * manual/memory.texi (Malloc Tunable Parameters): Document
48359 2010-07-26 Roland McGrath <roland@redhat.com>
48362 * configure.in (-fgnu89-inline check): Set and substitute
48363 gnu89_inline, not libc_cv_gnu89_inline.
48364 * configure: Regenerated.
48365 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48367 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48369 * string/test-strnlen.c: New file.
48370 * string/Makefile (strop-tests): Add strnlen.
48371 * string/tester.c (test_strnlen): Add a few more test cases.
48372 * string/tst-strlen.c: Better error reporting.
48374 * sysdeps/x86_64/strnlen.S: New file.
48376 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48379 lower-latency instructions.
48381 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48383 * string/test-strcasestr.c: New file.
48384 * string/test-strstr.c: New file.
48385 * string/Makefile (strop-tests): Add strstr and strcasestr.
48386 * string/str-two-way.h: Don't undefine MAX.
48387 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48389 2010-07-21 Andreas Schwab <schwab@redhat.com>
48391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48392 strcasestr-nonascii.
48393 (CFLAGS-strcasestr-nonascii.c): Define.
48394 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48395 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48396 Remove unused attribute.
48398 2010-07-20 Roland McGrath <roland@redhat.com>
48400 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48401 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48402 ld.so.cache was broken. With it, there is no way to disable dsocaps
48403 like LD_HWCAP_MASK can disable hwcaps.
48405 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48407 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48409 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48411 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48412 call in strcasestr.
48413 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48414 __strcasestr_sse42_nonascii.
48415 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48416 strcasestr-nonascii.c.
48417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48419 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48422 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48424 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48426 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48431 2010-07-06 Andreas Schwab <schwab@redhat.com>
48434 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48437 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48439 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48440 _PC_PIPE_BUF using F_GETPIPE_SZ.
48442 2010-07-05 Roland McGrath <roland@redhat.com>
48444 * manual/arith.texi (Rounding Functions): Fix rint description
48445 implicit in round description.
48447 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48449 * elf/Makefile: Fix linking for a few tests to make recent linker
48452 2010-06-30 Andreas Schwab <schwab@redhat.com>
48454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48455 $(common-objpfx)libc_nonshared.a.
48457 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48459 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48460 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48461 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48462 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48463 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48464 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48465 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48466 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48481 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48482 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48483 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48484 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48485 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48486 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48487 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48488 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48489 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48490 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48491 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48492 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48508 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48510 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48511 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48512 * string/memmove.c (memmove): Renamed to ...
48513 (MEMMOVE): ...this. Default to memmove.
48514 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48515 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48518 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48519 mempcpy-ssse3-back memmove-ssse3-back.
48520 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48523 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48524 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48525 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48526 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48527 * sysdeps/x86_64/multiarch/memmove.c: New file.
48528 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48529 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48530 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48531 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48532 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48535 (index_Fast_Copy_Backward): Define.
48536 (HAS_ARCH_FEATURE): Define.
48537 (HAS_FAST_REP_STRING): Define.
48538 (HAS_FAST_COPY_BACKWARD): Define.
48540 2010-06-21 Andreas Schwab <schwab@redhat.com>
48542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48543 Restore proper fallback handling.
48545 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48548 * posix/group_member.c (__group_member): Correct checking loop.
48550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48551 OOM in getpwuid_r correctly. Return error number when the caller
48552 should return, otherwise -1.
48553 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48554 call returning > 0 value.
48555 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48557 2010-06-07 Andreas Schwab <schwab@redhat.com>
48559 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48560 libc_nonshared.a from targets in modules-names.
48562 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48564 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48567 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48570 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48574 2010-06-02 Andreas Schwab <schwab@redhat.com>
48576 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48578 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48580 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48589 2010-06-14 Roland McGrath <roland@redhat.com>
48591 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48593 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48595 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48596 __REDIRECT followed by __THROW.
48597 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48598 * posix/getopt.h (getopt): Likewise.
48600 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48602 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48603 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48604 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48606 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48607 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48609 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48611 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48613 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48617 Properly check family and model.
48619 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48623 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48625 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48627 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48629 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48632 2010-05-19 Andreas Schwab <schwab@redhat.com>
48634 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48637 2010-05-21 Andreas Schwab <schwab@redhat.com>
48639 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48640 and internal_recvmmsg.
48641 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48642 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48643 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48644 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48646 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48647 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48648 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48650 2010-05-20 Andreas Schwab <schwab@redhat.com>
48652 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48654 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48656 POWER7 optimizations.
48657 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48658 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48660 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48662 * version.h: Update for 2.13 development version.
48664 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48666 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48667 exceptions. Return 0.
48669 2010-05-07 Roland McGrath <roland@redhat.com>
48671 * elf/ldconfig.c (main): Add a const.
48673 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48675 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48676 (args_options): Add no-idn option.
48677 (ahosts_keys_int): Add idn_flags to ai_flags.
48678 (parse_option): Handle 'i' option to clear idn_flags.
48680 * malloc/malloc.c (_int_free): Possible race in the most recently
48681 added check. Only act on the data if no current modification
48684 See ChangeLog.17 for earlier changes.