1 2014-07-03 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6 AC_EGREP_CPP for kernel header checks, so they only succeed if
7 including <linux/version.h> actually works right.
8 * sysdeps/unix/sysv/linux/configure: Regenerated.
10 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11 value so it's not diagnosed as unused.
13 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14 thing) with "ifeq ($(subdir),rt)".
16 2014-07-03 Richard Henderson <rth@redhat.com>
18 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
19 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23 (math_force_eval): New.
25 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28 * sysdeps/alpha/fpu/s_round.c: Remove file.
29 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
35 (_dl_start, print_statistics): Likewise.
36 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44 (HP_SMALL_TIMING_AVAIL): Define.
45 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47 (HP_SMALL_TIMING_AVAIL): Define.
48 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
49 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
51 * sysdeps/aarch64/hp-timing.h: New file.
53 * sysdeps/generic/hp-timing.h: Remove dead comment.
54 * sysdeps/generic/hp-timing-common.h: New file.
55 * sysdeps/alpha/hp-timing.h: Include it.
56 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
57 * sysdeps/i386/i686/hp-timing.h: Likewise.
58 * sysdeps/ia64/hp-timing.h: Likewise.
59 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
64 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
67 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
68 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
69 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
70 * elf/rtld.c (_dl_start_final): Likewise.
71 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
72 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
73 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
74 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
75 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
76 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
77 (HP_TIMING_DIFF_INIT): Remove.
78 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
79 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
80 (HP_TIMING_DIFF_INIT): Remove.
81 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
82 * sysdeps/i386/i686/hp-timing.c: Remove file.
83 * sysdeps/x86_64/hp-timing.c: Remove file.
84 * sysdeps/ia64/hp-timing.c: Remove file.
85 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
86 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
87 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
88 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
90 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
91 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
92 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
93 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
94 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
95 (HP_TIMING_ACCUM): Remove.
96 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
97 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
98 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
100 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
101 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
102 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
103 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
105 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
106 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
107 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
109 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
111 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
113 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
115 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
117 Sync up with gettext.
118 * intl/loadmsgcat.c: Define O_BINARY if not defined.
119 [_MSC_VER]: Include malloc.h
120 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
121 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
122 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
123 TEMP_FAILURE_RETRY. Cast return of alloca.
124 [!_LIBC] Call gl_rwlock_init.
125 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
127 2014-07-02 Roland McGrath <roland@hack.frob.com>
129 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
130 before checking its value.
132 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
134 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
136 * debug/memcpy_chk.c: Don't include pagecopy.h.
137 * debug/mempcpy_chk.c: Likewise.
138 * string/memcpy.c: Likewise.
139 * string/memmove.c: Likewise.
140 * sysdeps/powerpc/memmove.c: Likewise.
141 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
142 definition of PAGE_COPY_FWD_MAYBE here...
143 * sysdeps/generic/pagecopy.h: ... from here.
144 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
146 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
149 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
153 (__libc_ifunc_impl_list): Likewise.
154 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
155 multiarch strcat for PPC64.
156 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
157 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
159 2014-07-02 Roland McGrath <roland@hack.frob.com>
161 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
163 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
165 * intl/loadmsgcat.c: Remove declaration of
166 get_sysdep_segment_value.
167 (get_sysdep_segment_value): Use ISO C style.
168 (_nl_load_domain): Use ISO C style. Get rid of redundant
169 semicolon. Fix typo and formatting in comment.
170 (_nl_unload_domain): Use ISO C style.
172 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
174 2014-07-02 Will Newton <will.newton@linaro.org>
176 * malloc/obstack.c: Merge from gnulib master.
177 [HAVE_CONFIG_H]: Remove conditional code.
178 [!_LIBC]: Include config.h.
179 [!ELIDE_CODE]: Don't include inttypes.h, include
180 stdint.h unconditionally.
181 (print_and_abort): Mark as _Noreturn.
182 (_obstack_allocated_p): Mark as __attribute_pure__.
183 (obstack_free): Rename to __obstack_free.
184 [!__attribute__]: Remove conditional code.
185 * malloc/obstack.h: Merge from gnulib master.
186 [__cplusplus]: Move conditional down.
187 [!__attribute_pure__]: Define __attribute_pure__ here
188 if it is not already defined.
189 (_obstack_memory_used): Mark as __attribute_pure__.
190 [!__obstack_free]: Define as obstack_free.
191 [__GNUC__]: Remove check for ancient NeXT gcc.
193 2014-07-02 Will Newton <will.newton@linaro.org>
194 Paul Eggert <eggert@cs.ucla.edu>
196 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
198 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
200 * resolv/gethnamaddr.c: Add comment warning that the file is
203 2014-07-01 Carlos O'Donell <carlos@redhat.com>
205 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
208 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
209 entry for aio_cancel and aio_cancel64.
210 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
211 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
212 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
213 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
214 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
215 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
217 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
218 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
219 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
220 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
221 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
222 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
224 2014-07-01 Roland McGrath <roland@hack.frob.com>
226 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
227 * nptl/pthread_mutex_lock.c: Likewise.
228 * nptl/pthread_mutex_timedlock.c: Likewise.
229 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
231 2014-07-01 Richard henderson <rth@redhat.com>
233 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
234 (__isnan, __isnanl): Remove.
235 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
237 * sysdeps/alpha/fpu/libm-test-ulps: Update.
239 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
243 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
245 * resolv/nss_dns/dns-host.c (getanswer_r)
246 [MULTI_PTRS_ARE_ALIASES]: Remove code.
248 2014-07-01 Joseph Myers <joseph@codesourcery.com>
250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
251 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
253 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
254 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
256 2014-07-01 Roland McGrath <roland@hack.frob.com>
258 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
259 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
261 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
262 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
264 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
265 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
267 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
268 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
270 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
271 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
272 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
273 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
275 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
276 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
277 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
279 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
281 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
283 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
287 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
289 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
291 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
293 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
295 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
297 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
299 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
301 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
304 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
305 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
306 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
307 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
308 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
309 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
310 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
311 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
313 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
315 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
316 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
317 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
320 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
324 2014-06-30 Joseph Myers <joseph@codesourcery.com>
326 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
327 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
329 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
331 * sysdeps/arm/libm-test-ulps: Regenerated.
333 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
334 Roland McGrath <roland@hack.frob.com>
336 * test-skeleton.c (signal_handler): Kill the whole process group
337 before killing the child individually.
338 (main): Report any failure on `setpgid'.
340 2014-06-30 Roland McGrath <roland@hack.frob.com>
342 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
343 from _TLS_H to _ARM_NPTL_TLS_H.
344 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
345 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
347 2014-06-30 Joseph Myers <joseph@codesourcery.com>
350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
351 (__expm1l): Return argument unchanged when small but not
354 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
356 (_FP_UNPACK_RAW_1_P): Likewise.
357 (_FP_PACK_RAW_1): Likewise.
358 (_FP_PACK_RAW_1_P): Likewise.
359 (_FP_MUL_MEAT_1_wide): Likewise.
360 (_FP_MUL_MEAT_DW_1_hard): Likewise.
361 (_FP_MUL_MEAT_1_hard): Likewise.
362 (_FP_DIV_MEAT_1_imm): Likewise.
363 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
364 (_FP_DIV_MEAT_1_udiv): Likewise.
365 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
366 (_FP_UNPACK_RAW_2): Likewise.
367 (_FP_UNPACK_RAW_2_P): Likewise.
368 (_FP_PACK_RAW_2): Likewise.
369 (_FP_PACK_RAW_2_P): Likewise.
370 (_FP_MUL_MEAT_DW_2_wide): Likewise.
371 (_FP_MUL_MEAT_2_wide): Likewise.
372 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
373 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
374 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
375 (_FP_MUL_MEAT_2_gmp): Likewise.
376 (_FP_DIV_MEAT_2_udiv): Likewise.
377 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
378 (_FP_FRAC_SRL_4): Likewise.
379 (_FP_FRAC_SRST_4): Likewise.
380 (_FP_FRAC_SRS_4): Likewise.
381 (_FP_UNPACK_RAW_4): Likewise.
382 (_FP_UNPACK_RAW_4_P): Likewise.
383 (_FP_PACK_RAW_4): Likewise.
384 (_FP_PACK_RAW_4_P): Likewise.
385 (_FP_MUL_MEAT_DW_4_wide): Likewise.
386 (_FP_MUL_MEAT_4_wide): Likewise.
387 (_FP_MUL_MEAT_4_gmp): Likewise.
388 (umul_ppppmnnn): Likewise.
389 (_FP_DIV_MEAT_4_udiv): Likewise.
390 (__FP_FRAC_ADD_4): Likewise.
391 (__FP_FRAC_SUB_3): Likewise.
392 (__FP_FRAC_SUB_4): Likewise.
393 (__FP_FRAC_DEC_3): Likewise.
394 (__FP_FRAC_DEC_4): Likewise.
395 (__FP_FRAC_ADDI_4): Likewise.
396 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
397 (_FP_FRAC_SRL_8): Likewise.
398 (_FP_FRAC_SRS_8): Likewise.
400 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
402 (FP_UNPACK_RAW_EP): Likewise.
403 (FP_PACK_RAW_E): Likewise.
404 (FP_PACK_RAW_EP): Likewise.
405 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
406 (_FP_ISSIGNAN): Likewise.
407 (_FP_ADD_INTERNAL): Likewise.
410 (_FP_SQRT): Likewise.
411 (_FP_TO_INT): Likewise.
412 (_FP_FROM_INT): Likewise.
413 (FP_EXTEND): Likewise.
414 (_FP_DIV_MEAT_N_loop): Likewise.
416 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
418 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
421 2014-06-29 Joseph Myers <joseph@codesourcery.com>
424 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
425 result with correct sign in case of exponents that produce
426 overflow except for X very close to 1.
428 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
430 mktime: merge #if/#ifdef usage from glibc
431 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
432 as that works with both Glibc's and Gnulib's style.
433 See thread starting at Siddhesh Poyarekar's bug report at:
434 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
436 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
438 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
439 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
440 * sysdeps/tile/tilegx/memmove.c: Remove file.
442 2014-06-27 Joseph Myers <joseph@codesourcery.com>
444 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
446 * scripts/soversions.awk: Do not handle or generate ABI lines.
447 * shlib-versions: Remove ABI entries.
448 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
449 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
451 2014-06-27 Roland McGrath <roland@hack.frob.com>
453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
454 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
461 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
501 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
503 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
504 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
506 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
509 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
510 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
512 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
514 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
517 Identical file removed.
518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
520 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
522 Identical file removed.
523 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
527 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
529 Identical file removed.
530 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
533 Identical file removed.
534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
537 Identical file removed.
538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
541 Identical file removed.
542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
544 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
546 Identical file removed.
547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
549 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
551 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
553 Identical file removed.
554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
556 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
558 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
559 Identical file removed.
560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
562 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
564 Identical file removed.
565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
567 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
569 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
574 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
575 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
576 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
578 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
579 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
580 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
581 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
582 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
584 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
587 * nscd/nscd.c (monitor_child): Return exit status of child
588 instead of return value from wait syscall.
590 2014-06-27 Joseph Myers <joseph@codesourcery.com>
592 * configure.ac (libc_commonpagesize): Remove variable.
593 (libc_relro_required): Likewise.
594 (libc_cv_z_relro): Remove configure test.
595 * configure: Regenerated.
596 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
598 (libc_relro_required): Likewise.
599 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
600 (libc_relro_required): Likewise.
601 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
602 (libc_relro_required): Likewise.
603 * sysdeps/arm/preconfigure: Regenerated.
604 * sysdeps/ia64/preconfigure: Remove file.
605 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
607 (libc_relro_required): Likewise.
611 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
612 (__ieee754_yn): Set FE_TONEAREST mode internally and then
613 recompute overflowing results in original rounding mode.
614 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
615 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
616 recompute overflowing results in original rounding mode.
617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
618 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
619 recompute overflowing results in original rounding mode.
620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
621 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
622 recompute overflowing results in original rounding mode.
623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
624 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
625 recompute overflowing results in original rounding mode.
626 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
627 (libc_feholdsetround_ctx): New macro.
628 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
629 * sysdeps/i386/fpu/libm-test-ulps: Update.
630 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
632 2014-06-26 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
635 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
636 corresponding .cpsetup call.
638 2014-06-26 Roland McGrath <roland@hack.frob.com>
640 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
641 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
642 * sysdeps/arm/Makefile [$(subdir) = csu]
643 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
644 (static-only-routines): Add aeabi_read_tp here.
645 (shared-only-routines): Add libc-aeabi_read_tp here.
646 (CFLAGS-libc-start.c): Add -fexceptions here.
647 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
648 (sysdep_routines, static-only-routines, shared-only-routines):
649 Don't add to these here.
650 (CFLAGS-libc-start.c): Likewise.
652 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
653 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
654 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
655 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
656 * sysdeps/arm/Makefile [$(subdir) = rt]
657 (librt-sysdep_routines, librt-shared-only-routines):
658 Append rt-aeabi_unwind_cpp_pr1 here.
659 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
660 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
661 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
662 (libpthread-sysdep_routines, libpthread-shared-only-routines):
663 Append nptl-aeabi_unwind_cpp_pr1 here.
664 (tests): Filter out tst-cleanupx4 here.
665 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
666 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
669 2014-06-26 Joseph Myers <joseph@codesourcery.com>
671 * scripts/list-sources.sh: Do not handle ports specially.
673 2014-06-26 Roland McGrath <roland@hack.frob.com>
675 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
676 * sysdeps/arm/feupdateenv.c: Likewise.
678 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
680 2014-06-26 Joseph Myers <joseph@codesourcery.com>
682 * manual/texinfo.tex: Update to version 2014-05-05.10 with
683 trailing whitespace removed.
684 * scripts/config.guess: Update to version 2014-03-23.
685 * scripts/config.sub: Update to version 2014-05-01
686 * scripts/install-sh: Update to version 2013-12-25.23.
687 * scripts/move-if-change: Update from gnulib.
689 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
691 * debug/memmove_chk.c: Remove pagecopy.h include.
693 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
695 * time/mktime.c (leapyear): Remove inline keyword. The code is now
696 identical to gnulib mktime.
698 2014-06-26 Joseph Myers <joseph@codesourcery.com>
700 * configure.ac: Do not test for machine being rs6000. Do not test
702 * configure: Regenerated.
704 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
706 * configure: Regenerated.
707 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
708 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
709 Remove configure test.
710 * sysdeps/arm/configure: Regenerated.
711 * sysdeps/nptl/configure.ac: Do not check
712 libc_cv_asm_cfi_directives.
713 * sysdeps/nptl/configure: Regenerated.
714 * sysdeps/x86_64/nptl/configure.ac: Remove file.
715 * sysdeps/x86_64/nptl/configure: Remove generated file.
716 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
718 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
720 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
722 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
723 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
724 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
727 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
728 instead of whether it is defined.
729 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
730 * sysdeps/hppa/dl-machine.h: Likewise.
731 * sysdeps/ia64/dl-machine.h: Likewise.
732 * sysdeps/m68k/dl-machine.h: Likewise.
733 * sysdeps/microblaze/dl-machine.h: Likewise.
734 * sysdeps/mips/dl-machine.: Likewise.
735 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
736 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
737 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
738 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
739 * sysdeps/sh/dl-machine.h: Likewise.
740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
742 * sysdeps/tile/dl-machine.h: Likewise.
743 * sysdeps/x86_64/dl-machine.h: Likewise.
745 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
747 (verify_persistent_db): Likewise.
749 2014-06-26 Roland McGrath <roland@hack.frob.com>
751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
752 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
757 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
762 Identical file removed.
763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
775 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
779 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
782 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
786 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
788 Identical file removed.
789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
790 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
795 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
809 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
812 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
814 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
817 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
821 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
823 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
824 * sysdeps/unix/sysv/linux/s390/Versions
825 (libpthread: GLIBC_2.19): New version set.
826 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
827 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
828 (librt: GLIBC_2.3.3): New version set.
829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
831 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
833 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
834 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
835 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
836 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
837 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
838 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
839 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
840 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
841 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
842 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
843 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
844 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
845 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
846 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
848 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
849 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
855 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
857 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
859 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
869 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
876 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
877 (__libc_vfork): Define the function under this name.
878 [!NOT_IN_libc] (__vfork): Make this an alias.
879 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
881 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
882 (__libc_vfork): Define the function under this name.
883 [!NOT_IN_libc] (__vfork): Make this an alias.
884 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
885 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
886 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
889 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
891 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
892 code that was previously under [RESET_PID].
893 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
897 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
898 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
899 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
900 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
901 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
902 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
903 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
904 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
905 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
906 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
907 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
909 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
910 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
912 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
914 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
916 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
917 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
918 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
920 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
921 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
922 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
923 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
924 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
925 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
926 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
927 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
928 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
930 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
931 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
932 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
933 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
934 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
935 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
937 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
939 2014-06-25 Roland McGrath <roland@hack.frob.com>
941 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
942 that was previously under [RESET_PID].
943 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
945 2014-06-25 Joseph Myers <joseph@codesourcery.com>
947 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
948 not undefine and redefine.
949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
950 [O_CLOEXEC]: Make code unconditional.
951 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
952 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
954 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
955 conditional variable definition.
956 (shm_open) [O_CLOEXEC]: Make code unconditional.
957 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
960 * configure.ac (USE_REGPARMS): Don't define here.
961 * configure: Regenerated.
962 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
963 * sysdeps/i386/configure: Regenerated.
965 * nptl/createthread.c: Don't include kernel-features.h.
966 * nptl/pthread_cancel.c: Likewise.
967 * nptl/pthread_condattr_setclock.c: Likewise.
968 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
969 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
970 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
971 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
972 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
973 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
974 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
976 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
977 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
978 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
979 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
980 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
981 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
982 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
983 * nscd/gai.c: Likewise.
984 * nss/nss_db/db-open.c: Likewise.
985 * sysdeps/generic/ldsodefs.h: Likewise.
986 * sysdeps/sh/nptl/tls.h: Likewise.
987 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
988 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
989 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
990 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
991 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
992 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
993 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
995 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
996 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
997 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
999 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1000 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1001 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1002 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1003 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1004 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1005 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1006 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1009 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1010 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1014 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1015 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1016 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1017 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1021 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1022 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1023 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1024 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1025 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1026 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1027 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1028 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1029 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1031 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1032 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1033 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1034 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1035 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1036 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1037 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1038 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1039 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1040 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1041 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1042 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1044 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1067 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1068 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1069 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1070 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1071 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1072 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1073 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1074 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1075 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1076 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1078 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1079 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1080 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1081 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1082 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1083 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1085 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1086 * sysdeps/unix/sysv/linux/system.c: Likewise.
1087 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1088 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1089 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1090 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1091 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1093 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1095 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1096 * configure: Regenerated.
1097 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1099 * configure.ac (base_machine): Do not set specially for particular
1101 * configure: Regenerated.
1102 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1103 settings from configure.ac.
1104 * sysdeps/i386/preconfigure: New file.
1105 * sysdeps/s390/preconfigure: Likewise.
1106 * sysdeps/sh/preconfigure: Likewise.
1107 * sysdeps/sparc/preconfigure: Likewise.
1109 2014-06-25 Roland McGrath <roland@hack.frob.com>
1111 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1112 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1113 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1114 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1115 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1116 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1117 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1118 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1119 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1120 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1121 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1122 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1125 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1126 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1128 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1129 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1131 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1132 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1134 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1135 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1136 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1137 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1138 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1139 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1140 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1141 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1142 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1143 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1144 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1145 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1146 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1147 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1148 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1149 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1152 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1156 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1162 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1164 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1166 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1168 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1176 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1190 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1193 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1201 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1205 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1209 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1220 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1226 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1232 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1234 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1237 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1239 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1241 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1243 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1245 * timezone/checktab.awk: Update from tzcode 2014e.
1246 * timezone/private.h: Likewise.
1247 * timezone/tzfile.h: Likewise.
1248 * timezone/zdump.c: Likewise.
1249 * timezone/zic.c: Likewise.
1251 * sysdeps/unix/sysv/linux/kernel-features.h
1252 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1254 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1255 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1256 Remove conditional code.
1258 2014-06-25 Will Newton <will.newton@linaro.org>
1260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1261 (_dl_arm_cap_flags): Add HWCAP2 values.
1262 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1263 (_DL_HWCAP_COUNT): Increase to 37.
1264 (_DL_HWCAP_LAST): New define.
1265 (_DL_HWCAP2_LAST): New define.
1266 (_dl_procinfo): Add support for printing
1268 (_dl_string_hwcap): Use _dl_hwcap_string.
1270 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1274 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1276 * README: Do not mention ports directory.
1278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1280 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1281 <kernel-features.h>.
1282 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1283 conditional variable definition.
1284 (__futimes): Update comment.
1285 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1286 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1289 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1290 arguments close to 0.
1291 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1295 * math/auto-libm-test-in: Add more tests of exp10.
1296 * math/auto-libm-test-out: Regenerated.
1297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1299 * sysdeps/unix/sysv/linux/kernel-features.h
1300 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1301 * sysdeps/unix/sysv/linux/readv.c: Do not include
1302 <kernel-features.h>.
1303 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1304 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1305 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1307 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1309 * sysdeps/unix/sysv/linux/writev.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_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1315 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1318 2014-06-25 Will Newton <will.newton@linaro.org>
1320 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1321 comment changes throughout the file. Remove checks
1322 for HAVE_*_H definitions that are not required.
1323 (__gen_tempname): Call abort if an unknown kind value is
1326 2014-06-25 Andreas Schwab <schwab@suse.de>
1329 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1330 scalbln, scalblnf, scalblnl in libc.
1332 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1335 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1336 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1337 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1339 2014-06-24 Roland McGrath <roland@hack.frob.com>
1341 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1342 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1343 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1344 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1346 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1347 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1349 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1350 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1351 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1352 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1353 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1354 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1355 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1356 * sysdeps/x86/bits/semaphore.h: ... here.
1357 * sysdeps/x86/nptl/elide.h: Moved ...
1358 * sysdeps/x86/elide.h: ... here.
1359 * sysdeps/x86_64/nptl/Implies: File removed.
1360 * sysdeps/i386/nptl/Implies: File removed.
1362 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1366 return the argument for normal arguments with exponent below -64.
1367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1369 * math/auto-libm-test-in: Add another test of expm1.
1370 * math/auto-libm-test-out: Regenerated.
1373 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1374 calling __erfcl for arguments at least 16.
1375 * math/auto-libm-test-in: Add more tests of erf.
1376 * math/auto-libm-test-out: Regenerated.
1378 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1379 individual architectures.
1380 * sysdeps/unix/sysv/linux/configure: Regenerated.
1381 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1382 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1383 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1384 (ldd_rewrite_script): Define variable.
1385 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1390 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1391 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1392 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1393 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1394 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1395 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1396 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1397 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1399 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1402 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1403 Rename member __data.d to __data.__elision_data.
1405 2014-06-24 Wilco <wdijkstr@arm.com>
1407 * NEWS: Add 16918 to fixed bug list.
1409 2014-06-24 Wilco <wdijkstr@arm.com>
1411 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1413 2014-06-24 Wilco <wdijkstr@arm.com>
1415 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1416 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1417 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1418 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1419 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1420 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1421 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1424 2014-06-24 Wilco <wdijkstr@arm.com>
1426 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1428 2014-06-24 Wilco <wdijkstr@arm.com>
1430 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1431 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1432 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1433 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1435 2014-06-24 Wilco <wdijkstr@arm.com>
1438 * sysdeps/arm/feupdateenv.c (feupdateenv):
1439 Rewrite to reduce FPSCR accesses and fix return value.
1441 2014-06-24 Wilco <wdijkstr@arm.com>
1443 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1444 Optimize to avoid unnecessary FPSCR writes.
1445 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1446 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1447 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1448 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1450 2014-06-24 Wilco <wdijkstr@arm.com>
1452 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1454 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1455 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1456 Call libc_fetestexcept_vfp.
1457 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1458 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1459 __SOFTFP__ ifdef so that they can be built for softfp.
1461 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1463 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1464 argument type signed char.
1466 * Makerules (check-abi): Dump diff of symlist if the test
1469 2014-06-23 Roland McGrath <roland@hack.frob.com>
1471 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1474 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1475 Remove unused variable ST.
1477 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1481 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1482 small arguments before calling __expm1.
1483 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1484 small arguments before calling __expm1f.
1485 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1486 small arguments before calling __expm1l.
1487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1489 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1490 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1491 spurious underflow for some cosh tests.
1492 * math/auto-libm-test-out: Regenerated.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1496 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1497 (__ieee754_y1): Set errno if return value overflows.
1498 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1499 (__ieee754_y1f): Set errno if return value overflows.
1500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1501 (__ieee754_y1l): Set errno if return value overflows.
1502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1503 (__ieee754_y1l): Set errno if return value overflows.
1504 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1505 * math/auto-libm-test-out: Regenerated.
1507 * math/gen-auto-libm-tests.c: Document use of
1508 ignore-zero-inf-sign.
1509 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1510 (input_flags): Add ignore-zero-inf-sign.
1511 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1512 * math/gen-libm-test.pl (generate_testfile): Handle
1513 ignore-zero-inf-sign.
1514 * math/auto-libm-test-in: Mark some cpow tests with
1515 ignore-zero-inf-sign and some with xfail-rounding.
1516 * math/auto-libm-test-out: Regenerated.
1517 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1518 * sysdeps/i386/fpu/libm-test-ulps: Update.
1519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1523 overflowing or underflowing operations take place with sign of
1525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1526 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1527 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1528 (__ieee754_pow): Recompute overflowing and underflowing results in
1529 original rounding mode.
1530 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1531 (__powl_helper): Allow negative argument X and scale negated value
1532 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1533 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1534 overflowing or underflowing operations take place with sign of
1536 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1538 * math/auto-libm-test-in: Add more tests of pow.
1539 * math/auto-libm-test-out: Regenerated.
1540 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1541 (pow_tonearest_test_data): Remove.
1542 (pow_test_tonearest): Likewise.
1543 (pow_towardzero_test_data): Likewise.
1544 (pow_test_towardzero): Likewise.
1545 (pow_downward_test_data): Likewise.
1546 (pow_test_downward): Likewise.
1547 (pow_upward_test_data): Likewise.
1548 (pow_test_upward): Likewise.
1549 (main): Don't call removed functions.
1550 * sysdeps/i386/fpu/libm-test-ulps: Update.
1551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553 2014-06-23 Roland McGrath <roland@hack.frob.com>
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1729 2014-06-23 Will Newton <will.newton@linaro.org>
1730 Wilco <wdijkstr@arm.com>
1732 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1733 implementation. Include get-rounding-mode.h.
1734 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1735 [!libc_feholdsetround_noex_ctx]: Define
1736 libc_feholdsetround_noex_ctx.
1737 [!libc_feholdsetround_noexf_ctx]: Define
1738 libc_feholdsetround_noexf_ctx.
1739 [!libc_feholdsetround_noexl_ctx]: Define
1740 libc_feholdsetround_noexl_ctx.
1741 (libc_feholdsetround_ctx): New function.
1742 (libc_feresetround_ctx): New function.
1743 (libc_feholdsetround_noex_ctx): New function.
1744 (libc_feresetround_noex_ctx): New function.
1746 2014-06-23 Roland McGrath <roland@hack.frob.com>
1748 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1749 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1750 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1751 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1752 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1753 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1755 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1756 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1757 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1758 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1759 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1760 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1762 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1767 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1775 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1784 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1787 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1792 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1796 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1797 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1798 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1803 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1810 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1819 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1826 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1830 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1832 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1833 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1861 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1864 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1865 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1866 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1867 (IPV6_PMTUDISC_INTERFACE): Likewise.
1868 (IPV6_PMTUDISC_OMIT): Likewise.
1870 2014-06-23 Andreas Schwab <schwab@suse.de>
1872 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1873 Remove unused errout label.
1875 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1877 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1878 macro: hardware supports Vector Crypto instructions.
1880 2014-06-23 Will Newton <will.newton@linaro.org>
1882 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1883 rather than __builtin_expect.
1885 * elf/dl-lookup.c (undefined_msg): Remove variable.
1886 (_dl_lookup_symbol_x): Replace undefined_msg with string
1889 * elf/dl-lookup.c (do_lookup_unique): New function.
1890 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1891 to a separate function.
1893 2014-06-23 Andreas Schwab <schwab@suse.de>
1896 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1897 before reading the next line.
1899 2014-06-23 Will Newton <will.newton@linaro.org>
1901 * test-skeleton.c (signal_handler): Use printf and %m
1902 rather than perror. Use printf rather than fprintf to
1903 stderr. Use puts rather than fputs to stderr.
1906 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1908 * nscd/nscd.c (thread_info_t): Remove typedef.
1909 (thread_info): Remove variable.
1911 2014-06-21 Allan McRae <allan@archlinux.org>
1913 * NEWS: Mention CVE-2014-4043.
1915 2014-06-20 Roland McGrath <roland@hack.frob.com>
1917 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1918 * nptl/smp.h: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1922 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1923 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1924 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1925 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1927 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1928 * nptl/stack-aliasing.h: New file.
1929 * sysdeps/i386/i686/stack-aliasing.h: New file.
1930 * sysdeps/i386/i686/nptl/Makefile: File removed.
1931 * sysdeps/x86_64/stack-aliasing.h: New file.
1932 * sysdeps/x86_64/nptl/Makefile
1933 (CFLAGS-pthread_create.c): Variable removed.
1935 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1936 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1938 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1939 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1942 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1945 (__ASSUME_SIGFRAME_V2): Remove macro.
1946 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1947 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1948 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1949 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1950 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1951 Declare as function. Remove conditional macro definitions.
1952 (__default_rt_sa_restorer): Likewise.
1953 (__default_sa_restorer_v1): Remove declaration.
1954 (__default_sa_restorer_v2): Likewise.
1955 (__default_rt_sa_restorer_v1): Likewise.
1956 (__default_rt_sa_restorer_v2): Likewise.
1957 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1958 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1959 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1961 2014-06-20 Roland McGrath <roland@hack.frob.com>
1963 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1964 (libpthread-routines): Add sysdep.
1965 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1966 * sysdeps/unix/sysv/linux/sparc/Versions
1967 (libpthread: GLIBC_2.3.3): New version set.
1968 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1969 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1970 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1972 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1973 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1975 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1977 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1979 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1981 * sysdeps/sparc/nptl/sem_init.c: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1983 * sysdeps/sparc/nptl/sem_post.c: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1985 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1987 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1989 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1990 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1991 (libpthread-routines): Add cpu_relax.
1992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1994 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1995 (librt: GLIBC_2.3.3): New version set.
1996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1997 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1999 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2002 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2005 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2007 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2009 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2011 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2016 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2024 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2028 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2039 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2041 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2047 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2054 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2056 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2058 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2059 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2060 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2061 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2062 * nscd/nscd.c: Likewise.
2063 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2064 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2065 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2066 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2068 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2069 <kernel-features.h>.
2070 (init_mq_netlink): Remove conditional have_sock_cloexec
2071 definitions. Remove code conditional on have_sock_cloexec < 0.
2072 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2073 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2074 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2075 <kernel-features.h>.
2076 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2077 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2079 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2082 Add tests for memset_chk and memset.
2084 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2087 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2090 * elf/tst-dl-iter-static.c: New file.
2091 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2093 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2096 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2098 * sysdeps/unix/sysv/linux/kernel-features.h
2099 (__ASSUME_F_GETOWN_EX): Remove macro.
2100 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2101 <kernel-features.h>.
2102 (miss_F_GETOWN_EX): Remove variable or macro.
2103 (do_fcntl): Do not check miss_F_GETOWN_EX.
2104 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2109 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2110 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2112 * sysdeps/unix/sysv/linux/kernel-features.h
2113 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2114 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2115 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2116 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2118 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2121 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2122 Fix calculation of the symbol's value.
2123 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2124 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2125 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2126 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2127 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2128 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2129 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2130 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2131 (modules-names): Add `tst-armtlsdescmod',
2132 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2133 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2134 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2135 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2136 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2137 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2138 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2139 ($(objpfx)tst-armtlsdescloc): New dependency.
2140 ($(objpfx)tst-armtlsdescextnow): Likewise.
2141 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2142 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2144 * sysdeps/arm/configure: Regenerate.
2146 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2148 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2149 (__atfct_seterrno_2): Likewise.
2150 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2151 <kernel-features.h>.
2152 (__ASSUME_ATFCTS): Do not undefine and redefine.
2153 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2154 (__have_atfcts): Remove conditional definition.
2155 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2156 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2157 unreachable if [__ASSUME_ATFCTS].
2158 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2159 not undefine and redefine.
2160 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2161 <kernel-features.h>.
2162 (faccessat) [__NR_faccessat]: Make code unconditional.
2163 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2164 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2165 <kernel-features.h>.
2166 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2167 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2168 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2169 <kernel-features.h>.
2170 (fchownat) [__NR_fchownat]: Make code unconditional.
2171 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2172 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2173 <kernel-features.h>.
2174 (futimesat) [__NR_futimesat]: Make code unconditional.
2175 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2176 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2177 <kernel-features.h>.
2178 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2180 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2181 <kernel-features.h>.
2182 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2183 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2184 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2185 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2186 <kernel-features.h>.
2187 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2188 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2190 <kernel-features.h>.
2191 (linkat) [__NR_linkat]: Make code unconditional.
2192 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2193 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2194 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2195 <kernel-features.h>.
2196 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2197 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2198 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2199 <kernel-features.h>.
2200 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2201 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2202 * sysdeps/unix/sysv/linux/openat.c: Do not include
2203 <kernel-features.h>.
2204 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2205 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2206 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2207 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2209 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2210 <kernel-features.h>.
2211 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2212 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2213 result of INLINE_SYSCALL directly, not via int variable.
2214 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2215 <kernel-features.h>.
2216 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2217 (renameat) [__NR_renameat]: Make code unconditional.
2218 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2219 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2220 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2223 (__ASSUME_ATFCTS): Do not undefine and redefine.
2224 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2225 <kernel-features.h>.
2226 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2227 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2228 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2229 <kernel-features.h>.
2230 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2231 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2232 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2233 (__ASSUME_ATFCTS): Do not undefine and redefine.
2234 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2235 <kernel-features.h>.
2236 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2237 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2238 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2239 <kernel-features.h>.
2240 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2241 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2243 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2245 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2247 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2250 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2251 constructed tree before returning error.
2252 * posix/bug-regexp36.c: Expand test case.
2254 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2257 * math/libm-test.inc (scalbln_test_date):
2258 Add errno expectations.
2259 * math/w_scalblnf.c: New File.
2260 Add wrapper which checks for setting errno to ERANGE.
2261 Add weak_alias for corresponding scalbln function.
2262 * math/w_scalbln.c: Likewise.
2263 * math/w_scalblnl.c: Likewise.
2264 * math/Makefile (libm-calls): Add w_scalbln.
2265 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2266 Remove weak_alias for corresponding scalbln function.
2267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2271 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2272 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2273 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2274 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2276 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2277 Remove long_double_symbol for scalblnl function in libm, libc.
2278 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2279 Add wrapper which checks for setting errno to ERANGE.
2280 Add long_double_symbol for scalblnl function in libm, libc.
2281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2282 Remove long_double_symbol for scalblnl in libm.
2283 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2284 Add wrapper which checks for setting errno to ERANGE.
2285 Add long_double_symbol for scalblnl function in libm.
2286 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2287 Do not use wrapper because of own implementation.
2289 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2291 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2292 3 bytes for __pad1 for x32.
2293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2295 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2296 H.J. Lu <hongjiu.lu@intel.com>
2298 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2299 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2300 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2302 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2304 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2307 * posix/regcomp.c (parse_expression): Deallocate partially
2308 constructed tree before returning error.
2309 * posix/Makefile.c (tests): Add bug-regex36.
2310 (generated): Add bug-regex36.mtrace.
2311 (tests-special): Add $(objpfx)bug-regex36-mem.out
2312 (bug-regex36-ENV): New variable.
2313 ($(objpfx)bug-regex36-mem.out): New rule.
2314 * posix/bug-regex36.c: New file.
2316 2014-06-19 Will Newton <will.newton@linaro.org>
2318 * malloc/malloc.c (systrim): If extra is zero then return
2321 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2323 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2325 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2327 * sysdeps/aarch64/strchr.S: New file.
2329 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2332 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2333 from arguments -2 or below.
2334 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2335 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2337 2014-06-18 Andreas Schwab <schwab@suse.de>
2340 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2341 of a bracket expr not to run off the end of the string.
2342 * posix/Makefile (tests): Add tst-fnmatch3.
2343 * posix/tst-fnmatch3.c: New file.
2345 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2347 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2348 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2349 [$(cross-compiling) = no]: Likewise.
2350 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2351 [$(cross-compiling) = no]: Likewise.
2353 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2357 double, adjusted for any remainder from the high double.
2358 * math/libm-test.inc (nearbyint): Add tests.
2361 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2363 * nptl/sysdeps/powerpc/Makefile: Moved ...
2364 * sysdeps/powerpc/nptl/Makefile: ... here.
2365 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2366 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2367 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2368 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2369 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2370 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2371 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2372 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2373 * nptl/sysdeps/powerpc/tls.h: Moved ...
2374 * sysdeps/powerpc/nptl/tls.h: ... here.
2376 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2379 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2380 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2381 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2382 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2383 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2384 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2385 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2386 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2387 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2389 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2391 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2393 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2395 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2398 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2401 2014-06-16 Florian Weimer <fweimer@redhat.com>
2404 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2405 non-executed part of the test.
2407 2014-06-16 Andreas Schwab <schwab@suse.de>
2409 * string/bits/string2.h (strdup, strndup): Update feature guard.
2411 2014-06-14 David S. Miller <davem@davemloft.net>
2413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2415 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2417 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2418 that was previously under [RESET_PID].
2419 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2421 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2422 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2423 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2425 (__libc_vfork): New strong alias.
2426 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2428 2014-06-14 Andi Kleen <ak@linux.intel.com>
2430 * sysdeps/generic/elide.h: New file.
2432 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2434 * Makefile (installed-headers): Adjust path of pthread.h header.
2436 2014-06-13 Roland McGrath <roland@hack.frob.com>
2438 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2439 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2441 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2443 * nptl/sysdeps/s390/Makefile: Moved ...
2444 * sysdeps/s390/nptl/Makefile: ... here.
2445 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2446 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2447 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2448 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2449 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2450 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2451 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2452 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2453 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2454 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2455 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2456 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2457 * nptl/sysdeps/s390/tls.h: Moved ...
2458 * sysdeps/s390/nptl/tls.h: ... here.
2460 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2461 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2463 2014-06-13 David S. Miller <davem@davemloft.net>
2465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2473 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2474 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2475 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2476 Remove RESET_PID cpp guards.
2477 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2478 Remove RESET_PID cpp guards.
2479 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2481 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2483 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2486 2014-06-13 Andi Kleen <ak@linux.intel.com>
2488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2491 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2492 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2502 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2509 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2510 (pthread_rwlock_rdlock): Add elision.
2511 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2512 (pthread_rwlock_wrlock): Add elision.
2513 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2514 (pthread_rwlock_trywrlock): Add elision.
2515 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2516 (pthread_rwlock_tryrdlock): Add elision.
2517 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2518 (pthread_rwlock_tryrdlock): Add elision unlock.
2519 * nptl/sysdeps/pthread/pthread.h:
2520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2521 (PTHREAD_RWLOCK_INITIALIZER,
2522 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2523 Handle new elision field.
2524 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2525 * sysdeps/arm/nptl/bits/pthreadtypes.h
2526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2527 * sysdeps/sh/nptl/bits/pthreadtypes.h
2528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2529 * sysdeps/tile/nptl/bits/pthreadtypes.h
2530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2531 * sysdeps/a/nptl/bits/pthreadtypes.h
2532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2533 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2535 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2537 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2539 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2541 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2543 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2545 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2547 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2549 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2550 (elision_init): Set try_xbegin to zero when no RTM.
2551 * sysdeps/x86/nptl/bits/pthreadtypes.h
2552 (pthread_rwlock_t): Change __pad1 to __rwelision.
2553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2555 2014-06-13 Andi Kleen <ak@linux.intel.com>
2557 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2558 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2559 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2560 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2562 2014-06-13 Meador Inge <meadori@codesourcery.com>
2565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2566 that the cached result has been set before returning it.
2568 2014-06-12 Roland McGrath <roland@hack.frob.com>
2570 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2571 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2572 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2573 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2575 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2577 * nptl/sysdeps/sparc/Makefile: Moved ...
2578 * sysdeps/sparc/nptl/Makefile: ... here.
2579 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2580 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2581 * nptl/sysdeps/sparc/tls.h: Moved ...
2582 * sysdeps/sparc/nptl/tls.h: ... here.
2583 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2584 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2585 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2586 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2587 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2588 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2589 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2590 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2591 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2592 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2593 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2594 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2595 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2596 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2597 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2598 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2599 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2602 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2605 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2608 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2612 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2614 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2615 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2617 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2618 (struct list_links): Type removed.
2619 (struct thread_node, struct timer_node): Replace struct list_links
2620 with struct list_head.
2621 (list_unlink_ip): Likewise.
2622 * sysdeps/pthread/timer_routines.c
2623 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2624 (list_append, list_insbefore): Likewise.
2625 (list_init): Function removed.
2626 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2627 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2628 * sysdeps/pthread/Makefile: ... here, new file.
2630 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2631 * sysdeps/nptl/Implies: ... here.
2632 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2633 * nptl/sysdeps/pthread/list.h: Moved ...
2634 * include/list.h: ... here.
2635 * nptl/sysdeps/pthread/createthread.c: Moved ...
2636 * nptl/createthread.c: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2638 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2639 * nptl/pt-longjmp.c: ... here.
2640 * nptl/sysdeps/pthread/Makefile: Moved ...
2641 * sysdeps/nptl/Makefile: ... here.
2642 * nptl/sysdeps/pthread/Subdirs: Moved ...
2643 * sysdeps/nptl/Subdirs: ... here.
2644 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2645 * sysdeps/nptl/aio_misc.h: ... here.
2646 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2647 * sysdeps/nptl/bits/libc-lock.h: ... here.
2648 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2649 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2650 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2651 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2652 * nptl/sysdeps/pthread/configure: Moved ...
2653 * sysdeps/nptl/configure: ... here.
2654 * nptl/sysdeps/pthread/configure.ac: Moved ...
2655 * sysdeps/nptl/configure.ac: ... here.
2656 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2657 * sysdeps/nptl/gai_misc.h: ... here.
2658 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2659 * sysdeps/nptl/librt-cancellation.c: ... here.
2660 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2661 * sysdeps/nptl/malloc-machine.h: ... here.
2662 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2663 * sysdeps/nptl/pthread-functions.h: ... here.
2664 * nptl/sysdeps/pthread/pthread.h: Moved ...
2665 * sysdeps/nptl/pthread.h: ... here.
2666 * nptl/sysdeps/pthread/setxid.h: Moved ...
2667 * sysdeps/nptl/setxid.h: ... here.
2668 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2669 * sysdeps/nptl/sigfillset.c: ... here.
2670 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2671 * sysdeps/nptl/tcb-offsets.h: ... here.
2672 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2673 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2674 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2675 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2676 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2677 * sysdeps/pthread/allocalim.h: ... here.
2678 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2679 * sysdeps/pthread/bits/sigthread.h: ... here.
2680 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2681 * sysdeps/pthread/flockfile.c: ... here.
2682 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2683 * sysdeps/pthread/ftrylockfile.c: ... here.
2684 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2685 * sysdeps/pthread/funlockfile.c: ... here.
2686 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2687 * sysdeps/pthread/posix-timer.h: ... here.
2688 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2689 * sysdeps/pthread/timer_create.c: ... here.
2690 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2691 * sysdeps/pthread/timer_delete.c: ... here.
2692 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2693 * sysdeps/pthread/timer_getoverr.c: ... here.
2694 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2695 * sysdeps/pthread/timer_gettime.c: ... here.
2696 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2697 * sysdeps/pthread/timer_routines.c: ... here.
2698 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2699 * sysdeps/pthread/timer_settime.c: ... here.
2700 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2701 * sysdeps/pthread/tst-timer.c: ... here.
2702 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2703 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2705 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2706 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2708 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2709 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2710 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2711 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2712 Update #include target.
2713 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2714 * sysdeps/i386/i686/nptl/Makefile: ... here.
2715 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2716 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2717 Update #include target.
2718 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2719 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2720 * nptl/sysdeps/i386/Makefile: Moved ...
2721 * sysdeps/i386/nptl/Makefile: ... here.
2722 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2723 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2724 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2725 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2726 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2727 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2728 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2729 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2730 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2731 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2732 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2733 * nptl/sysdeps/i386/tls.h: Moved ...
2734 * sysdeps/i386/nptl/tls.h: ... here.
2736 * sysdeps/sh/Makefile [$(subdir) = csu]
2737 (gen-as-const-headers): Add tcb-offsets.sym.
2738 * nptl/sysdeps/sh/Makefile: File removed.
2739 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2740 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2741 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2742 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2743 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2744 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2745 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2746 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2747 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2748 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2749 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2750 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2751 * nptl/sysdeps/sh/tls.h: Moved ...
2752 * sysdeps/sh/nptl/tls.h: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2754 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2756 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2758 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2760 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2762 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2764 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2766 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2768 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2770 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2772 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2774 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2779 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2786 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2787 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2788 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2789 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2790 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2791 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2792 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2793 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2794 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2796 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2797 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2798 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2799 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2800 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2802 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2804 * posix/spawn_faction_addopen.c: Include string.h.
2806 2014-06-11 Roland McGrath <roland@hack.frob.com>
2808 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2809 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2810 * nptl/sysdeps/x86_64/Makefile: Moved ...
2811 * sysdeps/x86_64/nptl/Makefile: ... here.
2812 * nptl/sysdeps/x86_64/configure: Moved ...
2813 * sysdeps/x86_64/nptl/configure: ... here.
2814 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2815 * sysdeps/x86_64/nptl/configure.ac: ... here.
2816 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2817 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2818 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2819 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2820 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2821 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2822 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2823 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2824 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2825 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2826 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2827 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2828 * nptl/sysdeps/x86_64/tls.h: Moved ...
2829 * sysdeps/x86_64/nptl/tls.h: ... here.
2830 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2831 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2832 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2833 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2835 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2837 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2841 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2843 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2845 [POSIX] (off_t): Likewise.
2846 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2847 [POSIX] (S_ISBLK): Require macro.
2848 [POSIX] (S_ISCHR): Likewise.
2849 [POSIX] (S_ISDIR): Likewise.
2850 [POSIX] (S_ISFIFO): Likewise.
2851 [POSIX] (S_ISREG): Likewise.
2852 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2854 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2856 [POSIX] (time_t): Likewise.
2857 [POSIX] (timer_t): Likewise.
2859 2014-06-11 Florian Weimer <fweimer@redhat.com>
2862 * posix/spawn_int.h (struct __spawn_action): Make the path string
2863 non-const to support deallocation.
2864 * posix/spawn_faction_addopen.c
2865 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2866 * posix/spawn_faction_destroy.c
2867 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2868 path in all spawn_do_open actions.
2869 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2870 posix_spawn_file_actions_addopen.
2872 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2874 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2876 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2877 conditional code always true.
2878 (__libc_vfork): New alias.
2880 2014-06-11 Roland McGrath <roland@hack.frob.com>
2882 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2883 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2885 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2887 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2888 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2890 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2891 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2893 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2894 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2896 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2898 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2899 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2900 multiarch strcmp for PPC64.
2901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2902 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2904 multiarch optimizations.
2905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2906 (__libc_ifunc_impl_list): Likewise.
2908 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2910 * benchtests/scripts/validate_benchout.py: New script.
2911 * benchtests/Makefile (bench-func): Call it.
2912 * benchtests/scripts/benchout.schema.json: New file.
2914 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2916 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2917 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2918 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2919 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2920 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2921 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2922 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2923 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2924 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2925 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2926 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2927 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2928 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2929 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2930 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2931 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3036 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3038 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3041 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3046 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3048 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3050 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3052 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3054 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3057 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3060 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3062 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3065 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3067 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3069 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3070 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3071 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3073 2014-06-10 Wilco <wdijkstr@arm.com>
3075 * math/test-fenv-return.c: New file.
3076 * math/Makefile: Add new test test-fenv-return.
3078 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3083 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3084 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3085 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3086 0.0L for an argument of 1.0L.
3087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3089 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3090 value when x - 1 is zero.
3091 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3092 * sysdeps/i386/fpu/libm-test-ulps: Update.
3093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3095 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3098 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3100 2014-06-09 Roland McGrath <roland@hack.frob.com>
3102 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3103 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3105 2014-06-09 Roland McGrath <roland@hack.frob.com>
3107 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3108 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3110 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3111 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3113 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3114 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3116 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3117 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3119 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3120 if not already defined.
3121 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3122 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3123 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3124 (TLS_INIT_TP): Use it.
3125 (TLS_DEFINE_INIT_TP): New macro.
3126 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3128 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3130 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3132 [POSIX] (IXANY): Likewise.
3133 [POSIX] (OLCUC): Likewise.
3134 [POSIX || POSIX2008] (CBAUD): Do not allow.
3135 [POSIX || POSIX2008] (DEFECHO): Likewise.
3136 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3137 [POSIX || POSIX2008] (ECHOKE): Likewise.
3138 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3139 [POSIX || POSIX2008] (EXTA): Likewise.
3140 [POSIX || POSIX2008] (EXTB): Likewise.
3141 [POSIX || POSIX2008] (FLUSHO): Likewise.
3142 [POSIX || POSIX2008] (LOBLK): Likewise.
3143 [POSIX || POSIX2008] (PENDIN): Likewise.
3144 [POSIX || POSIX2008] (SWTCH): Likewise.
3145 [POSIX || POSIX2008] (VDISCARD): Likewise.
3146 [POSIX || POSIX2008] (VDSUSP): Likewise.
3147 [POSIX || POSIX2008] (VLNEXT): Likewise.
3148 [POSIX || POSIX2008] (VREPRINT): Likewise.
3149 [POSIX || POSIX2008] (VSTATUS): Likewise.
3150 [POSIX || POSIX2008] (VWERASE): Likewise.
3151 (B*): Change to B[0123456789]*.
3152 * conform/data/time.h-data [POSIX || UNIX98]
3153 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3154 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3155 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3156 [POSIX] (tm_*): Do not allow.
3158 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3160 * Makefile (install): Don't set LANGUAGE.
3161 * Makefile.in (install): Likewise.
3162 * assert/Makefile (test-assert-ENV): Remove variable.
3163 (test-assert-perr-ENV): Likewise.
3164 * elf/Makefile (neededtest4-ENV): Likewise.
3165 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3166 [$(cross-compiling) = no]: Don't set LANGUAGE.
3167 * io/ftwtest-sh (LANG): Remove variable.
3168 * libio/Makefile (tst-widetext-ENV): Likewise.
3169 * manual/install.texi (Running make install): Don't refer to
3170 environment settings for make install.
3171 * INSTALL: Regenerated.
3172 * nptl/tst-tls6.sh: Don't set LANG.
3173 * posix/globtest.sh (LANG): Remove variable.
3174 * string/Makefile (tester-ENV): Likewise.
3175 (inl-tester-ENV): Likewise.
3176 (noinl-tester-ENV): Likewise.
3177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3178 [$(cross-compiling) = no]: Don't set LANGUAGE.
3179 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3180 without explicit environment settings.
3182 2014-06-06 Roland McGrath <roland@hack.frob.com>
3184 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3185 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3187 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3189 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3191 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3192 other files in the crypt directory.
3193 * crypt/crypt.c: Remove duplicate includes.
3194 * crypt/crypt-entry.c: Likewise.
3195 * crypt/crypt_util.c: Likewise.
3197 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3199 * Makeconfig (run-program-env): New variable.
3200 (run-program-prefix-before-env): Likewise.
3201 (run-program-prefix-after-env): Likewise.
3202 (run-program-prefix): Define in terms of new variables.
3203 (built-program-cmd-before-env): New variable.
3204 (built-program-cmd-after-env): Likewise.
3205 (built-program-cmd): Define in terms of new variables.
3206 (test-program-prefix-before-env): New variable.
3207 (test-program-prefix-after-env): Likewise.
3208 (test-program-prefix): Define in terms of new variables.
3209 (test-program-cmd-before-env): New variable.
3210 (test-program-cmd-after-env): Likewise.
3211 (test-program-cmd): Define in terms of new variables.
3212 * Rules (make-test-out): Use $(run-program-env).
3213 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3214 (help): Do not mention environment variables. Mention
3215 --timeoutfactor option.
3216 (timeoutfactor): New variable.
3217 (blacklist_exports): Remove function.
3218 (exports): Remove variable.
3219 (command): Do not include ${exports}.
3220 * manual/install.texi (Configuring and compiling): Do not mention
3221 test wrappers preserving environment variables. Mention that last
3222 assignment to a variable must take precedence.
3223 * INSTALL: Regenerated.
3224 * benchtests/Makefile (run-bench): Use $(run-program-env).
3225 * catgets/Makefile ($(objpfx)test1.cat): Use
3226 $(built-program-cmd-before-env), $(run-program-env) and
3227 $(built-program-cmd-after-env).
3228 ($(objpfx)test2.cat): Do not specify environment variables
3230 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3231 $(run-program-env) and $(built-program-cmd-after-env).
3232 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3233 $(run-program-env) and $(test-program-cmd-after-env).
3234 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3236 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3237 run_program_env and test_program_cmd_after_env arguments.
3238 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3239 * elf/tst-pathopt.sh: Use run_program_env argument.
3240 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3241 $(test-wrapper-env) and $(run-program-env).
3242 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3243 run_program_env arguments.
3244 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3245 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3246 $(test-program-prefix-before-env), $(run-program-env) and
3247 $(test-program-prefix-after-env).
3248 ($(objpfx)tst-gettext2.out): Likewise.
3249 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3250 run_program_env and test_program_prefix_after_env arguments.
3251 * intl/tst-gettext2.sh: Likewise.
3252 * intl/tst-gettext4.sh: Do not set environment variables
3254 * intl/tst-gettext6.sh: Likewise.
3255 * intl/tst-translit.sh: Likewise.
3256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3257 $(test-program-prefix-before-env), $(run-program-env) and
3258 $(test-program-prefix-after-env).
3259 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3260 run_program_env and test_program_prefix_after_env arguments.
3261 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3262 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3263 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3264 explicitly with each use of ${test_wrapper_env}.
3265 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3266 $(test-program-prefix-before-env), $(run-program-env) and
3267 $(test-program-prefix-after-env).
3268 * posix/tst-getconf.sh: Do not set environment variables
3270 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3271 run_program_env and test_program_prefix_after_env arguments.
3272 * stdio-common/tst-printf.sh: Do not set environment variables
3274 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3275 $(test-program-prefix-before-env), $(run-program-env) and
3276 $(test-program-prefix-after-env).
3277 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3278 run_program_env and test_program_prefix_after_env arguments.
3279 Split $test calls into $test_pre and $test.
3280 * timezone/Makefile (build-testdata): Use
3281 $(built-program-cmd-before-env), $(run-program-env) and
3282 $(built-program-cmd-after-env).
3284 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3286 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3287 strlen for non SHARED builds.
3289 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3291 * nptl/allocatestack.c (check_list): Inlined function...
3292 (__reclaim_stacks): ... here.
3294 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3297 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3300 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3302 * Rules (make-test-out): Include
3303 LOCPATH=$(common-objpfx)localedata in default environment.
3304 * debug/Makefile (tst-chk1-ENV): Remove variable.
3305 (tst-chk2-ENV): Likewise.
3306 (tst-chk3-ENV): Likewise.
3307 (tst-chk4-ENV): Likewise.
3308 (tst-chk5-ENV): Likewise.
3309 (tst-chk6-ENV): Likewise.
3310 (tst-lfschk1-ENV): Likewise.
3311 (tst-lfschk2-ENV): Likewise.
3312 (tst-lfschk3-ENV): Likewise.
3313 (tst-lfschk4-ENV): Likewise.
3314 (tst-lfschk5-ENV): Likewise.
3315 (tst-lfschk6-ENV): Likewise.
3316 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3317 (tst-iconv7-ENV): Likewise.
3318 * intl/Makefile (LOCPATH-ENV): Likewise.
3319 (tst-codeset-ENV): Likewise.
3320 (tst-gettext3-ENV): Likewise.
3321 (tst-gettext5-ENV): Likewise.
3322 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3323 (tst-fopenloc-ENV): Likewise.
3324 (tst-fgetws-ENV): Remove variable.
3325 (tst-ungetwc1-ENV): Likewise.
3326 (tst-ungetwc2-ENV): Likewise.
3327 (bug-ungetwc2-ENV): Likewise.
3328 (tst-swscanf-ENV): Likewise.
3329 (bug-ftell-ENV): Likewise.
3330 (tst-fgetwc-ENV): Likewise.
3331 (tst-fseek-ENV): Likewise.
3332 (tst-ftell-partial-wide-ENV): Likewise.
3333 (tst-ftell-active-handler-ENV): Likewise.
3334 (tst-ftell-append-ENV): Likewise.
3335 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3336 (tst-regexloc-ENV): Likewise.
3337 (bug-regex1-ENV): Likewise.
3338 (tst-regex-ENV): Likewise.
3339 (tst-regex2-ENV): Likewise.
3340 (bug-regex5-ENV): Likewise.
3341 (bug-regex6-ENV): Likewise.
3342 (bug-regex17-ENV): Likewise.
3343 (bug-regex18-ENV): Likewise.
3344 (bug-regex19-ENV): Likewise.
3345 (bug-regex20-ENV): Likewise.
3346 (bug-regex22-ENV): Likewise.
3347 (bug-regex23-ENV): Likewise.
3348 (bug-regex25-ENV): Likewise.
3349 (bug-regex26-ENV): Likewise.
3350 (bug-regex30-ENV): Likewise.
3351 (bug-regex32-ENV): Likewise.
3352 (bug-regex33-ENV): Likewise.
3353 (bug-regex34-ENV): Likewise.
3354 (bug-regex35-ENV): Likewise.
3355 (tst-rxspencer-ENV): Likewise.
3356 (tst-rxspencer-no-utf8-ENV): Likewise.
3357 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3358 (tst-sscanf-ENV): Likewise.
3359 (tst-swprintf-ENV): Likewise.
3360 (tst-swscanf-ENV): Likewise.
3361 (test-vfprintf-ENV): Likewise.
3362 (scanf13-ENV): Likewise.
3363 (bug14-ENV): Likewise.
3364 (tst-grouping-ENV): Likewise.
3365 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3366 (tst-strtod3-ENV): Likewise.
3367 (tst-strtod4-ENV): Likewise.
3368 (tst-strtod5-ENV): Likewise.
3369 (testmb2-ENV): Likewise./
3370 * string/Makefile (tst-strxfrm-ENV): Likewise.
3371 (tst-strxfrm2-ENV): Likewise.
3372 (bug-strcoll1-ENV): Likewise.
3373 (test-strcasecmp-ENV): Likewise.
3374 (test-strncasecmp-ENV): Likewise.
3375 * time/Makefile (tst-strptime-ENV): Likewise.
3376 (tst-ftime_l-ENV): Likewise.
3377 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3378 (tst-mbrtowc-ENV): Likewise.
3379 (tst-wcrtomb-ENV): Likewise.
3380 (tst-mbrtowc2-ENV): Likewise.
3381 (tst-c16c32-1-ENV): Likewise.
3382 (tst-mbsnrtowcs-ENV): Likewise.
3384 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3386 * manual/resource.texi (How to get information about the memory
3387 subsystem?): Fix typo.
3388 Reported by Peon de la Parra Ivan <peon@keba.com>
3390 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3393 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3394 (pthread_spin_lock): Branch out of spin loop to proper location.
3395 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3396 (pthread_spin_lock): Likewise.
3398 * nptl/tst-spin4.c: New test.
3399 * nptl/Makefile (tests): Add tst-spin4.
3401 2014-06-03 Andreas Schwab <schwab@suse.de>
3404 * resolv/res_send.c (send_dg): Reload file descriptor after
3407 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3411 2014-06-03 Richard Henderson <rth@redhat.com>
3413 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3414 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3415 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3416 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3417 in the SAVE_PID block.
3418 (__libc_vfork): New alias.
3419 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3421 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3422 child in registers, not on the stack. Remove RESET_PID conditionals.
3423 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3425 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3427 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3429 2014-06-03 Wilco <wdijkstr@arm.com>
3431 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3432 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3433 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3434 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3435 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3438 2014-06-03 Wilco <wdijkstr@arm.com>
3440 * sysdeps/aarch64/fpu/math_private.h
3441 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3442 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3443 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3444 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3447 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3449 * crypt/crypt-private.h: Include ufc-crypt.h.
3450 (__b64_from_24bit): Declare extern.
3451 * crypt/crypt_util.c(__b64_from_24bit): New function.
3452 (b64t): New static const variable.
3453 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3454 (b64t): Remove variable.
3455 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3456 * crypt/sha256-crypt.c: Include crypt-private.h.
3457 (b64t): Remove variable.
3458 (__sha256_crypt_r): Remove b64_from_24bit and replace
3459 with __b64_from_24bit.
3460 * crypt/sha512-crypt.c: Likewise.
3462 2014-06-02 Roland McGrath <roland@hack.frob.com>
3464 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3465 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3466 Label the code __libc_vfork rather than __vfork.
3467 [!NOT_IN_libc] (vfork): Define as weak alias.
3468 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3469 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3470 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3472 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3474 * malloc/malloc.c (malloc_info): Fix format specifier for
3477 2014-06-02 Wilco <wdijkstr@arm.com>
3479 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3482 2014-06-02 Wilco <wdijkstr@arm.com>
3485 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3486 Rewrite to reduce FPCR/FPSR accesses.
3488 2014-06-01 David S. Miller <davem@davemloft.net>
3490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3492 2014-05-31 David S. Miller <davem@davemloft.net>
3494 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3495 to occur in round to nearest mode when |x| >= 2.0
3497 2014-05-30 Richard Henderson <rth@twiddle.net>
3499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3500 (PSEUDO_RET_NOERRNO): Remove.
3501 (ret): Don't redefine.
3502 (ret_NOERRNO): Define in terms of ret.
3503 (ret_ERRVAL): Likewise.
3505 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3506 use of PSEUDO_RET; perform the error check directly.
3508 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3510 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3513 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3515 * malloc/malloc (malloc_info): Fix formatting.
3517 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3518 Roland McGrath <roland@hack.frob.com>
3520 * malloc/malloc (malloc_info): Also print mmapped statistics.
3522 2014-05-30 Roland McGrath <roland@hack.frob.com>
3524 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3525 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3527 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3529 * malloc/malloc.c (malloc_info): Inline mi_arena.
3531 2014-05-29 Richard Henderson <rth@twiddle.net>
3533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3534 Remove comma before expanding ASM_ARGS_##nr.
3535 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3536 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3538 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3539 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3540 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3541 (ASM_ARGS_1): Add leading comma.
3543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3544 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3545 to __errno_location.
3546 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3547 Remove the expected plt for __errno_location.
3549 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3550 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3554 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3555 it and break it down.
3556 (DOCARGS_0, DOCARGS_1): Do nothing.
3557 (DOCARGS_2): Update to store into the new stack frame.
3558 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3559 (UNDOCARGS_1): Update to restore from the new stack frame.
3560 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3561 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3564 (SINGLE_THREAD_P): New parameter for result regno.
3565 (PSEUDO): Update to match; use cbz instead of beq.
3567 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3568 Use ENTRY to define the _nocancel entry point. Share the syscall
3569 and syscall error check paths with the cancel path.
3572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3573 whitespace; tabs before and after asm mnemonics.
3575 2014-05-29 Eric Wong <normalperson@yhbt.net>
3578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3579 Call fstat64 or stat64 internally, depending on arguments passed.
3580 Replace stat buffer argument with file descriptor argument.
3581 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3582 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3583 Pass fd to __internal_statvfs instead of calling fstat64.
3584 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3585 Pass fd to __internal_statvfs64 instead of calling fstat64.
3586 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3587 Pass -1 to __internal_statvfs instead of calling stat64.
3588 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3589 Pass -1 to __internal_statvfs64 instead of calling stat64.
3591 2014-05-28 Roland McGrath <roland@hack.frob.com>
3593 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3594 that was previously under [RESET_PID].
3595 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3597 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3598 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3600 2014-05-27 Roland McGrath <roland@hack.frob.com>
3602 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3604 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3605 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3607 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3609 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3611 2014-05-27 Andreas Schwab <schwab@suse.de>
3613 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3615 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3616 * elf/rtld.c (init_tls, dl_main): Likewise.
3617 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3618 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3619 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3620 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3621 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3622 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3623 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3624 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3625 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3626 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3627 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3628 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3629 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3630 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3631 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3632 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3633 * sysdeps/generic/tls.h: Update description.
3635 2014-05-27 Will Newton <will.newton@linaro.org>
3638 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3639 and restore r2 rather than just restoring.
3641 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3644 * libio/tst-ftell-append.c: New test case.
3645 * libio/Makefile (tests): Add test case.
3646 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3648 * libio/wfileops.c (do_ftell_wide): Likewise.
3650 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3654 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3658 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3659 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3661 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3663 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3671 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3673 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3676 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3679 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3681 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3683 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3684 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3685 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3688 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3689 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3690 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3713 conditional [RESET_PID].
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3722 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3723 (__libc_vfork): New strong alias.
3724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3731 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3732 (__libc_vfork): New strong alias.
3733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3738 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3740 * malloc/malloc.c (mi_arena): New function.
3741 (malloc_info): Remove nested function mi_arena. Call non-nosted
3744 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3746 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3748 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3749 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3750 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3751 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3753 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3756 2014-05-26 Andreas Schwab <schwab@suse.de>
3759 * locale/programs/repertoire.c (repertoire_read): Add slash
3760 between I18NPATH element and file name.
3761 * locale/programs/locfile.c (locfile_read): Likewise.
3763 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3765 * nptl/pthread_mutexattr_settype.c
3766 (__pthread_mutexattr_settype):
3767 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3769 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3771 * nptl/tst-mutex5 (do_test):
3772 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3774 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3776 * benchtests/README: Document 'init' directive.
3777 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3779 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3780 (parse_file): Recognize 'init' directive.
3782 2014-05-26 Kyle McMartin <kyle@redhat.com>
3785 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3786 alignment of struct pthread.
3788 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3791 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3792 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3793 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3794 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3796 2014-05-25 Richard Henderson <rth@twiddle.net>
3798 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3799 (SINGLE_THREAD_P_PIC): Remove.
3800 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3801 (SINGLE_THREAD_P_PIC): Remove.
3803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3804 branch to syscall error ...
3806 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3807 from __local_syscall_error to .Lsyscall_error.
3808 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3809 (SYSCALL_ERROR): Update label name.
3811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3812 Do not use DOARGS/UNDOARGS.
3813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3814 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3815 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3816 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3817 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3822 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3823 define if !NOT_IN_libc.
3824 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3825 define with non-default symbol versions.
3827 2014-05-23 Richard Henderson <rth@twiddle.net>
3829 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3830 (vfork, __vfork): Define via compat_symbol.
3832 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3833 [!HAVE_IFUNC] (vfork_compat): Remove.
3834 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3836 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3839 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3840 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3843 2014-05-23 Richard Henderson <rth@twiddle.net>
3845 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3846 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3847 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3848 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3850 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3851 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3852 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3853 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3855 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3857 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3858 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3859 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3860 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3861 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3862 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3879 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3883 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3885 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3889 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3890 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3891 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3892 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3893 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3894 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3895 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3897 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3899 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3901 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3903 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3905 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3907 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3908 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3909 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3910 before exiting on error.
3911 (__libc_vfork): New strong alias.
3912 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3913 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3915 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3916 that was previously under [RESET_PID].
3917 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3919 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3921 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3924 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3925 value when x - 1 is zero.
3926 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3927 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3929 0.0L for an argument of 1.0L.
3930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3932 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3933 value when x - 1 is zero.
3934 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3935 * sysdeps/i386/fpu/libm-test-ulps: Update.
3936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3938 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3940 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3941 alphasort and versionsort.
3943 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3947 [copysignf]: Likewise.
3949 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3951 * crypt/md5-crypt.c: Fix formatting.
3953 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3955 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3956 (b64_from_24bit): New function.
3958 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3961 libc_hidden_builtin_def to ifunc.
3962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3963 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3965 2014-05-21 Roland McGrath <roland@hack.frob.com>
3967 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3968 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3970 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3972 * nscd/Depend (linuxthreads): Remove.
3974 * resolv/Depend (linuxthreads): Remove.
3975 * rt/Depend (linuxthreads): Remove.
3977 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3978 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3979 $(common-objpfx)elf/.
3980 (link-libc-before-gnulib): Likewise.
3981 (elfobjdir): Remove variable.
3982 * Makefile (install): Use $(elf-objpfx) instead of
3983 $(common-objpfx)elf/.
3984 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3986 (link-libc-deps): Likewise.
3987 ($(common-objpfx)libc.so): Likewise.
3988 ($(common-objpfx)linkobj/libc.so): Likewise.
3989 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3990 instead of $(common-objpfx)elf/.
3991 (symbolic-link-list): Likewise.
3992 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3993 [$(cross-compiling) = no]: Likewise.
3994 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3996 (static-gnulib-arch): Likewise.
3997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3998 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3999 $(common-objpfx)elf/.
4001 2014-05-21 Richard Henderson <rth@redhat.com>
4003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4004 (SINGLE_THREAD_P): Use the correct width load. Fold
4005 into the ldr offset.
4007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4008 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4010 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4012 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4013 (libgcc_s_resume): Use __attribute_used__.
4014 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4017 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4020 optimization when used with float constants.
4022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4024 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4027 * locale/nl_langinfo_l.c: Make direct reference to every
4028 _nl_current_CATEGORY symbol.
4029 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4030 (tests-static): Add tst-langinfo-static.
4031 (tests-special): Add tst-langinfo-static.out.
4032 ($(objpfx)tst-langinfo.out): Redirect output.
4033 ($(objpfx)tst-langinfo-static.out): New.
4034 * localedata/tst-langinfo.sh: Send output to stdout.
4035 * localedata/tst-langinfo-static.c: New file.
4038 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4039 when the shift amount is modulo the limb size.
4041 2014-05-20 Richard Henderson <rth@redhat.com>
4044 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4045 Change type of sa_flags from unsigned int to int.
4048 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4050 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4052 2014-05-20 Will Newton <will.newton@linaro.org>
4054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4055 Test the return value of the system call in the nocancel case.
4057 2014-05-20 Will Newton <will.newton@linaro.org>
4058 Yvan Roux <yvan.roux@linaro.org>
4060 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4061 #include of asm/ptrace.h.
4062 (PTRACE_GET_THREAD_AREA): Remove #undef.
4063 (PTRACE_GETHBPREGS): Likewise.
4064 (PTRACE_SETHBPREGS): Likewise.
4065 (struct user_regs_struct): New structure.
4066 (struct user_fpsimd_struct): New structure.
4067 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4068 #include of asm/ptrace.h and second #include of sys/user.h.
4069 (PTRACE_GET_THREAD_AREA): Remove #undef.
4070 (PTRACE_GETHBPREGS): Likewise.
4071 (PTRACE_SETHBPREGS): Likewise.
4072 (ELF_NGREG): Use new struct user_regs_struct.
4073 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4075 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4080 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4084 membar to avoid block loads/stores to overlap previous stores.
4086 2014-05-17 Richard Henderson <rth@redhat.com>
4088 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4089 Create the __##syscall_name##_nocancel entry point.
4090 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4091 Remove; let the sysdep-cancel.h code create it.
4093 2014-05-17 David S. Miller <davem@davemloft.net>
4095 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4096 Protect with __USE_GNU.
4097 (TIOCSET_TEMPT): Likewise.
4098 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4099 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4100 these are already provided in bits/ioctl-types.h
4102 2014-05-16 Roland McGrath <roland@hack.frob.com>
4104 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4105 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4107 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4108 Use wait4 regardless of [__NR_waitpid].
4110 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4113 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4114 (_FP_NANSIGN_Q): Set the quiet bit.
4116 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4118 * benchtests/Makefile
4119 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4120 not $(common-objpfx)math/libm.so.
4121 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4122 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4123 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4124 $(common-objpfx)dlfcn/libdl.so.
4125 ($(objpfx)tst-audit8): Depend on $(libm), not
4126 $(common-objpfx)math/libm.so.
4127 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4128 not $(common-objpfx)dlfcn/libdl.so.
4130 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4131 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4132 [$(build-shared) = yes].
4133 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4134 $(common-objpfx)nptl/libpthread.so.
4135 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4136 $(common-objpfx)math/libm.so$(libm.so-version) or
4137 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4138 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4139 $(common-objpfx)dlfcn/libdl.so.
4140 * setjmp/Makefile (link-libm): Remove variable.
4141 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4142 * stdio-common/Makefile (link-libm): Remove variable.
4143 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4144 * stdlib/Makefile (link-libm): Remove variable.
4145 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4146 ($(objpfx)tst-strtod-round): Likewise.
4147 ($(objpfx)tst-tininess): Likewise.
4148 ($(objpfx)tst-strtod-underflow): Likewise.
4149 ($(objpfx)tst-strtod6): Likewise.
4150 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4151 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4152 $(common-objpfx)dlfcn/libdl.so.
4154 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4157 BSD terminal modes definitions.
4159 2014-05-16 Roland McGrath <roland@hack.frob.com>
4161 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4162 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4164 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4165 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4166 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4167 Don't do #include_next.
4168 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4169 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4170 Don't do #include_next.
4171 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4172 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4173 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4174 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4176 2014-05-16 Allan McRae <allan@archlinux.org>
4178 * po/sv.po: Update Swedish translation from translation project.
4180 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4183 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4186 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4187 errno if the TIOCGPTN ioctl fails with an error different than
4189 * login/tst-ptsname.c: New file.
4190 * login/Makefile (tests): Add tst-ptsname.
4193 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4196 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4200 herrno to return EAI_AGAIN.
4202 2014-05-14 Roland McGrath <roland@hack.frob.com>
4204 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4205 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4206 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4208 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4213 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4231 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4232 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4233 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4235 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4240 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4246 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4248 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4264 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4269 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4273 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4275 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4279 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4281 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4285 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4287 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4290 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4294 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4295 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4296 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4297 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4298 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4300 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4302 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4304 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4306 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4308 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4310 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4312 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4314 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4316 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4320 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4323 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4324 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4326 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4327 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4329 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4330 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4331 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4333 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4342 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4347 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4350 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4351 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4352 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4354 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4355 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4356 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4359 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4364 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4365 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4367 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4376 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4378 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4387 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4391 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4392 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4395 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4397 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4399 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4401 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4404 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4407 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4409 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4410 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4412 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4420 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4421 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4422 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4423 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4424 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4426 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4427 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4430 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4436 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4440 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4441 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4442 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4443 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4444 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4446 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4447 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4448 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4450 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4451 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4452 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4455 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4456 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4458 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4461 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4462 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4463 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4471 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4472 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4473 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4474 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4475 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4476 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4477 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4478 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4479 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4480 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4482 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4483 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4486 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4488 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4489 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4490 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4491 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4492 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4493 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4494 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4495 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4496 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4501 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4502 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4504 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4509 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4514 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4516 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4530 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4532 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4534 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4536 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4538 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4539 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4540 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4542 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4543 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4544 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4545 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4546 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4548 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4549 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4551 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4552 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4553 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4554 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4555 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4556 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4557 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4562 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4563 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4565 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4567 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4569 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4570 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4571 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4573 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4575 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4609 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4610 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4613 that was previously under [RESET_PID].
4614 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4615 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4616 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4618 * sysdeps/i386/nptl/Implies: New file.
4619 * sysdeps/x86_64/nptl/Implies: New file.
4620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4621 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4623 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4625 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4627 (__libc_vfork): New strong alias.
4628 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4629 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4631 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4633 (__libc_vfork): New strong alias.
4634 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4635 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4637 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4638 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4639 (__libc_vfork): New strong alias.
4640 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4641 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4642 * nptl/pt-vfork.c: New file.
4643 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4644 (libpthread: GLIBC_2.20): New version set (empty).
4646 2014-05-14 Will Newton <will.newton@linaro.org>
4648 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4651 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4654 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4655 arguments with exponent 65 or above.
4656 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4657 arguments 0x1p113L or above.
4658 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4659 to arguments 0x1p107L or above.
4660 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4661 positive arguments with exponent 65 or above.
4662 * math/auto-libm-test-in: Add more tests of log1p.
4663 * math/auto-libm-test-out: Regenerated.
4666 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4667 non-finite arguments is +0.
4668 * math/s_cacosf.c (__cacosf): Likewise.
4669 * math/s_cacosl.c (__cacosl): Likewise.
4670 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4671 * sysdeps/i386/fpu/libm-test-ulps: Update.
4672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4675 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4677 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4678 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4679 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4680 for explicit high bit of mantissa when testing for argument equal
4682 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4683 * sysdeps/i386/fpu/libm-test-ulps: Update.
4684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4687 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4688 (__erf): Scale by 16 instead of 8 in potentially underflowing
4689 case. Ensure exception if result actually underflows.
4690 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4691 (__erff): Scale by 16 instead of 8 in potentially underflowing
4692 case. Ensure exception if result actually underflows.
4693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4694 (efx8): Remove variable.
4695 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4696 case. Ensure exception if result actually underflows.
4697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4698 (efx8): Remove variable.
4699 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4700 case. Ensure exception if result actually underflows.
4701 * sysdeps/ieee754/ldbl-96/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 * math/auto-libm-test-in: Add more tests of erf.
4706 * math/auto-libm-test-out: Regenerated.
4708 2014-05-14 Andreas Schwab <schwab@suse.de>
4710 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4711 Remove code conditionalized on USE___THREAD.
4713 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4714 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4717 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4720 Define unconditionally.
4721 (__ASSUME_O_CLOEXEC): Likewise.
4722 (__ASSUME_SOCK_CLOEXEC): Likewise.
4723 (__ASSUME_IN_NONBLOCK): Likewise.
4724 (__ASSUME_PIPE2): Likewise.
4725 (__ASSUME_EVENTFD2): Likewise.
4726 (__ASSUME_SIGNALFD4): Likewise.
4727 (__ASSUME_DUP3): Likewise.
4728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4729 (__ASSUME_DUP3): Do not define.
4730 (__ASSUME_EVENTFD2): Likewise.
4731 (__ASSUME_IN_NONBLOCK): Likewise.
4732 (__ASSUME_O_CLOEXEC): Likewise.
4733 (__ASSUME_PIPE2): Likewise.
4734 (__ASSUME_SIGNALFD4): Likewise.
4735 (__ASSUME_SOCK_CLOEXEC): Likewise.
4736 (__ASSUME_UTIMES): Undefine.
4737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4738 (__ASSUME_UTIMES): Do not define.
4739 (__ASSUME_O_CLOEXEC): Likewise.
4740 (__ASSUME_SOCK_CLOEXEC): Likewise.
4741 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4742 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4744 (__ASSUME_PIPE2): Likewise.
4745 (__ASSUME_EVENTFD2): Likewise.
4746 (__ASSUME_SIGNALFD4): Likewise.
4747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4748 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4750 (__ASSUME_EVENTFD2): Likewise.
4751 (__ASSUME_SIGNALFD4): Likewise.
4752 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4753 (__ASSUME_32BITUIDS): Likewise.
4754 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4755 (__ASSUME_IPC64): Likewise.
4756 (__ASSUME_ST_INO_64_BIT): Likewise.
4757 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4758 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4760 (__ASSUME_UTIMES): Do not define.
4761 (__ASSUME_PSELECT): Likewise.
4762 (__ASSUME_PPOLL): Likewise.
4763 (__ASSUME_O_CLOEXEC): Likewise.
4764 (__ASSUME_SOCK_CLOEXEC): Likewise.
4765 (__ASSUME_IN_NONBLOCK): Likewise.
4766 (__ASSUME_PIPE2): Likewise.
4767 (__ASSUME_EVENTFD2): Likewise.
4768 (__ASSUME_SIGNALFD4): Likewise.
4769 (__ASSUME_DUP3): Likewise.
4770 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4771 (__ASSUME_UTIMES): Likewise.
4772 (__ASSUME_O_CLOEXEC): Likewise.
4773 (__ASSUME_SOCK_CLOEXEC): Likewise.
4774 (__ASSUME_IN_NONBLOCK): Likewise.
4775 (__ASSUME_PIPE2): Likewise.
4776 (__ASSUME_EVENTFD2): Likewise.
4777 (__ASSUME_SIGNALFD4): Likewise.
4778 (__ASSUME_DUP3): Likewise.
4779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4780 (__ASSUME_UTIMES): Likewise.
4781 (__ASSUME_O_CLOEXEC): Likewise.
4782 (__ASSUME_SOCK_CLOEXEC): Likewise.
4783 (__ASSUME_IN_NONBLOCK): Likewise.
4784 (__ASSUME_PIPE2): Likewise.
4785 (__ASSUME_EVENTFD2): Likewise.
4786 (__ASSUME_SIGNALFD4): Likewise.
4787 (__ASSUME_DUP3): Likewise.
4788 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4790 (__ASSUME_UTIMES): Likewise.
4791 (__ASSUME_EVENTFD2): Likewise.
4792 (__ASSUME_SIGNALFD4): Likewise.
4793 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4794 (__ASSUME_O_CLOEXEC): Likewise.
4795 (__ASSUME_SOCK_CLOEXEC): Likewise.
4796 (__ASSUME_IN_NONBLOCK): Likewise.
4797 (__ASSUME_PIPE2): Likewise.
4798 (__ASSUME_EVENTFD2): Likewise.
4799 (__ASSUME_SIGNALFD4): Likewise.
4800 (__ASSUME_DUP3): Likewise.
4801 (__ASSUME_UTIMES): Undefine.
4803 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4804 feclearexcept. Remove symbol versioning code.
4805 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4806 symbol versioning code.
4807 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4808 symbol versioning code.
4809 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4810 feupdateenv. Remove symbol versioning code.
4811 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4812 fegetexceptflag. Remove symbol versioning code.
4813 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4814 fesetexceptflag. Remove symbol versioning code.
4815 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4816 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4817 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4818 (__posix_fadvise64_l32): Remove prototype.
4819 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4822 2014-05-13 Roland McGrath <roland@hack.frob.com>
4824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4825 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4826 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4827 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4829 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4831 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4832 current working directory
4834 2014-05-13 Roland McGrath <roland@hack.frob.com>
4836 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4837 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4838 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4839 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4840 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4841 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4842 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4843 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4847 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4848 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4849 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4851 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4869 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4870 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4871 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4872 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4874 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4875 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4876 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4877 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4879 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4880 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4882 * sysdeps/unix/sysv/linux/arm/Makefile
4883 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4884 Add rt-aeabi_unwind_cpp_pr1.
4885 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4886 Add nptl-aeabi_unwind_cpp_pr1.
4887 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4888 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4889 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4890 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4891 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4892 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4894 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4895 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4896 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4897 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4899 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4900 Deconditionalize the code that was previously under [RESET_PID].
4901 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4903 * sysdeps/generic/exit-thread.h: New file.
4904 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4905 * include/unistd.h (__exit_thread): Remove declaration.
4906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4907 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4908 * csu/libc-start.c: Include <exit-thread.h>.
4909 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4910 * nptl/pthread_create.c: Include <exit-thread.h>.
4911 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4912 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4913 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4914 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4915 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4916 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4917 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4918 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4919 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4920 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4921 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4922 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4923 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4924 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4925 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4926 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4927 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4929 2014-05-13 Andreas Schwab <schwab@suse.de>
4931 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4933 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4935 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4936 (__ASSUME_UTIMES): Do not condition on kernel version.
4937 (__ASSUME_PSELECT): Define unconditionally.
4938 (__ASSUME_PPOLL): Likewise.
4939 (__ASSUME_ATFCTS): Likewise.
4940 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4941 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4942 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4943 (__ASSUME_UTIMENSAT): Define unconditionally.
4944 (__ASSUME_PRIVATE_FUTEX): Likewise.
4945 (__ASSUME_FALLOCATE): Likewise.
4946 (__ASSUME_O_CLOEXEC): Likewise.
4947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4948 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4949 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4950 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4951 (__ASSUME_IN_NONBLOCK): Likewise.
4952 (__ASSUME_PIPE2): Likewise.
4953 (__ASSUME_EVENTFD2): Likewise.
4954 (__ASSUME_SIGNALFD4): Likewise.
4955 (__ASSUME_DUP3): Likewise.
4956 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4957 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4958 (__ASSUME_AT_RANDOM): Likewise.
4959 (__ASSUME_PREADV): Likewise.
4960 (__ASSUME_PWRITEV): Likewise.
4961 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4962 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4963 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4965 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4967 (__ASSUME_O_CLOEXEC): Define unconditionally.
4968 (__ASSUME_PSELECT): Do not undefine conditionally.
4969 (__ASSUME_PPOLL): Likewise.
4970 (__ASSUME_ATFCTS): Likewise.
4971 (__ASSUME_SET_ROBUST_LIST): Likewise.
4972 (__ASSUME_UTIMENSAT): Likewise.
4973 (__ASSUME_FDATASYNC): Define unconditionally.
4974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4975 (__ASSUME_SIGFRAME_V2): Likewise.
4976 )__ASSUME_EVENTFD2): Likewise.
4977 (__ASSUME_SIGNALFD4): Likewise.
4978 (__ASSUME_PSELECT): Do not undefine conditionally.
4979 (__ASSUME_PPOLL): Likewise.
4980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4981 (__ASSUME_PSELECT): Define unconditionally.
4982 (__ASSUME_PPOLL): Likewise.
4983 (__ASSUME_O_CLOEXEC): Likewise.
4984 (__ASSUME_SOCK_CLOEXEC): Likewise.
4985 (__ASSUME_IN_NONBLOCK): Likewise.
4986 (__ASSUME_PIPE2): Likewise.
4987 (__ASSUME_EVENTFD2): Likewise.
4988 (__ASSUME_SIGNALFD4): Likewise.
4989 (__ASSUME_DUP3): Likewise.
4990 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
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/mips/kernel-features.h
4999 (__ASSUME_EVENTFD2): Likewise.
5000 (__ASSUME_SIGNALFD4): Likewise.
5001 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5003 2014-05-12 Andreas Schwab <schwab@suse.de>
5006 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5007 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5008 than maximum RPC packet size.
5009 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5010 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5011 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5012 (_nss_nis_getservbyport_r): Likewise.
5014 2014-05-12 Will Newton <will.newton@linaro.org>
5016 * malloc/Makefile (tests): Add tst-mallopt.
5017 * malloc/tst-mallopt.c: New file.
5019 2014-05-09 Roland McGrath <roland@hack.frob.com>
5021 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5022 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5024 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5026 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5027 (tst-tlsmod6.so): Likewise.
5029 2014-05-09 Roland McGrath <roland@hack.frob.com>
5031 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5033 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5036 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5037 and <dl-procinfo.h>.
5038 (__fegetenv): Save SSE state in envp->__eip if supported.
5039 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5040 envp->__eip if supported.
5041 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5042 and <dl-procinfo.h>.
5043 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5044 __data_offset and __data_selector in environment to 0. Set SSE
5046 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5048 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5050 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5052 2014-05-09 Will Newton <will.newton@linaro.org>
5054 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5055 and libc_relro_required for ARM.
5056 * sysdeps/arm/preconfigure: Regenerate.
5058 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5059 Stefan Liebler <stli@linux.vnet.ibm.com>
5061 * config.make.in (enable-lock-elision): New Makefile variable.
5062 * configure.ac: Likewise.
5063 * configure: Regenerate.
5064 * sysdeps/s390/configure.ac:
5065 Add check for gcc transactions support.
5066 * sysdeps/s390/configure: Regenerate.
5067 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5068 Build elision files if enabled.
5069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5070 Add lock elision support for s390.
5071 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5072 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5073 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5074 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5075 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5076 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5083 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5085 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5086 (__lll_timedlock_elision, __lll_lock_elision)
5087 (__lll_unlock_elision, __lll_trylock_elision)
5088 (lll_timedlock_elision, lll_lock_elision)
5089 (lll_unlock_elision, lll_trylock_elision): Add.
5090 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5091 (pthread_mutex_t): Add lock elision support for s390.
5093 2014-05-14 Wilco <wdijkstr@arm.com>
5095 * sysdeps/arm/fclrexcpt.c: Cleanup.
5096 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5097 * sysdeps/arm/feenablxcpt.c: Cleanup.
5098 * sysdeps/arm/fegetenv.c: Cleanup.
5099 * sysdeps/arm/fegetexcept.c: Cleanup.
5100 * sysdeps/arm/fegetround.c: Cleanup.
5101 * sysdeps/arm/feholdexcpt.c: Cleanup.
5102 * sysdeps/arm/fesetenv.c: Cleanup.
5103 * sysdeps/arm/fesetround.c: Cleanup.
5104 * sysdeps/arm/feupdateenv.c: Cleanup.
5105 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5106 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5107 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5108 * sysdeps/arm/ftestexcept.c: Cleanup.
5109 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5110 * sysdeps/arm/setfpucw.c: Cleanup.
5112 2014-05-09 Will Newton <will.newton@linaro.org>
5114 * sysdeps/arm/armv7/strcmp.S: New file.
5115 * NEWS: Mention addition of ARMv7 optimized strcmp.
5117 2014-05-08 Roland McGrath <roland@hack.frob.com>
5119 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5120 look for %.ac rather than %.in.
5122 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5123 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5124 * sysdeps/mach/hurd/configure: Regenerated.
5125 * sysdeps/unix/sysv/linux/configure: Regenerated.
5127 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5129 2014-05-07 Steve Ellcey <sellcey@mips.com>
5132 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5136 2014-05-07 Andreas Schwab <schwab@suse.de>
5138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5139 when skipping over non-matching result from nscd.
5141 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5144 * nptl/sockperf.c (client): Check socket return value.
5147 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5148 nscd security class.
5150 2014-05-06 Roland McGrath <roland@hack.frob.com>
5152 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5153 * sysdeps/arm/unwind.h: ... here.
5155 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5158 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5161 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5163 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5164 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5165 multiarch strncpy for PPC64.
5166 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5167 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5169 multiarch optimizations.
5170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5171 (__libc_ifunc_impl_list): Likewise.
5172 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5174 multiarch stpncpy for PPC64.
5175 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5176 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5178 2014-05-06 Andreas Schwab <schwab@suse.de>
5181 * gmon/mcount.c (_MCOUNT_DECL): Use
5182 atomic_compare_and_exchange_bool_acq instead of
5183 catomic_compare_and_exchange_bool_acq.
5185 2014-05-05 Roland McGrath <roland@hack.frob.com>
5187 * elf/Makefile (others, install-bin): Remove pldd.
5188 (pldd-modules): Variable removed.
5189 ($(objpfx)pldd): Target removed.
5190 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5191 (others, install-bin): Append pldd here.
5192 ($(objpfx)pldd): New target.
5194 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5195 to 0, so the first #if test emitted later doesn't see it undefined.
5196 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5197 * sysdeps/gnu/errlist.c: Regenerated.
5199 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5202 [libc_hidden_builtin_def]: Define to empty value.
5203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5204 [libc_hidden_builtin_def]: Likewise.
5205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5206 [libc_hidden_builtin_def]: Likewise.
5207 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5208 [libc_hidden_builtin_def]: Likewise.
5209 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5210 __redirect_memcpy and define ifunc as default hidden symbol.
5211 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5212 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5214 2014-05-04 Adam Conrad <adconrad@0c3.net>
5216 * locale/iso-4217.def: Reintroduce XDR currency.
5218 2014-05-04 Allan McRae <allan@archlinux.org>
5220 * po/eo.po: Update Esperanto translation from translation project.
5222 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5224 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5225 and FEATURE_INDEX_MAX to 1.
5226 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5228 2014-05-01 Steve Ellcey <sellcey@mips.com>
5230 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5231 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5232 * iconvdata/big5.c (ONE_DIRECTION): Define.
5233 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5234 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5235 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5236 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5237 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5238 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5239 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5240 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5241 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5242 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5243 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5244 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5245 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5246 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5247 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5248 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5249 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5250 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5251 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5252 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5253 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5254 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5255 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5256 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5257 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5258 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5259 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5260 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5261 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5262 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5263 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5264 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5265 * iconvdata/johab.c (ONE_DIRECTION): Define.
5266 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5267 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5268 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5269 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5270 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5271 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5272 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5273 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5274 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5275 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5277 2014-05-01 Roland McGrath <roland@hack.frob.com>
5279 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5280 (_IO_JUMPS_OFFSET): Define to 0.
5282 * nptl/sysdeps/pthread/bits/libc-lock.h
5283 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5284 (__libc_lock_define_initialized_recursive): Always define using
5285 initializer. Modern compilers treat uninitialized (implicit zero) and
5286 explicit zero initializers the same (i.e. put the datum in bss).
5288 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5290 * nscd/nscd-client.h: Include <string.h>.
5292 2014-05-01 David S. Miller <davem@davemloft.net>
5295 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5296 multiple zero bytes exist at the end of a string.
5297 Reported by Aurelien Jarno <aurelien@aurel32.net>
5299 * string/test-strcmp.c (check): Add explicit test for situations where
5300 there are multiple zero bytes after the first.
5302 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5305 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5306 when compiling wprintf.
5307 * stdio-common/tstdiomisc.c (t3): New function.
5310 2014-05-01 Steve Ellcey <sellcey@mips.com>
5312 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5313 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5314 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5315 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5317 2014-05-01 Steve Ellcey <sellcey@mips.com>
5319 * stdlib/longlong.h: Updated from GCC.
5321 2014-05-01 Will Newton <will.newton@linaro.org>
5322 Bernard Ogden <bernie.ogden@linaro.org>
5324 * NEWS: Update fixed bug list.
5327 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5329 2014-04-30 David S. Miller <davem@davemloft.net>
5331 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5332 (libc_feholdexcept_setround_sparc_ctx): New function.
5333 (libc_fesetenv_sparc_ctx): Likewise.
5334 (libc_feupdateenv_sparc_ctx): Likewise.
5335 (libc_feholdsetround_sparc_ctx): Likewise.
5336 (libc_feholdexcept_setround_ctx): Define.
5337 (libc_feholdexcept_setroundf_ctx): Likewise.
5338 (libc_feholdexcept_setroundl_ctx): Likewise.
5339 (libc_fesetenv_ctx): Likewise.
5340 (libc_fesetenvf_ctx): Likewise.
5341 (libc_fesetenvl_ctx): Likewise.
5342 (libc_feupdateenv_ctx): Likewise.
5343 (libc_feupdateenvf_ctx): Likewise.
5344 (libc_feupdateenvl_ctx): Likewise.
5345 (libc_feresetround_ctx): Likewise.
5346 (libc_feresetroundf_ctx): Likewise.
5347 (libc_feresetroundl_ctx): Likewise.
5348 (libc_feholdsetround_ctx): Likewise.
5349 (libc_feholdsetroundf_ctx): Likewise.
5350 (libc_feholdsetroundl_ctx): Likewise.
5352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5353 with __USE_GNU instead of XOPEN cpp guards.
5355 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5359 with XOPEN cpp guards.
5361 2014-04-30 Julian Brown <julian@codesourcery.com>
5364 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5367 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5370 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5372 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5373 * sysdeps/unix/sysv/linux/configure: Regenerated.
5374 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5375 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5376 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5377 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5378 * README: Update reference to required Linux kernel version.
5379 * manual/install.texi (Linux): Update reference to required Linux
5380 kernel headers version.
5381 * INSTALL: Regenerated.
5383 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5385 [POSIX] (limits.h): Likewise.
5386 [POSIX] (math.h): Likewise.
5387 [POSIX] (sys/wait.h): Likewise.
5388 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5390 [POSIX] (stddef.h): Do not allow header inclusion.
5392 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5394 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5396 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5398 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5399 Return immediately after lll_futex_wake.
5401 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5404 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5406 (datahead_init_pos): Call datahead_init_common early.
5407 (datahead_init_neg): Likewise.
5409 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5410 datahead_init_neg): New functions.
5411 * nscd/aicache.c (addhstaiX): Use them.
5412 * nscd/grpcache.c (cache_addgr): Likewise.
5413 * nscd/hstcache.c (cache_addhst): Likewise.
5414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5415 * nscd/netgroupcache.c (do_notfound): Likewise.
5416 (addgetnetgrentX): Likewise.
5417 (addinnetgrX): Likewise.
5418 * nscd/pwdcache.c (cache_addpw): Likewise.
5419 * nscd/servicescache.c (cache_addserv): Likewise.
5421 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 Atsushi Onoe <atsushi@onoe.org>
5427 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5428 one response is valid.
5429 * resolv/res_send.c (send_dg): Check for validity of other
5430 response if the current response is a referral.
5432 2014-04-29 Steve Ellcey <sellcey@mips.com>
5434 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5436 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5440 Always divide by positive zero when computing -Inf result.
5441 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5442 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5444 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5447 FPSCR if value do not change.
5448 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5449 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5450 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5451 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5452 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5453 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5456 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5458 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5459 * sysdeps/unix/sysv/linux/hppa: Move directory from
5460 ports/systeps/unix/sysv/linux/hppa.
5461 * README: Update listing for hppa-*-linux-gnu.
5463 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5466 * manual/stdio.texi (Hook functions): Fix types of stream hook
5469 * socket/sys/socket.h: Fix typo in comment.
5471 2014-04-28 Wilco <wdijkstr@arm.com>
5473 * sysdeps/arm/fenv_private.h: New file.
5474 * sysdeps/arm/math_private.h: New file.
5475 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5477 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5479 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5481 (La_x86_64_retval): Likewise.
5483 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5485 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5486 fpsr if value didn't change.
5487 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5488 to fpcr if value didn't change.
5489 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5490 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5491 fpsr or fpcr if value didn't change.
5492 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5493 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5494 fpcr if value didn't change.
5495 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5496 to fpsr if value didn't change.
5498 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5500 * nptl/tst-sem3.c: Use test-skeleton.c
5501 (main): Rename to do_test. Use return instead of
5503 * nptl/tst-sem4.c: Use test-skeleton.c
5504 (main): Rename to do_test.
5506 2014-04-22 David S. Miller <davem@davemloft.net>
5508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5509 (struct sigaction): New struct member __glibc_reserved0, change
5510 type of sa_flags to int.
5512 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5514 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5515 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5517 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5519 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5520 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5522 2014-04-22 Will Newton <will.newton@linaro.org>
5523 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5525 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5526 (__longjmp): Add longjmp and longjmp_target SystemTap
5528 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5529 (__sigsetjmp): Add setjmp SystemTap probe.
5531 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5533 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5536 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5540 * sysdeps/powerpc/fpu/fenv_private.h
5541 (libc_feholdexcept_setroundl_ctx): Define to
5542 libc_feholdexcept_setround_ppc_ctx.
5543 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5544 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5545 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5546 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5548 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5550 * sysdeps/aarch64/math-tests.h: New file.
5552 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5554 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5557 Check and set bit_AVX2_Usable.
5558 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5560 (bit_AVX2): Likewise.
5561 (index_AVX2_Usable): Likewise.
5562 (CPUID_AVX2): Likewise.
5563 (HAS_AVX2): Likewise.
5565 2014-04-17 Will Newton <will.newton@linaro.org>
5567 * manual/setjmp.texi (System V contexts): Add note that
5568 calling setcontext on a context created by a call to a
5569 signal handler is undefined. Update text to note that
5570 setcontext from a signal handler is possible but not
5574 * stdlib/tst-setcontext.c: Include signal.h.
5575 (main): Check that the signal stack before and
5576 after swapcontext is the same.
5578 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5579 Re-implement to restore registers in user code and avoid
5580 rt_sigreturn system call.
5582 2014-04-17 Wilco <wdijkstr@arm.com>
5584 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5585 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5586 * math/test-fenv.c: Skip exception trap tests on targets which only
5587 support non-stop mode.
5589 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5590 Wilco Dijkstra <wilco.dijkstra@arm.com>
5592 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5593 (libc_feholdsetround_aarch64_ctx)
5594 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5595 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5596 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5597 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5598 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5599 (libc_feresetround_noexl_ctx): Define.
5601 2014-04-16 Richard Henderson <rth@redhat.com>
5603 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5605 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5608 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5609 const from the non-libc, non-ldso copy.
5611 * sysdeps/alpha/libm-test-ulps: Regenerate.
5613 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5614 Wilco Dijkstra <wilco.dijkstra@arm.com>
5616 * sysdeps/aarch64/fpu/math_private.h: New file.
5618 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5620 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5622 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5624 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5625 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5627 Intel MPX bound registers before _dl_profile_fixup.
5628 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5629 registers after _dl_profile_fixup. Save and restore bound
5630 registers bnd0/bnd1 when calling _dl_call_pltexit.
5631 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5632 (LR_BND_OFFSET): Likewise.
5633 (LRV_BND0_OFFSET): Likewise.
5634 (LRV_BND1_OFFSET): Likewise.
5636 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5638 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5640 * sysdeps/mach/hurd/i386/tls.h: ... here.
5641 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5642 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5645 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5647 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5649 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5651 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5653 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5656 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5657 * sysdeps/s390/configure: Regenerate.
5660 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5661 Set round-to-nearest internally to reduce error accumulation.
5663 2014-04-16 Alan Modra <amodra@gmail.com>
5667 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5668 * math/libm-test.inc (frexp_test_data): Add tests.
5669 * NEWS: Update fixed bug list.
5671 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5673 * benchtests/Makefile: Depend on libraries in build directory.
5674 (bench-math): Separate out math tests.
5675 (bench-pthread): Separate out pthread tests.
5676 (bench): Include math and pthread tests.
5678 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5681 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5682 _dl_debug_initialize.
5684 * configure.ac: Remove SELinux header check.
5685 * configure: Regenerate.
5686 * nscd/selinux.c (perms): Array of const char* to permission names.
5687 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5688 default policy. Call string_to_security_class and string_to_av_perm to
5689 translate strings. Enforce default policy and call avs_has_perm with
5690 results of translated strings.
5692 2014-04-13 David S. Miller <davem@davemloft.net>
5694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5696 2014-04-12 Allan McRae <allan@archlinux.org>
5699 * manual/string.texi (Collation Functions): Fix qsort argument
5701 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5703 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5705 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5706 Make the test a no-op if there are no exceptions defined.
5708 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5710 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5711 enable-hardcoded-path-in-tests
5713 2014-04-11 Will Newton <will.newton@linaro.org>
5715 * benchtests/Makefile (extra-objs): Add json-lib.o.
5716 (bench-func): Tidy up JSON output.
5717 * benchtests/bench-skeleton.c: Include json-lib.h.
5718 (main): Use JSON library functions to do output of
5720 * benchtests/bench-timing-type.c (main): Output the
5721 timing type simply, leaving formatting to the user.
5722 * benchtests/json-lib.c: New file.
5723 * benchtests/json-lib.h: Likewise.
5725 2014-04-11 Torvald Riegel <triegel@redhat.com>
5728 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5729 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5730 memory barriers. Add comments.
5731 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5732 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5733 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5734 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5735 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5736 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5738 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5740 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5741 * sysdeps/s390/s390-64/configure.ac: ... this ...
5742 * sysdeps/s390/configure.ac: ... to here.
5743 * sysdeps/s390/s390-32/configure: Delete file.
5744 * sysdeps/s390/s390-64/configure: Delete file.
5745 * sysdeps/s390/configure: Regenerate.
5747 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5749 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5751 2014-04-11 Will Newton <will.newton@linaro.org>
5753 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5754 to zero if it is not defined elsewhere. (mtrim): Test
5755 the value of MALLOC_DEBUG with #if rather than #ifdef.
5757 2014-04-10 Torvald Riegel <triegel@redhat.com>
5759 * benchtests/pthread_once-inputs: New file.
5760 * benchtests/pthread_once-source.c: New file.
5761 * benchtests/README: Update documentation.
5763 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5764 H.J. Lu <hongjiu.lu@intel.com>
5766 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5767 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5768 * sysdeps/x86_64/configure: Regenerated.
5769 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5771 (REGISTER_SAVE_RAX): Likewise.
5772 (REGISTER_SAVE_RCX): Likewise.
5773 (REGISTER_SAVE_RDX): Likewise.
5774 (REGISTER_SAVE_RSI): Likewise.
5775 (REGISTER_SAVE_RDI): Likewise.
5776 (REGISTER_SAVE_R8): Likewise.
5777 (REGISTER_SAVE_R9): Likewise.
5778 (REGISTER_SAVE_BND0): Likewise.
5779 (REGISTER_SAVE_BND1): Likewise.
5780 (REGISTER_SAVE_BND2): Likewise.
5781 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5782 bound registers when calling _dl_fixup.
5784 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5786 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5787 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5789 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5790 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5791 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5792 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5793 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5794 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5795 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5797 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5800 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5801 pathconf(_PC_NAME_MAX).
5803 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5807 (__PTHREAD_SPINS): Move definition to ...
5808 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5809 (__PTHREAD_SPINS): ... here.
5810 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5811 (__PTHREAD_SPIN): Likewise.
5812 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5813 (__PTHREAD_SPIN): Likewise.
5814 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5815 (__PTHREAD_SPIN): Likewise.
5816 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5817 (__PTHREAD_SPIN): Likewise.
5818 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5819 (__PTHREAD_SPIN): Likewise.
5820 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5821 (__PTHREAD_SPIN): Likewise.
5822 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5823 (__PTHREAD_SPIN): Likewise.
5824 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5825 (__PTHREAD_SPIN): Likewise.
5826 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5827 (__PTHREAD_SPIN): Likewise.
5828 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5829 (__PTHREAD_SPIN): Likewise.
5830 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5831 (__PTHREAD_SPIN): Likewise.
5832 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5833 (__PTHREAD_SPIN): Likewise.
5835 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5836 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5837 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5838 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5841 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5842 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5843 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5845 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5846 strlen symbol for non multi-arch builds.
5847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5848 missing hidden_def and weak_alias.
5850 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5852 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5854 2014-04-07 Will Newton <will.newton@linaro.org>
5856 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5857 and contents. [!_LIBC] Remove #ifndef and contents.
5858 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5859 * string/memccpy.c (__memccpy): Use ANSI prototype.
5860 * string/memfrob.c (memfrob): Likewise.
5861 * string/strcoll.c (STRCOLL): Likewise.
5862 * string/strlen.c (strlen): Likewise.
5863 * string/strtok.c (STRTOK): Likewise.
5864 * string/strcat.c: Remove unused #include of memcopy.h.
5865 (strcat): Use ANSI prototype.
5866 * string/strchr.c: Remove unused #include of memcopy.h.
5867 (strchr): Use ANSI prototype.
5868 * string/strcmp.c: Remove unused #include of memcopy.h.
5869 (strcmp): Use ANSI prototype.
5870 * string/strcpy.c: Remove unused #include of memcopy.h.
5871 (strcpy): Use ANSI prototype.
5873 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5875 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5876 * config.make.in (config-extra-cppflags): Set it from
5877 libc_extra_cppflags.
5878 * configure.ac (libc_extra_cflags): Make it accumulate over
5879 configure fragments.
5880 (libc_extra_cppflags): New flag.
5881 * configure. Regenerate.
5882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5883 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5884 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5889 result for FE_DOWNWARD rounding mode.
5890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5894 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5896 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5897 in function argument name.
5899 2014-04-03 David Svoboda <svoboda@cert.org>
5902 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5905 2014-04-03 Roland McGrath <roland@hack.frob.com>
5907 * elf/dl-unmap-segments.h: New file.
5908 * sysdeps/generic/ldsodefs.h
5909 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5910 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5911 * elf/dl-fptr.c: Likewise.
5912 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5913 * sysdeps/aarch64/tlsdesc.c: Likewise.
5914 * sysdeps/arm/tlsdesc.c: Likewise.
5915 * sysdeps/i386/tlsdesc.c: Likewise.
5916 * sysdeps/tile/dl-runtime.c: Likewise.
5917 * sysdeps/x86_64/tlsdesc.c: Likewise.
5918 * elf/dl-load.h: New file.
5919 * elf/dl-load.c: Include it.
5920 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5921 Macros moved to dl-load.h.
5922 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5923 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5924 Use _dl_unmap_segments in place of __munmap.
5925 Break out segment-mapping loop into ...
5926 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5928 2014-04-03 Will Newton <will.newton@linaro.org>
5930 * elf/dl-lookup.c (do_lookup_x): Remove comment
5931 referring to nested function and move variable
5932 declarations down to before first use.
5934 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5938 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5940 * math/s_catanf.c (__catanf): Likewise.
5941 * math/s_catanh.c (__catanh): Likewise.
5942 * math/s_catanhf.c (__catanhf): Likewise.
5943 * math/s_catanhl.c (__catanhl): Likewise.
5944 * math/s_catanl.c (__catanl): Likewise.
5945 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5946 by positive zero when computing -Inf result.
5947 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5948 (catanh_test): Likewise.
5949 * sysdeps/i386/fpu/libm-test-ulps: Update.
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5954 instead of using underflowing value in computing result.
5955 * math/s_clog10.c (__clog10): Likewise.
5956 * math/s_clog10f.c (__clog10f): Likewise.
5957 * math/s_clog10l.c (__clog10l): Likewise.
5958 * math/s_clogf.c (__clogf): Likewise.
5959 * math/s_clogl.c (__clogl): Likewise.
5960 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5961 (clog10_test): Likewise.
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965 2014-04-02 Alan Modra <amodra@gmail.com>
5968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5969 output when value is near a power of two. Use int64_t for lx and
5970 remove casts. Use decimal rather than hex exponent constants.
5971 Don't use long double multiplication when double will suffice.
5972 * math/libm-test.inc (nextafter_test_data): Add tests.
5973 * NEWS: Add 16739 and 16786 to bug list.
5975 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5977 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5979 2014-04-01 Will Newton <will.newton@linaro.org>
5981 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5982 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5984 2014-04-01 Florian Weimer <fweimer@redhat.com>
5987 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5988 * nptl/tst-setuid2.c: New file.
5989 * nptl/Makefile (xtests): Add tst-setuid2.
5991 2014-04-01 Alan Modra <amodra@gmail.com>
5994 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5996 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6000 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6001 set errno as appropriate.
6002 * math/w_scalbf.c (__scalbf): Likewise.
6003 * math/w_scalbl.c (__scalbl): Likewise.
6004 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6005 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6006 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6010 * math/w_atan2.c: Include <errno.h>.
6011 (__atan2): Set errno for result underflowing to zero.
6012 * math/w_atan2f.c: Include <errno.h>.
6013 (__atan2f): Set errno for result underflowing to zero.
6014 * math/w_atan2l.c: Include <errno.h>.
6015 (__atan2l): Set errno for result underflowing to zero.
6016 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6018 * math/auto-libm-test-out: Regenerated.
6020 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6023 Encode instruction correctly in little endian.
6024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6028 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6030 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6033 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6036 * sysdeps/unix/sysv/linux/kernel-features.h
6037 [__sparc__ && !__arch64__ && !__sparc_v9__]
6038 (__ASSUME_SET_ROBUST_LIST): Do not define.
6039 [__sparc__ && !__arch64__ && !__sparc_v9__]
6040 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6041 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6043 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6044 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6045 (__ASSUME_REQUEUE_PI): Likewise.
6046 (__ASSUME_SET_ROBUST_LIST): Likewise.
6047 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6048 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6051 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6057 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6058 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6060 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6061 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6065 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6066 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6067 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6069 2014-03-31 Will Newton <will.newton@linaro.org>
6071 * benchtests/Makefile (bench): Add ffs and ffsll to list
6073 * benchtests/ffs-inputs: New file.
6074 * benchtests/ffsll-inputs: Likewise.
6076 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6079 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6080 too large before casting to int.
6081 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6082 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6083 * math/libm-test.inc (scalb_test_data): Add more tests.
6085 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6087 * benchtests/Makefile (DETAILED_OPT): New make option.
6088 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6090 * benchtests/bench-skeleton.c: Include stdbool.h.
6091 (main): Store and print timings per input.
6092 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6093 member to each argument value.
6094 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6095 (_print_arg_data): Initialize per-input timing to 0.
6097 * benchtests/Makefile (timing-type): New binary.
6098 (bench-clean): Also remove bench-timing-type.
6099 (bench): New target for timing-type.
6100 (bench-func): Print output in JSON format.
6101 * benchtests/bench-skeleton.c (main): Print output in JSON
6103 * benchtests/bench-timing-type.c: New file.
6104 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6105 (TIMING_PRINT_STATS): Remove.
6106 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6109 * benchtests/bench-modf.c: Remove.
6110 * benchtests/modf-inputs: New inputs file.
6112 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6115 * math/s_clog10.c (M_PI_LOG10E): New macro.
6116 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6117 imaginary parts are 0.
6118 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6119 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6120 imaginary parts are 0.
6121 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6122 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6123 imaginary parts are 0.
6124 * math/libm-test.inc (clog10_test_data): Update expected results
6125 for when real and imaginary parts are 0.
6127 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6129 * elf/dl-load.c: Finish conversion of __builtin_expect into
6132 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6136 1+x for argument with exponent below -67.
6137 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6139 * math/auto-libm-test-in: Add more tests of exp.
6140 * math/auto-libm-test-out: Regenerated.
6142 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6146 (nscd_getnetgrent): Use it.
6149 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6152 2014-03-27 Andi Kleen <ak@linux.intel.com>
6154 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6155 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6156 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6157 (lll_robust_unlock): Remove out of line section. Use cfi
6159 (LLL_STUB_UNWIND_INFO*): Remove.
6160 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6161 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6162 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6163 (lll_robust_unlock): Remove out of line section. Use cfi
6165 (LLL_STUB_UNWIND_INFO*): Remove.
6167 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6170 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6173 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6175 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6177 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6180 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6182 * math/test-fenv-preserve.c: New file.
6183 * math/Makefile (tests): Add test-fenv-preserve.
6185 2014-03-26 Will Newton <will.newton@linaro.org>
6187 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6189 2014-03-25 Roland McGrath <roland@hack.frob.com>
6191 * scripts/versionlist.awk: Partition the version sets and emit all
6192 GLIBC_* (sorted) before all others (sorted).
6194 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6196 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6197 GLIBC_2.2.5 version.
6199 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6204 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6209 2014-03-25 Andreas Schwab <schwab@suse.de>
6211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6212 label to be used after in6ailist is initialized.
6214 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6217 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6219 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6223 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6225 (fp_formats): Update initializers.
6226 (init_fp_formats): Initialize new field.
6227 (output_for_one_input_case): Allow underflow for results up to
6229 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6230 * math/auto-libm-test-in: Don't mark some underflows from asin and
6232 * math/auto-libm-test-out: Regenerated.
6233 * sysdeps/i386/fpu/libm-test-ulps: Update.
6234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236 2014-03-25 Andreas Schwab <schwab@suse.de>
6238 * libio/Makefile (tst-ftell-partial-wide-ENV)
6239 (tst-ftell-active-handler-ENV): Define.
6241 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6243 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6245 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6247 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6249 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6251 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6252 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6253 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6255 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6258 * elf/dl-load.c (open_verify): Add mode parameter.
6259 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6260 (open_path): Change from boolean 'secure' to complete flag 'mode'
6261 (_dl_map_object): Adjust.
6262 * elf/Makefile (tests): Add tst-dlopen-aout.
6263 * elf/tst-dlopen-aout.c: New test.
6265 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6268 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6269 (struct stat): Rename member pad0 to __glibc_reserved0.
6272 * sysdeps/s390/s390-32/bits/wordsize.h
6273 (__WORDSIZE32_SIZE_ULONG): New define.
6274 * sysdeps/s390/s390-64/bits/wordsize.h
6275 (__WORDSIZE32_SIZE_ULONG): Likewise.
6276 * sysdeps/generic/stdint.h (SIZE_MAX):
6277 Define as UL if __WORDSIZE32_SIZE_ULONG.
6280 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6281 (__glibc_reserved0): New variable.
6282 (sa_flags): Change type to int.
6284 * posix/Makefile (before-compile): Use += before-compile instead
6287 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6288 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6290 2014-03-20 Andreas Schwab <schwab@suse.de>
6293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6294 non-matching result from nscd.
6296 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6298 * scripts/bench.py: Moved to ...
6299 * benchtests/scripts/bench.py: ... here.
6300 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6302 2014-03-24 Andreas Schwab <schwab@suse.de>
6305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6306 alloca_account and account alloca use for struct in6ailist.
6308 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6311 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6312 rounding mode to recompute results that overflow to infinity or
6314 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6316 * math/auto-libm-test-out: Regenerated.
6317 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6318 (ccosh_test): Likewise.
6319 (csin_test_data): Use plus_oflow.
6320 (csin_test): Use ALL_RM_TEST.
6321 (csinh_test_data): Use plus_oflow.
6322 (csinh_test): Use ALL_RM_TEST.
6323 * sysdeps/i386/fpu/libm-test-ulps: Update.
6324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6326 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6328 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6329 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6330 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6333 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6335 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6336 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6337 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6338 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6340 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6341 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6343 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6344 * sysdeps/i386/fpu/libm-test-ulps: Update.
6345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6347 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6349 * scripts/bench.pl: Remove file.
6350 * scripts/bench.py: New benchmark script.
6351 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6352 * benchtests/README: Mention python dependency.
6353 * scripts/pylintrc: New file.
6354 * scripts/pylint: New file.
6356 * bits/mathdef.h: Use #ifdef instead of #if.
6357 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6358 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6359 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6360 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6361 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6362 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6364 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6367 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6369 and strpbrk-ppc64 objects.
6370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6371 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6372 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6373 multiarch strpbrk for POWER7.
6374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6375 multiarch strpbrk for PPC64.
6376 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6378 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6381 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6383 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6384 (atan_test): Likewise.
6385 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6386 (atanh_test): Use ALL_RM_TEST.
6387 (atan2_test_data): Likewise.
6388 (cabs_test): Likewise.
6389 (cacosh_test): Likewise.
6390 (carg_test): Likewise.
6391 (casin_test): Likewise.
6392 (casinh_test): Likewise.
6393 (cbrt_test): Likewise.
6394 (csqrt_test): Likewise.
6395 (erf_test): Likewise.
6396 (erfc_test): Likewise.
6397 (pow10_test): Likewise.
6398 (exp2_test): Likewise.
6399 (hypot_test): Likewise.
6400 (j0_test): Likewise.
6401 (j1_test): Likewise.
6402 (lgamma_test): Likewise.
6403 (gamma_test): Likewise.
6404 (sincos_test): Likewise.
6405 (tanh_test): Likewise.
6406 (y0_test): Likewise.
6407 (y1_test): Likewise.
6408 * sysdeps/i386/fpu/libm-test-ulps: Update.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6413 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6415 and strcspn-ppc64 objects.
6416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6417 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6418 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6419 multiarch strcspn for POWER7.
6420 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6421 multiarch strcspn for PPC64.
6422 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6424 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6427 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6429 * math/gen-libm-test.pl (generate_testfile): Expect only function
6430 name as argument to AUTO_TESTS_* and pass results for all rounding
6431 modes to parse_args.
6432 (parse_auto_input): Separate inputs of automatic tests from
6433 outputs before storing in %auto_tests.
6434 * math/libm-test.inc (acos_test_data): Update call to
6436 (acos_test): Use ALL_RM_TEST.
6437 (acos_tonearest_test_data): Remove.
6438 (acos_test_tonearest): Likewise.
6439 (acos_towardzero_test_data): Likewise.
6440 (acos_test_towardzero): Likewise.
6441 (acos_downward_test_data): Likewise.
6442 (acos_test_downward): Likewise.
6443 (acos_upward_test_data): Likewise.
6444 (acos_test_upward): Likewise.
6445 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6446 (asin_test_data): Likewise.
6447 (asin_test): Use ALL_RM_TEST.
6448 (asin_tonearest_test_data): Remove.
6449 (asin_test_tonearest): Likewise.
6450 (asin_towardzero_test_data): Likewise.
6451 (asin_test_towardzero): Likewise.
6452 (asin_downward_test_data): Likewise.
6453 (asin_test_downward): Likewise.
6454 (asin_upward_test_data): Likewise.
6455 (asin_test_upward): Likewise.
6456 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6457 (atan_test_data): Likewise.
6458 (atanh_test_data): Likewise.
6459 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6460 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6461 (carg_test_data): Likewise.
6462 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6463 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6464 (ccosh_test_data): Likewise.
6465 (cexp_test_data): Likewise.
6466 (clog_test_data): Likewise.
6467 (clog10_test_data): Likewise.
6468 (cos_test_data): Update call to AUTO_TESTS_f_f.
6469 (cos_test): Use ALL_RM_TEST.
6470 (cos_tonearest_test_data): Remove.
6471 (cos_test_tonearest): Likewise.
6472 (cos_towardzero_test_data): Likewise.
6473 (cos_test_towardzero): Likewise.
6474 (cos_downward_test_data): Likewise.
6475 (cos_test_downward): Likewise.
6476 (cos_upward_test_data): Likewise.
6477 (cos_test_upward): Likewise.
6478 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6479 (cosh_test): Use ALL_RM_TEST.
6480 (cosh_tonearest_test_data): Remove.
6481 (cosh_test_tonearest): Likewise.
6482 (cosh_towardzero_test_data): Likewise.
6483 (cosh_test_towardzero): Likewise.
6484 (cosh_downward_test_data): Likewise.
6485 (cosh_test_downward): Likewise.
6486 (cosh_upward_test_data): Likewise.
6487 (cosh_test_upward): Likewise.
6488 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6489 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6490 (ctan_test_data): Likewise.
6491 (ctan_test): Use ALL_RM_TEST.
6492 (ctan_tonearest_test_data): Remove.
6493 (ctan_test_tonearest): Likewise.
6494 (ctan_towardzero_test_data): Likewise.
6495 (ctan_test_towardzero): Likewise.
6496 (ctan_downward_test_data): Likewise.
6497 (ctan_test_downward): Likewise.
6498 (ctan_upward_test_data): Likewise.
6499 (ctan_test_upward): Likewise.
6500 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6501 (ctanh_test): Use ALL_RM_TEST.
6502 (ctanh_tonearest_test_data): Remove.
6503 (ctanh_test_tonearest): Likewise.
6504 (ctanh_towardzero_test_data): Likewise.
6505 (ctanh_test_towardzero): Likewise.
6506 (ctanh_downward_test_data): Likewise.
6507 (ctanh_test_downward): Likewise.
6508 (ctanh_upward_test_data): Likewise.
6509 (ctanh_test_upward): Likewise.
6510 (erf_test_data): Update call to AUTO_TESTS_f_f.
6511 (erfc_test_data): Likewise.
6512 (exp_test_data): Likewise.
6513 (exp_test): Use ALL_RM_TEST.
6514 (exp_tonearest_test_data): Remove.
6515 (exp_test_tonearest): Likewise.
6516 (exp_towardzero_test_data): Likewise.
6517 (exp_test_towardzero): Likewise.
6518 (exp_downward_test_data): Likewise.
6519 (exp_test_downward): Likewise.
6520 (exp_upward_test_data): Likewise.
6521 (exp_test_upward): Likewise.
6522 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6523 (exp10_test): Use ALL_RM_TEST.
6524 (exp10_tonearest_test_data): Remove.
6525 (exp10_test_tonearest): Likewise.
6526 (exp10_towardzero_test_data): Likewise.
6527 (exp10_test_towardzero): Likewise.
6528 (exp10_downward_test_data): Likewise.
6529 (exp10_test_downward): Likewise.
6530 (exp10_upward_test_data): Likewise.
6531 (exp10_test_upward): Likewise.
6532 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6533 (expm1_test_data): Likewise.
6534 (expm1_test): Use ALL_RM_TEST.
6535 (expm1_tonearest_test_data): Remove.
6536 (expm1_test_tonearest): Likewise.
6537 (expm1_towardzero_test_data): Likewise.
6538 (expm1_test_towardzero): Likewise.
6539 (expm1_downward_test_data): Likewise.
6540 (expm1_test_downward): Likewise.
6541 (expm1_upward_test_data): Likewise.
6542 (expm1_test_upward): Likewise.
6543 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6544 (fma_test): Use ALL_RM_TEST.
6545 (fma_towardzero_test_data): Remove.
6546 (fma_test_towardzero): Likewise.
6547 (fma_downward_test_data): Likewise.
6548 (fma_test_downward): Likewise.
6549 (fma_upward_test_data): Likewise.
6550 (fma_test_upward): Likewise.
6551 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6552 (j0_test_data): Update call to AUTO_TESTS_f_f.
6553 (j1_test_data): Likewise.
6554 (jn_test_data): Update call to AUTO_TESTS_if_f.
6555 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6556 (log_test_data): Update call to AUTO_TESTS_f_f.
6557 (log10_test_data): Likewise.
6558 (log1p_test_data): Likewise.
6559 (log2_test_data): Likewise.
6560 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6561 (pow_tonearest_test_data): Likewise.
6562 (sin_test_data): Update call to AUTO_TESTS_f_f.
6563 (sin_test): Use ALL_RM_TEST.
6564 (sin_tonearest_test_data): Remove.
6565 (sin_test_tonearest): Likewise.
6566 (sin_towardzero_test_data): Likewise.
6567 (sin_test_towardzero): Likewise.
6568 (sin_downward_test_data): Likewise.
6569 (sin_test_downward): Likewise.
6570 (sin_upward_test_data): Likewise.
6571 (sin_test_upward): Likewise.
6572 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6573 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6574 (sinh_test): Use ALL_RM_TEST.
6575 (sinh_tonearest_test_data): Remove.
6576 (sinh_test_tonearest): Likewise.
6577 (sinh_towardzero_test_data): Likewise.
6578 (sinh_test_towardzero): Likewise.
6579 (sinh_downward_test_data): Likewise.
6580 (sinh_test_downward): Likewise.
6581 (sinh_upward_test_data): Likewise.
6582 (sinh_test_upward): Likewise.
6583 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6584 (sqrt_test): Use ALL_RM_TEST.
6585 (sqrt_tonearest_test_data): Remove.
6586 (sqrt_test_tonearest): Likewise.
6587 (sqrt_towardzero_test_data): Likewise.
6588 (sqrt_test_towardzero): Likewise.
6589 (sqrt_downward_test_data): Likewise.
6590 (sqrt_test_downward): Likewise.
6591 (sqrt_upward_test_data): Likewise.
6592 (sqrt_test_upward): Likewise.
6593 (tan_test_data): Update call to AUTO_TESTS_f_f.
6594 (tan_test): Use ALL_RM_TEST.
6595 (tan_tonearest_test_data): Remove.
6596 (tan_test_tonearest): Likewise.
6597 (tan_towardzero_test_data): Likewise.
6598 (tan_test_towardzero): Likewise.
6599 (tan_downward_test_data): Likewise.
6600 (tan_test_downward): Likewise.
6601 (tan_upward_test_data): Likewise.
6602 (tan_test_upward): Likewise.
6603 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6604 (tgamma_test_data): Likewise.
6605 (y0_test_data): Likewise.
6606 (y1_test_data): Likewise.
6607 (yn_test_data): Update call to AUTO_TESTS_if_f.
6608 (main): Do not call removed functions.
6610 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6612 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6613 (ldexp_test_data): Remove.
6614 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6616 (scalb_test): Use ALL_RM_TEST.
6618 2014-03-19 Andreas Schwab <schwab@suse.de>
6620 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6622 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6626 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6627 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6629 (__ASSUME_PREADV): Undefine.
6630 (__ASSUME_PWRITEV): Likewise.
6632 2014-03-18 Roland McGrath <roland@hack.frob.com>
6634 * bits/mman-linux.h: Add comment about non-Linux use.
6635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6636 bits/mman-linux.h resting place.
6638 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6639 * bits/mman-linux.h: ... here.
6641 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6643 * conform/conformtest.pl: Add standard definition when calling C
6644 preprocessor on data files.
6645 (checknamespace): Remove unused variable.
6647 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6649 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6650 minus_oflow, plus_uflow and minus_uflow in expected results.
6651 * math/libm-test.inc (scalbn_test_data): Add more tests of
6652 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6654 (scalbn_test): Use ALL_RM_TEST.
6655 (scalbln_test_data): Add more tests of negative arguments. Use
6656 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6657 (scalbln_test): Use ALL_RM_TEST.
6659 2014-03-18 Roland McGrath <roland@hack.frob.com>
6661 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6663 2014-03-18 Will Newton <will.newton@linaro.org>
6665 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6668 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6670 * Makerules [!subdir] (check-abi): Exit with error status if a
6673 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6675 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6676 for rint. Include results for all rounding modes.
6677 (nearbyint_test): Use ALL_RM_TEST.
6678 (rint_test_data): Include all tests used for nearbyint.
6680 2014-03-17 Will Newton <will.newton@linaro.org>
6682 * nptl/sysdeps/pthread/pthread.h: Revert previous
6685 * sysdeps/generic/ldsodefs.h: Revert previous
6688 * libio/genops.c: Revert previous change.
6689 * libio/libioP.h: Likewise.
6690 * stdio-common/vfprintf.c: Likewise.
6692 * sysdeps/generic/math_private.h: Revert previous
6695 * sysdeps/generic/math_private.h: Check whether
6696 HAVE_RM_CTX is defined with #ifdef rather
6699 * argp/argp-fmtstream.h: Check whether
6700 __STRICT_ANSI__ is defined with #ifdef rather
6702 * argp/argp.h: Likewise.
6704 * libio/genops.c: Check whether
6705 _IO_JUMPS_OFFSET is defined with #ifdef rather
6707 * libio/libioP.h: Likewise.
6708 * stdio-common/vfprintf.c: Likewise.
6710 * sysdeps/generic/ldsodefs.h: Check whether
6711 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6714 * nptl/sysdeps/pthread/pthread.h: Check
6715 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6718 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6720 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6722 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6726 * libio/fileops.c (_IO_file_open): Seek to end of file but
6727 don't cache the offset.
6728 (get_file_offset): Remove function.
6729 (do_ftell): Use cached offset when available.
6730 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6731 don't cache the offset.
6732 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6734 (do_one_test): Call it.
6735 (do_ftell_test): Fix up expected old offset for a+ mode.
6736 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6739 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6740 up test status with function return status.
6741 (do_write_test): Likewise.
6742 (do_append_test): Likewise.
6744 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6745 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6748 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6750 * math/gen-libm-test.pl (parse_args): Handle results specified for
6751 each rounding mode separately.
6752 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6753 tests and results from lrint_tonearest_test_data,
6754 lrint_towardzero_test_data, lrint_downward_test_data and
6755 lrint_upward_test_data.
6756 (lrint_test): Use ALL_RM_TEST.
6757 (lrint_tonearest_test_data): Remove.
6758 (lrint_test_tonearest): Likewise.
6759 (lrint_towardzero_test_data): Likewise.
6760 (lrint_test_towardzero): Likewise.
6761 (lrint_downward_test_data): Likewise.
6762 (lrint_test_downward): Likewise.
6763 (lrint_upward_test_data): Likewise.
6764 (lrint_test_upward): Likewise.
6765 (llrint_test_data): Merge in per-rounding-mode tests and results
6766 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6767 llrint_downward_test_data and llrint_upward_test_data.
6768 (llrint_test): Use ALL_RM_TEST.
6769 (llrint_tonearest_test_data): Remove.
6770 (llrint_test_tonearest): Likewise.
6771 (llrint_towardzero_test_data): Likewise.
6772 (llrint_test_towardzero): Likewise.
6773 (llrint_downward_test_data): Likewise.
6774 (llrint_test_downward): Likewise.
6775 (llrint_upward_test_data): Likewise.
6776 (llrint_test_upward): Likewise.
6777 (rint_test_data): Merge in per-rounding-mode tests and results
6778 from rint_tonearest_test_data, rint_towardzero_test_data,
6779 rint_downward_test_data and rint_upward_test_data. Add
6780 per-rounding-mode results for tests not in those arrays.
6781 (rint_test): Use ALL_RM_TEST.
6782 (rint_tonearest_test_data): Remove.
6783 (rint_test_tonearest): Likewise.
6784 (rint_towardzero_test_data): Likewise.
6785 (rint_test_towardzero): Likewise.
6786 (rint_downward_test_data): Likewise.
6787 (rint_test_downward): Likewise.
6788 (rint_upward_test_data): Likewise.
6789 (rint_test_upward): Likewise.
6790 (main): Don't call removed functions.
6792 2014-03-14 Roland McGrath <roland@hack.frob.com>
6794 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6795 "Compiled on ..." crapola. It is anti-useful.
6797 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6799 * scripts/evaluate-test.sh: Handle fourth argument to determine
6800 whether test run should stop on failure.
6801 * Makeconfig (stop-on-test-failure): New variable.
6802 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6803 $(stop-on-test-failure).
6804 * Makefile (tests): Give a summary of results from testing and
6805 exit with failure status if they include an ERROR or FAIL.
6807 * manual/install.texi (Configuring and compiling): Mention
6808 stop-on-test-failure=y.
6809 * INSTALL: Regenerated.
6811 2014-03-14 Roland McGrath <roland@hack.frob.com>
6813 * scripts/versionlist.awk: New file.
6814 * Makerules [$(build-shared) = yes]
6815 (postclean-generated): Add Versions.def, not Versions.def.v and
6817 ($(common-objpfx)Versions.def.v.i): Target removed.
6818 ($(common-objpfx)Versions.def): New target.
6819 ($(common-objpfx)Versions.all): Depend on that rather that
6820 $(common-objpfx)Versions.def.v.
6821 * Versions.def: File removed.
6823 * Makeconfig (+gccwarn): Add -Wundef.
6824 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6825 a dl-sysdep.h breaking its contract.
6826 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6827 * include/stackinfo.h: New file.
6828 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6829 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6830 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6831 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6832 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6833 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6834 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6835 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6836 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6837 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6838 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6839 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6840 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6841 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6842 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6844 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6849 * math/libm-test.inc (round_test_data): Add more tests.
6852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6854 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6857 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6859 * math/libm-test.inc (ceil_test_data): Add more tests.
6861 * math/libm-test.inc (trunc_test_data): Add more tests related to
6864 2014-03-14 Roland McGrath <roland@hack.frob.com>
6866 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6867 with #if rather than #ifdef.
6868 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6870 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6872 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6873 first. Disable AVX-512 GCC support if assembler doesn't support
6875 * sysdeps/x86_64/configure: Regenerated.
6877 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6879 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6880 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6881 (__old_pthread_attr_setstack): Likewise.
6882 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6883 [!_STACK_GROWS_DOWN]: Likewise.
6885 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6887 * config.make.in (have-bash2): Delete.
6888 * configure.ac (libc_cv_have_bash2): Delete.
6889 * configure: Regenerate.
6890 * elf/Makefile (common-ldd-rewrite): Rename to ...
6891 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6892 (sh-ldd-rewrite): Delete.
6893 (bash-ldd-rewrite): Delete.
6894 (have-bash2): Delete checks.
6895 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6898 * config.make.in (have-ksh): Delete.
6900 * configure.ac (libc_cv_have_ksh): Delete.
6901 * configure: Regenerate.
6903 * elf/Makefile: Delete $(have-ksh) check.
6904 ($(objpfx)sotruss): Change KSH to BASH.
6905 * elf/sotruss.ksh: Rename to ...
6906 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6907 function style to match POSIX. Drop ksh vim mode setting.
6909 * manual/time.texi (Specifying the Time Zone with TZ): Change
6910 Tuesday to Thursday.
6912 * debug/tst-longjmp_chk2.c: Update header comment.
6913 (stackoverflow_handler): Add comment. Call assert on pass value.
6915 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6917 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6918 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6919 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6920 (La_x86_64_vector): Add zmm.
6921 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6922 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6923 ($(objpfx)tst-audit10): New target.
6924 ($(objpfx)tst-audit10.out): Likewise.
6925 (tst-audit10-ENV): New.
6926 (AVX512-CFLAGS): Likewise.
6927 (CFLAGS-tst-audit10.c): Likewise.
6928 (CFLAGS-tst-auditmod10a.c): Likewise.
6929 (CFLAGS-tst-auditmod10b.c): Likewise.
6930 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6931 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6932 * sysdeps/x86_64/configure: Regenerated.
6933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6934 AVX-512 zmm register support.
6935 (_dl_x86_64_save_sse): Likewise.
6936 (_dl_x86_64_restore_sse): Likewise.
6937 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6938 size vector registers.
6939 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6940 (ZMM_SIZE): Likewise.
6941 * sysdeps/x86_64/tst-audit10.c: New file.
6942 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6943 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6945 2014-03-13 Roland McGrath <roland@hack.frob.com>
6947 * configure.ac (HAVE_EHDR_START): New check.
6948 * configure: Regenerated.
6949 * config.h.in (HAVE_EHDR_START): New #undef.
6950 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6951 assuming the lowest-addressed segment maps the start of the file.
6953 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6955 * INSTALL: Regenerated.
6957 2014-03-13 Will Newton <will.newton@linaro.org>
6959 * manual/setjmp.texi (System V contexts): Improve
6960 clarity and grammar of documentation.
6962 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6965 * elf/Makefile (tests): Add tst-pie2.
6966 (tests-pie): Add tst-pie2.
6967 * elf/tst-pie2.c: New file.
6968 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6970 * elf/rtld.c (map_doit): Load executable as lt_executable.
6971 (dl_main): Likewise.
6973 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6977 (__ASSUME_PSELECT): Undefine.
6979 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6983 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6986 selector for static builds.
6988 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6991 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6994 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6997 IFUNC selector for static builds.
6999 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7001 * sysdeps/mips/math_private.h [__mips_hard_float]
7002 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7003 libc_feresetround_mips_ctx.
7004 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7005 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7006 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7009 * math/s_nextafter.c (__nextafter): Do not return value from
7010 overflowing computation.
7011 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7012 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7013 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7017 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7018 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7020 2014-03-11 Roland McGrath <roland@hack.frob.com>
7022 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7023 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7024 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7025 the new mov targetting sp.
7027 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7030 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7031 Define it for static builds as well.
7032 (NO_BZERO_IMPL): Likewise.
7034 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7036 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7037 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7038 multiarch strspn for PPC64.
7039 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7040 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7042 (__libc_ifunc_impl_list): Likewise.
7043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7044 multiarch optimizations
7045 * string/strspn.c (strspn): Using macro to redefine symbol name.
7047 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7048 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7051 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7052 multiarch strncat for PPC64.
7053 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7054 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7056 (__libc_ifunc_impl_list): Likewise.
7057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7058 multiarch optimizations
7060 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7063 * nscd/nscd.service: Make service type forking.
7065 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7067 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7068 sign in non default rounding modes.
7069 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7071 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7073 * math/libm-test.inc (ALL_RM_TEST): New macro.
7074 (ceil_test): Use ALL_RM_TEST.
7075 (cimag_test): Likewise.
7076 (conj_test): Likewise.
7077 (copysign_test): Likewise.
7078 (cproj_test): Likewise.
7079 (creal_test): Likewise.
7080 (fabs_test): Likewise.
7081 (floor_test): Likewise.
7082 (fmax_test): Likewise.
7083 (fmin_test): Likewise.
7084 (fmod_test): Likewise.
7085 (fpclassify_test): Likewise.
7086 (frexp_test): Likewise.
7087 (ilogb_test): Likewise.
7088 (isfinite_test): Likewise.
7089 (finite_test): Likewise.
7090 (isgreater_test): Likewise.
7091 (isgreaterequal_test): Likewise.
7092 (isinf_test): Likewise.
7093 (isless_test): Likewise.
7094 (islessequal_test): Likewise.
7095 (islessgreater_test): Likewise.
7096 (isnan_test): Likewise.
7097 (isnormal_test): Likewise.
7098 (issignaling_test): Likewise.
7099 (isunordered_test): Likewise.
7100 (logb_test): Likewise.
7101 (logb_downward_test_data): Remove.
7102 (logb_test_downward): Likewise.
7103 (lround_test): Use ALL_RM_TEST.
7104 (llround_test): Likewise.
7105 (modf_test): Likewise.
7106 (nexttoward_test): Likewise.
7107 (remainder_test): Likewise.
7108 (drem_test): Likewise.
7109 (remainder_tonearest_test_data): Likewise.
7110 (remainder_test_tonearest): Likewise.
7111 (drem_test_tonearest): Likewise.
7112 (remainder_towardzero_test_data): Likewise.
7113 (remainder_test_towardzero): Likewise.
7114 (drem_test_towardzero): Likewise.
7115 (remainder_downward_test_data): Likewise.
7116 (remainder_test_downward): Likewise.
7117 (drem_test_downward): Likewise.
7118 (remainder_upward_test_data): Likewise.
7119 (remainder_test_upward): Likewise.
7120 (drem_test_upward): Likewise.
7121 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7122 (round_test): Use ALL_RM_TEST.
7123 (signbit_test): Likewise.
7124 (trunc_test): Likewise.
7125 (significand_test): Likewise.
7126 (main): Don't call removed functions.
7128 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7131 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7133 (ILL_ILLOPN): Likewise.
7134 (ILL_ILLADR): Likewise.
7135 (ILL_ILLTRP): Likewise.
7136 (ILL_PRVOPC): Likewise.
7137 (ILL_PRVREG): Likewise.
7138 (ILL_COPROC): Likewise.
7139 (ILL_BADSTK): Likewise.
7140 (FPE_INTDIV): Likewise.
7141 (FPE_INTOVF): Likewise.
7142 (FPE_FLTDIV): Likewise.
7143 (FPE_FLTOVF): Likewise.
7144 (FPE_FLTUND): Likewise.
7145 (FPE_FLTRES): Likewise.
7146 (FPE_FLTINV): Likewise.
7147 (FPE_FLTSUB): Likewise.
7148 (SEGV_MAPERR): Likewise.
7149 (SEGV_ACCERR): Likewise.
7150 (BUS_ADRALN): Likewise.
7151 (BUS_ADRERR): Likewise.
7152 (BUS_OBJERR): Likewise.
7153 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7154 (TRAP_TRACE): Likewise.
7155 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7157 (CLD_KILLED): Likewise.
7158 (CLD_DUMPED): Likewise.
7159 (CLD_TRAPPED): Likewise.
7160 (CLD_STOPPED): Likewise.
7161 (CLD_CONTINUED): Likewise.
7162 (POLL_IN): Likewise.
7163 (POLL_OUT): Likewise.
7164 (POLL_MSG): Likewise.
7165 (POLL_ERR): Likewise.
7166 (POLL_PRI): Likewise.
7167 (POLL_HUP): Likewise.
7168 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7170 (ILL_ILLOPN): Likewise.
7171 (ILL_ILLADR): Likewise.
7172 (ILL_ILLTRP): Likewise.
7173 (ILL_PRVOPC): Likewise.
7174 (ILL_PRVREG): Likewise.
7175 (ILL_COPROC): Likewise.
7176 (ILL_BADSTK): Likewise.
7177 (FPE_INTDIV): Likewise.
7178 (FPE_INTOVF): Likewise.
7179 (FPE_FLTDIV): Likewise.
7180 (FPE_FLTOVF): Likewise.
7181 (FPE_FLTUND): Likewise.
7182 (FPE_FLTRES): Likewise.
7183 (FPE_FLTINV): Likewise.
7184 (FPE_FLTSUB): Likewise.
7185 (SEGV_MAPERR): Likewise.
7186 (SEGV_ACCERR): Likewise.
7187 (BUS_ADRALN): Likewise.
7188 (BUS_ADRERR): Likewise.
7189 (BUS_OBJERR): Likewise.
7190 (BUS_MCEERR_AR): Likewise.
7191 (BUS_MCEERR_AO): Likewise.
7192 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7193 (TRAP_TRACE): Likewise.
7194 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7196 (CLD_KILLED): Likewise.
7197 (CLD_DUMPED): Likewise.
7198 (CLD_TRAPPED): Likewise.
7199 (CLD_STOPPED): Likewise.
7200 (CLD_CONTINUED): Likewise.
7201 (POLL_IN): Likewise.
7202 (POLL_OUT): Likewise.
7203 (POLL_MSG): Likewise.
7204 (POLL_ERR): Likewise.
7205 (POLL_PRI): Likewise.
7206 (POLL_HUP): Likewise.
7207 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7208 (ILL_ILLOPN): Likewise.
7209 (ILL_ILLADR): Likewise.
7210 (ILL_ILLTRP): Likewise.
7211 (ILL_PRVOPC): Likewise.
7212 (ILL_PRVREG): Likewise.
7213 (ILL_COPROC): Likewise.
7214 (ILL_BADSTK): Likewise.
7215 (FPE_INTDIV): Likewise.
7216 (FPE_INTOVF): Likewise.
7217 (FPE_FLTDIV): Likewise.
7218 (FPE_FLTOVF): Likewise.
7219 (FPE_FLTUND): Likewise.
7220 (FPE_FLTRES): Likewise.
7221 (FPE_FLTINV): Likewise.
7222 (FPE_FLTSUB): Likewise.
7223 (SEGV_MAPERR): Likewise.
7224 (SEGV_ACCERR): Likewise.
7225 (BUS_ADRALN): Likewise.
7226 (BUS_ADRERR): Likewise.
7227 (BUS_OBJERR): Likewise.
7228 (BUS_MCEERR_AR): Likewise.
7229 (BUS_MCEERR_AO): Likewise.
7230 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7231 (TRAP_TRACE): Likewise.
7232 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7234 (CLD_KILLED): Likewise.
7235 (CLD_DUMPED): Likewise.
7236 (CLD_TRAPPED): Likewise.
7237 (CLD_STOPPED): Likewise.
7238 (CLD_CONTINUED): Likewise.
7239 (POLL_IN): Likewise.
7240 (POLL_OUT): Likewise.
7241 (POLL_MSG): Likewise.
7242 (POLL_ERR): Likewise.
7243 (POLL_PRI): Likewise.
7244 (POLL_HUP): Likewise.
7245 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7247 (ILL_ILLOPN): Likewise.
7248 (ILL_ILLADR): Likewise.
7249 (ILL_ILLTRP): Likewise.
7250 (ILL_PRVOPC): Likewise.
7251 (ILL_PRVREG): Likewise.
7252 (ILL_COPROC): Likewise.
7253 (ILL_BADSTK): Likewise.
7254 (ILL_BADIADDR): Likewise.
7255 (ILL_BREAK): Likewise.
7256 (FPE_INTDIV): Likewise.
7257 (FPE_INTOVF): Likewise.
7258 (FPE_FLTDIV): Likewise.
7259 (FPE_FLTOVF): Likewise.
7260 (FPE_FLTUND): Likewise.
7261 (FPE_FLTRES): Likewise.
7262 (FPE_FLTINV): Likewise.
7263 (FPE_FLTSUB): Likewise.
7264 (FPE_DECOVF): Likewise.
7265 (FPE_DECDIV): Likewise.
7266 (FPE_DECERR): Likewise.
7267 (FPE_INVASC): Likewise.
7268 (FPE_INVDEC): Likewise.
7269 (SEGV_MAPERR): Likewise.
7270 (SEGV_ACCERR): Likewise.
7271 (SEGV_PSTKOVF): Likewise.
7272 (BUS_ADRALN): Likewise.
7273 (BUS_ADRERR): Likewise.
7274 (BUS_OBJERR): Likewise.
7275 (BUS_MCEERR_AR): Likewise.
7276 (BUS_MCEERR_AO): Likewise.
7277 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7278 (TRAP_TRACE): Likewise.
7279 (TRAP_BRANCH): Likewise.
7280 (TRAP_HWBKPT): Likewise.
7281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7283 (CLD_KILLED): Likewise.
7284 (CLD_DUMPED): Likewise.
7285 (CLD_TRAPPED): Likewise.
7286 (CLD_STOPPED): Likewise.
7287 (CLD_CONTINUED): Likewise.
7288 (POLL_IN): Likewise.
7289 (POLL_OUT): Likewise.
7290 (POLL_MSG): Likewise.
7291 (POLL_ERR): Likewise.
7292 (POLL_PRI): Likewise.
7293 (POLL_HUP): Likewise.
7294 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7295 (ILL_ILLOPN): Likewise.
7296 (ILL_ILLADR): Likewise.
7297 (ILL_ILLTRP): Likewise.
7298 (ILL_PRVOPC): Likewise.
7299 (ILL_PRVREG): Likewise.
7300 (ILL_COPROC): Likewise.
7301 (ILL_BADSTK): Likewise.
7302 (FPE_INTDIV): Likewise.
7303 (FPE_INTOVF): Likewise.
7304 (FPE_FLTDIV): Likewise.
7305 (FPE_FLTOVF): Likewise.
7306 (FPE_FLTUND): Likewise.
7307 (FPE_FLTRES): Likewise.
7308 (FPE_FLTINV): Likewise.
7309 (FPE_FLTSUB): Likewise.
7310 (SEGV_MAPERR): Likewise.
7311 (SEGV_ACCERR): Likewise.
7312 (BUS_ADRALN): Likewise.
7313 (BUS_ADRERR): Likewise.
7314 (BUS_OBJERR): Likewise.
7315 (BUS_MCEERR_AR): Likewise.
7316 (BUS_MCEERR_AO): Likewise.
7317 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7318 (TRAP_TRACE): Likewise.
7319 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7321 (CLD_KILLED): Likewise.
7322 (CLD_DUMPED): Likewise.
7323 (CLD_TRAPPED): Likewise.
7324 (CLD_STOPPED): Likewise.
7325 (CLD_CONTINUED): Likewise.
7326 (POLL_IN): Likewise.
7327 (POLL_OUT): Likewise.
7328 (POLL_MSG): Likewise.
7329 (POLL_ERR): Likewise.
7330 (POLL_PRI): Likewise.
7331 (POLL_HUP): Likewise.
7332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7333 (ILL_ILLOPN): Likewise.
7334 (ILL_ILLADR): Likewise.
7335 (ILL_ILLTRP): Likewise.
7336 (ILL_PRVOPC): Likewise.
7337 (ILL_PRVREG): Likewise.
7338 (ILL_COPROC): Likewise.
7339 (ILL_BADSTK): Likewise.
7340 (FPE_INTDIV): Likewise.
7341 (FPE_INTOVF): Likewise.
7342 (FPE_FLTDIV): Likewise.
7343 (FPE_FLTOVF): Likewise.
7344 (FPE_FLTUND): Likewise.
7345 (FPE_FLTRES): Likewise.
7346 (FPE_FLTINV): Likewise.
7347 (FPE_FLTSUB): Likewise.
7348 (SEGV_MAPERR): Likewise.
7349 (SEGV_ACCERR): Likewise.
7350 (BUS_ADRALN): Likewise.
7351 (BUS_ADRERR): Likewise.
7352 (BUS_OBJERR): Likewise.
7353 (BUS_MCEERR_AR): Likewise.
7354 (BUS_MCEERR_AO): Likewise.
7355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7356 (TRAP_TRACE): Likewise.
7357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7359 (CLD_KILLED): Likewise.
7360 (CLD_DUMPED): Likewise.
7361 (CLD_TRAPPED): Likewise.
7362 (CLD_STOPPED): Likewise.
7363 (CLD_CONTINUED): Likewise.
7364 (POLL_IN): Likewise.
7365 (POLL_OUT): Likewise.
7366 (POLL_MSG): Likewise.
7367 (POLL_ERR): Likewise.
7368 (POLL_PRI): Likewise.
7369 (POLL_HUP): Likewise.
7370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7371 (ILL_ILLOPN): Likewise.
7372 (ILL_ILLADR): Likewise.
7373 (ILL_ILLTRP): Likewise.
7374 (ILL_PRVOPC): Likewise.
7375 (ILL_PRVREG): Likewise.
7376 (ILL_COPROC): Likewise.
7377 (ILL_BADSTK): Likewise.
7378 (FPE_INTDIV): Likewise.
7379 (FPE_INTOVF): Likewise.
7380 (FPE_FLTDIV): Likewise.
7381 (FPE_FLTOVF): Likewise.
7382 (FPE_FLTUND): Likewise.
7383 (FPE_FLTRES): Likewise.
7384 (FPE_FLTINV): Likewise.
7385 (FPE_FLTSUB): Likewise.
7386 (SEGV_MAPERR): Likewise.
7387 (SEGV_ACCERR): Likewise.
7388 (BUS_ADRALN): Likewise.
7389 (BUS_ADRERR): Likewise.
7390 (BUS_OBJERR): Likewise.
7391 (BUS_MCEERR_AR): Likewise.
7392 (BUS_MCEERR_AO): Likewise.
7393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7394 (TRAP_TRACE): Likewise.
7395 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7397 (CLD_KILLED): Likewise.
7398 (CLD_DUMPED): Likewise.
7399 (CLD_TRAPPED): Likewise.
7400 (CLD_STOPPED): Likewise.
7401 (CLD_CONTINUED): Likewise.
7402 (POLL_IN): Likewise.
7403 (POLL_OUT): Likewise.
7404 (POLL_MSG): Likewise.
7405 (POLL_ERR): Likewise.
7406 (POLL_PRI): Likewise.
7407 (POLL_HUP): Likewise.
7408 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7409 (ILL_ILLOPN): Likewise.
7410 (ILL_ILLADR): Likewise.
7411 (ILL_ILLTRP): Likewise.
7412 (ILL_PRVOPC): Likewise.
7413 (ILL_PRVREG): Likewise.
7414 (ILL_COPROC): Likewise.
7415 (ILL_BADSTK): Likewise.
7416 (ILL_DBLFLT): Likewise.
7417 (ILL_HARDWALL): Likewise.
7418 (FPE_INTDIV): Likewise.
7419 (FPE_INTOVF): Likewise.
7420 (FPE_FLTDIV): Likewise.
7421 (FPE_FLTOVF): Likewise.
7422 (FPE_FLTUND): Likewise.
7423 (FPE_FLTRES): Likewise.
7424 (FPE_FLTINV): Likewise.
7425 (FPE_FLTSUB): Likewise.
7426 (SEGV_MAPERR): Likewise.
7427 (SEGV_ACCERR): Likewise.
7428 (BUS_ADRALN): Likewise.
7429 (BUS_ADRERR): Likewise.
7430 (BUS_OBJERR): Likewise.
7431 (BUS_MCEERR_AR): Likewise.
7432 (BUS_MCEERR_AO): Likewise.
7433 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7434 (TRAP_TRACE): Likewise.
7435 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7437 (CLD_KILLED): Likewise.
7438 (CLD_DUMPED): Likewise.
7439 (CLD_TRAPPED): Likewise.
7440 (CLD_STOPPED): Likewise.
7441 (CLD_CONTINUED): Likewise.
7442 (POLL_IN): Likewise.
7443 (POLL_OUT): Likewise.
7444 (POLL_MSG): Likewise.
7445 (POLL_ERR): Likewise.
7446 (POLL_PRI): Likewise.
7447 (POLL_HUP): Likewise.
7448 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7449 (ILL_ILLOPN): Likewise.
7450 (ILL_ILLADR): Likewise.
7451 (ILL_ILLTRP): Likewise.
7452 (ILL_PRVOPC): Likewise.
7453 (ILL_PRVREG): Likewise.
7454 (ILL_COPROC): Likewise.
7455 (ILL_BADSTK): Likewise.
7456 (FPE_INTDIV): Likewise.
7457 (FPE_INTOVF): Likewise.
7458 (FPE_FLTDIV): Likewise.
7459 (FPE_FLTOVF): Likewise.
7460 (FPE_FLTUND): Likewise.
7461 (FPE_FLTRES): Likewise.
7462 (FPE_FLTINV): Likewise.
7463 (FPE_FLTSUB): Likewise.
7464 (SEGV_MAPERR): Likewise.
7465 (SEGV_ACCERR): Likewise.
7466 (BUS_ADRALN): Likewise.
7467 (BUS_ADRERR): Likewise.
7468 (BUS_OBJERR): Likewise.
7469 (BUS_MCEERR_AR): Likewise.
7470 (BUS_MCEERR_AO): Likewise.
7471 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7472 (TRAP_TRACE): Likewise.
7473 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7475 (CLD_KILLED): Likewise.
7476 (CLD_DUMPED): Likewise.
7477 (CLD_TRAPPED): Likewise.
7478 (CLD_STOPPED): Likewise.
7479 (CLD_CONTINUED): Likewise.
7480 (POLL_IN): Likewise.
7481 (POLL_OUT): Likewise.
7482 (POLL_MSG): Likewise.
7483 (POLL_ERR): Likewise.
7484 (POLL_PRI): Likewise.
7485 (POLL_HUP): Likewise.
7486 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7487 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7490 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7491 before #include of <time.h>.
7492 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7493 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7494 (test-xfail-UNIX98/sched.h/conform): Likewise.
7496 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7498 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7499 error absence of trapping exception support.
7500 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7502 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7504 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7505 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7506 * timezone/Makefile (testdata): Move definition above include of
7508 (test-zones): New variable.
7509 (tests-special): Add zone files.
7510 (build-testdata): Use $(evaluate-test).
7512 * elf/Makefile (tests-special): Rename tests to end with .out.
7513 ($(objpfx)noload-mem): Likewise.
7514 ($(objpfx)tst-leaks1-mem): Likewise.
7515 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7516 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7517 $(objpfx)test-iconvconfig.out.
7518 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7519 set -e inside subshell and redirect output to file.
7520 * iconvdata/Makefile (generated): Rename tests to end with .out.
7522 (tests-special): Rename tests to end with .out.
7523 ($(objpfx)mtrace-tst-loading): Likewise.
7524 * intl/Makefile (generated): Likewise.
7525 (tests-special): Likewise.
7526 ($(objpfx)mtrace-tst-gettext): Likewise.
7527 * misc/Makefile (generated): Likewise.
7528 (tests-special): Likewise.
7529 ($(objpfx)tst-error1-mem): Likewise.
7530 * nptl/Makefile (tests-special): Likewise.
7531 ($(objpfx)tst-stack3-mem): Likewise.
7532 (generated): Likewise.
7533 * posix/Makefile (generated): Likewise.
7534 (tests-special): Likewise.
7535 (xtests-special): Likewise.
7536 ($(objpfx)tst-fnmatch-mem): Likewise.
7537 ($(objpfx)bug-regex2-mem): Likewise.
7538 ($(objpfx)bug-regex14-mem): Likewise.
7539 ($(objpfx)bug-regex21-mem): Likewise.
7540 ($(objpfx)bug-regex31-mem): Likewise.
7541 ($(objpfx)tst-vfork3-mem): Likewise.
7542 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7543 ($(objpfx)tst-pcre-mem): Likewise.
7544 ($(objpfx)tst-boost-mem): Likewise.
7545 ($(objpfx)bug-ga2-mem): Likewise.
7546 ($(objpfx)bug-glob2-mem): Likewise.
7547 * resolv/Makefile (generate): Likewise.
7548 (tests-special): Likewise.
7549 (xtests-special): Likewise.
7550 (generated): Likewise.
7551 ($(objpfx)mtrace-tst-leaks): Likewise.
7552 ($(objpfx)mtrace-tst-leaks2): Likewise.
7554 * scripts/merge-test-results.sh: New file.
7555 * Makefile (tests-special-notdir): New variable.
7556 (tests): Run merge-test-results.sh.
7558 * Rules (tests-special-notdir): New variable.
7559 (xtests-special-notdir): Likewise.
7560 (tests): Run merge-test-results.sh
7563 * Makeconfig (test-xfail-name): New variable.
7564 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7565 compute variable name for expected failures.
7566 * conform/Makefile (conformtest-headers-data): New variable.
7567 (conformtest-standards): Likewise.
7568 (conformtest-headers-ISO): Likewise.
7569 (conformtest-headers-ISO99): Likewise.
7570 (conformtest-headers-ISO11): Likewise.
7571 (conformtest-headers-POSIX): Likewise.
7572 (conformtest-headers-XPG3): Likewise.
7573 (conformtest-headers-XPG4): Likewise.
7574 (conformtest-headers-UNIX98): Likewise.
7575 (conformtest-headers-XOPEN2K): Likewise.
7576 (conformtest-headers-POSIX2008): Likewise.
7577 (conformtest-headers-XOPEN2K8): Likewise.
7578 (conformtest-header-list-base): Likewise.
7579 (conformtest-header-list-tests): Likewise.
7580 (conformtest-header-base): Likewise.
7581 (conformtest-header-tests): Likewise.
7582 (tests-special): Add $(conformtest-header-list-tests). If
7583 [$(fast-check) && !$(cross-compiling)], add
7584 $(conformtest-header-tests) instead of
7585 $(objpfx)run-conformtest.out.
7586 (generated): Add $(conformtest-header-list-base). If
7587 [$(fast-check) && !$(cross-compiling)], add
7588 $(conformtest-header-base). Remove previous setting.
7589 ($(conformtest-header-list-tests)): New target.
7590 (test-xfail-run-conformtest): Remove variable.
7591 ($(objpfx)run-conformtest.out): Remove target.
7592 (test-xfail-ISO11/complex.h/conform): New variable.
7593 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7594 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7595 (test-xfail-XPG3/varargs.h/conform): Likewise.
7596 (test-xfail-XPG4/varargs.h/conform): Likewise.
7597 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7598 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7599 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7600 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7601 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7602 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7603 (test-xfail-XPG3/ftw.h/conform): Likewise.
7604 (test-xfail-XPG3/grp.h/conform): Likewise.
7605 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7606 (test-xfail-XPG3/limits.h/conform): Likewise.
7607 (test-xfail-XPG3/pwd.h/conform): Likewise.
7608 (test-xfail-XPG3/search.h/conform): Likewise.
7609 (test-xfail-XPG3/signal.h/conform): Likewise.
7610 (test-xfail-XPG3/stdio.h/conform): Likewise.
7611 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7612 (test-xfail-XPG3/string.h/conform): Likewise.
7613 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7614 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7615 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7616 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7617 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7618 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7619 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7620 (test-xfail-XPG3/termios.h/conform): Likewise.
7621 (test-xfail-XPG3/time.h/conform): Likewise.
7622 (test-xfail-XPG3/unistd.h/conform): Likewise.
7623 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7624 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7625 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7626 (test-xfail-XPG4/netdb.h/conform): Likewise.
7627 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7628 (test-xfail-XPG4/signal.h/conform): Likewise.
7629 (test-xfail-XPG4/stdio.h/conform): Likewise.
7630 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7631 (test-xfail-XPG4/stropts.h/conform): Likewise.
7632 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7633 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7634 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7635 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7636 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7637 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7638 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7639 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7640 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7641 (test-xfail-XPG4/termios.h/conform): Likewise.
7642 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7643 (test-xfail-XPG4/unistd.h/conform): Likewise.
7644 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7645 (test-xfail-POSIX/sched.h/conform): Likewise.
7646 (test-xfail-POSIX/signal.h/conform): Likewise.
7647 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7648 (test-xfail-POSIX/tar.h/conform): Likewise.
7649 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7650 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7651 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7652 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7653 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7654 (test-xfail-UNIX98/sched.h/conform): Likewise.
7655 (test-xfail-UNIX98/signal.h/conform): Likewise.
7656 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7657 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7658 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7659 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7660 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7661 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7662 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7663 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7664 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7665 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7666 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7667 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7668 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7669 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7670 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7671 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7672 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7673 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7674 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7675 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7676 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7677 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7678 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7679 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7680 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7681 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7682 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7683 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7684 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7685 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7686 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7687 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7688 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7689 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7690 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7691 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7692 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7693 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7694 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7695 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7696 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7697 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7698 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7699 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7700 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7701 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7702 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7703 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7704 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7705 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7706 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7707 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7708 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7709 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7710 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7711 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7712 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7713 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7714 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7715 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7716 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7717 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7718 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7719 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7720 (conformtest-cc-flags): Likewise.
7721 ($(conformtest-header-tests): New target.
7722 * conform/check-header-lists.sh: New file.
7723 * conform/run-conformtest.sh: Remove.
7725 * conform/conformtest.pl: Allow ' and \ in values given for
7727 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7729 [POSIX] (sys/types.h): Likewise.
7730 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7732 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7734 * conform/data/signal.h-data (SIGIO): Remove expectation.
7735 [XPG3] (SIGBUS): Do not expect.
7736 [POSIX || XPG3] (SIGPOLL): Likewise.
7737 [POSIX || XPG3] (SIGPROF): Likewise.
7738 [POSIX || XPG3] (SIGSYS): Likewise.
7739 [XPG3] (SIGTRAP): Likewise.
7740 [POSIX || XPG3] (SIGURG): Likewise.
7741 [POSIX || XPG3] (SIGVTALRM): Likewise.
7742 [POSIX || XPG3] (SIGXCPU): Likewise.
7743 [POSIX || XPG3] (SIGXFSZ): Likewise.
7744 [POSIX] (SA_SIGINFO): Expect.
7745 [XPG3] (siginfo_t): Do not expect type or contents.
7746 [POSIX] (si_pid): Do not expect element.
7747 [POSIX] (si_uid): Likewise.
7748 [POSIX] (si_addr): Likewise.
7749 [POSIX] (si_status): Likewise.
7750 [POSIX] (si_band): Likewise.
7751 [XPG4] (si_value): Likewise.
7752 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7753 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7754 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7755 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7756 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7757 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7758 [POSIX || XPG3] (ILL_COPROC): Likewise.
7759 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7760 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7761 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7762 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7763 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7764 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7765 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7766 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7767 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7768 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7769 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7770 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7771 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7772 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7773 [POSIX || XPG3] (CLD_EXITED): Likewise.
7774 [POSIX || XPG3] (CLD_KILLED): Likewise.
7775 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7776 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7777 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7778 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7779 [POSIX || XPG3] (POLL_IN): Likewise.
7780 [POSIX || XPG3] (POLL_OUT): Likewise.
7781 [POSIX || XPG3] (POLL_MSG): Likewise.
7782 [POSIX || XPG3] (POLL_ERR): Likewise.
7783 [POSIX || XPG3] (POLL_PRI): Likewise.
7784 [POSIX || XPG3] (POLL_HUP): Likewise.
7785 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7786 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7787 (SIG*): Do not allow.
7788 [XPG3] (si_*): Likewise.
7789 [XPG3] (SI_*): Likewise.
7790 [XPG3 || XPG4] (sigev_*): Likewise.
7791 [XPG3 || XPG4] (SIGEV_*): Likewise.
7792 [XPG3 || XPG4] (sival_*): Likewise.
7793 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7794 [POSIX || XPG3] (BUS_*): Likewise.
7795 [POSIX || XPG3] (CLD_*): Likewise.
7796 [POSIX || XPG3] (FPE_*): Likewise.
7797 [POSIX || XPG3] (ILL_*): Likewise.
7798 [POSIX || XPG3] (POLL_*): Likewise.
7799 [POSIX || XPG3] (SEGV_*): Likewise.
7800 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7801 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7802 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7803 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7804 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7805 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7806 Specify type and value.
7807 (TVERSLEN): Likewise.
7808 (REGTYPE): Likewise.
7809 (AREGTYPE): Likewise.
7810 (LNKTYPE): Likewise.
7811 (SYMTYPE): Likewise.
7812 (CHRTYPE): Likewise.
7813 (BLKTYPE): Likewise.
7814 (DIRTYPE): Likewise.
7815 (FIFOTYPE): Likewise.
7816 (CONTTYPE): Likewise.
7821 (TUWRITE): Likewise.
7824 (TGWRITE): Likewise.
7827 (TOWRITE): Likewise.
7829 [POSIX] (TSVTX): Expect constant.
7831 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7833 * Makefile (tests): Change dependencies to ....
7834 (tests-special): ... additions to this variable.
7835 (tests): Depend on $(tests-special).
7836 * Makerules (check-abi-list): New variable.
7837 (check-abi): Depend on $(check-abi-list).
7838 [$(subdir) = elf] (tests-special): Add
7839 $(objpfx)check-abi-libc.out.
7840 [$(build-shared) = yes && subdir] (tests-special): Add
7842 [$(build-shared) = yes && subdir] (tests): Do not depend on
7844 * Rules (tests): Depend on $(tests-special).
7845 (xtests): Depend on $(xtests-special).
7846 * catgets/Makefile (tests): Change dependencies to ....
7847 (tests-special): ... additions to this variable.
7848 * conform/Makefile (tests): Change dependencies to ....
7849 (tests-special): ... additions to this variable.
7850 * elf/Makefile (tests): Change dependencies to ....
7851 (tests-special): ... additions to this variable.
7852 * grp/Makefile (tests): Change dependencies to ....
7853 (tests-special): ... additions to this variable.
7854 * iconv/Makefile (xtests): Change dependencies to ....
7855 (xtests-special): ... additions to this variable.
7856 * iconvdata/Makefile (tests): Change dependencies to ....
7857 (tests-special): ... additions to this variable.
7858 * intl/Makefile (tests): Change dependencies to ....
7859 (tests-special): ... additions to this variable. Also add
7860 $(objpfx)tst-gettext.out.
7861 * io/Makefile (tests): Change dependencies to ....
7862 (tests-special): ... additions to this variable.
7863 * libio/Makefile (tests): Change dependencies to ....
7864 (tests-special): ... additions to this variable.
7865 * malloc/Makefile (tests): Change dependencies to ....
7866 (tests-special): ... additions to this variable.
7867 * misc/Makefile (tests): Change dependencies to ....
7868 (tests-special): ... additions to this variable.
7869 * nptl/Makefile (tests): Change dependencies to ....
7870 (tests-special): ... additions to this variable.
7871 * nptl_db/Makefile (tests): Change dependencies to ....
7872 (tests-special): ... additions to this variable.
7873 * posix/Makefile (tests): Change dependencies to ....
7874 (tests-special): ... additions to this variable.
7875 (xtests): Change dependencies to ....
7876 (xtests-special): ... additions to this variable.
7877 * resolv/Makefile (tests): Change dependencies to ....
7878 (tests-special): ... additions to this variable.
7879 (xtests): Change dependencies to ....
7880 (xtests-special): ... additions to this variable.
7881 * stdio-common/Makefile (tests): Change dependencies to ....
7882 (tests-special): ... additions to this variable.
7883 (do-tst-unbputc): Remove target.
7884 (do-tst-printf): Likewise.
7885 * stdlib/Makefile (tests): Change dependencies to ....
7886 (tests-special): ... additions to this variable.
7887 * string/Makefile (tests): Change dependencies to ....
7888 (tests-special): ... additions to this variable.
7889 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7890 (tests-special): ... additions to this variable.
7892 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7894 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7896 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7897 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7899 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7900 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7901 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7902 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7903 * conform/data/libgen.h-data [XPG3]: Likewise.
7904 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7905 * conform/data/ndbm.h-data [XPG3]: Likewise.
7906 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7907 * conform/data/netdb.h-data [XPG3]: Likewise.
7908 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7909 * conform/data/poll.h-data [XPG3]: Likewise.
7910 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7911 * conform/data/strings.h-data [XPG3]: Likewise.
7912 * conform/data/stropts.h-data [XPG3]: Likewise.
7913 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7914 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7915 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7917 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7918 * conform/data/sys/time.h-data [XPG3]: Likewise.
7919 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7920 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7921 * conform/data/sys/un.h-data [XPG3]: Likewise.
7922 * conform/data/syslog.h-data [XPG3]: Likewise.
7923 * conform/data/ucontext.h-data [XPG3]: Likewise.
7924 * conform/data/utmpx.h-data [XPG3]: Likewise.
7925 * conform/data/varargs.h-data [UNIX98]: Enable file.
7927 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7929 * math/libm-test.inc (struct test_f_f_data): Move expected results
7930 into structure for each rounding mode.
7931 (struct test_ff_f_data): Likewise.
7932 (struct test_ff_f_data_nexttoward): Likewise.
7933 (struct test_fi_f_data): Likewise.
7934 (struct test_fl_f_data): Likewise.
7935 (struct test_if_f_data): Likewise.
7936 (struct test_fff_f_data): Likewise.
7937 (struct test_c_f_data): Likewise.
7938 (struct test_f_f1_data): Likewise.
7939 (struct test_fF_f1_data): Likewise.
7940 (struct test_ffI_f1_data): Likewise.
7941 (struct test_c_c_data): Likewise.
7942 (struct test_cc_c_data): Likewise.
7943 (struct test_f_i_data): Likewise.
7944 (struct test_ff_i_data): Likewise.
7945 (struct test_f_l_data): Likewise.
7946 (struct test_f_L_data): Likewise.
7947 (struct test_fFF_11_data): Likewise.
7949 (RM_FE_DOWNWARD): Likewise.
7950 (RM_FE_TONEAREST): Likewise.
7951 (RM_FE_TOWARDZERO): Likewise.
7952 (RM_FE_UPWARD): Likewise.
7953 (RUN_TEST_LOOP_f_f): Update references to expected results.
7954 (RUN_TEST_LOOP_2_f): Likewise.
7955 (RUN_TEST_LOOP_fff_f): Likewise.
7956 (RUN_TEST_LOOP_c_f): Likewise.
7957 (RUN_TEST_LOOP_f_f1): Likewise.
7958 (RUN_TEST_LOOP_fF_f1): Likewise.
7959 (RUN_TEST_LOOP_fI_f1): Likewise.
7960 (RUN_TEST_LOOP_ffI_f1): Likewise.
7961 (RUN_TEST_LOOP_c_c): Likewise.
7962 (RUN_TEST_LOOP_cc_c): Likewise.
7963 (RUN_TEST_LOOP_f_i): Likewise.
7964 (RUN_TEST_LOOP_f_i_tg): Likewise.
7965 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7966 (RUN_TEST_LOOP_f_b): Likewise.
7967 (RUN_TEST_LOOP_f_b_tg): Likewise.
7968 (RUN_TEST_LOOP_f_l): Likewise.
7969 (RUN_TEST_LOOP_f_L): Likewise.
7970 (RUN_TEST_LOOP_fFF_11): Likewise.
7971 * math/gen-libm-test.pl (parse_args): Output four copies of
7972 expected results for each test.
7974 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7975 (__ASSUME_UTIMES): Remove.
7976 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7977 (__ASSUME_UTIMES): Likewise.
7979 * math/gen-auto-libm-tests.c: Update comment on output format.
7980 (output_for_one_input_case): Generate before-rounding and
7981 after-rounding information as conditions on output flags not
7982 floating-point format.
7983 * math/auto-libm-test-out: Regenerated.
7984 * math/gen-libm-test.pl (cond_value): New function.
7985 (or_cond_value): Use cond_value.
7986 (generate_testfile): Handle conditional exceptions.
7988 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7990 * math/libm-test.inc (max_valid_error): New variable.
7991 (init_max_error): Take new argument specifying whether function
7992 results are exactly determined. Set max_valid_error and bound
7993 other variables for errors based on this argument.
7994 (set_max_error): Do not record results above max_valid_error.
7995 (check_float_internal): Only accept errors of up to 0.5ulps if
7996 also at most max_valid_error.
7997 (START): Take new argument EXACT and pass it to init_max_error.
7998 (acos_test): Update call to START.
7999 (acos_test_tonearest): Likewise.
8000 (acos_test_towardzero): Likewise.
8001 (acos_test_downward): Likewise.
8002 (acos_test_upward): Likewise.
8003 (acosh_test): Likewise.
8004 (asin_test): Likewise.
8005 (asin_test_tonearest): Likewise.
8006 (asin_test_towardzero): Likewise.
8007 (asin_test_downward): Likewise.
8008 (asin_test_upward): Likewise.
8009 (asinh_test): Likewise.
8010 (atan_test): Likewise.
8011 (atanh_test): Likewise.
8012 (atan2_test): Likewise.
8013 (cabs_test): Likewise.
8014 (cacos_test): Likewise.
8015 (cacosh_test): Likewise.
8016 (carg_test): Likewise.
8017 (casin_test): Likewise.
8018 (casinh_test): Likewise.
8019 (catan_test): Likewise.
8020 (catanh_test): Likewise.
8021 (cbrt_test): Likewise.
8022 (ccos_test): Likewise.
8023 (ccosh_test): Likewise.
8024 (ceil_test): Likewise.
8025 (cexp_test): Likewise.
8026 (cimag_test): Likewise.
8027 (clog_test): Likewise.
8028 (clog10_test): Likewise.
8029 (conj_test): Likewise.
8030 (copysign_test): Likewise.
8031 (cos_test): Likewise.
8032 (cos_test_tonearest): Likewise.
8033 (cos_test_towardzero): Likewise.
8034 (cos_test_downward): Likewise.
8035 (cos_test_upward): Likewise.
8036 (cosh_test): Likewise.
8037 (cosh_test_tonearest): Likewise.
8038 (cosh_test_towardzero): Likewise.
8039 (cosh_test_downward): Likewise.
8040 (cosh_test_upward): Likewise.
8041 (cpow_test): Likewise.
8042 (cproj_test): Likewise.
8043 (creal_test): Likewise.
8044 (csin_test): Likewise.
8045 (csinh_test): Likewise.
8046 (csqrt_test): Likewise.
8047 (ctan_test): Likewise.
8048 (ctan_test_tonearest): Likewise.
8049 (ctan_test_towardzero): Likewise.
8050 (ctan_test_downward): Likewise.
8051 (ctan_test_upward): Likewise.
8052 (ctanh_test): Likewise.
8053 (ctanh_test_tonearest): Likewise.
8054 (ctanh_test_towardzero): Likewise.
8055 (ctanh_test_downward): Likewise.
8056 (ctanh_test_upward): Likewise.
8057 (erf_test): Likewise.
8058 (erfc_test): Likewise.
8059 (exp_test): Likewise.
8060 (exp_test_tonearest): Likewise.
8061 (exp_test_towardzero): Likewise.
8062 (exp_test_downward): Likewise.
8063 (exp_test_upward): Likewise.
8064 (exp10_test): Likewise.
8065 (exp10_test_tonearest): Likewise.
8066 (exp10_test_towardzero): Likewise.
8067 (exp10_test_downward): Likewise.
8068 (exp10_test_upward): Likewise.
8069 (pow10_test): Likewise.
8070 (exp2_test): Likewise.
8071 (expm1_test): Likewise.
8072 (expm1_test_tonearest): Likewise.
8073 (expm1_test_towardzero): Likewise.
8074 (expm1_test_downward): Likewise.
8075 (expm1_test_upward): Likewise.
8076 (fabs_test): Likewise.
8077 (fdim_test): Likewise.
8078 (floor_test): Likewise.
8079 (fma_test): Likewise.
8080 (fma_test_towardzero): Likewise.
8081 (fma_test_downward): Likewise.
8082 (fma_test_upward): Likewise.
8083 (fmax_test): Likewise.
8084 (fmin_test): Likewise.
8085 (fmod_test): Likewise.
8086 (fpclassify_test): Likewise.
8087 (frexp_test): Likewise.
8088 (hypot_test): Likewise.
8089 (ilogb_test): Likewise.
8090 (isfinite_test): Likewise.
8091 (finite_test): Likewise.
8092 (isgreater_test): Likewise.
8093 (isgreaterequal_test): Likewise.
8094 (isinf_test): Likewise.
8095 (isless_test): Likewise.
8096 (islessequal_test): Likewise.
8097 (islessgreater_test): Likewise.
8098 (isnan_test): Likewise.
8099 (isnormal_test): Likewise.
8100 (issignaling_test): Likewise.
8101 (isunordered_test): Likewise.
8102 (j0_test): Likewise.
8103 (j1_test): Likewise.
8104 (jn_test): Likewise.
8105 (ldexp_test): Likewise.
8106 (lgamma_test): Likewise.
8107 (gamma_test): Likewise.
8108 (lrint_test): Likewise.
8109 (lrint_test_tonearest): Likewise.
8110 (lrint_test_towardzero): Likewise.
8111 (lrint_test_downward): Likewise.
8112 (lrint_test_upward): Likewise.
8113 (llrint_test): Likewise.
8114 (llrint_test_tonearest): Likewise.
8115 (llrint_test_towardzero): Likewise.
8116 (llrint_test_downward): Likewise.
8117 (llrint_test_upward): Likewise.
8118 (log_test): Likewise.
8119 (log10_test): Likewise.
8120 (log1p_test): Likewise.
8121 (log2_test): Likewise.
8122 (logb_test): Likewise.
8123 (logb_test_downward): Likewise.
8124 (lround_test): Likewise.
8125 (llround_test): Likewise.
8126 (modf_test): Likewise.
8127 (nearbyint_test): Likewise.
8128 (nextafter_test): Likewise.
8129 (nexttoward_test): Likewise.
8130 (pow_test): Likewise.
8131 (pow_test_tonearest): Likewise.
8132 (pow_test_towardzero): Likewise.
8133 (pow_test_downward): Likewise.
8134 (pow_test_upward): Likewise.
8135 (remainder_test): Likewise.
8136 (drem_test): Likewise.
8137 (remainder_test_tonearest): Likewise.
8138 (drem_test_tonearest): Likewise.
8139 (remainder_test_towardzero): Likewise.
8140 (drem_test_towardzero): Likewise.
8141 (remainder_test_downward): Likewise.
8142 (drem_test_downward): Likewise.
8143 (remainder_test_upward): Likewise.
8144 (drem_test_upward): Likewise.
8145 (remquo_test): Likewise.
8146 (rint_test): Likewise.
8147 (rint_test_tonearest): Likewise.
8148 (rint_test_towardzero): Likewise.
8149 (rint_test_downward): Likewise.
8150 (rint_test_upward): Likewise.
8151 (round_test): Likewise.
8152 (scalb_test): Likewise.
8153 (scalbn_test): Likewise.
8154 (scalbln_test): Likewise.
8155 (signbit_test): Likewise.
8156 (sin_test): Likewise.
8157 (sin_test_tonearest): Likewise.
8158 (sin_test_towardzero): Likewise.
8159 (sin_test_downward): Likewise.
8160 (sin_test_upward): Likewise.
8161 (sincos_test): Likewise.
8162 (sinh_test): Likewise.
8163 (sinh_test_tonearest): Likewise.
8164 (sinh_test_towardzero): Likewise.
8165 (sinh_test_downward): Likewise.
8166 (sinh_test_upward): Likewise.
8167 (sqrt_test): Likewise.
8168 (sqrt_test_tonearest): Likewise.
8169 (sqrt_test_towardzero): Likewise.
8170 (sqrt_test_downward): Likewise.
8171 (sqrt_test_upward): Likewise.
8172 (tan_test): Likewise.
8173 (tan_test_tonearest): Likewise.
8174 (tan_test_towardzero): Likewise.
8175 (tan_test_downward): Likewise.
8176 (tan_test_upward): Likewise.
8177 (tanh_test): Likewise.
8178 (tgamma_test): Likewise.
8179 (trunc_test): Likewise.
8180 (y0_test): Likewise.
8181 (y1_test): Likewise.
8182 (yn_test): Likewise.
8183 (significand_test): Likewise.
8185 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8186 individual tests in comment.
8187 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8188 (prev_max_error): New variable.
8189 (prev_real_max_error): Likewise.
8190 (prev_imag_max_error): Likewise.
8191 (compare_ulp_data): Don't refer to test names in comment.
8192 (find_test_ulps): Remove function.
8193 (find_function_ulps): Likewise.
8194 (find_complex_function_ulps): Likewise.
8195 (init_max_error): Take function name as argument. Look up ulps
8197 (print_ulps): Remove function.
8198 (print_max_error): Use prev_max_error instead of calling
8200 (print_complex_max_error): Use prev_real_max_error and
8201 prev_imag_max_error instead of calling find_complex_function_ulps.
8202 (check_float_internal): Take max_ulp parameter instead of calling
8203 find_test_ulps. Don't call print_ulps.
8204 (check_float): Update call to check_float_internal.
8205 (check_complex): Update calls to check_float_internal.
8206 (START): Pass argument to init_max_error.
8207 * math/gen-libm-test.pl (%results): Don't include "kind"
8209 (parse_ulps): Don't handle ulps of individual tests.
8210 (print_ulps_file): Likewise.
8211 (output_ulps): Likewise.
8212 * math/README.libm-test: Update.
8213 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8215 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8216 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8217 * sysdeps/arm/libm-test-ulps: Likewise.
8218 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8219 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8220 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8221 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8222 * sysdeps/microblaze/libm-test-ulps: Likewise.
8223 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8224 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8226 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8227 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8228 * sysdeps/sh/libm-test-ulps: Likewise.
8229 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8230 * sysdeps/tile/libm-test-ulps: Likewise.
8231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8233 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8235 * math/libm-test.inc (print_complex_max_error): Check separately
8236 whether real and imaginary errors are within allowed range and
8237 pass 0 to print_complex_function_ulps instead of value within
8240 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8242 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8244 (get_handles_fopen): Likewise.
8245 (do_write_test): Likewise.
8247 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8249 * libio/fileops.c (do_ftell): Use cached offset when
8251 * libio/iofwide.c (do_ftell_wide): Likewise.
8252 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8254 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8257 * libio/libioP.h (get_file_offset): New function.
8258 * libio/fileops.c (get_file_offset): Likewise.
8259 (do_ftell): Likewise.
8260 (_IO_new_file_seekoff): Split out ftell logic.
8261 * libio/wfileops.c (do_ftell_wide): Likewise.
8262 (_IO_wfile_seekoff): Split out ftell logic.
8263 * libio/tst-ftell-active-handler.c: New test case.
8264 * libio/Makefile (tests): Add it.
8266 2014-03-03 Roland McGrath <roland@hack.frob.com>
8268 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8269 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8271 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8274 * nscd/connections.c (nscd_init): Call do_exit.
8275 (start_threads): Call do_exit and notify_parent.
8276 (begin_drop_privileges): Call do_exit.
8277 (finish_drop_privileges): Likewise.
8278 * nscd/selinux.c (preserve_capabilities): Likewise.
8279 (install_real_capabilities): Likewise.
8280 (nscd_selinux_enabled): Likewise.
8281 (avc_create_thread): Likewise.
8282 (avc_alloc_lock): Likewise.
8283 (nscd_avc_init): Likewise.
8284 * nscd/nscd.c (parent_fd): New static variable.
8285 (main): Create a pipe between parent and child processes.
8286 Skip closing parent_fd.
8287 (monitor_child): New function.
8288 (do_exit): Likewise.
8289 (notify_parent): Likewise.
8290 * nscd/nscd.h (notify_parent): Likewise.
8291 (do_exit): Likewise.
8293 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8295 * malloc/malloc.c (__libc_calloc): Revert last change.
8297 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8301 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8303 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8307 (__libc_ifunc_impl_list): Likewise.
8308 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8309 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8310 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8311 * string/strrchr.c: Define STRRCHR.
8313 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8315 * benchtest/bench-strtok.c (simple_strtok): Delete.
8316 (strtok_string): Use as benchmark.
8317 * string/strtok (STRTOK): New macro.
8319 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8321 * manual/threads.texi: Add header and standard comments to all
8324 * elf/dl-lookup.c (check_match): New function.
8325 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8326 (do_lookup_x): Remove nested function check_match. Use non-nested
8327 function check_match.
8329 2014-02-28 Roland McGrath <roland@hack.frob.com>
8331 * csu/Makefile (generated, before-compile): Use += rather than =.
8332 * catgets/Makefile (generated, generated-dirs): Likewise.
8333 * debug/Makefile (generated): Likewise.
8334 * dlfcn/Makefile (generated): Likewise.
8335 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8336 * iconvdata/Makefile (before-compile, generated): Likewise.
8337 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8338 * libio/Makefile (generated): Likewise.
8339 * malloc/Makefile (generated): Likewise.
8340 * manual/Makefile (generated, generated-dirs): Likewise.
8341 * misc/Makefile (generated): Likewise.
8342 * posix/Makefile (generated): Likewise.
8343 * resolv/Makefile (generated): Likewise.
8344 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8345 * timezone/Makefile (generated, generated-dirs): Likewise.
8347 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8349 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8352 power8 implementation.
8353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8354 file: POWER8 llround ifunc implementation.
8355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8356 (__lllround): Add POWER8 implementation.
8357 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8358 POWER8 llround implementation.
8360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8361 power8 implementation.
8362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8363 file: POWER8 llrint ifunc implementation.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8365 Add POWER8 implementation.
8366 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8367 POWER8 llrint implementation.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8370 power8 implementation.
8371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8372 file: POWER8 finite ifunc implementation.
8373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8374 Add POWER8 implementation.
8375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8377 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8378 POWER8 finite implementation.
8379 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8382 power8 implementation.
8383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8384 file: POWER8 isinf ifunc implementation.
8385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8386 POWER8 implementation.
8387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8390 isinf implementation.
8391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8393 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8394 (INIT_ARCH): Add hwcap2 initialization.
8395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8396 power8 implementation.
8397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8398 file: POWER8 isnan ifunc implementation.
8399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8400 POWER8 implementation.
8401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8403 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8404 isnan implementation.
8405 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8407 2014-02-27 Joey Ye <joey.ye@arm.com>
8409 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8410 (_FP_NANFRAC_Q): Set to zero.
8412 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8415 * math/auto-libm-test-in: New test inputs.
8416 * math/auto-libm-test-out: Regenerate.
8417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8420 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8422 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8424 * scripts/evaluate-test.sh: Take new argument indicating whether
8425 failure is expected.
8426 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8427 indicating whether failure is expected.
8428 * conform/Makefile (test-xfail-run-conformtest): New variable.
8429 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8431 * posix/Makefile (test-xfail-annexc): New variable.
8432 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8434 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8436 * argp/Makefile: Include Makeconfig immediately after defining
8438 * assert/Makefile: Likewise.
8439 * benchtests/Makefile: Likewise.
8440 * catgets/Makefile: Likewise.
8441 * conform/Makefile: Likewise.
8442 * crypt/Makefile: Likewise.
8443 * csu/Makefile: Likewise.
8444 (all): Remove target.
8445 * ctype/Makefile: Include Makeconfig immediately after defining
8447 * debug/Makefile: Likewise.
8448 * dirent/Makefile: Likewise.
8449 * dlfcn/Makefile: Likewise.
8450 * gmon/Makefile: Likewise.
8451 * gnulib/Makefile: Likewise.
8452 * grp/Makefile: Likewise.
8453 * gshadow/Makefile: Likewise.
8454 * hesiod/Makefile: Likewise.
8455 * hurd/Makefile: Likewise.
8456 (all): Remove target.
8457 * iconvdata/Makefile: Include Makeconfig immediately after
8459 * inet/Makefile: Likewise.
8460 * intl/Makefile: Likewise.
8461 * io/Makefile: Likewise.
8462 * libio/Makefile: Likewise.
8463 (all): Remove target.
8464 * locale/Makefile: Include Makeconfig immediately after defining
8466 * login/Makefile: Likewise.
8467 * mach/Makefile: Likewise.
8468 (all): Remove target.
8469 * malloc/Makefile: Include Makeconfig immediately after defining
8471 (all): Remove target.
8472 * manual/Makefile: Include Makeconfig immediately after defining
8474 * math/Makefile: Likewise.
8475 * misc/Makefile: Likewise.
8476 * nis/Makefile: Likewise.
8477 * nss/Makefile: Likewise.
8478 * po/Makefile: Likewise.
8479 (all): Remove target.
8480 * posix/Makefile: Include Makeconfig immediately after defining
8482 * pwd/Makefile: Likewise.
8483 * resolv/Makefile: Likewise.
8484 * resource/Makefile: Likewise.
8485 * rt/Makefile: Likewise.
8486 * setjmp/Makefile: Likewise.
8487 * shadow/Makefile: Likewise.
8488 * signal/Makefile: Likewise.
8489 * socket/Makefile: Likewise.
8490 * soft-fp/Makefile: Likewise.
8491 * stdio-common/Makefile: Likewise.
8492 * stdlib/Makefile: Likewise.
8493 * streams/Makefile: Likewise.
8494 * string/Makefile: Likewise.
8495 * sunrpc/Makefile: Likewise.
8496 (all): Remove target.
8497 * sysvipc/Makefile: Include Makeconfig immediately after defining
8499 * termios/Makefile: Likewise.
8500 * time/Makefile: Likewise.
8501 * timezone/Makefile: Likewise.
8502 (all): Remove target.
8503 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8505 * wctype/Makefile: Likewise.
8507 2014-02-26 Steve Ellcey <sellcey@mips.com>
8509 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8510 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8511 (libc_feholdexcept_setround_mips): Ditto.
8512 (libc_feholdsetround): New.
8513 (libc_feholdsetroundf): New.
8514 (libc_feholdsetroundl): New.
8515 (libc_feupdateenv_test_mips): New.
8516 (libc_feupdateenv_test): New.
8517 (libc_feupdateenv_testf): New.
8518 (libc_feupdateenv_testl): New.
8519 (libc_feresetround): New.
8520 (libc_feresetroundf): New.
8521 (libc_feresetroundl): New.
8522 (libc_fetestexcept_mips): New.
8523 (libc_fetestexcept): New.
8524 (libc_fetestexceptf): New.
8525 (libc_fetestexceptl): New.
8527 (libc_feholdexcept_setround_mips_ctx): New.
8528 (libc_feholdexcept_setround_ctx): New.
8529 (libc_feholdexcept_setroundf_ctx): New.
8530 (libc_feholdexcept_setroundl_ctx): New.
8531 (libc_fesetenv_mips_ctx): New.
8532 (libc_fesetenv_ctx): New.
8533 (libc_fesetenv_ctxf): New.
8534 (libc_fesetenv_ctxl): New.
8535 (libc_feupdateenv_mips_ctx): New.
8536 (libc_feupdateenv_ctx): New.
8537 (libc_feupdateenvf_ctx): New.
8538 (libc_feupdateenvl_ctx): New.
8539 (libc_feholdsetround_mips_ctx): New.
8540 (libc_feholdsetround_ctx): New.
8541 (libc_feholdsetroundf_ctx): New.
8542 (libc_feholdsetroundl_ctx): New.
8543 (libc_feresetround_mips_ctx): New.
8544 (libc_feresetround_ctx): New.
8545 (libc_feresetroundf_ctx): New.
8546 (libc_feresetroundl_ctx): New.
8548 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8550 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8552 * manual/ipc.texi: New file.
8553 * manual/Makefile (chapters): Add ipc.
8554 * manual/job.texi: Add "Inter-Process Communication" to next.
8555 * manual/process.texi: Add "Inter-Process Communication" to prev.
8557 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8561 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8563 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8565 * manual/arith.texi: Fix spaces after sentences.
8566 * manual/charset.texi: Likewise.
8567 * manual/errno.texi: Likewise.
8568 * manual/install.texi: Likewise.
8569 * manual/llio.texi: Likewise.
8570 * manual/locale.texi: Likewise.
8571 * manual/maint.texi: Likewise.
8572 * manual/math.texi: Likewise.
8573 * manual/memory.texi: Likewise.
8574 * manual/message.texi: Likewise.
8575 * manual/probes.texi: Likewise.
8576 * manual/resource.texi: Likewise.
8577 * manual/signal.texi: Likewise.
8578 * manual/socket.texi: Likewise.
8579 * manual/stdio.texi: Likewise.
8580 * manual/string.texi: Likewise.
8581 * manual/time.texi: Likewise.
8582 * manual/users.texi: Likewise.
8584 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8587 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8588 _DEFAULT_SOURCE is defined.
8590 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8591 Carlos O'Donell <carlos@redhat.com>
8594 * elf/dl-tls.c (_dl_count_modids): New function.
8595 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8596 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8597 audit library and increment generation counter.
8598 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8599 * elf/tst-audit9.c: New file.
8600 * elf/tst-auditmod9a.c: New file.
8601 * elf/tst-auditmod9b.c: New file.
8602 * elf/Makefile: Add rules to build and run tst-audit9.
8604 2014-02-25 Florian Weimer <fweimer@redhat.com>
8607 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8609 2014-02-25 Will Newton <will.newton@linaro.org>
8611 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8612 (__longjmp): Restore sp and lr before restoring callee
8613 saved registers. Add longjmp and longjmp_target
8614 SystemTap probe point.
8615 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8616 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8617 Define to zero to match jmpbuf layout.
8618 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8619 (__sigsetjmp): Save sp and lr before saving callee
8620 saved registers. Add setjmp SystemTap probe point.
8622 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8624 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8626 2014-02-24 Andreas Schwab <schwab@suse.de>
8629 * elf/pldd.c (wait_for_ptrace_stop): New function.
8630 (main): Call it after attaching.
8632 2014-02-22 Roland McGrath <roland@hack.frob.com>
8634 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8635 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8636 Versions files is now verboten.
8637 * hurd/Versions (libc: GLIBC_2.0):
8638 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8639 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8640 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8641 * mach/Versions: Likewise.
8643 * csu/Versions: Remove unused %include.
8644 * resolv/Versions: Likewise.
8646 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8648 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8649 ($(objpfx)check-local-headers.out): Likewise.
8650 ($(objpfx)begin-end-check.out): Likewise.
8651 * Makerules (check-abi-%.out): Likewise.
8652 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8653 ($(objpfx)test2.cat): Likewise.
8654 ($(objpfx)de/libc.cat): Likewise.
8655 ($(objpfx)test-gencat.out): Likewise.
8656 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8657 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8658 ($(objpfx)noload-mem): Likewise.
8659 ($(objpfx)tst-pathopt.out): Likewise.
8660 ($(objpfx)tst-rtld-load-self.out): Likewise.
8661 ($(objpfx)tst-array1-cmp.out): Likewise.
8662 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8663 ($(objpfx)tst-array2-cmp.out): Likewise.
8664 ($(objpfx)tst-array3-cmp.out): Likewise.
8665 ($(objpfx)tst-array4-cmp.out): Likewise.
8666 ($(objpfx)tst-array5-cmp.out): Likewise.
8667 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8668 ($(objpfx)check-textrel.out): Likewise.
8669 ($(objpfx)check-execstack.out): Likewise.
8670 ($(objpfx)check-localplt.out): Likewise.
8671 ($(objpfx)order2-cmp.out): Likewise.
8672 ($(objpfx)tst-leaks1-mem): Likewise.
8673 ($(objpfx)tst-leaks1-static-mem): Likewise.
8674 ($(objpfx)tst-initorder-cmp.out): Likewise.
8675 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8676 ($(objpfx)tst-unused-dep.out): Likewise.
8677 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8678 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8679 * iconv/Makefile (test-iconvconfig): Likewise.
8680 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8681 ($(objpfx)iconv-test.out): Likewise.
8682 ($(objpfx)tst-tables.out): Likewise.
8683 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8684 ($(objpfx)tst-gettext.out): Likewise.
8685 ($(objpfx)tst-translit.out): Likewise.
8686 ($(objpfx)tst-gettext2.out): Likewise.
8687 ($(objpfx)tst-gettext4.out): Likewise.
8688 ($(objpfx)tst-gettext6.out): Likewise.
8689 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8690 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8691 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8692 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8693 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8694 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8695 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8696 ($(objpfx)wordexp-tst.out): Likewise.
8697 ($(objpfx)annexc.out): Likewise.
8698 ($(objpfx)tst-fnmatch-mem): Likewise.
8699 ($(objpfx)bug-regex2-mem): Likewise.
8700 ($(objpfx)bug-regex14-mem): Likewise.
8701 ($(objpfx)bug-regex21-mem): Likewise.
8702 ($(objpfx)bug-regex31-mem): Likewise.
8703 ($(objpfx)tst-vfork3-mem): Likewise.
8704 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8705 ($(objpfx)tst-pcre-mem): Likewise.
8706 ($(objpfx)tst-boost-mem): Likewise.
8707 ($(objpfx)tst-getconf.out): Likewise.
8708 ($(objpfx)bug-ga2-mem): Likewise.
8709 ($(objpfx)bug-glob2-mem): Likewise.
8710 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8711 ($(objpfx)mtrace-tst-leaks2): Likewise.
8712 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8713 ($(objpfx)tst-printf.out): Likewise.
8714 ($(objpfx)tst-setvbuf1.out): Likewise.
8715 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8716 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8717 ($(objpfx)tst-fmtmsg.out): Likewise.
8718 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8719 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8721 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8722 * bits/sigaction.h [__USE_MISC]: Likewise.
8723 * bits/waitstatus.h: Update #endif comments.
8724 * ctype/ctype.h: Likewise.
8725 * dirent/dirent.h: Likewise.
8726 [__USE_MISC]: Remove redundant conditionals.
8727 * grp/grp.h: Update #endif comments.
8728 [__USE_GNU]: Remove redundant conditionals.
8729 [__USE_MISC]: Likewise.
8730 * inet/netinet/in.h [__USE_GNU]: Likewise.
8731 * io/sys/stat.h [__USE_MISC]: Likewise.
8732 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8733 * libio/bits/stdio.h: Update #endif comments.
8734 [__USE_MISC]: Remove redundant conditionals.
8735 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8736 * libio/stdio.h: Update #endif comments.
8737 [__USE_MISC]: Remove redundant conditionals.
8738 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8739 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8740 * math/math.h: Update #else and #endif comments.
8741 [__USE_MISC]: Remove redundant conditionals.
8742 * misc/sys/uio.h: Update #endif comments.
8743 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8744 * posix/glob.h [__USE_MISC]: Likewise.
8745 * posix/sys/types.h: Update #endif comments.
8746 [__USE_MISC]: Remove redundant conditionals.
8747 * posix/sys/wait.h: Update #endif comments.
8748 [__USE_MISC]: Remove redundant conditionals.
8749 * posix/unistd.h: Update #endif comments.
8750 [__USE_MISC]: Remove redundant conditionals.
8751 * pwd/pwd.h [__USE_GNU]: Likewise.
8752 [__USE_MISC]: Likewise.
8753 * resolv/netdb.h [__USE_GNU]: Likewise.
8754 * signal/signal.h: Update #endif comments.
8755 [__USE_MISC]: Remove redundant conditionals.
8756 * stdlib/stdlib.h: Update #else and #endif comments.
8757 [__USE_MISC]: Remove redundant conditionals.
8758 [__USE_GNU]: Likewise.
8759 * string/bits/string2.h [__USE_MISC]: Likewise.
8760 * string/string.h: Update #endif comments.
8761 [__USE_MISC]: Remove redundant conditionals.
8762 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8764 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8765 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8766 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8768 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8772 [__USE_MISC]: Remove redundant conditionals.
8773 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8774 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8775 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8776 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8777 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8779 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8780 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8782 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8783 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8785 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8787 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8788 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8790 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8792 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8793 * sysdeps/x86/bits/string.h: Update #endif comments.
8794 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8796 * time/sys/time.h: Update #endif comments.
8797 * time/time.h: Likewise.
8798 [__USE_MISC]: Remove redundant conditionals.
8800 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8803 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8805 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8807 * Versions.def (librt): Add GLIBC_2.17.
8809 2014-02-21 Adam Conrad <adconrad@0c3.net>
8811 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8812 synonym for _SYS_AUXV_H to allow direct inclusion.
8813 * sysdeps/sparc/bits/hwcap.h: Likewise.
8814 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8815 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8816 * sysdeps/sparc/sysdep.h: Likewise.
8818 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8820 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8822 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8824 * benchtests/bench-strrchr.c: Print length instead of position.
8826 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8829 * sysdeps/unix/sysv/linux/kernel-features.h
8830 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8831 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8832 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8833 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8835 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8836 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8837 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8838 (__ASSUME_SENDMMSG): Define instead of using previous
8839 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8840 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8841 (__ASSUME_SENDMMSG_SYSCALL): Define.
8842 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8843 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8846 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8848 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8849 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8851 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8852 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8853 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8854 [__ASSUME_SENDMMSG]: Change conditionals to
8855 [__ASSUME_SENDMMSG_SOCKETCALL].
8856 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8857 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8859 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8860 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8862 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8863 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8864 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8865 [!__ASSUME_SENDMMSG]: Change conditional to
8866 [!__ASSUME_SENDMMSG_SOCKETCALL].
8867 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8868 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8872 * sysdeps/unix/sysv/linux/kernel-features.h
8873 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8874 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8875 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8876 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8877 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8878 [__i386__ || __sparc__]
8879 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8880 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8881 (__ASSUME_RECVMMSG): Define instead of using previous
8882 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8883 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8884 (__ASSUME_RECVMMSG_SYSCALL): Define.
8885 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8886 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8892 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8894 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8895 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8896 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8897 [__ASSUME_RECVMMSG]: Change condition to
8898 [__ASSUME_RECVMMSG_SOCKETCALL].
8899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8900 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8902 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8903 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8904 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8906 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8907 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8908 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8909 [!__ASSUME_RECVMMSG]: Change condition to
8910 [!__ASSUME_RECVMMSG_SOCKETCALL].
8911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8912 (__ASSUME_RECVMMSG_SYSCALL): Define.
8915 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8916 __powerpc__ || __s390__ || __sh__ || __sparc__]
8917 (__ASSUME_SOCKETCALL): Define.
8918 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8919 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8920 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8921 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8922 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8923 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8924 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8925 (__ASSUME_ACCEPT4): Define instead of using previous
8926 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8927 __powerpc__ || __sparc__ || __s390__)] condition.
8928 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8929 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8930 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8931 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8932 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8933 [!__ASSUME_ACCEPT4]: Change condition to
8934 [!__ASSUME_ACCEPT4_SOCKETCALL].
8935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8936 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8937 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8938 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8939 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8940 __ASSUME_ACCEPT4_SYSCALL.
8941 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8942 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8943 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8944 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8945 __ASSUME_ACCEPT4_SYSCALL.
8946 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8947 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8948 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8949 [__ASSUME_ACCEPT4]: Change condition to
8950 [__ASSUME_ACCEPT4_SOCKETCALL].
8951 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8952 (__ASSUME_SOCKETCALL): Define.
8953 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8955 (__ASSUME_SOCKETCALL): Define.
8956 (__ASSUME_ACCEPT4): Remove.
8957 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8959 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8960 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8962 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8963 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8965 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8967 (HWCAP_ARM_LPAE): Likewise.
8968 (HWCAP_ARM_EVTSTRM): Likewise.
8969 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8970 Add vpfd32, lpae and evtstrm.
8971 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8974 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8976 * math/auto-libm-test-in: Add tests of clog10.
8977 * math/auto-libm-test-out: Regenerated.
8978 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8979 * sysdeps/i386/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8982 2014-02-18 Andreas Schwab <schwab@suse.de>
8985 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8986 Store non-zero if the second buffer was newly allocated.
8987 (send_dg): Likewise.
8988 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8989 to send_vc and send_dg.
8990 (res_nsend): Pass NULL for ansp2_malloced.
8991 * resolv/res_query.c (__libc_res_nquery): Add parameter
8992 answerp2_malloced and pass it down to __libc_res_nsend.
8993 (res_nquery): Pass additional NULL to __libc_res_nquery.
8994 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8995 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8996 second answer buffer if answerp2_malloced was set.
8997 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8998 (__libc_res_nquerydomain): Add parameter
8999 answerp2_malloced and pass it down to __libc_res_nquery.
9000 (res_nquerydomain): Pass additional NULL to
9001 __libc_res_nquerydomain.
9002 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9003 additional NULL to __libc_res_nsend and __libc_res_nquery.
9004 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9005 additional NULL to __libc_res_nsearch.
9006 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9007 parameter of __libc_res_nsearch to check for separately allocated
9009 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9011 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9012 additional NULL to __libc_res_nquery.
9013 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9015 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9016 * include/resolv.h: Update prototypes of __libc_res_nquery,
9017 __libc_res_nsearch, __libc_res_nsend.
9019 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9021 * math/auto-libm-test-in: Add tests of fma.
9022 * math/auto-libm-test-out: Regenerated.
9023 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9024 (fma_towardzero_test_data): Likewise.
9025 (fma_downward_test_data): Likewise.
9026 (fma_upward_test_data): Likewise.
9027 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9029 (rounding_modes): Add values for new field.
9030 (func_calc_method): Add value mpfr_fff_f.
9031 (func_calc_desc): Add mpfr_fff_f union field.
9032 (test_function): Add field exact_args.
9033 (FUNC): Add macro argument EXACT_ARGS.
9034 (FUNC_mpfr_f_f): Update call to FUNC.
9035 (FUNC_mpfr_f_f): Likewise.
9036 (FUNC_mpfr_ff_f): Likewise.
9037 (FUNC_mpfr_if_f): Likewise.
9038 (FUNC_mpc_c_f): Likewise.
9039 (FUNC_mpc_c_c): Likewise.
9040 (test_functions): Add fma. Update calls to FUNC.
9041 (handle_input_arg): Add argument exact_args.
9042 (add_test): Update call to handle_input_arg.
9043 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9044 (output_for_one_input_case): Update call to calc_generic_results.
9045 Recalculate exact zero results in each rounding mode.
9047 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9048 non-negative before setting low bit.
9049 * math/auto-libm-test-in: Mark one asin test possibly having
9051 * math/auto-libm-test-out: Regenerated.
9052 * sysdeps/i386/fpu/libm-test-ulps: Update.
9053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9055 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9057 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9058 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9059 ports/sysdeps/unix/sysv/linux/microblaze.
9060 * README: Add missing listing for microblaze*-*-linux-gnu.
9062 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9064 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9065 * sysdeps/unix/sysv/linux/ia64: Move directory from
9066 ports/sysdeps/unix/sysv/linux/ia64.
9067 * README: Update listing for ia64-*-linux-gnu.
9069 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9070 Joseph Myers <joseph@codesourcery.com>
9072 * Makeconfig (test-name): New variable.
9073 (evaluate-test): Likewise.
9074 * Makerules (do-test-clean): Remove .test-result files.
9075 (common-mostlyclean): Likewise.
9076 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9077 * scripts/evaluate-test.sh: New file.
9079 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9081 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9082 separate $(objpfx)tst-fopenloc-cmp.out and
9083 $(objpfx)tst-fopenloc-mem.out targets.
9084 (tests): Update dependencies.
9085 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9086 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9087 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9088 (tst-rxspencer-no-utf8-ARGS): New variable.
9089 (tst-rxspencer-no-utf8-ENV): Likewise.
9090 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9091 instead of $(objpfx)tst-rxspencer-mem.
9092 ($(objpfx)tst-rxspencer-mem): Change target to
9093 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9094 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9095 * posix/tst-rxspencer-no-utf8.c: New file.
9097 * elf/Makefile ($(objpfx)order.out): Remove rule.
9098 [$(run-built-tests) = yes] (tests): Depend on
9099 $(objpfx)order-cmp.out.
9100 ($(objpfx)order-cmp.out): New rule.
9101 [$(run-built-tests) = yes] (tests): Depend on
9102 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9103 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9104 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9105 $(objpfx)tst-array5-static-cmp.out.
9106 ($(objpfx)tst-array1.out): Remove rule.
9107 ($(objpfx)tst-array1-cmp.out): New rule.
9108 ($(objpfx)tst-array1-static.out): Remove rule.
9109 ($(objpfx)tst-array1-static-cmp.out): New rule.
9110 ($(objpfx)tst-array2.out): Remove rule.
9111 ($(objpfx)tst-array2-cmp.out): New rule.
9112 ($(objpfx)tst-array3.out): Remove rule.
9113 ($(objpfx)tst-array3-cmp.out): New rule.
9114 ($(objpfx)tst-array4.out): Remove rule.
9115 ($(objpfx)tst-array4-cmp.out): New rule.
9116 ($(objpfx)tst-array5.out): Remove rule.
9117 ($(objpfx)tst-array5-cmp.out): New rule.
9118 ($(objpfx)tst-array5-static.out): Remove rule.
9119 ($(objpfx)tst-array5-static-cmp.out): New rule.
9120 [$(run-built-tests) = yes] (tests): Depend on
9121 $(objpfx)order2-cmp.out.
9122 ($(objpfx)order2.out): Remove rule.
9123 ($(objpfx)order2-cmp.out): New rule.
9124 ($(objpfx)tst-initorder.out): Remove rule.
9125 [$(run-built-tests) = yes] (tests): Depend on
9126 $(objpfx)tst-initorder-cmp.out.
9127 ($(objpfx)tst-initorder-cmp.out): New rule.
9128 ($(objpfx)tst-initorder2.out): Remove rule.
9129 [$(run-built-tests) = yes] (tests): Depend on
9130 $(objpfx)tst-initorder2-cmp.out.
9131 ($(objpfx)tst-initorder2-cmp.out): New rule.
9132 [$(run-built-tests) = yes] (tests): Depend on
9133 $(objpfx)tst-unused-dep-cmp.out.
9134 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9135 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9136 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9137 on $(objpfx)tst-setvbuf1-cmp.out.
9138 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9139 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9140 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9141 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9142 ($(objpfx)tst-svc.out): Remove rule.
9143 ($(objpfx)tst-svc-cmp.out): New rule.
9145 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9147 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9148 * ctype/ctype.h [__USE_MISC]: Likewise.
9149 * dirent/dirent.h [__USE_MISC]: Likewise.
9150 * grp/grp.h [__USE_MISC]: Likewise.
9151 * io/fcntl.h [__USE_MISC]: Likewise.
9152 * io/sys/stat.h [__USE_MISC]: Likewise.
9153 * libio/stdio.h [__USE_MISC]: Likewise.
9154 * posix/unistd.h [__USE_MISC]: Likewise.
9155 * pwd/pwd.h [__USE_MISC]: Likewise.
9156 * stdlib.h [__USE_MISC]: Likewise.
9157 * string/bits/string2.h [__USE_MISC]: Likewise.
9158 * string/string.h [__USE_MISC]: Likewise.
9159 * time/time.h [__USE_MISC]: Likewise.
9161 2014-02-13 Andreas Schwab <schwab@suse.de>
9164 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9165 second answer buffer if it was separately allocated.
9167 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9169 * sysdeps/mips/math-tests.h: Include <features.h>.
9170 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9171 (ROUNDING_TESTS_long_double): Do not define.
9172 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9173 (EXCEPTION_TESTS_long_double): Likewise.
9174 * sysdeps/mips/mips64/libm-test-ulps: Update.
9176 * include/features.h (__USE_BSD): Remove macro definitions.
9177 (__USE_SVID): Likewise.
9178 (_BSD_SOURCE): Likewise.
9179 (_SVID_SOURCE): Likewise.
9180 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9181 from definition of _DEFAULT_SOURCE.
9182 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9184 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9185 * bits/mman.h [__USE_BSD]: Likewise.
9186 * bits/termios.h [__USE_BSD]: Likewise.
9187 * bits/waitstatus.h [__USE_BSD]: Likewise.
9188 * ctype/ctype.h [__USE_SVID]: Likewise.
9189 * dirent/dirent.h [__USE_BSD]: Likewise.
9190 * grp/grp.h [__USE_SVID]: Likewise.
9191 [__USE_BSD]: Likewise.
9192 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9193 * io/fcntl.h [__USE_BSD]: Likewise.
9194 * io/ftw.h [__USE_BSD]: Likewise.
9195 * io/sys/stat.h [__USE_BSD]: Likewise.
9196 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9197 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9198 * libio/stdio.h [__USE_SVID]: Likewise.
9199 [__USE_BSD]: Likewise.
9200 * math/math.h [__USE_SVID]: Likewise.
9201 [__USE_BSD]: Likewise.
9202 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9203 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9204 * misc/search.h [__USE_SVID]: Likewise.
9205 * misc/sys/mman.h [__USE_BSD]: Likewise.
9206 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9207 * misc/sys/uio.h [__USE_BSD]: Likewise.
9208 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9209 * posix/glob.h [__USE_BSD]: Likewise.
9210 * posix/regex.h [__USE_BSD]: Likewise.
9211 * posix/sys/types.h [__USE_BSD]: Likewise.
9212 [__USE_SVID]: Likewise.
9213 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9214 * posix/sys/wait.h [__USE_BSD]: Likewise.
9215 [__USE_SVID]: Likewise.
9216 * posix/unistd.h [__USE_BSD]: Likewise.
9217 [__USE_SVID]: Likewise.
9218 * pwd/pwd.h [__USE_SVID]: Likewise.
9219 * resolv/netdb.h [__USE_BSD]: Likewise.
9220 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9221 * signal/signal.h [__USE_BSD]: Likewise.
9222 [__USE_SVID]: Likewise.
9223 * socket/sys/socket.h [__USE_BSD]: Likewise.
9224 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9225 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9226 [__USE_SVID]: Likewise.
9227 * string/bits/string2.h [__USE_BSD]: Likewise.
9228 [__USE_SVID]: Likewise.
9229 * string/bits/string3.h [__USE_BSD]: Likewise.
9230 * string/endian.h [__USE_BSD]: Likewise.
9231 * string/string.h [__USE_SVID]: Likewise.
9232 [__USE_BSD]: Likewise.
9233 * string/strings.h [__USE_BSD]: Likewise.
9234 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9235 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9236 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9237 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9238 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9239 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9243 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9244 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9246 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9247 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9249 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9251 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9252 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9257 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9258 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9259 * termios/termios.h [__USE_BSD]: Likewise.
9260 * time/sys/time.h [__USE_BSD]: Likewise.
9261 * time/time.h [__USE_BSD]: Likewise.
9262 [__USE_SVID]: Likewise.
9264 * Makefile (subdir_targets): Remove subdir_lint.out.
9266 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9267 (do-tst-printf): Likewise.
9268 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9269 $(objpfx)tst-printf.out.
9271 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9273 * Makerules (check-abi-%): Change target to
9274 $(objpfx)check-abi-%.out.
9275 (check-abi target): Update dependencies.
9276 (check-abi-pattern variable): Redirect output of diff to $@.
9277 (check-abi variable): Likewise.
9278 * elf/Makefile (check-abi): Update dependencies.
9280 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9282 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9283 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9285 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9286 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9287 value has largest subnormal exponent.
9288 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9289 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9290 * sysdeps/aarch64/soft-fp/sfp-machine.h
9291 (_FP_TININESS_AFTER_ROUNDING): New macro.
9292 * sysdeps/alpha/soft-fp/sfp-machine.h
9293 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9294 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9296 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9297 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9298 * sysdeps/mips/soft-fp/sfp-machine.h
9299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9300 * sysdeps/powerpc/soft-fp/sfp-machine.h
9301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9302 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9304 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9306 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9308 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9311 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9314 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9317 2014-02-12 Richard Henderson <rth@redhat.com>
9319 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9320 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9321 * sysdeps/unix/sysv/linux/alpha: Move directory from
9322 ports/sysdeps/unix/sysv/linux/alpha.
9323 * README: Update listing for alpha-*-linux-gnu.
9325 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9327 * include/features.h: Update comment documenting feature test
9329 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9331 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9332 (_SVID_SOURCE): Likewise.
9333 (_DEFAULT_SOURCE): Update description of default features.
9334 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9336 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9337 (S_ISVTX): Likewise.
9338 * manual/math.texi (Mathematical Constants): Likewise.
9339 * manual/signal.texi (Interrupted Primitives): Likewise.
9340 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9341 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9342 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9343 Don't refer to _SVID_SOURCE in warning text.
9345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9347 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9349 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9350 * sysdeps/mips/dl-lookup.c: Remove.
9351 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9353 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9356 * math/auto-libm-test-in: Add testcase for expl.
9357 * math/auto-libm-test-out: Regenerate.
9358 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9359 calculation of unsafe.
9360 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9362 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9364 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9365 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9366 ports/sysdeps/unix/sysv/linux/aarch64.
9367 * README: Update listing for aarch64*-*-linux-gnu.
9369 2014-02-11 Will Newton <will.newton@linaro.org>
9371 * manual/probes.texi (Mathematical Function Probes): Use
9372 "triggered" instead of "hit".
9374 * manual/probes.texi (Internal Probes): Add documentation
9375 of setjmp, longjmp and longjmp_target probes.
9377 * include/stap-probe.h: Add comment about probe argument
9380 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9381 definition. (tr_where, tr_freehook, tr_mallochook,
9382 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9384 2014-02-11 David S. Miller <davem@davemloft.net>
9386 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9387 processing int_tests.
9389 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9391 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9392 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9393 * sysdeps/unix/sysv/linux/mips: Move directory from
9394 ports/sysdeps/unix/sysv/linux/mips.
9395 * README: Update listing for mips-*-linux-gnu and
9398 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9400 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9401 * sysdeps/unix/sysv/linux/m68k: Move directory from
9402 ports/sysdeps/unix/sysv/linux/m68k.
9403 * README: Update listing for m68k-*-linux-gnu.
9405 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9407 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9408 * sysdeps/unix/sysv/linux/generic: Move directory from
9409 ports/sysdeps/unix/sysv/linux/generic.
9410 * sysdeps/unix/sysv/linux/tile: Move directory from
9411 ports/sysdeps/unix/sysv/linux/tile.
9412 * README: Update listing for tile*-*-linux-gnu.
9414 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9416 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9418 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9419 * catgets/open_catalog.c (__open_catalog): Likewise.
9420 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9421 * debug/confstr_chk.c: Likewise.
9422 * debug/fread_chk.c (__fread_chk): Likewise.
9423 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9424 * debug/getgroups_chk.c: Likewise.
9425 * debug/mbsnrtowcs_chk.c: Likewise.
9426 * debug/mbsrtowcs_chk.c: Likewise.
9427 * debug/mbstowcs_chk.c: Likewise.
9428 * debug/memcpy_chk.c: Likewise.
9429 * debug/memmove_chk.c: Likewise.
9430 * debug/mempcpy_chk.c: Likewise.
9431 * debug/memset_chk.c: Likewise.
9432 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9433 * debug/strcat_chk.c (__strcat_chk): Likewise.
9434 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9435 * debug/strncat_chk.c (__strncat_chk): Likewise.
9436 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9437 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9438 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9439 * debug/wcpncpy_chk.c: Likewise.
9440 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9441 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9442 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9443 * debug/wcsncpy_chk.c: Likewise.
9444 * debug/wcsnrtombs_chk.c: Likewise.
9445 * debug/wcsrtombs_chk.c: Likewise.
9446 * debug/wcstombs_chk.c: Likewise.
9447 * debug/wmemcpy_chk.c: Likewise.
9448 * debug/wmemmove_chk.c: Likewise.
9449 * debug/wmempcpy_chk.c: Likewise.
9450 * debug/wmemset_chk.c: Likewise.
9451 * dirent/scandirat.c (SCANDIRAT): Likewise.
9452 * dlfcn/dladdr1.c (dladdr1): Likewise.
9453 * dlfcn/dladdr.c (dladdr): Likewise.
9454 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9455 * dlfcn/dlerror.c (__dlerror): Likewise.
9456 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9457 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9458 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9459 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9460 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9461 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9462 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9463 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9465 * elf/dl-conflict.c: Likewise.
9466 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9467 * elf/dl-dst.h: Likewise.
9468 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9469 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9470 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9471 * elf/dl-init.c (call_init, _dl_init): Likewise.
9472 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9473 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9474 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9476 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9478 * elf/dl-minimal.c (__libc_memalign): Likewise.
9479 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9480 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9481 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9482 * elf/dl-sym.c (do_sym): Likewise.
9483 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9484 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9485 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9486 * elf/dl-writev.h (_dl_writev): Likewise.
9487 * elf/ldconfig.c (search_dir): Likewise.
9488 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9489 (dl_main): Likewise.
9490 * elf/setup-vdso.h (setup_vdso): Likewise.
9491 * grp/compat-initgroups.c (compat_call): Likewise.
9492 * grp/fgetgrent.c (fgetgrent): Likewise.
9493 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9494 * grp/putgrent.c (putgrent): Likewise.
9495 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9497 * hurd/hurdinit.c: Likewise.
9498 * iconvdata/8bit-gap.c (struct): Likewise.
9499 * iconvdata/ansi_x3.110.c : Likewise.
9500 * iconvdata/big5.c : Likewise.
9501 * iconvdata/big5hkscs.c : Likewise.
9502 * iconvdata/cp1255.c: Likewise.
9503 * iconvdata/cp1258.c : Likewise.
9504 * iconvdata/cp932.c : Likewise.
9505 * iconvdata/euc-cn.c: Likewise.
9506 * iconvdata/euc-jisx0213.c : Likewise.
9507 * iconvdata/euc-jp.c: Likewise.
9508 * iconvdata/euc-jp-ms.c : Likewise.
9509 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9510 * iconvdata/gb18030.c : Likewise.
9511 * iconvdata/gbbig5.c (const): Likewise.
9512 * iconvdata/gbgbk.c: Likewise.
9513 * iconvdata/gbk.c : Likewise.
9514 * iconvdata/ibm1364.c : Likewise.
9515 * iconvdata/ibm930.c : Likewise.
9516 * iconvdata/ibm932.c: Likewise.
9517 * iconvdata/ibm933.c : Likewise.
9518 * iconvdata/ibm935.c : Likewise.
9519 * iconvdata/ibm937.c : Likewise.
9520 * iconvdata/ibm939.c : Likewise.
9521 * iconvdata/ibm943.c: Likewise.
9522 * iconvdata/iso_11548-1.c: Likewise.
9523 * iconvdata/iso-2022-cn.c : Likewise.
9524 * iconvdata/iso-2022-cn-ext.c : Likewise.
9525 * iconvdata/iso-2022-jp-3.c: Likewise.
9526 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9527 * iconvdata/iso-2022-kr.c : Likewise.
9528 * iconvdata/iso646.c (gconv_end): Likewise.
9529 * iconvdata/iso_6937-2.c : Likewise.
9530 * iconvdata/iso_6937.c : Likewise.
9531 * iconvdata/iso8859-1.c: Likewise.
9532 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9533 * iconvdata/shift_jisx0213.c : Likewise.
9534 * iconvdata/sjis.c : Likewise.
9535 * iconvdata/t.61.c : Likewise.
9536 * iconvdata/tcvn5712-1.c : Likewise.
9537 * iconvdata/tscii.c: Likewise.
9538 * iconvdata/uhc.c : Likewise.
9539 * iconvdata/unicode.c (gconv_end): Likewise.
9540 * iconvdata/utf-16.c (gconv_end): Likewise.
9541 * iconvdata/utf-32.c (gconv_end): Likewise.
9542 * iconvdata/utf-7.c (base64): Likewise.
9543 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9544 * iconv/gconv_close.c (__gconv_close): Likewise.
9545 * iconv/gconv_open.c (__gconv_open): Likewise.
9546 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9547 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9548 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9549 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9550 (ucs4le_internal_loop_single): Likewise.
9551 * iconv/iconv.c (iconv): Likewise.
9552 * iconv/iconv_close.c: Likewise.
9553 * iconv/loop.c (SINGLE): Likewise.
9554 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9555 * include/atomic.h: Likewise.
9556 * inet/inet6_option.c (option_alloc): Likewise.
9557 * intl/bindtextdom.c (set_binding_values): Likewise.
9558 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9559 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9560 * intl/localealias.c (read_alias_file): Likewise.
9561 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9562 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9563 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9564 * libio/fmemopen.c (fmemopen): Likewise.
9565 * libio/iofgets.c (_IO_fgets): Likewise.
9566 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9567 * libio/iofgetws.c (fgetws): Likewise.
9568 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9569 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9570 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9571 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9572 * locale/findlocale.c (_nl_find_locale): Likewise.
9573 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9574 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9576 * locale/setlocale.c (setlocale): Likewise.
9577 * login/programs/pt_chown.c (main): Likewise.
9578 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9579 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9580 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9581 (mmap, mmap64, mremap, munmap): Likewise.
9582 * math/e_exp2l.c: Likewise.
9583 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9584 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9585 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9586 * math/s_catan.c (__catan): Likewise.
9587 * math/s_catanf.c (__catanf): Likewise.
9588 * math/s_catanh.c (__catanh): Likewise.
9589 * math/s_catanhf.c (__catanhf): Likewise.
9590 * math/s_catanhl.c (__catanhl): Likewise.
9591 * math/s_catanl.c (__catanl): Likewise.
9592 * math/s_ccosh.c (__ccosh): Likewise.
9593 * math/s_ccoshf.c (__ccoshf): Likewise.
9594 * math/s_ccoshl.c (__ccoshl): Likewise.
9595 * math/s_cexp.c (__cexp): Likewise.
9596 * math/s_cexpf.c (__cexpf): Likewise.
9597 * math/s_cexpl.c (__cexpl): Likewise.
9598 * math/s_clog10.c (__clog10): Likewise.
9599 * math/s_clog10f.c (__clog10f): Likewise.
9600 * math/s_clog10l.c (__clog10l): Likewise.
9601 * math/s_clog.c (__clog): Likewise.
9602 * math/s_clogf.c (__clogf): Likewise.
9603 * math/s_clogl.c (__clogl): Likewise.
9604 * math/s_csin.c (__csin): Likewise.
9605 * math/s_csinf.c (__csinf): Likewise.
9606 * math/s_csinh.c (__csinh): Likewise.
9607 * math/s_csinhf.c (__csinhf): Likewise.
9608 * math/s_csinhl.c (__csinhl): Likewise.
9609 * math/s_csinl.c (__csinl): Likewise.
9610 * math/s_csqrt.c (__csqrt): Likewise.
9611 * math/s_csqrtf.c (__csqrtf): Likewise.
9612 * math/s_csqrtl.c (__csqrtl): Likewise.
9613 * math/s_ctan.c (__ctan): Likewise.
9614 * math/s_ctanf.c (__ctanf): Likewise.
9615 * math/s_ctanh.c (__ctanh): Likewise.
9616 * math/s_ctanhf.c (__ctanhf): Likewise.
9617 * math/s_ctanhl.c (__ctanhl): Likewise.
9618 * math/s_ctanl.c (__ctanl): Likewise.
9619 * math/w_pow.c: Likewise.
9620 * math/w_powf.c: Likewise.
9621 * math/w_powl.c: Likewise.
9622 * math/w_scalb.c (sysv_scalb): Likewise.
9623 * math/w_scalbf.c (sysv_scalbf): Likewise.
9624 * math/w_scalbl.c (sysv_scalbl): Likewise.
9625 * misc/error.c (error_tail): Likewise.
9626 * misc/pselect.c (__pselect): Likewise.
9627 * nis/nis_callback.c (__nis_create_callback): Likewise.
9628 * nis/nis_call.c (__nisfind_server): Likewise.
9629 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9630 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9631 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9632 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9633 * nis/nis_lookup.c (nis_lookup): Likewise.
9634 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9635 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9636 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9637 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9638 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9639 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9640 * nis/nss_compat/compat-initgroups.c (add_group)
9641 (internal_getgrent_r): Likewise.
9642 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9643 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9644 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9645 (internal_getspnam_r): Likewise.
9646 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9647 (_nss_nis_getaliasbyname_r): Likewise.
9648 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9649 (_nss_nis_getntohost_r): Likewise.
9650 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9651 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9652 (_nss_nis_getgrgid_r): Likewise.
9653 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9654 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9655 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9656 (_nss_nis_gethostbyname4_r): Likewise.
9657 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9658 (initgroups_netid): Likewise.
9659 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9660 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9661 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9662 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9663 (_nss_nis_getprotobynumber_r): Likewise.
9664 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9665 (_nss_nis_getsecretkey): Likewise.
9666 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9667 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9668 (_nss_nis_getpwuid_r): Likewise.
9669 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9670 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9671 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9672 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9673 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9674 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9675 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9677 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9678 (_nss_nisplus_getntohost_r): Likewise.
9679 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9680 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9681 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9682 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9684 * nis/nss_nisplus/nisplus-initgroups.c
9685 (_nss_nisplus_initgroups_dyn): Likewise.
9686 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9687 (_nss_nisplus_getnetbyaddr_r): Likewise.
9688 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9689 (_nss_nisplus_getprotobynumber_r): Likewise.
9690 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9691 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9692 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9694 * nis/nss_nisplus/nisplus-service.c
9695 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9696 (_nss_nisplus_getservbyport_r): Likewise.
9697 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9698 (_nss_nisplus_getspnam_r): Likewise.
9699 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9701 * nscd/aicache.c (addhstaiX): Likewise.
9702 * nscd/cache.c (cache_search, prune_cache): Likewise.
9703 * nscd/connections.c (register_traced_file, send_ro_fd)
9704 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9705 (main_loop_epoll): Likewise.
9706 * nscd/grpcache.c (addgrbyX): Likewise.
9707 * nscd/hstcache.c (addhstbyX): Likewise.
9708 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9709 * nscd/mem.c (gc, mempool_alloc): Likewise.
9710 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9711 (addinnetgrX): Likewise.
9712 * nscd/nscd-client.h (__nscd_acquire_maplock)
9713 (__nscd_drop_map_ref): Likewise.
9714 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9715 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9716 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9718 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9720 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9721 (__nscd_get_map_ref): Likewise.
9722 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9723 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9725 * nscd/pwdcache.c (addpwbyX): Likewise.
9726 * nscd/selinux.c (preserve_capabilities): Likewise.
9727 * nscd/servicescache.c (addservbyX): Likewise.
9728 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9729 * posix/fnmatch.c (fnmatch): Likewise.
9730 * posix/getopt.c (_getopt_internal_r): Likewise.
9731 * posix/glob.c (glob, glob_in_dir): Likewise.
9732 * posix/wordexp.c (exec_comm_child): Likewise.
9733 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9734 (getanswer_r, gaih_getanswer_slice): Likewise.
9735 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9736 * resolv/res_init.c: Likewise.
9737 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9738 * resolv/res_query.c (__libc_res_nquery): Likewise.
9739 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9741 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9742 * stdio-common/perror.c (perror): Likewise.
9743 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9744 * stdio-common/tmpnam.c (tmpnam): Likewise.
9745 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9746 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9747 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9749 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9750 * stdlib/putenv.c (putenv): Likewise.
9751 * stdlib/setenv.c (__add_to_environ): Likewise.
9752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9753 * stdlib/strtol_l.c (INTERNAL): Likewise.
9754 * string/memmem.c (memmem): Likewise.
9755 * string/strerror.c (strerror): Likewise.
9756 * string/strnlen.c (__strnlen): Likewise.
9757 * string/test-memmem.c (simple_memmem): Likewise.
9758 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9759 * sunrpc/pm_getport.c (__get_socket): Likewise.
9760 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9761 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9762 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9763 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9765 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9767 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9768 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9769 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9770 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9772 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9774 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9775 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9777 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9778 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9780 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9781 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9782 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9783 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9784 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9785 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9791 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9792 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9793 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9795 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9796 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9797 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9808 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9810 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9812 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9814 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9816 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9818 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9819 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9820 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9821 * sysdeps/posix/sleep.c: Likewise.
9822 * sysdeps/posix/tempname.c: Likewise.
9823 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9824 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9826 * sysdeps/powerpc/powerpc32/dl-machine.h
9827 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9828 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9830 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9831 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9833 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9834 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9835 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9836 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9837 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9838 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9839 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9840 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9842 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9844 (elf_machine_lazy_rel): Likewise.
9845 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9846 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9847 (elf_machine_lazy_rel): Likewise.
9848 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9849 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9850 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9851 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9852 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9853 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9854 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9857 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9858 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9859 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9860 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9861 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9862 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9863 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9864 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9865 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9866 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9867 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9869 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9870 (__posix_fallocate64_l64): Likewise.
9871 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9872 (posix_fallocate): Likewise.
9873 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9875 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9876 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9877 (getifaddrs_internal): Likewise.
9878 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9879 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9880 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9881 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9882 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9883 (__posix_fallocate64_l64): Likewise.
9884 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9886 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9887 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9888 (__get_clockfreq): Likewise.
9889 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9890 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9891 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9892 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9893 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9894 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9895 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9896 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9898 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9899 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9900 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9903 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9904 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9906 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9907 (posix_fallocate): Likewise.
9908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9909 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9910 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9911 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9912 (elf_machine_rela, elf_machine_rela_relative)
9913 (elf_machine_lazy_rel): Likewise.
9914 * time/asctime.c (asctime_internal): Likewise.
9915 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9916 * time/tzset.c (__tzset_parse_tz): Likewise.
9917 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9918 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9919 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9920 * wcsmbs/wcsmbsload.h: Likewise.
9923 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9925 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9926 (arena_get2): Remove THREAD_STATS conditionals.
9927 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9928 (__malloc_stats, int): Likewise.
9930 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9932 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9933 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9935 * manual/setjmp.texi: Fix typos/grammar errors.
9937 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9938 Only return early when n is <= 0. Delete unused return statement.
9940 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9941 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9942 * debug/tst-longjmp_chk3.c: New file.
9944 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9945 (test_main): Replace code with set_fortify_handler call.
9946 * debug/test-strcpy_chk.c: Likewise.
9947 * debug/tst-chk1.c: Likewise.
9948 * debug/tst-longjmp_chk.c: Likewise.
9949 * test-skeleton.c: Include fcntl.h & paths.h
9950 (set_fortify_handler): Define.
9952 * debug/tst-longjmp_chk.c: Add header comment and include
9954 (do_test): Mark static.
9955 (TEST_FUNCTION): Define.
9957 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9958 (IP_PMTUDISC_INTERFACE): Likewise.
9959 (IP_MULTICAST_IF): Likewise.
9960 (IP_MULTICAST_TTL): Likewise.
9961 (IP_MULTICAST_LOOP): Likewise.
9962 (IP_ADD_MEMBERSHIP): Likewise.
9963 (IP_DROP_MEMBERSHIP): Likewise.
9964 (IP_UNBLOCK_SOURCE): Likewise.
9965 (IP_BLOCK_SOURCE): Likewise.
9966 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9967 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9968 (IP_MSFILTER): Likewise.
9969 (MCAST_JOIN_GROUP): Likewise.
9970 (MCAST_BLOCK_SOURCE): Likewise.
9971 (MCAST_UNBLOCK_SOURCE): Likewise.
9972 (MCAST_LEAVE_GROUP): Likewise.
9973 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9974 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9975 (MCAST_MSFILTER): Likewise.
9976 (IP_MULTICAST_ALL): Likewise.
9977 (IP_UNICAST_IF): Likewise.
9979 * timezone/Makefile: Delete $(have-ksh) check.
9980 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9981 * timezone/tzselect.ksh: Add +x mode bits.
9983 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9984 (ANON_INODE_FS_MAGIC): Likewise.
9985 (BDEVFS_MAGIC): Likewise.
9986 (BINFMTFS_MAGIC): Likewise.
9987 (BTRFS_TEST_MAGIC): Likewise.
9988 (CRAMFS_MAGIC_WEND): Likewise.
9989 (DEBUGFS_MAGIC): Likewise.
9990 (ECRYPTFS_SUPER_MAGIC): Likewise.
9991 (EXT3_SUPER_MAGIC): Likewise.
9992 (EXT4_SUPER_MAGIC): Likewise.
9993 (FUTEXFS_SUPER_MAGIC): Likewise.
9994 (HOSTFS_SUPER_MAGIC): Likewise.
9995 (HUGETLBFS_MAGIC): Likewise.
9996 (MINIX3_SUPER_MAGIC): Likewise.
9997 (MTD_INODE_FS_MAGIC): Likewise.
9998 (NILFS_SUPER_MAGIC): Likewise.
9999 (OPENPROM_SUPER_MAGIC): Likewise.
10000 (PIPEFS_MAGIC): Likewise.
10001 (PSTOREFS_MAGIC): Likewise.
10002 (QNX6_SUPER_MAGIC): Likewise.
10003 (RAMFS_MAGIC): Likewise.
10004 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10005 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10006 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10007 (SECURITYFS_MAGIC): Likewise.
10008 (SELINUX_MAGIC): Likewise.
10009 (SMACK_MAGIC): Likewise.
10010 (SOCKFS_MAGIC): Likewise.
10011 (SQUASHFS_MAGIC): Likewise.
10012 (STACK_END_MAGIC): Likewise.
10013 (TMPFS_MAGIC): Likewise.
10014 (USBDEVICE_SUPER_MAGIC): Likewise.
10015 (V9FS_MAGIC): Likewise.
10016 (XENFS_SUPER_MAGIC): Likewise.
10017 (CRAMFS_MAGIC): Fix typo in comment.
10018 (EXT2_SUPER_MAGIC): Update comment.
10019 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10021 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10023 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10024 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10025 * sysdeps/unix/sysv/linux/arm: Move directory from
10026 ports/sysdeps/unix/sysv/linux/arm.
10027 * README: Update listing for arm-*-linux-gnueabi.
10029 * README: Remove mention of am33.
10031 2014-02-07 Roland McGrath <roland@hack.frob.com>
10033 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10034 than the comma operator, to avoid "rhs of comma has no effect"
10036 (__sigfillset, __sigandset, __sigorset): Likewise.
10037 * include/signal.h (__sigemptyset): Likewise.
10038 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10040 2014-02-07 Allan McRae <allan@archlinux.org>
10042 * version.h (RELEASE): Set to "development".
10043 (VERSION): Set to "2.19.90"
10044 * NEWS: Add 2.20 section.
10046 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10049 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10051 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10053 * manual/contrib.texi: Update entry for Carlos O'Donell,
10054 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10056 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10058 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10060 * sysdeps/unix/sysv/linux/kernel-features.h
10061 [__LINUX_KERNEL_VERSION >= 0x020621]
10062 (__ASSUME_PROC_PID_TASK_COMM): Define.
10064 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10067 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10068 conversion when destination buffer does not have enough space.
10069 * libio/tst-ftell-partial-wide.c: New test case.
10070 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10072 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10073 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10074 Leonard and Allan McRae.
10076 2014-02-04 David S. Miller <davem@davemloft.net>
10078 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10081 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10110 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10113 * shlib-versions: Likewise.
10115 2014-02-04 Roland McGrath <roland@hack.frob.com>
10116 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10118 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10119 (abilist-pattern): New variable, set to %-le.abilist.
10121 * Makerules (abilist-pattern): New variable.
10122 (vpath): Use $(abilist-pattern) in place of %.abilist.
10123 (check-abi-% pattern rule): Likewise.
10124 (check-abi, update-abi): Likewise.
10126 2014-02-04 Eric Wong <normalperson@yhbt.net>
10128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10130 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10132 * manual/startup.texi: Add next, previous, and top entries for
10133 the `Program Arguments' and `Environment Variables' nodes.
10135 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10137 * manual/macros.texi: Add comments before MTASC-safety macros.
10139 * manual/users.texi: Document MTASC-safety properties.
10141 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10142 (pthread_getspecific, pthread_setspecific): Format with
10143 @deftypefun, and add @safety note.
10144 * manual/signal.texi: Move comments that analyze the above
10145 functions to their home place.
10147 2014-02-03 Allan McRae <allan@archlinux.org>
10149 * po/sl.po: Update Slovenian translation from translation project.
10151 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10153 * manual/time.texi (timegm): Add missing blank after @c.
10154 Reported by Joseph Myers <joseph@codesourcery.com>.
10156 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10158 * manual/check-safety.sh: New.
10159 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10161 * manual/terminal.texi: Document MTASC-safety properties.
10163 * manual/filesys.texi: Document MTASC-safety properties.
10165 * manual/errno.texi: Document MTASC-safety properties.
10167 * manual/intro.texi: Document safety identifiers and
10170 * manual/string.texi (wcstok): Fix prototype.
10171 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10173 * manual/time.texi: Document MTASC-safety properties.
10175 * manual/string.texi: Document MTASC-safety properties.
10177 * manual/threads.texi: Document MTASC-safety properties.
10179 * manual/stdio.texi: Document MTASC-safety properties.
10181 * manual/syslog.texi: Document MTASC-safety properties.
10183 * manual/sysinfo.texi: Document MTASC-safety properties.
10185 * manual/startup.texi: Document MTASC-safety properties.
10187 * manual/socket.texi: Document MTASC-safety properties.
10189 * manual/signal.texi: Document MTASC-safety properties.
10191 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10193 * manual/setjmp.texi: Document MTASC-safety properties.
10195 * manual/search.texi: Document MTASC-safety properties.
10197 * manual/resource.texi: Document MTASC-safety properties.
10199 * manual/process.texi: Document MTASC-safety properties.
10201 * manual/platform.texi: Document MTASC-safety properties.
10203 * manual/pipe.texi: Document MTASC-safety properties.
10205 * manual/pattern.texi: Document MTASC-safety properties.
10207 * manual/message.texi: Document MTASC-safety properties.
10210 * manual/memory.texi: Document MTASC-safety properties.
10212 * manual/math.texi: Document MTASC-safety properties.
10214 * manual/locale.texi: Document MTASC-safety properties.
10216 * manual/llio.texi: Document MTASC-safety properties.
10218 * manual/libdl.texi: New.
10220 * manual/lang.texi: Document MTASC-safety properties.
10222 * manual/job.texi: Document MTASC-safety properties.
10224 * manual/getopt.texi: Document MTASC-safety properties.
10226 * manual/ctype.texi: Document MTASC-safety properties.
10228 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10231 * csu/libc-tls.c (static_map): Remove variable.
10232 (__libc_setup_tls): Use main executable's link map for TLS data.
10233 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10234 casing for LM_ID_BASE and GL(dl_nns).
10235 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10236 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10237 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10238 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10239 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10241 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10244 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10246 * manual/debug.texi: Document MTASC-safety properties.
10248 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10251 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10252 of __x86_64__ when disabling x87 inline functions.
10254 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10256 * manual/charset.texi: Document MTASC-safety properties.
10258 * manual/crypt.texi: Document MTASC-safety properties.
10260 * manual/conf.texi: Document MTASC-safety properties.
10262 * manual/arith.texi: Document MTASC-safety properties.
10264 * manual/argp.texi: Document MTASC-safety properties.
10266 * manual/macros.texi: Introduce macros to document multi
10267 thread, asynchronous signal and asynchronous cancellation
10269 * manual/intro.texi: Introduce the properties themselves.
10271 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10273 * sysdeps/sh/sh4/Makefile: New file.
10275 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10277 * math/gen-libm-test.pl ($srcdir): New variable.
10278 ($auto_input): Use it.
10280 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10283 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10284 access beyond array bounds when parsing netgroups file.
10286 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10287 the old buffer before realloc.
10289 2014-01-27 Allan McRae <allan@archlinux.org>
10291 * po/fr.po: Update French translation from translation project.
10293 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10295 * sysdeps/sh/libm-test-ulps: Regenerate.
10297 2014-01-24 David S. Miller <davem@davemloft.net>
10299 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10301 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10303 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10304 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10306 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10309 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10310 string pointers after reallocation.
10312 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10314 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10315 __SH4A__ instead of __SH_FPU_ANY__.
10317 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10319 * sysdeps/sh/fpu_control.h: New file.
10320 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10321 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10322 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10323 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10324 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10325 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10326 * sysdeps/sh/sys/ucontext.h: Remove.
10327 * sysdeps/sh/sys: Remove directory.
10329 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10331 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10332 s390/sys/ucontext.h.
10333 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10334 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10336 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10339 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10341 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10344 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10345 Adjust the vDSO correctly for internal calls.
10346 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10348 2014-01-20 Allan McRae <allan@archlinux.org>
10350 * po/ca.po: Update Catalan translation from translation project.
10352 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10354 * sysdeps/s390/sotruss-lib.c: New file.
10356 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10360 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10361 local calls issues by not having a PLT stub required for IFUNC calls.
10362 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10364 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10366 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10367 * math/test-fpucw-static.c: Likewise.
10369 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10372 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10374 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10377 implementation for powerpc.
10379 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10382 * sysdeps/posix/system.c (__libc_system): Do not enable
10383 asynchronous cancellation.
10385 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10388 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10389 handling only for numbers special also in the IEEE case.
10391 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10393 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10395 2014-01-11 Allan McRae <allan@archlinux.org>
10397 * po/bg.po: Update Bulgarian translation from translation project.
10399 * po/de.po: Update German translation from translation project.
10401 2014-01-10 Roland McGrath <roland@hack.frob.com>
10403 * sysdeps/generic/gcc-compat.h: New file.
10405 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10407 * benchtests/asin-inputs: Correct slow inputs.
10408 * benchtests/acos-inputs: Likewise.
10410 2014-01-10 Allan McRae <allan@archlinux.org>
10412 * po:sv.po: Update Swedish translation from translation project.
10414 * po/vi.po: Update Vietnamese translation from translation project.
10416 * po/eo.po: Update Esperanto translation from translation project.
10418 * po/cs.po: Update Czech translation from translation project.
10420 * po/nl.po: Update Dutch translation from translation project.
10422 * po/pl.po: Update Polish translation from translation project.
10424 * po/ru.po: Update Russian translation from translation project.
10426 * po/uk.po: Update Ukrainian translation from translation project.
10428 2014-01-08 Brooks Moses <bmoses@google.com>
10430 * elf/dl-load.c: Fix comment typo.
10432 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10434 * po/header.pot: Rename to...
10435 * po/pot.header: ... this.
10436 * po/Makefile: Use pot.header.
10438 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10439 Maxim Kuvyrkov <maxim@kugelworks.com>
10442 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10443 SRC and DEST against LEN.
10445 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10448 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10450 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10452 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10456 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10459 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10460 for large positive arguments.
10462 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10464 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10466 * math/auto-libm-test-in: Mark various tests with
10467 xfail-rounding:ldbl-128ibm.
10468 * math/auto-libm-test-out: Regenerated.
10471 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10472 Increase overflow threshold.
10474 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10477 * stdio-common/vfprintf.c: Check for integer overflow.
10479 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10481 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10482 the first argument and return value of __tls_get_addr_internal.
10484 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10486 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10487 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10489 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10491 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10492 * sysdeps/s390/rtld-global-offsets.sym: New file.
10493 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10495 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10497 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10499 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10500 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10506 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10507 halfs of GPRs for high_gprs contexts.
10508 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10509 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10511 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10513 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10515 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10516 for high GPRs (uc_high_gprs) and for future extensions
10518 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10519 for future extensions (__reserved).
10520 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10522 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10523 SC_HIGHGPRS offset definition.
10524 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10525 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10527 * Versions.def: Add GLIBC_2.19 for libpthread.
10528 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10529 siglongjmp for libpthread with GLIBC_2.19 symver.
10530 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10531 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10532 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10533 * sysdeps/s390/__longjmp.c: New file.
10534 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10535 * sysdeps/s390/longjmp.c: New file.
10536 * sysdeps/s390/setjmp.S: New file.
10537 * sysdeps/s390/sigjmp.S: New file.
10538 * sysdeps/s390/v1-longjmp.c: New file.
10539 * sysdeps/s390/v1-setjmp.h: New file.
10540 * sysdeps/s390/v1-sigjmp.c: New file.
10541 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10542 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10543 GLIBC_2.19 version.
10544 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10545 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10546 versioned symbols for ____longjmp_chk.
10547 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10557 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10558 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10559 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10560 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10561 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10562 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10563 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10564 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10565 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10566 * sysdeps/s390/rtld-__longjmp.c: New file.
10567 * sysdeps/s390/rtld-setjmp.S: New file.
10569 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10573 Return -__logl (x) for small positive arguments without evaluating
10576 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10578 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10580 (__ptrace_peeksiginfo_args): ... this.
10581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10582 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10585 2014-01-06 Allan McRae <allan@archlinux.org>
10587 * inet/netinet/in.h: Fix typo in comment.
10589 2014-01-05 Andreas Jaeger <aj@suse.de>
10591 * sysdeps/i386/fpu/libm-test-ulps: Update.
10593 2014-01-05 Allan McRae <allan@archlinux.org>
10595 * po/libc.pot: Regenerated.
10597 * malloc/memusagestat.c: Fix gettext call formatting.
10599 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10601 * nscd/nscd.c: Improve usage() output.
10603 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10605 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10606 * sysdeps/unix/sysv/linux/configure: Regenerated.
10607 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10608 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10610 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10613 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10614 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10616 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10619 extra tokens at end of #undef directive.
10620 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10621 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10624 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10626 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10628 * math/auto-libm-test-in: Mark various tests with
10629 xfail-rounding:ldbl-128ibm.
10630 * math/auto-libm-test-out: Regenerated.
10632 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10636 numbers with subnormal high part when calculating exponent.
10639 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10643 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10645 (__ieee754_acoshl): Use __log1pl not __log1p.
10647 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10649 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10650 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10651 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10652 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10653 (reused_arena, arena_get2): Convert to GNU style.
10654 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10655 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10656 (memalign_check, __malloc_set_state): Likewise.
10657 * malloc/mallocbug.c (main): Likewise.
10658 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10659 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10660 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10661 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10662 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10663 (__posix_memalign, malloc_info): Likewise.
10664 * malloc/malloc.h: Likewise.
10665 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10666 (mallochook, memalignhook, reallochook, mabort): Likewise.
10667 * malloc/mcheck.h: Likewise.
10668 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10669 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10670 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10671 * malloc/morecore.c (__default_morecore): Likewise.
10672 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10673 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10674 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10675 (print_and_abort): Likewise.
10676 * malloc/obstack.h: Likewise.
10677 * malloc/set-freeres.c (__libc_freeres): Likewise.
10678 * malloc/tst-mallocstate.c (main): Likewise.
10679 * malloc/tst-mtrace.c (main): Likewise.
10680 * malloc/tst-realloc.c (do_test): Likewise.
10682 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10685 * nscd/netgroupcache.c (do_notfound): New function.
10686 (addgetnetgrentX): Use it.
10689 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10690 NSS_STATUS_NOTFOUND.
10692 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10694 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697 2014-01-01 Allan McRae <allan@archlinux.org>
10699 * scripts/update-copyrights: Update configure input file suffix.
10701 * NEWS: Update copyright year.
10702 * catgets/gencat.c: Likewise.
10703 * csu/version.c: Likewise.
10704 * debug/catchsegv.sh: Likewise.
10705 * debug/pcprofiledump.c: Likewise.
10706 * debug/xtrace.sh: Likewise.
10707 * elf/ldconfig.c: Likewise.
10708 * elf/ldd.bash.in: Likewise.
10709 * elf/pldd.c: Likewise.
10710 * elf/sotruss.ksh: Likewise.
10711 * elf/sprof.c: Likewise.
10712 * iconv/iconv_prog.c: Likewise.
10713 * iconv/iconvconfig.c: Likewise.
10714 * locale/programs/locale.c: Likewise.
10715 * locale/programs/localedef.c: Likewise.
10716 * login/programs/pt_chown.c: Likewise.
10717 * malloc/memusage.sh: Likewise.
10718 * malloc/memusagestat.c: Likewise.
10719 * malloc/mtrace.pl: Likewise.
10720 * manual/libc.texinfo: Likewise.
10721 * nscd/nscd.c: Likewise.
10722 * nss/getent.c: Likewise.
10723 * nss/makedb.c: Likewise.
10724 * posix/getconf.c: Likewise.
10725 * scripts/test-installation.pl: Likewise.
10727 * All files with FSF copyright notices: Update copyright dates
10728 using scripts/update-copyrights.
10729 * intl/plural.c: Regenerated.
10730 * locale/programs/charmap-kw.h: Likewise.
10731 * locale/programs/locfile-kw.h: Likewise.
10733 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10735 * sysdeps/unix/sysv/linux/configure: Regenerated.
10736 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10737 the linux/fanotify.h header.
10738 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10739 HAVE_LINUX_FANOTIFY_H is defined.
10741 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10743 * benchtests/cos-inputs: New inputs.
10744 * benchtests/sin-inputs: Likewise.
10746 * benchtests/atan-inputs: New inputs. Fix name of multiple
10747 precision fallback inputs.
10749 * benchtests/atanh-inputs: New inputs.
10750 * benchtests/tanh-inputs: Likewise.
10752 * benchtests/acosh-inputs: New inputs.
10753 * benchtests/asinh-inputs: Likewise.
10755 * benchtests/cosh-inputs: New inputs.
10756 * benchtests/sinh-inputs: Likewise.
10758 * benchtests/acos-inputs: Add more inputs.
10759 * benchtests/asin-inputs: Likewise.
10761 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10764 * manual/arith.texi: Fix spelling.
10765 * manual/charset.texi: Likewise.
10766 * manual/errno.texi: Likewise.
10767 * manual/filesys.texi: Likewise.
10768 * manual/lang.texi: Likewise.
10769 * manual/llio.texi: Likewise.
10770 * manual/locale.texi: Likewise.
10771 * manual/message.texi: Likewise.
10772 * manual/resource.texi: Likewise.
10773 * manual/search.texi: Likewise.
10774 * manual/setjmp.texi: Likewise.
10775 * manual/stdio.texi: Likewise.
10776 * manual/string.texi: Likewise.
10777 * manual/sysinfo.texi: Likewise.
10778 * manual/time.texi: Likewise.
10780 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10782 * po/sl.po: New file.
10784 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10786 * .gitignore: Add core/.gdbinit/.gdb_history.
10788 2013-12-27 Allan McRae <allan@archlinux.org>
10791 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10792 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10794 2013-12-24 Brooks Moses <bmoses@google.com>
10796 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10797 all compilers that claim C++98 compliance, not just GCC.
10798 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10801 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10803 * NEWS: Restore accidentally deleted bug-fix entries.
10805 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10806 Ondřej Bílka <neleai@seznam.cz>
10809 * malloc/malloc.c (_int_free): Perform sanity check only if we
10812 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10815 * manual/stdio.texi (String Input Conversions): Clarify that character
10816 classes are not supported.
10818 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10822 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10826 Calculate results for small negative arguments directly rather
10827 than using reflection formula with special underflow handling.
10829 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10830 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10831 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10832 (fchflags): Likewise.
10833 (revoke): Likewise.
10834 (setlogin): Likewise.
10835 (sigaltstack): Likewise.
10837 (sigblock): Remove.
10838 (sigsetmask): Likewise.
10840 (waitpid): Likewise.
10841 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10842 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10844 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10845 * sysdeps/unix/bsd/Makefile: ... here.
10846 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10847 * sysdeps/unix/bsd/Versions: ... here.
10848 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10849 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10850 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10851 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10852 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10853 * sysdeps/unix/bsd/sigblock.c: ... here.
10854 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10855 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10856 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10857 * sysdeps/unix/bsd/sigvec.c: ... here.
10858 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10859 * sysdeps/unix/bsd/tcdrain.c: ... here.
10860 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10861 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10862 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10863 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10864 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10865 * sysdeps/unix/bsd/wait.c: ... here.
10866 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10867 * sysdeps/unix/bsd/wait3.c: ... here.
10868 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10869 * sysdeps/unix/bsd/waitpid.c: ... here.
10871 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10875 round-to-nearest for [!USE_AS_EXPM1L].
10876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10877 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10878 more tests of exp and exp10. Expect some exp10 tests to miss
10879 exceptions or fail in directed rounding modes.
10880 * math/auto-libm-test-out: Regenerated.
10881 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10882 (exp10_test_tonearest): New function.
10883 (exp10_towardzero_test_data): New array.
10884 (exp10_test_towardzero): New function.
10885 (exp10_downward_test_data): New array.
10886 (exp10_test_downward): New function.
10887 (exp10_upward_test_data): New array.
10888 (exp10_test_upward): New function.
10889 (main): Call the new functions.
10890 * sysdeps/i386/fpu/libm-test-ulps: Update.
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10893 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10895 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10896 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10897 * math/auto-libm-test-out: Regenerated.
10898 * math/libm-test.inc (acosh_test_data): Add more tests.
10899 (atanh_test_data): Likewise.
10900 (ceil_test_data): Likewise.
10901 (copysign_test_data): Likewise.
10902 * sysdeps/i386/fpu/libm-test-ulps: Update.
10903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10905 * timezone/checktab.awk: Update from tzcode 2013i.
10906 * timezone/private.h: Likewise.
10907 * timezone/scheck.c: Likewise.
10908 * timezone/tzfile.h: Likewise.
10909 * timezone/tzselect.ksh: Likewise.
10910 * timezone/zdump.c: Likewise.
10911 * timezone/zic.c: Likewise.
10913 * math/auto-libm-test-in: Add tests of cpow.
10914 * math/auto-libm-test-out: Regenerated.
10915 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10916 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10918 (func_calc_desc): Add mpc_cc_c union field.
10919 (test_functions): Add cpow.
10920 (special_fill_2pi): New function.
10921 (special_real_inputs): Add 2pi.
10922 (calc_generic_results): Handle mpc_cc_c.
10923 * sysdeps/i386/fpu/libm-test-ulps: Update.
10924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10926 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10927 csqrt, ctan and ctanh.
10928 * math/auto-libm-test-out: Regenerated.
10929 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10930 (TEST_COND_x86): Likewise.
10931 (ccos_test_data): Use AUTO_TESTS_c_c.
10932 (ccosh_test_data): Likewise.
10933 (cexp_test_data): Likewise.
10934 (clog_test_data): Likewise.
10935 (csqrt_test_data): Likewise.
10936 (ctan_test_data): Likewise.
10937 (ctan_tonearest_test_data): Likewise.
10938 (ctan_towardzero_test_data): Likewise.
10939 (ctan_downward_test_data): Likewise.
10940 (ctan_upward_test_data): Likewise.
10941 (ctanh_test_data): Likewise.
10942 (ctanh_tonearest_test_data): Likewise.
10943 (ctanh_towardzero_test_data): Likewise.
10944 (ctanh_downward_test_data): Likewise.
10945 (ctanh_upward_test_data): Likewise.
10946 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10948 (func_calc_desc): Add mpc_c_c union field.
10949 (FUNC_mpc_c_c): New macro.
10950 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10951 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10953 (special_fill_min_subnorm_p120): New function.
10954 (special_real_inputs): Add min_subnorm_p120.
10955 (calc_generic_results): Handle mpc_c_c.
10956 * sysdeps/i386/fpu/libm-test-ulps: Update.
10957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10959 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10961 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10962 (do_sin_slow): New functions.
10963 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10964 (cslow2, csloww1, csloww2): Use the new functions.
10966 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10967 Use M to change sign of result instead of X. Assume X is
10969 (csloww1): Likewise.
10973 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10974 arguments A and DA.
10978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10980 (sloww1): Don't adjust sign of DX.
10981 (csloww1): Likewise.
10982 (sloww2): Use X directly and don't adjust sign of DX.
10983 (csloww2): Likewise.
10985 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10987 * math/auto-libm-test-in: Add tests of cabs and carg.
10988 * math/auto-libm-test-out: Regenerated.
10989 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10990 (carg_test_data): Likewise.
10991 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10993 (func_calc_desc): Add mpc_c_f union field.
10994 (test_functions): Add cabs and carg.
10995 (calc_generic_results): Handle mpc_c_f.
10997 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10998 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10999 as a macro and a compat symbol.
11000 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11001 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11002 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11003 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11004 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11005 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11007 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11009 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11011 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11017 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11018 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11021 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11025 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11027 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11028 trailing whitespace removed.
11029 * scripts/config.guess: Update to version 2013-11-29.
11030 * scripts/config.sub: Update to version 2013-10-01.
11032 * math/auto-libm-test-in: Add tests of sincos.
11033 * math/auto-libm-test-out: Regenerated.
11034 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11035 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11037 (func_calc_desc): Add mpfr_f_11 union field.
11038 (test_functions): Add sincos.
11039 (calc_generic_results): Handle mpfr_f_11.
11040 * sysdeps/i386/fpu/libm-test-ulps: Update.
11041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11043 2013-12-19 Andreas Schwab <schwab@suse.de>
11045 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11048 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11049 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11051 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11053 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11054 * sysdeps/i386/fpu/libm-test-ulps: Update.
11055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11059 round-to-nearest mode when using frndint.
11060 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11061 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11064 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11066 * math/auto-libm-test-out: Regenerated.
11067 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11068 (TEST_COND_x86): Likewise.
11069 (expm1_tonearest_test_data): New array.
11070 (expm1_test_tonearest): New function.
11071 (expm1_towardzero_test_data): New array.
11072 (expm1_test_towardzero): New function.
11073 (expm1_downward_test_data): New array.
11074 (expm1_test_downward): New function.
11075 (expm1_upward_test_data): New array.
11076 (expm1_test_upward): New function.
11077 (main): Run the new test functions.
11078 * sysdeps/i386/fpu/libm-test-ulps: Update.
11079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081 * include/features.h: Update comment documenting feature test
11082 macros. Mention _DEFAULT_SOURCE in comment.
11083 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11084 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11085 _BSD_SOURCE and _SVID_SOURCE.
11086 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11087 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11088 !_SVID_SOURCE]: Likewise.
11089 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11090 (__USE_POSIX_IMPLICITLY): Define.
11091 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11092 (_POSIX_SOURCE): Undefine and redefine.
11093 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11094 (_POSIX_C_SOURCE): Likewise.
11095 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11096 (Feature Test Macros): Update documentation of default features.
11098 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11100 * benchtests/Makefile: Add bench-strtok.
11101 * benchtests/bench-strtok.c: New file: strtok benchtest.
11103 2013-12-19 Allan McRae <allan@archlinux.org>
11105 * manual/install.texi: Suppress menu for plain text output.
11106 * INSTALL: Regenerated.
11108 2013-12-18 Brooks Moses <bmoses@google.com>
11111 * misc/getauxval.c: Include errno.h.
11112 (__getauxval): Set errno to ENOENT if the requested type is not
11114 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11115 don't declare with __attribute_const__.
11116 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11117 * manual/startup.texi: Document that getauxval sets errno.
11119 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11121 * math/auto-libm-test-in: Add tests of jn and yn.
11122 * math/auto-libm-test-out: Regenerated.
11123 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11124 (yn_test_data): Likewise.
11125 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11127 (func_calc_desc): Add mpfr_if_f union field.
11128 (FUNC_mpfr_if_f): New macro.
11129 (test_functions): Add jn and yn.
11130 (calc_generic_results): Assert type of second input for
11131 mpfr_ff_f. Handle mpfr_if_f.
11132 (output_for_one_input_case): Disable all checking for arguments
11133 fitting floating-point types in case of an integer argument.
11134 * sysdeps/i386/fpu/libm-test-ulps: Update.
11135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11138 Don't expect fegetround reference in libm.so.
11140 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11142 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11143 $(config-cflags-nofma).
11145 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11147 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11148 * math/auto-libm-test-out: Regenerated.
11151 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11152 to determine exponent and adjust argument to have exponent of -1.
11153 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11155 * math/auto-libm-test-out: Regenerated.
11156 * sysdeps/i386/fpu/libm-test-ulps: Update.
11157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11159 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11161 * manual/probes.texi: Remove cases when per-thread arenas are
11164 2013-12-18 Andreas Schwab <schwab@suse.de>
11166 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11167 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11168 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11169 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11170 * sysdeps/i386/i686/multiarch/Makefile: Update.
11171 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11173 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11175 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11176 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11178 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11181 Support TZ transition times < 00:00:00.
11182 This is needed for version-3 tz-format files; it supports time
11183 stamps past 2037 for America/Godthab (the only entry in the tz
11184 database for which this change is relevant).
11185 * manual/time.texi (TZ Variable): Document transition times
11186 from -167:59:59 through -00:00:01.
11187 * time/tzset.c (tz_rule): Time of day is now signed.
11188 (__tzset_parse_tz): Parse negative time of day.
11190 Document TZ transition times >= 25:00:00.
11191 * manual/time.texi (TZ Variable): Document transition times from
11192 25:00:00 through 167:59:59. These are already supported, and this
11193 support will help with version-3 tz-format files.
11195 * manual/time.texi (TZ Variable): Modernize North America example
11196 to reflect current (i.e., 2007-and-later) daylight saving rules.
11198 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11200 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11202 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11203 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11206 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11207 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11208 * sysdeps/unix/bsd/clock.c: Likewise.
11209 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11210 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11211 * sysdeps/unix/bsd/init-posix.c: Likewise.
11212 * sysdeps/unix/bsd/poll.c: Likewise.
11213 * sysdeps/unix/bsd/ptsname.c: Likewise.
11214 * sysdeps/unix/bsd/seekdir.c: Likewise.
11215 * sysdeps/unix/bsd/setegid.c: Likewise.
11216 * sysdeps/unix/bsd/seteuid.c: Likewise.
11217 * sysdeps/unix/bsd/setgid.c: Likewise.
11218 * sysdeps/unix/bsd/setrgid.c: Likewise.
11219 * sysdeps/unix/bsd/setruid.c: Likewise.
11220 * sysdeps/unix/bsd/setsid.c: Likewise.
11221 * sysdeps/unix/bsd/setuid.c: Likewise.
11222 * sysdeps/unix/bsd/sigaction.c: Likewise.
11223 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11224 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11225 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11226 * sysdeps/unix/bsd/telldir.c: Likewise.
11227 * sysdeps/unix/bsd/times.c: Likewise.
11228 * sysdeps/unix/bsd/usleep.c: Likewise.
11230 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11231 ($(objpfx)libbsd-compat.a): Remove rule.
11233 * include/features.h (__FAVOR_BSD): Do not define.
11234 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11235 features conflicting with POSIX.
11236 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11237 (_BSD_SOURCE): Remove description of not being a subset of other
11238 feature test macros.
11239 * manual/job.texi (getpgrp): Do not document BSD version.
11240 (getpgid): Do not document by reference to BSD getpgrp.
11241 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11242 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11243 * signal/signal.h [__FAVOR_BSD]: Likewise.
11244 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11245 instead of making contents conditional on [__FAVOR_BSD].
11246 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11248 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11252 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11255 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11256 values below 2**-450, not 2**-500.
11257 * math/auto-libm-test-in: Don't allow spurious underflow from
11259 * math/auto-libm-test-out: Regenerated.
11263 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11264 values of ha and hb and sort them after adjusting subnormal
11266 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11268 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11269 values of ea and eb and sort them after adjusting subnormal
11271 * math/auto-libm-test-in: Do not expect some hypot tests of
11272 subnormals to fail. Add more hypot tests.
11273 * math/auto-libm-test-out: Regenerated.
11275 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11278 * sysdeps/sh/s_fma.c: New file.
11279 * sysdeps/sh/s_fmaf.c: New file.
11280 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11282 * sysdeps/sh/Implies: Add sh/soft-fp.
11284 2013-12-16 Roland McGrath <roland@hack.frob.com>
11286 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11287 level of indirection to members `objname', `errstring', `malloced'.
11288 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11289 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11290 it as the __longjmp argument (just pass 1 instead).
11291 (_dl_catch_error): Initialize C with argument pointers and address of
11292 volatile local ERRCODE rather than copying values out of C at return.
11294 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11296 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11297 * math/auto-libm-test-out: Regenerated.
11298 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11299 (hypot_test_data): Likewise.
11300 (pow_test_data): Likewise.
11301 (pow_tonearest_test_data): Likewise.
11302 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11304 (func_calc_desc): Add mpfr_ff_f union field.
11305 (FUNC_mpfr_ff_f): New macro.
11306 (test_functions): Add atan2, hypot and pow.
11307 (special_fill_min): New function.
11308 (special_fill_minus_min): Likewise.
11309 (special_fill_min_subnorm): Likewise.
11310 (special_fill_minus_min_subnorm): Likewise.
11311 (special_real_inputs): Add min, -min, min_subnorm and
11313 (calc_generic_results): Handle mpfr_ff_f.
11314 * sysdeps/i386/fpu/libm-test-ulps: Update.
11315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11317 2013-12-16 Will Newton <will.newton@linaro.org>
11319 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11320 (Aligned Memory Blocks): Add documentation for aligned_alloc
11321 and suggest it as an alternative to posix_memalign.
11322 (Hooks for Malloc): Document __memalign_hook is also called
11323 for aligned_alloc. (Summary of Malloc): Add summary for
11324 aligned alloc. Document __memalign_hook is also called
11327 2013-12-16 Will Newton <will.newton@linaro.org>
11329 * manual/memory.texi (Malloc Examples): Clarify default
11330 alignment documentation. Suggest posix_memalign rather
11331 than memalign or valloc.
11332 (Aligned Memory Blocks): Remove suggestion to use memalign
11333 or valloc. Remove obsolete comment about BSD.
11334 Document memalign errno values and mark the function obsolete.
11335 Document posix_memalign returned error codes. Mark valloc
11336 as obsolete. (Hooks for Malloc): __memalign_hook is also
11337 called for posix_memalign and valloc.
11338 (Summary of Malloc): Add posix_memalign to function summary.
11339 __memalign_hook is also called for posix_memalign and valloc.
11341 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11343 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11347 (sloww): Use mynumber union. Expand ternary operator into
11348 if-else statements.
11349 (cslow): use mynumber union.
11351 2013-12-16 Allan McRae <allan@archlinux.org>
11353 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11354 * configure: Regenerated.
11356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11359 * configure.ac: Added --enable-maintainer-mode. Check for
11360 autoconf when enabled.
11361 * configure: Regenerated.
11363 * nscd/nscd.service: New file.
11364 * nscd/nscd.tmpfiles: New file.
11366 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11369 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11370 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11371 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11372 (strstr): Add __strstr_sse2_unaligned ifunc.
11373 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11374 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11375 (strcasestr): Remove __strcasestr_sse42 ifunc.
11376 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11380 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11382 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11383 * sysdeps/sh/bits/fenv.h: ... here.
11384 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11386 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11388 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11391 hypotf multiarch implementations.
11392 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11395 multiarch hypot for PPC64.
11396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11398 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11399 multiarch hypotf for PPC64.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11402 modff multiarch implementations.
11403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11406 multiarch modf for PPC64.
11407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11410 multiarch modff for PPC64.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11413 and logl multiarch implementations.
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11417 multiarch logb for PPC64.
11418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11421 multiarch logb for PPC64.
11422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11425 multiarch logb for PPC64.
11427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11428 isinff multiarch implementation.
11429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11433 multiarch isinf for PPC64.
11434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11437 multiarch isinff for PPC64.
11439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11440 finitef multiarch implementation.
11441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11445 multiarch finite for PPC64.
11446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11449 multiarch finitef for PPC64.
11451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11452 lrint multiarch implementation.
11453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11457 multiarch llrint for PPC64.
11458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11459 multiarch lrint for PPC64.
11461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11462 copysignf multiarch implementation.
11463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11468 multiarch copysign for PPC64.
11469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11470 multiarch copysignf for PPC64.
11472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11473 multiarch implementation.
11474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11482 multiarch llround for PPC64.
11483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11484 multiarch trunc for PPC64.
11485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11486 multiarch truncf for PPC64.
11488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11489 multiarch implementation.
11490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11498 multiarch llround for PPC64.
11499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11500 multiarch round for PPC64.
11501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11502 multiarch roundf for PPC64.
11504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11505 multiarch implementation.
11506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11514 multiarch llround for PPC64.
11515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11516 multiarch floor for PPC64.
11517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11518 multiarch floorf for PPC64.
11520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11521 multiarch implementation.
11522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11530 multiarch llround for PPC64.
11531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11532 multiarch ceil for PPC64.
11533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11534 multiarch ceilf for PPC64.
11536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11537 multiarch implementation.
11538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11545 multiarch llround for PPC64.
11546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11547 multiarch lround for PPC64.
11549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11550 multiarch implementation.
11551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11558 multiarch isnan for PPC64.
11559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11560 multiarch isnanf for PPC64.
11562 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11563 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11564 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11565 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11566 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11569 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11570 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11571 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11575 multiarch implementations.
11576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11577 (__libc_ifunc_impl_list): Likewise.
11578 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11579 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11581 multiarch stpcpy for PPC64.
11583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11584 multiarch implementations.
11585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11586 (__libc_ifunc_impl_list): Likewise.
11587 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11588 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11589 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11590 multiarch strcpy for PPC64.
11592 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11593 redefine function name.
11594 (_wordcopy_fwd_dest_aligned): Likewise.
11595 (_wordcopy_bwd_aligned): Likewise.
11596 (_wordcopy_bwd_dest_aligned): Likewise.
11597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11598 multiarch implementations.
11599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11600 (__libc_ifunc_impl_list): Likewise.
11601 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11602 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11603 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11604 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11605 multiarch wcscpy for PPC64.
11607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11608 multiarch implementations.
11609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11610 (__libc_ifunc_impl_list): Likewise.
11611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11613 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11614 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11615 multiarch wcscpy for PPC64.
11617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11618 multiarch implementations.
11619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11620 (__libc_ifunc_impl_list): Likewise.
11621 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11622 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11623 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11624 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11625 multiarch wcsrchr for PPC64.
11627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11628 multiarch implementations.
11629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11630 (__libc_ifunc_impl_list): Likewise.
11631 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11632 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11633 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11634 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11635 multiarch wcschr for PPC64.
11637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11638 multiarch implementations.
11639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11640 (__libc_ifunc_impl_list): Likewise.
11641 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11642 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11643 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11644 multiarch strchrnul for PPC64.
11646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11649 (__libc_ifunc_impl_list): Likewise.
11650 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11651 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11652 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11653 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11659 (__libc_ifunc_impl_list): Likewise.
11660 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11661 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11662 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11663 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11667 multiarch implementations.
11668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11669 (__libc_ifunc_impl_list): Likewise.
11670 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11671 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11672 strncasecmp for PPC64.
11673 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11674 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11675 multiarch strncasecmp_l for PPC64.
11677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11678 multiarch implementations.
11679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11680 (__libc_ifunc_impl_list): Likewise.
11681 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11682 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11683 multiarch strcasecmp for PPC64.
11684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11687 multiarch strcasecmp_l for PPC64.
11689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11692 (__libc_ifunc_impl_list): Likewise.
11693 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11694 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11695 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11701 (__libc_ifunc_impl_list): Likewise.
11702 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11703 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11704 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11710 (__libc_ifunc_impl_list): Likewise.
11711 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11712 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11713 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11714 rawmemrchr for PPC64.
11716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11719 (__libc_ifunc_impl_list): Likewise.
11720 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11721 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11722 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11728 (__libc_ifunc_impl_list): Likewise.
11729 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11730 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11731 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11737 (__libc_ifunc_impl_list): Likewise.
11738 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11739 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11740 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11743 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11744 avoid cretion of __bzero symbol.
11745 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11747 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11749 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11752 multiarch implementations.
11753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11754 (__libc_ifunc_impl_list): Likewise.
11755 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11756 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11757 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11758 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11760 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11761 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11762 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11763 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11764 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11766 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11768 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11772 (__libc_ifunc_impl_list): Likewise.
11773 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11774 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11775 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11776 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11780 multiarch for POWER/PPC64.
11781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11782 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11783 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11784 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11785 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11787 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11788 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11789 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11792 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11793 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11794 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11795 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11796 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11797 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11799 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11800 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11801 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11802 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11803 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11804 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11805 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11806 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11815 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11819 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11821 * benchtests/Makefile (bench): Add exp2 and log2.
11822 (LDLIBS-bench-exp2): Add -lm.
11823 (LDLIBS-bench-log2): Likewise.
11824 * benchtests/exp2-inputs: New inputs file.
11825 * benchtests/log2-inputs: New inputs file.
11826 * benchtests/log-inputs: Add new inputs.
11827 * benchtests/tan-inputs: Likewise.
11829 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11831 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11833 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11834 (csloww2): ... from here.
11836 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11837 instead of structures.
11838 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11839 (POLYNOMIAL): Likewise.
11840 (TAYLOR_SLOW): Likewise.
11846 (sloww1); Likewise.
11847 (sloww2): Likewise.
11848 (bsloww1): Likewise.
11849 (bsloww2): Likewise.
11850 (cslow2): Likewise.
11851 (csloww): Likewise.
11852 (csloww1): Likewise.
11853 (csloww2): Likewise.
11855 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11857 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11858 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11859 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11860 * malloc/hooks.c (realloc_check): Likewise.
11862 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11863 * malloc/arena.c: Remove PER_THREAD conditional.
11864 [!PER_THREAD]: Remove code.
11865 (ptmalloc_unlock_all2): Likewise.
11866 (ptmalloc_init): Likewise.
11867 (_int_new_arena): Likewise.
11868 (arena_get2): Likewise.
11869 * malloc/hooks.c (__malloc_get_state): Likewise.
11870 (__malloc_set_state): Likewise.
11871 * malloc/malloc.c: Likewise.
11872 (struct malloc_state): Likewise.
11873 (struct malloc_par): Likewise.
11874 (__libc_realloc): Likewise.
11875 (__libc_mallopt): Likewise.
11877 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11879 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11881 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11883 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11884 macro to a function. Check for zero perturb_byte.
11885 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11887 * malloc/malloc.c: (force_reg): Remove.
11888 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11889 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11890 force_reg by atomic_forced_read.
11891 * malloc/arena.c (ptmalloc_init): Likewise.
11892 * malloc/hooks.c (top_check): Likewise.
11894 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11898 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11902 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11904 * math/auto-libm-test-in: Add tests of lgamma.
11905 * math/auto-libm-test-out: Regenerated.
11906 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11907 (M_LOG_2_SQRT_PIl): Likewise.
11908 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11909 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11911 (func_calc_desc): Add mpfr_f_f1 union field.
11912 (ARGS1): New macro.
11920 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11921 (test_functions): Add lgamma.
11922 (calc_generic_results): Handle mpfr_f_f1.
11923 * sysdeps/i386/fpu/libm-test-ulps: Update.
11924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11926 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11929 __mpn_add_n for PowerPC64/POWER7.
11930 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11931 __mpn_sub_n for PowerPC64/POWER7.
11933 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11934 __mpn_addmul_1 for PowerPC64.
11935 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11936 __mpn_submul_1 for PowerPC64.
11937 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11939 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11942 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11945 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11947 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11949 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11951 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11952 add multiarch folders.
11953 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11954 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11955 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11956 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11957 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11958 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11959 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11960 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11961 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11962 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11963 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11972 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11978 multiarch __ieee754_hypot for PowerPC32.
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11984 multiarch __ieee754_hypotf for PowerPC32.
11986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11987 long_double_symbol only if __logbl is defined.
11988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11989 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11991 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11993 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11995 path for implementation.
11996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11997 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11999 logb, and logbl multiarch implementations for PowerPC32.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12005 multiarch logb for PowerPC32.
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12011 multiarch logbf for PowerPC32.
12012 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12016 multiarch logbl implementation for PowerPC32.
12018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12019 and modff multiarch implementations.
12020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12025 multiarch modf for PowerPC32.
12026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12031 multiarch modff for PowerPC32.
12033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12034 and lrintf multiarch implementations.
12035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12040 multiarch lrint for PowerPC32.
12041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12042 file: multiarch lrintf for PowerPC32.
12044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12045 and lroundf multiarch implementations.
12046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12053 multiarch lround for PowerPC32.
12054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12055 file: multiarch lroundf for PowerPC32.
12057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12058 copysign and copysignf multiarch implementations.
12059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12064 file: multiarch copysign for PowerPC32.
12065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12066 file: multiarch copysignf for PowerPC32.
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12069 and truncf multiarch implementations.
12070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12075 multiarch trunc for PowerPC32.
12076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12081 multiarch truncf for PowerPC32.
12083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12084 and roundf multiarch implementations.
12085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12090 multiarch round for PowerPC32.
12091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12096 multiarch roundf for PowerPC32.
12098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12099 and floorf multiarch implementations.
12100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12105 multiarch floor for PowerPC32.
12106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12111 multiarch floorf for PowerPC32.
12113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12114 and ceilf multiarch implementations.
12115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12120 multiarch ceil for PowerPC32.
12121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12126 multiarch ceilf for PowerPC32.
12128 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12130 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12131 FINITEF is defined.
12132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12133 and finitef multiarch implementations.
12134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12139 multiarch finite for PowerPC32.
12140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12143 file: multiarch finitef for PowerPC32.
12145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12146 and isinff multiarch implementations.
12147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12152 multiarch isinf for PowerPC32.
12153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12156 multiarch isinff for PowerPC32.
12158 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12159 alias when __isnan is defined.
12160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12161 and isnanf multiarch implementations.
12162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12171 multiarch isnan for PowerPC32.
12172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12177 multiarch isnanf for PowerPC32.
12179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12180 and sqrtf multiarch implementations.
12181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12186 multiarch sqrt for PowerPC32.
12187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12192 multiarch sqrtf for PowerPC32.
12194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12195 and llroundf multiarch implementations.
12196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12203 file: multiarch llround for PowerPC32.
12204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12205 file: multiarch llroundf for PowerPC32.
12207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12208 multiarch PowerPC32 fpu implementations.
12209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12214 multiarch llrint for PowerPC32.
12215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12230 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12231 multiarch wordcopy for PPC32.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12235 (__libc_ifunc_impl_list): Likewise.
12236 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12237 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12238 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12239 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12240 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12241 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12243 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12251 multiarch wcscpy for PPC32.
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12255 (__libc_ifunc_impl_list): Likewise.
12256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12257 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12258 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12259 sysdeps/powerpc/power6/wcscpy.c.
12261 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12269 multiarch wcsrchr for PPC32.
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12273 (__libc_ifunc_impl_list): Likewise.
12274 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12275 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12276 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12277 sysdeps/powerpc/power6/wcsrchr.c.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12285 multiarch wcschr for PPc32.
12286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12289 (__libc_ifunc_impl_list): Likewise.
12290 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12291 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12292 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12293 sysdeps/powerpc/power6/wcschr.c.
12295 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12298 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12299 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12300 file: multiarch strchr for PPC32.
12301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12304 (__libc_ifunc_impl_list): Likewise.
12306 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12308 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12310 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12313 multiarch strchrnul for PPC32.
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12317 (__libc_ifunc_impl_list): Likewise.
12319 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12321 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12322 multiarch strncasecmp for PPC32.
12323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12326 multiarch strncasecmp_l for PPC32.
12327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12328 strncasecmp multiarch objects.
12329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12330 (__libc_ifunc_impl_list): Likewise.
12332 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12334 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12335 multiarch strncasecmp for PPC32.
12336 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12338 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12339 multiarch strcasecmp_l for PPC32.
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12343 (__libc_ifunc_impl_list): Likewise.
12345 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12349 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12350 multiarch strncmp for PPC32.
12351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12354 (__libc_ifunc_impl_list): Likewise.
12356 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12357 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12359 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12360 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12364 (__libc_ifunc_impl_list): Likewise.
12366 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12368 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12370 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12374 (__libc_ifunc_impl_list): Likewise.
12376 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12378 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12380 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12381 multiarch rawmemchr for PPC32.
12382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12385 (__libc_ifunc_impl_list): Likewise.
12387 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12389 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12391 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12392 file: memrchr multiarch for PPC32.
12393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12396 (__libc_ifunc_impl_list): Likewise.
12398 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12402 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12403 multiarch memchr for PPC32.
12404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12407 (__libc_ifunc_impl_list): Likewise.
12409 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12410 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12414 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12415 file: multiarch mempcpy for PPC32.
12416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12419 (__libc_ifunc_impl_list): Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12423 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12425 multiarch bzero for PPC32.
12426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12430 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12431 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12432 file: multiarch memset for PPC32.
12433 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12435 memset multiarch objects.
12436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12437 (__libc_ifunc_impl_list): Likewise.
12439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12444 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12448 (__libc_ifunc_impl_list): Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12459 multiarch memcpy for PPC32.
12460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12463 (__libc_ifunc_impl_list): Likewise.
12465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12466 support multiarch for POWER/PPC32.
12467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12469 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12471 Implies file to make multiarch folder appers before the fpu and
12472 default folder for power4 configuration.
12474 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12476 * scripts/bench.pl: Append volatile keyword to type.
12478 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12480 * sysdeps/sh/sotruss-lib.c: New file.
12481 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12483 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12487 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12490 * math/w_tgamma.c: Include <errno.h>.
12491 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12492 * math/w_tgammaf.c: Include <errno.h>.
12493 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12494 * math/w_tgammal.c: Include <errno.h>.
12495 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12496 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12497 underflow. Add more tgamma tests.
12498 * math/auto-libm-test-out: Regenerated.
12499 * sysdeps/i386/fpu/libm-test-ulps: Update.
12500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12502 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12503 sin, sinh, tan, tanh, tgamma, y0 and y1.
12504 * math/auto-libm-test-out: Regenerated.
12505 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12506 (TEST_COND_x86): Likewise.
12507 (M_E2l): Remove macro.
12509 (M_2_SQRT_PIl): Likewise.
12510 (M_SQRT_PIl): Likewise.
12511 (M_1_DIV_El): Likewise.
12512 (log_test_data): Use AUTO_TESTS_f_f.
12513 (log10_test_data): Likewise.
12514 (log1p_test_data): Likewise.
12515 (log2_test_data): Likewise.
12516 (sin_test_data): Likewise.
12517 (sin_tonearest_test_data): Likewise.
12518 (sin_towardzero_test_data): Likewise.
12519 (sin_downward_test_data): Likewise.
12520 (sin_upward_test_data): Likewise.
12521 (sinh_test_data): Likewise.
12522 (sinh_tonearest_test_data): Likewise.
12523 (sinh_towardzero_test_data): Likewise.
12524 (sinh_downward_test_data): Likewise.
12525 (sinh_upward_test_data): Likewise.
12526 (tan_test_data): Likewise.
12527 (tan_tonearest_test_data): Likewise.
12528 (tan_towardzero_test_data): Likewise.
12529 (tan_downward_test_data): Likewise.
12530 (tan_upward_test_data): Likewise.
12531 (tanh_test_data): Likewise.
12532 (tgamma_test_data): Likewise.
12533 (y0_test_data): Likewise.
12534 (y1_test_data): Likewise.
12535 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12536 (special_real_inputs): Add pi/4.
12537 * sysdeps/i386/fpu/libm-test-ulps: Update.
12538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12540 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12542 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12543 "longjmp_target" static probes.
12544 (__longjmp): Rename to __longjmp_symbol.
12545 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12547 on which longjmp to generate.
12548 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12551 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12552 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12553 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12554 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12555 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12556 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12558 __longjmp_symbol based on which __longjmp to generate.
12559 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12561 (setjmp): Rename to setjmp_symbol.
12562 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12563 (_setjmp): Rename to _setjmp_symbol.
12564 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12565 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12566 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12567 which setjmp to generate.
12568 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12569 "longjmp_target" static probes.
12571 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12573 * benchtests/README: Add note about output arguments.
12574 * benchtests/bench-sincos.c: Remove file.
12575 * benchtests/sincos-inputs: New file.
12576 * scripts/bench.pl: Identify output arguments and define
12577 static variables for them.
12579 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12582 * Makefile (INSTALL): Add install-plain.texi as the primary
12584 * manual/install-plain.texi: New file.
12585 * manual/install.texi: Include node directive only for
12586 non-plaintext output.
12588 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12590 * stdlib/longlong.h: Update from GCC.
12594 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12595 * math/w_j0f.c (y0f): Likewise.
12596 * math/w_j0l.c (__y0l): Likewise.
12597 * math/w_j1.c (y1): Likewise.
12598 * math/w_j1f.c (y1f): Likewise.
12599 * math/w_j1l.c (__y1l): Likewise
12600 * math/w_jn.c (yn): Likewise.
12601 * math/w_jnf.c (ynf): Likewise.
12602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12603 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12604 value for Bessel function domain errors outside _SVID_ mode.
12605 Adjust sign of return value for yn (negative integer, 0).
12606 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12607 by zero in return for negative x and set sign appropriately for
12609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12611 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12612 expectations in error cases.
12613 (y1_test_data): Likewise.
12614 (yn_test_data): Likewise.
12615 * sysdeps/i386/fpu/libm-test-ulps: Update.
12616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12618 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12620 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12621 "64" to "64-v1". Add "64-v2".
12622 (abi-64-options): Rename to ...
12623 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12624 (abi-64-condition): Rename to ...
12625 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12626 (abi-64-ld-soname): Rename to ...
12627 (abi-64-v1-ld-soname): ... this.
12628 (abi-64-v2-options): Define.
12629 (abi-64-v2-condition): Likewise.
12630 (abi-64-v2-ld-soname): Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12632 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12637 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12638 Alan Modra <amodra@gmail.com>
12640 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12641 New versions for use with the ELFv2 ABI.
12642 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12643 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12645 (struct La_ppc64v2_retval): Likewise.
12646 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12647 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12648 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12649 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12650 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12651 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12652 Do not save or restore CR.
12653 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12654 (_dl_profile_resolve): Do no save or restore CR. Support extended
12655 return values for ELFv2 ABI. Fix location of FPR return registers.
12656 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12657 updated values for _CALL_ELF == 2.
12658 (La_regs, La_retval, int_retval): Likewise.
12660 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12662 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12663 (FRAME_MIN_SIZE_PARM): Likewise.
12664 (FRAME_BACKCHAIN): Likewise.
12665 (FRAME_CR_SAVE): Likewise.
12666 (FRAME_LR_SAVE): Likewise.
12667 (FRAME_TOC_SAVE): Likewise.
12668 (FRAME_PARM_SAVE): Likewise.
12669 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12670 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12671 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12672 (call_mcount_parm_offset): New macro.
12673 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12674 (PROF): Use symbolic stack frame offsets.
12675 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12676 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12677 Redefine in terms of FRAME_MIN_SIZE.
12678 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12679 (_dl_profile_resolve): Likewise. Update comment.
12680 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12681 symbols stack frame offsets.
12682 (__sigsetjmp): Likewise.
12683 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12684 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12685 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12686 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12689 (FRAME_BACKCHAIN): Remove.
12690 (FRAME_CR_SAVE): Likewise.
12691 (FRAME_LR_SAVE): Likewise.
12692 (FRAME_COMPILER_DW): Likewise.
12693 (FRAME_LINKER_DW): Likewise.
12694 (FRAME_TOC_SAVE): Likewise.
12695 (FRAME_PARM_SAVE): Likewise.
12696 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12697 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12698 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12700 (CHECK_SP): Use symbolic stack frame offsets.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12702 zone" instead of caller's parameter save area for temp storage.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12704 Likewise. Also, use symbolic stack frame offsets.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12706 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12707 our own stack frame instead of the caller's.
12708 (__socket): Use symbolic stack frame offsets.
12710 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12711 Alan Modra <amodra@gmail.com>
12713 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12715 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12716 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12717 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12719 (elf_machine_fixup_plt): Call it.
12720 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12722 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12724 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12725 r2 before calling target.
12727 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12728 Alan Modra <amodra@gmail.com>
12730 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12731 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12732 versions of macros to support ELFv2 ABI.
12733 (LOCALENTRY): New macro.
12734 (ENTRY, EALIGN): Use it.
12735 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12736 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12737 fall through into ENTRY entry point.
12738 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12739 Only define if _CALL_ELF != 2.
12741 (elf_machine_matches_host): Verify ABI version matches.
12742 (RTLD_START): Use LOCALENTRY.
12743 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12744 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12745 (PLT_ENTRY_WORDS): New macro.
12746 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12747 (elf_machine_runtime_setup): Support ELFv2 ABI.
12748 (elf_machine_fixup_plt): Likewise.
12749 (elf_machine_plt_conflict): Likewise.
12750 (resolve_ifunc): Likewise.
12751 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12752 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12755 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12757 (makecontext): Support ELFv2 ABI.
12758 * elf/elf.h (EF_PPC64_ABI): Define.
12760 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12762 * sysdeps/powerpc/powerpc64/sysdep.h
12763 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12764 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12765 (ENTRY) [ASSEMBLER]: ... but instead here ...
12766 (EALIGN) [ASSEMBLER]: ... and here.
12767 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12768 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12769 (ENTRY_2) [!ASSEMBLER]: Use it.
12770 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12771 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12772 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12773 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12774 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12776 Use PPC64_LOAD_FUNCPTR.
12778 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12780 2013-12-04 Alan Modra <amodra@gmail.com>
12782 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12783 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12784 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12785 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12788 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12789 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12790 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12791 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12792 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12794 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12797 (__makecontext): Fix incorrect CFI when backtracing out of
12798 context created via makecontext.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12800 (__setcontext): Fix incorrect CFI during switch to new context.
12801 (__novec_setcontext): Likewise.
12803 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12806 * time/strptime_l.c (__strptime_internal): Allow modifiers
12808 * time/tst-strptime.c (day_tests): Add testcase.
12810 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12812 * scripts/bench.pl: Skip over blank lines.
12814 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12817 * manual/time.texi (Calendar Time): Clarify what timezone functions
12820 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12824 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12826 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12828 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12829 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12830 * debug/memset_chk.c (__memset_chk): Likewise.
12831 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12832 * debug/strncpy_chk.c: Likewise.
12834 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12838 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12839 (__ieee754_exp): For possibly underflowing results, check size of
12840 result and force underflow exception if required.
12841 * math/auto-libm-test-in: Add more tests of exp.
12842 * math/auto-libm-test-out: Regenerated.
12843 * sysdeps/i386/fpu/libm-test-ulps: Update.
12844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12847 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12848 * math/w_exp2f.c (__exp2f): Likewise.
12849 * math/w_exp2l.c (__exp2l): Likewise.
12850 * math/auto-libm-test-in: Do not allow missing errno on exp2
12852 * math/auto-libm-test-out: Regenerated.
12854 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12857 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12858 handle filename validation.
12859 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12862 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12866 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12867 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12869 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12870 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12871 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12873 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12875 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12876 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12877 Add more erfc tests.
12878 * math/auto-libm-test-out: Regenerated.
12879 * sysdeps/i386/fpu/libm-test-ulps: Update.
12880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12882 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12883 exp2, expm1, j0 and j1.
12884 * math/auto-libm-test-out: Regenerated.
12885 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12886 (erfc_test_data): Likewise.
12887 (exp_test_data): Likewise.
12888 (exp_tonearest_test_data): Likewise.
12889 (exp_towardzero_test_data): Likewise.
12890 (exp_downward_test_data): Likewise.
12891 (exp_upward_test_data): Likewise.
12892 (exp10_test_data): Likewise.
12893 (exp2_test_data): Likewise.
12894 (expm1_test_data): Likewise.
12895 (j0_test_data): Likewise.
12896 (j1_test_data): Likewise.
12897 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12898 (input_flag_type): Add flag_xfail_rounding.
12899 (input_flags): Add xfail-rounding.
12900 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12901 (output_for_one_input_case): Handle flag_xfail_rounding.
12902 * sysdeps/i386/fpu/libm-test-ulps: Update.
12903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12905 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12908 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12911 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12914 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12915 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12916 (STAP_PROBE0): New macro.
12917 (STAP_PROBE1): Likewise.
12918 (STAP_PROBE2): Likewise.
12919 (STAP_PROBE3): Likewise.
12920 (STAP_PROBE4): Likewise.
12922 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12924 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12926 2013-12-02 Steve Ellcey <sellcey@mips.com>
12928 * benchtests/Makefile (bench): Add sqrt.
12929 (LDLIBS-bench-sqrt): New.
12930 * benchtests/sqrt-input: New.
12932 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12934 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12935 (GAIH_EAI): Likewise.
12936 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12937 (gaih_inet): Likewise.
12938 (getaddrinfo): Don't use GAIH_EAI.
12940 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12941 (struct gaih): Remove definition.
12943 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12945 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12946 Use HERRNOP directly.
12948 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12952 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12954 * math/gen-auto-libm-tests.c (test_functions): Add more
12955 single-argument functions.
12956 (special_fill_pi_2): New function.
12957 (special_fill_minus_pi_2): Likewise.
12958 (special_fill_pi_6): Likewise.
12959 (special_fill_minus_pi_6): Likewise.
12960 (special_fill_pi_3): Likewise.
12961 (special_fill_2pi_3): Likewise.
12962 (special_fill_e): Likewise.
12963 (special_fill_1_e): Likewise.
12964 (special_fill_e_minus_1): Likewise.
12965 (special_real_inputs): Add more special inputs.
12966 (output_for_one_input_case): Do not require ERANGE on underflow to
12967 zero if round-to-nearest result does not underflow to zero, unless
12968 exact results required.
12969 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12970 atan, atanh, cbrt, cos and cosh.
12971 * math/auto-libm-test-out: Regenerated.
12972 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12973 (acos_tonearest_test_data): Likewise.
12974 (acos_towardzero_test_data): Likewise.
12975 (acos_downward_test_data): Likewise.
12976 (acos_upward_test_data): Likewise.
12977 (acosh_test_data): Likewise.
12978 (asin_test_data): Likewise.
12979 (asin_tonearest_test_data): Likewise.
12980 (asin_towardzero_test_data): Likewise.
12981 (asin_upward_test_data): Likewise.
12982 (asinh_test_data): Likewise.
12983 (atan_test_data): Likewise.
12984 (atanh_test_data): Likewise.
12985 (cbrt_test_data): Likewise.
12986 (cos_test_data): Likewise.
12987 (cos_tonearest_test_data): Likewise.
12988 (cos_towardzero_test_data): Likewise.
12989 (cos_downward_test_data): Likewise.
12990 (cos_upward_test_data): Likewise.
12991 (cosh_test_data): Likewise.
12992 (cosh_tonearest_test_data): Likewise.
12993 (cosh_towardzero_test_data): Likewise.
12994 (cosh_downward_test_data): Likewise.
12995 (cosh_upward_test_data): Likewise.
12996 * sysdeps/i386/fpu/libm-test-ulps: Update.
12997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12999 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13002 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13003 * math/w_exp10f.c (__exp10f): Likewise.
13004 * math/w_exp10l.c (__exp10l): Likewise.
13005 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13006 errno settings in existing tests.
13009 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13010 precision control set to double precision.
13011 * sysdeps/i386/fpu/w_sqrt.c: New file.
13012 * math/auto-libm-test-in: Add more tests.
13013 * math/auto-libm-test-out: Update.
13015 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13016 (sqrt_test_tonearest): New function.
13017 (sqrt_towardzero_test_data): New variable.
13018 (sqrt_test_towardzero): New function.
13019 (sqrt_downward_test_data): New variable.
13020 (sqrt_test_downward): New function.
13021 (sqrt_upward_test_data): New variable.
13022 (sqrt_test_upward): New function.
13023 (main): Call the new functions.
13025 * math/gen-auto-libm-tests.c: New file.
13026 * math/auto-libm-test-in: Likewise.
13027 * math/auto-libm-test-out: New generated file.
13028 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13030 (%beautify): Add generated representations of zero.
13031 (top level): Set $auto_input and call parse_auto_input.
13032 (beautify): Remove trailing "f" from hex float constants.
13033 (parse_args): Handle XFAIL_TEST.
13034 (convert_condition): New function.
13035 (or_value): Likewise.
13036 (or_cond_value): Likewise.
13037 (generate_testfile): Handle AUTO_TESTS_* lines.
13038 (parse_auto_input): New function.
13039 * math/libm-test.inc (XFAIL_TEST): New macro.
13040 (ERRNO_UNCHANGED): Update value.
13041 (ERRNO_EDOM): Likewise.
13042 (ERRNO_ERANGE): Likewise.
13043 (IGNORE_RESULT): Likewise.
13044 (TEST_COND_flt_32): New macro.
13045 (TEST_COND_dbl_64): Likewise.
13046 (TEST_COND_ldbl_96_intel): Likewise.
13047 (TEST_COND_ldbl_96_m68k): Likewise.
13048 (TEST_COND_ldbl_128): Likewise.
13049 (TEST_COND_ldbl_128ibm): Likewise.
13050 (TEST_COND_long32): Likewise.
13051 (TEST_COND_long64): Likewise.
13052 (TEST_COND_before_rounding): Likewise.
13053 (TEST_COND_after_rounding): Likewise.
13054 (enable_test): Handle XFAIL_TEST flag.
13055 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13056 with finite results.
13057 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13058 auto-libm-test-out.
13060 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13061 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13064 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13065 __tls_get_addr_internal instead of __tls_get_offset in order to
13066 avoid GOT pointer dependency. Make rtld export
13067 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13068 __tls_get_addr since we are a __tls_get_offset platform.
13069 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13070 GOT pointer being set up before.
13071 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13073 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13075 * manual/math.texi (Errors in Math Functions): Document accuracy
13079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13080 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13083 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13085 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13096 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13097 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13098 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13099 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13100 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13102 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13104 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13106 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13107 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13108 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13109 atomic-feupdateenv and flt-rounds.
13110 * sysdeps/powerpc/nofpu/Versions (libc): Add
13111 __atomic_feholdexcept, __atomic_feclearexcept,
13112 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13113 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13114 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13115 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13116 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13121 * manual/arith.texi (FP Exceptions): Document that exceptions may
13122 not be raised when matherr is used.
13123 (Math Error Reporting): Document overflow in directed rounding
13124 modes. Document that errno may not be set when finite values are
13125 returned on overflow. Document intent to set errno on underflow
13126 only for underflow to zero.
13129 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13130 round-to-nearest then adjust result for other rounding modes.
13131 * include/fenv.h (fegetround): Use libm_hidden_proto.
13132 * math/fegetround.c (fegetround): Use libm_hidden_def.
13133 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13134 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13135 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13136 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13138 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13139 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13140 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13141 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13143 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13146 * nss/Versions (libnss_files): Add
13147 _nss_files_gethostbyname3_r.
13148 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13150 (HOST_DB_LOOKUP): Remove macro.
13151 (_nss_files_gethostbyname_r): Implement function without the
13152 HOST_DB_LOOKUP macro.
13153 (_nss_files_gethostbyname2_r): Likewise.
13155 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13157 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13159 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13161 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13162 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13165 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13167 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13168 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13169 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13170 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13171 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13172 __fe_nomask_env_priv and attribute_hidden.
13173 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13174 (libc_feupdateenv_test_ppc): Likewise.
13175 (libc_feresetround_ppc): Likewise.
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13177 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13178 compat_symbol macro.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13180 (__fe_nomask_env): Likewise.
13181 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13183 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13185 * string/Makefile: Remove ifunc tests.
13186 * string/test-string.h: Define TEST_IFUNC.
13187 * string/test-bcopy-ifunc.c: Remove.
13188 * string/test-bzero-ifunc.c: Likewise.
13189 * string/test-memccpy-ifunc.c: Likewise.
13190 * string/test-memchr-ifunc.c: Likewise.
13191 * string/test-memcmp-ifunc.c: Likewise.
13192 * string/test-memcpy-ifunc.c: Likewise.
13193 * string/test-memmem-ifunc.c: Likewise.
13194 * string/test-memmove-ifunc.c: Likewise.
13195 * string/test-mempcpy-ifunc.c: Likewise.
13196 * string/test-memrchr-ifunc.c: Likewise.
13197 * string/test-memset-ifunc.c: Likewise.
13198 * string/test-rawmemchr-ifunc.c: Likewise.
13199 * string/test-stpcpy-ifunc.c: Likewise.
13200 * string/test-stpncpy-ifunc.c: Likewise.
13201 * string/test-strcasecmp-ifunc.c: Likewise.
13202 * string/test-strcasestr-ifunc.c: Likewise.
13203 * string/test-strcat-ifunc.c: Likewise.
13204 * string/test-strchr-ifunc.c: Likewise.
13205 * string/test-strchrnul-ifunc.c: Likewise.
13206 * string/test-strcmp-ifunc.c: Likewise.
13207 * string/test-strcpy-ifunc.c: Likewise.
13208 * string/test-strcspn-ifunc.c: Likewise.
13209 * string/test-strlen-ifunc.c: Likewise.
13210 * string/test-strncasecmp-ifunc.c: Likewise.
13211 * string/test-strncat-ifunc.c: Likewise.
13212 * string/test-strncmp-ifunc.c: Likewise.
13213 * string/test-strncpy-ifunc.c: Likewise.
13214 * string/test-strnlen-ifunc.c: Likewise.
13215 * string/test-strpbrk-ifunc.c: Likewise.
13216 * string/test-strrchr-ifunc.c: Likewise.
13217 * string/test-strspn-ifunc.c: Likewise.
13218 * string/test-strstr-ifunc.c: Likewise.
13220 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13222 * benchtests/Makefile: Remove ifunc tests.
13223 * benchtests/bench-string.h: Define TEST_IFUNC.
13224 * benchtests/bench-bcopy-ifunc.c: Remove.
13225 * benchtests/bench-bzero-ifunc.c: Likewise.
13226 * benchtests/bench-memccpy-ifunc.c: Likewise.
13227 * benchtests/bench-memchr-ifunc.c: Likewise.
13228 * benchtests/bench-memcmp-ifunc.c: Likewise.
13229 * benchtests/bench-memcpy-ifunc.c: Likewise.
13230 * benchtests/bench-memmem-ifunc.c: Likewise.
13231 * benchtests/bench-memmove-ifunc.c: Likewise.
13232 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13233 * benchtests/bench-memrchr-ifunc.c: Likewise.
13234 * benchtests/bench-memset-ifunc.c: Likewise.
13235 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13236 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13237 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13238 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13239 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13240 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13241 * benchtests/bench-strcat-ifunc.c: Likewise.
13242 * benchtests/bench-strchr-ifunc.c: Likewise.
13243 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13244 * benchtests/bench-strcmp-ifunc.c: Likewise.
13245 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13246 * benchtests/bench-strcpy-ifunc.c: Likewise.
13247 * benchtests/bench-strcspn-ifunc.c: Likewise.
13248 * benchtests/bench-strlen-ifunc.c: Likewise.
13249 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13250 * benchtests/bench-strncat-ifunc.c: Likewise.
13251 * benchtests/bench-strncmp-ifunc.c: Likewise.
13252 * benchtests/bench-strncpy-ifunc.c: Likewise.
13253 * benchtests/bench-strnlen-ifunc.c: Likewise.
13254 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13255 * benchtests/bench-strrchr-ifunc.c: Likewise.
13256 * benchtests/bench-strsep-ifunc.c: Likewise.
13257 * benchtests/bench-strspn-ifunc.c: Likewise.
13258 * benchtests/bench-strstr-ifunc.c: Likewise.
13260 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13262 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13264 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13266 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13267 * rt/aio.h: Likewise.
13268 * sysdeps/gnu/bits/utmp.h: Likewise.
13269 * sysdeps/gnu/bits/utmpx.h: Likewise.
13270 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13271 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13272 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13273 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13274 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13275 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13276 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13277 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13280 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13281 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13282 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13285 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13286 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13287 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13288 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13290 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13291 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13292 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13293 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13294 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13302 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13305 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13306 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13307 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13308 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13309 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13310 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13311 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13313 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13316 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13317 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13319 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13321 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13322 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13325 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13328 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13329 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13330 (__fesetround): Remove define.
13331 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13332 rounding and exceptions handling.
13333 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13334 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13335 (__fe_nomask_env): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13337 __fegetround instead of fegetround.
13338 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13341 2013-11-21 Roland McGrath <roland@hack.frob.com>
13343 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13346 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13348 2013-11-21 Meador Inge <meadori@codesourcery.com>
13351 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13352 (encrypt_r): Likewise.
13353 * malloc/obstack.h (obstack_free): Likewise.
13354 * posix/unistd.h (encrypt): Likewise.
13356 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13358 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13359 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13360 DL_CALL_DT_FINI() that call the functions directly.
13361 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13362 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13363 * elf/dl-fini.c: Likewise.
13365 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13367 * malloc/hooks.c (memalign_check): Add alignment rounding.
13368 * malloc/malloc.c (_mid_memalign): New function.
13369 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13370 Implement by calling _mid_memalign.
13371 * manual/probes.texi (Memory Allocation Probes): Remove
13372 memory_valloc_retry and memory_pvalloc_retry.
13374 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13376 * locale/programs/locarchive.c (open_archive): Add const
13377 qualifier to ARCHIVEFNAME and copy default fname to
13381 * libio/tst-widetext.input: Rename Oriya to Odia.
13382 * locale/iso-639.def: Likewise.
13384 * manual/probes.texi (Mathematical Function Probes): Add
13385 documentation for sin, cos, asin and acos probes.
13386 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13387 (__sin32): Add slowasin probe.
13388 (__cos32): Add slowacos probe.
13389 (__mpsin): Add slowsin probe.
13390 (__mpcos): Add slowcos probe.
13392 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13395 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13396 thread-local __sim_exceptions_thread and global
13397 __sim_exceptions_global.
13398 (__sim_disabled_exceptions): Change to thread-local
13399 __sim_disabled_exceptions_thread and global
13400 __sim_disabled_exceptions_global.
13401 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13402 and global __sim_round_mode_global.
13403 (__simulate_exceptions): Use thread-local floating-point state and
13404 set global state from it as needed.
13405 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13406 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13407 __sim_round_mode_thread.
13408 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13409 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13410 and global __sim_exceptions_global.
13411 (__sim_disabled_exceptions): Change to thread-local
13412 __sim_disabled_exceptions_thread and global
13413 __sim_disabled_exceptions_global.
13414 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13415 and global __sim_round_mode_global.
13416 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13417 (SIM_SET_GLOBAL): Likewise.
13418 * sysdeps/powerpc/soft-fp/sfp-machine.h
13419 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13420 __sim_round_mode_thread.
13421 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13422 __sim_disabled_exceptions_thread.
13423 (__sim_exceptions): Change to __sim_exceptions_thread.
13424 (__sim_disabled_exceptions): Change to
13425 __sim_disabled_exceptions_thread.
13426 (__sim_round_mode): Change to __sim_round_mode_thread.
13427 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13428 thread-local floating-point state and set global state from it as
13430 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13431 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13432 (__sim_disabled_exceptions): Remove extern declaration.
13433 (feenableexcept): Use thread-local floating-point state and set
13434 global state from it as needed.
13435 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13436 extern declaration.
13437 (__sim_disabled_exceptions): Likewise.
13438 (__sim_round_mode): Likewise.
13439 (__fegetenv): Use thread-local floating-point state.
13440 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13441 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13442 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13443 floating-point state and set global state from it as needed.
13444 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13445 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13446 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13448 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13449 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13451 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13452 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13453 Use __sim_round_mode_thread.
13454 * math/test-fenv-tls.c: New file.
13455 * math/Makefile (tests): Add test-fenv-tls.
13456 ($(objpfx)test-fenv-tls): Depend on
13457 $(common-objpfx)nptl/libpthread.so.
13459 2013-11-19 Andreas Schwab <schwab@suse.de>
13461 * locale/programs/locale.c (show_info): Decode wordarray elements.
13462 * locale/categories.def (LC_MONETARY): Add element for
13463 _NL_MONETARY_CRNCYSTR.
13464 * locale/C-monetary.c (conversion_rate): New variable.
13465 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13468 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13470 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13471 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13473 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13475 * elf/Makefile (tst-auxv): New test.
13476 * elf/tst-auxv.c: New
13477 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13479 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13481 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13482 (hidden_proto): Caller changed.
13483 (hidden_tls_proto): New macro.
13484 (libc_hidden_tls_proto): Likewise.
13485 (rtld_hidden_tls_proto): Likewise.
13486 (libm_hidden_tls_proto): Likewise.
13487 (libresolv_hidden_tls_proto): Likewise.
13488 (librt_hidden_tls_proto): Likewise.
13489 (libdl_hidden_tls_proto): Likewise.
13490 (libnss_files_hidden_tls_proto): Likewise.
13491 (libnsl_hidden_tls_proto): Likewise.
13492 (libnss_nisplus_hidden_tls_proto): Likewise.
13493 (libutil_hidden_tls_proto): Likewise.
13495 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13498 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13499 (decompose_rpath): Defer expansion to fillin_rpath.
13500 (_dl_init_paths): Pass linkmap to fillin_rpath.
13502 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13504 * benchtests/Makefile: Add strsep.
13505 * benchtests/bench-strsep.c: New file: strsep benchtest.
13506 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13508 2013-11-18 Andreas Schwab <schwab@suse.de>
13510 * locale/programs/locale.c (show_info) [case byte]: Check for
13511 '\377' instead of '\177'.
13512 * locale/C-monetary.c (not_available): Always use "\377".
13513 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13514 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13515 detect unavailable sign_posn locale elements.
13516 * locale/localeconv.c (__localeconv): For grouping and
13517 mon_grouping handle "\177" and "\377" like no grouping.
13518 (INT_ELEM): New macro. Use it to set all numeric members.
13519 * locale/programs/ld-monetary.c (monetary_read)
13520 <tok_mon_grouping>: Normalize single -1 to the empty string.
13521 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13524 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13527 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13528 when we match (nil).
13529 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13531 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13533 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13534 (NO_TEST_INLINE): Update value.
13535 (ERRNO_UNCHANGED): Likewise.
13536 (ERRNO_EDOM): Likewise.
13537 (ERRNO_ERANGE): Likewise.
13538 (IGNORE_RESULT): Likewise.
13539 (check_float_internal): Check signs of NaN results if
13540 TEST_NAN_SIGN used.
13541 (check_complex): Pass TEST_NAN_SIGN flag through to second
13542 check_float_internal call.
13543 (copysign_test_data): Add tests with quiet NaNs as second
13544 argument. Use TEST_NAN_SIGN.
13545 (fabs_test_data): Add test of negative quiet NaN argument. Use
13547 (signbit_test_data): Add tests of quiet NaN argument.
13548 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13550 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13552 (parse_args): Handle function results specified as IGNORE.
13553 * math/libm-test.inc (IGNORE_RESULT): New macro.
13554 (check_float_internal): Do not check numerical result if flag
13556 (check_complex): Pass through IGNORE_RESULT to second
13557 check_float_internal call.
13558 (check_int): Do not check numerical result if flag IGNORE_RESULT
13560 (check_long): Likewise.
13561 (check_bool): Likewise.
13562 (check_longlong): Likewise.
13563 (lrint_test_data): Add tests of infinite and NaN arguments.
13564 (lrint_tonearest_test_data): Likewise.
13565 (lrint_towardzero_test_data): Likewise.
13566 (lrint_downward_test_data): Likewise.
13567 (lrint_upward_test_data): Likewise.
13568 (llrint_test_data): Likewise.
13569 (llrint_tonearest_test_data): Likewise.
13570 (llrint_towardzero_test_data): Likewise.
13571 (llrint_downward_test_data): Likewise.
13572 (llrint_upward_test_data): Likewise.
13573 (lround_test_data): Likewise.
13574 (llround_test_data): Likewise.
13576 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13577 (ERRNO_UNCHANGED): Update value.
13578 (ERRNO_EDOM): Likewise.
13579 (ERRNO_ERANGE): Likewise.
13580 (NO_TEST_INLINE_FLOAT): New macro.
13581 (NO_TEST_INLINE_DOUBLE): Likewise.
13582 (enable_test): New function.
13583 (RUN_TEST_f_f): Check enable_test before running test.
13584 (RUN_TEST_2_f): Likewise.
13585 (RUN_TEST_fff_f): Likewise.
13586 (RUN_TEST_c_f): Likewise.
13587 (RUN_TEST_f_f1): Likewise.
13588 (RUN_TEST_fF_f1): Likewise.
13589 (RUN_TEST_fI_f1): Likewise.
13590 (RUN_TEST_ffI_f1): Likewise.
13591 (RUN_TEST_c_c): Likewise.
13592 (RUN_TEST_cc_c): Likewise.
13593 (RUN_TEST_f_i): Likewise.
13594 (RUN_TEST_f_i_tg): Likewise.
13595 (RUN_TEST_ff_i_tg): Likewise.
13596 (RUN_TEST_f_b): Likewise.
13597 (RUN_TEST_f_b_tg): Likewise.
13598 (RUN_TEST_f_l): Likewise.
13599 (RUN_TEST_f_L): Likewise.
13600 (RUN_TEST_fFF_11): Likewise.
13601 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13603 (cosh_test_data): Likewise.
13604 (exp_test_data): Likewise.
13605 (expm1_test_data): Likewise.
13606 (hypot_test_data): Likewise.
13607 (pow_test_data): Likewise.
13608 (sinh_test_data): Likewise.
13609 (tanh_test_data): Likewise.
13610 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13613 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13614 tests with quiet NaN input and output.
13615 (acosh_test_data): Likewise.
13616 (asin_test_data): Likewise.
13617 (asinh_test_data): Likewise.
13618 (atan_test_data): Likewise.
13619 (atanh_test_data): Likewise.
13620 (atan2_test_data): Likewise.
13621 (cbrt_test_data): Likewise.
13622 (cos_test_data): Likewise.
13623 (cosh_test_data): Likewise.
13624 (erf_test_data): Likewise.
13625 (erfc_test_data): Likewise.
13626 (exp_test_data): Likewise.
13627 (exp10_test_data): Likewise.
13628 (exp2_test_data): Likewise.
13629 (expm1_test_data): Likewise.
13630 (hypot_test_data): Likewise.
13631 (j0_test_data): Likewise.
13632 (j1_test_data): Likewise.
13633 (jn_test_data): Likewise.
13634 (lgamma_test_data): Likewise.
13635 (log_test_data): Likewise.
13636 (log10_test_data): Likewise.
13637 (log1p_test_data): Likewise.
13638 (log2_test_data): Likewise.
13639 (pow_test_data): Likewise.
13640 (scalb_test_data): Likewise.
13641 (sin_test_data): Likewise.
13642 (sincos_test_data): Likewise.
13643 (sinh_test_data): Likewise.
13644 (tan_test_data): Likewise.
13645 (tanh_test_data): Likewise.
13646 (tgamma_test_data): Likewise.
13647 (y0_test_data): Likewise.
13648 (y1_test_data): Likewise.
13649 (yn_test_data): Likewise.
13652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13653 argument being NaN and avoid computations with second argument in
13655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13656 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13657 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13659 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13661 * locale/iso-639.def: Add Chitwani Tharu (the).
13663 2013-11-14 Andreas Schwab <schwab@suse.de>
13665 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13666 word instead of empty string.
13668 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13671 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13673 (__fe_nomask_env): Likewise.
13675 2013-11-13 Steve Ellcey <sellcey@mips.com>
13677 * benchtests/bench-timing.h: Include time.h.
13679 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13682 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13684 * sysdeps/unix/sysv/linux/configure: Regenerated.
13686 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13689 * stdlib/strtod_l.c (round_and_return): Do not consider
13690 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13691 exponent one less than half the least subnormal exponent.
13692 * stdlib/test-strtod-round-data: Add more tests.
13693 * stdlib/tst-strtod-round.c (tests): Regenerated.
13695 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13698 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13699 (__fe_mask_env): Likewise.
13700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13701 libm_hidden_proto and add function prototype.
13702 (__fe_mask_env): Add function prototype.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13704 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13706 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13708 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13710 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13712 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13713 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13715 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13717 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13718 of htab_find_slot().
13720 2013-11-11 David S. Miller <davem@davemloft.net>
13723 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13724 symbol in the non-vis3 case in static builds.
13725 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13726 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13727 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13728 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13730 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13733 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13736 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13738 * benchtests/Makefile: Add bench-strtod.
13739 * benchtests/bench-strtod.c: New file: strtod benchtest
13741 2013-11-11 Andreas Schwab <schwab@suse.de>
13744 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13745 terminating NUL in key length.
13747 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13749 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13750 Add artificial ODP entry for vDSO symbol for PPC64.
13751 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13752 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13754 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13757 * nss/getent.c (services_keys): Recognize services starting with digit.
13759 2013-11-06 David S. Miller <davem@davemloft.net>
13762 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13763 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13765 2013-11-06 Will Newton <will.newton@linaro.org>
13767 * manual/memory.texi (Malloc Examples): Remove register
13768 keyword from examples.
13770 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13772 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13774 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13777 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13778 depending on [__GCC_IEC_559 > 0].
13779 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13780 depending on [__GCC_IEC_559_COMPLEX > 0].
13782 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13784 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13787 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13789 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13791 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13794 * malloc/malloc (malloc_info): Do not handle first bin as
13797 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13799 * locale/iso-639.def: Add Central Nahuatl (nhn).
13801 2013-11-01 Bruno Haible <bruno@clisp.org>
13804 * manual/math.texi (BSD Random): Specify range upper bound as
13807 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13809 * locale/iso-639.def: Add Meadow Mari (mhr).
13811 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13813 [BZ #14752], [BZ #15763]
13814 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13816 * rt/tst_shm.c: Add test for escaping directory.
13818 2013-10-31 Andreas Schwab <schwab@suse.de>
13821 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13822 followed by 'x' as part of digit sequence.
13823 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13825 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13828 * configure.ac: allow GNU Make 4.0 and greater.
13829 * configure: Regenerated.
13831 2013-10-30 Will Newton <will.newton@linaro.org>
13834 * malloc/hooks.c (memalign_check): Limit alignment to the
13835 maximum representable power of two.
13836 * malloc/malloc.c (__libc_memalign): Likewise.
13837 * malloc/tst-memalign.c (do_test): Add test for very
13838 large alignment values.
13839 * malloc/tst-posix_memalign.c (do_test): Likewise.
13841 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13844 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13845 (munmap_chunk): Likewise.
13846 (mremap_chunk): Likewise.
13848 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13851 * stdlib/div.c (div): Remove obsolete code.
13852 * stdlib/ldiv.c (ldiv): Likewise.
13853 * stdlib/lldiv.c (lldiv): Likewise.
13855 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13858 * nss/nss_files/files-XXX.c (get_contents_ret): New
13860 (get_contents): New function.
13861 (internal_getent): Use it. Expand size of LINEBUFLEN.
13863 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13865 * configure.in: Moved to ...
13866 * configure.ac: ... here. Change reference to configure.in
13868 * sysdeps/arm/preconfigure.ac: ... here.
13869 configure.in to configure.ac.
13870 * sysdeps/gnu/configure.in: Moved to ...
13871 * sysdeps/gnu/configure.ac: ... here.
13872 * sysdeps/i386/configure.in: Moved to ...
13873 * sysdeps/i386/configure.ac: ... here.
13874 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13875 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13876 * sysdeps/mach/configure.in: Moved to ...
13877 * sysdeps/mach/configure.ac: ... here.
13878 * sysdeps/mach/hurd/configure.in: Moved to ...
13879 * sysdeps/mach/hurd/configure.ac: ... here.
13880 * sysdeps/powerpc/configure.in: Moved to ...
13881 * sysdeps/powerpc/configure.ac: ... here.
13882 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13883 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13884 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13885 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13886 * sysdeps/s390/s390-32/configure.in: Moved to ...
13887 * sysdeps/s390/s390-32/configure.ac: ... here.
13888 * sysdeps/s390/s390-64/configure.in: Moved to ...
13889 * sysdeps/s390/s390-64/configure.ac: ... here.
13890 * sysdeps/sh/configure.in: Moved to ...
13891 * sysdeps/sh/configure.ac: ... here.
13892 * sysdeps/sparc/configure.in: Moved to ...
13893 * sysdeps/sparc/configure.ac: ... here.
13894 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13895 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13896 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13897 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13898 * sysdeps/x86_64/configure.in: Moved to ...
13899 * sysdeps/x86_64/configure.ac: ... here.
13900 * sysdeps/x86_64/preconfigure.in: Moved to ...
13901 * sysdeps/x86_64/preconfigure.ac: ... here.
13902 * aclocal.m4: Change reference to configure.in to configure.ac.
13903 * config.h.in: Likewise.
13904 * manual/install.texi: Likewise.
13905 * manual/maint.texi: Likewise.
13906 * Makefile: Likewise.
13907 * malloc/Makefile: Likewise.
13908 * nscd/Makefile: Likewise.
13909 * Makeconfig: Change reference to configure.in and
13910 preconfigure.in to configure.ac and preconfigure.ac
13912 * INSTALL: Regenerated.
13913 * configure: Likewise.
13914 * sysdeps/gnu/configure: Likewise.
13915 * sysdeps/i386/configure: Likewise.
13916 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13917 * sysdeps/mach/configure: Likewise.
13918 * sysdeps/mach/hurd/configure: Likewise.
13919 * sysdeps/powerpc/configure: Likewise.
13920 * sysdeps/powerpc/powerpc32/configure: Likewise.
13921 * sysdeps/powerpc/powerpc64/configure: Likewise.
13922 * sysdeps/s390/s390-32/configure: Likewise.
13923 * sysdeps/s390/s390-64/configure: Likewise.
13924 * sysdeps/sh/configure: Likewise.
13925 * sysdeps/sparc/configure: Likewise.
13926 * sysdeps/unix/sysv/linux/configure: Likewise.
13927 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13928 * sysdeps/x86_64/configure: Likewise.
13929 * sysdeps/x86_64/preconfigure: Likewise.
13931 2013-10-29 Andreas Schwab <schwab@suse.de>
13933 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13935 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13937 * benchtests/pow-inputs: Add new inputs.
13939 * benchtests/exp-inputs: Add new inputs.
13941 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13942 conditional check for return value.
13943 (__cos32): Likewise.
13945 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13947 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13948 to provide a boost for large inputs with word alignment.
13949 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13950 implementation based on optimized PPC64 strcpy.
13951 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13952 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13953 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13954 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13956 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13959 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13961 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13964 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13965 * time/tst-strptime.c (day_tests): Add testcase.
13967 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13970 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13972 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13975 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13976 MAP_FAILED on error.
13978 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13981 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13982 heap for large requests.
13984 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13987 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13988 result if the result has no associated interface.
13989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13990 interface for all 127.X.Y.Z addresses.
13992 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13994 * locale/iso-639.def: Add Ligurian (lij)
13996 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13999 * sunrpc/rpc_main.c: Document rpcgen -5.
14001 2013-10-19 Michael Stahl <mstahl@redhat.com>
14003 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14005 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14008 * posix/glob.c: Match only directories when trailing slash is present.
14009 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14010 (main): Add testcase.
14012 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14015 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14017 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14019 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14020 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14021 AUTH_DES and cindex for FIPS 140-2.
14022 (DES Encryption): Add cindex FIPS 46-3.
14024 * locale/locarchive.h (struct locarhandle): Add fname.
14025 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14026 if an optional argument was specified to --list-archive,
14028 * locale/programs/locarchive.c (show_archive_content): Take new
14029 argument fname and pass it via ah.fname to open_archive.
14030 * locale/programs/localedef.h: Update decl.
14031 (open_archive): If AH->fname is non-null, open that file
14032 rather than the default file name, and don't ignore ENOENT.
14033 (create_archive): Set AH.fname to NULL.
14034 (delete_locales_from_archive): Likewise.
14035 (add_locales_to_archive): Likewise.
14036 * locale/programs/locfile.c (write_all_categories): Likewise.
14038 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14039 Aldy Hernandez <aldyh@redhat.com>
14041 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14042 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14043 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14044 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14045 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14046 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14047 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14049 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14050 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14051 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14052 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14053 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14054 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14055 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14063 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14066 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14067 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14068 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14069 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14071 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14072 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14073 * sysdeps/powerpc/preconfigure: Likewise.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14076 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14077 Replace contents of file by #include of <fenv_libc.h>.
14078 * sysdeps/powerpc/soft-fp/sfp-machine.h
14079 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14081 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14094 Allow copysignl PLT reference to be missing.
14096 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14097 Joseph Myers <joseph@codesourcery.com
14100 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14102 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14104 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14106 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14107 * elf/tst-tls1.c: Likewise.
14108 * elf/tst-tls10.h: Likewise.
14109 * elf/tst-tls14.c: Likewise.
14110 * elf/tst-tls2.c: Likewise.
14111 * elf/tst-tls3.c: Likewise.
14112 * elf/tst-tls4.c: Likewise.
14113 * elf/tst-tls5.c: Likewise.
14114 * elf/tst-tls6.c: Likewise.
14115 * elf/tst-tls7.c: Likewise.
14116 * elf/tst-tls8.c: Likewise.
14117 * elf/tst-tls9.c: Likewise.
14118 * elf/tst-tlsmod1.c: Likewise.
14119 * elf/tst-tlsmod13.c: Likewise.
14120 * elf/tst-tlsmod13a.c: Likewise.
14121 * elf/tst-tlsmod14a.c: Likewise.
14122 * elf/tst-tlsmod16a.c: Likewise.
14123 * elf/tst-tlsmod16b.c: Likewise.
14124 * elf/tst-tlsmod2.c: Likewise.
14125 * elf/tst-tlsmod3.c: Likewise.
14126 * elf/tst-tlsmod4.c: Likewise.
14127 * elf/tst-tlsmod5.c: Likewise.
14128 * elf/tst-tlsmod6.c: Likewise.
14130 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14133 * malloc/malloc.c: remove checks for statistics.
14135 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14138 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14139 * inet/tst-network.c: Add testcase.
14141 2013-10-17 Andreas Schwab <schwab@suse.de>
14144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14145 to determine canonical name.
14147 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14149 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14150 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14173 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14174 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14179 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14208 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14211 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14212 make result into a quiet NaN.
14214 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14216 * soft-fp/adddf3.c: Fix horizontal whitespace.
14217 * soft-fp/addsf3.c: Likewise.
14218 * soft-fp/addtf3.c: Likewise.
14219 * soft-fp/divdf3.c: Likewise.
14220 * soft-fp/divsf3.c: Likewise.
14221 * soft-fp/divtf3.c: Likewise.
14222 * soft-fp/double.h: Likewise.
14223 * soft-fp/eqdf2.c: Likewise.
14224 * soft-fp/eqsf2.c: Likewise.
14225 * soft-fp/eqtf2.c: Likewise.
14226 * soft-fp/extenddftf2.c: Likewise.
14227 * soft-fp/extended.h: Likewise.
14228 * soft-fp/extendsfdf2.c: Likewise.
14229 * soft-fp/extendsftf2.c: Likewise.
14230 * soft-fp/extendxftf2.c: Likewise.
14231 * soft-fp/fixdfdi.c: Likewise.
14232 * soft-fp/fixdfsi.c: Likewise.
14233 * soft-fp/fixdfti.c: Likewise.
14234 * soft-fp/fixsfdi.c: Likewise.
14235 * soft-fp/fixsfsi.c: Likewise.
14236 * soft-fp/fixsfti.c: Likewise.
14237 * soft-fp/fixtfdi.c: Likewise.
14238 * soft-fp/fixtfsi.c: Likewise.
14239 * soft-fp/fixtfti.c: Likewise.
14240 * soft-fp/fixunsdfdi.c: Likewise.
14241 * soft-fp/fixunsdfsi.c: Likewise.
14242 * soft-fp/fixunsdfti.c: Likewise.
14243 * soft-fp/fixunssfdi.c: Likewise.
14244 * soft-fp/fixunssfsi.c: Likewise.
14245 * soft-fp/fixunssfti.c: Likewise.
14246 * soft-fp/fixunstfdi.c: Likewise.
14247 * soft-fp/fixunstfsi.c: Likewise.
14248 * soft-fp/fixunstfti.c: Likewise.
14249 * soft-fp/floatdidf.c: Likewise.
14250 * soft-fp/floatdisf.c: Likewise.
14251 * soft-fp/floatditf.c: Likewise.
14252 * soft-fp/floatsidf.c: Likewise.
14253 * soft-fp/floatsisf.c: Likewise.
14254 * soft-fp/floatsitf.c: Likewise.
14255 * soft-fp/floattidf.c: Likewise.
14256 * soft-fp/floattisf.c: Likewise.
14257 * soft-fp/floattitf.c: Likewise.
14258 * soft-fp/floatundidf.c: Likewise.
14259 * soft-fp/floatundisf.c: Likewise.
14260 * soft-fp/floatunditf.c: Likewise.
14261 * soft-fp/floatunsidf.c: Likewise.
14262 * soft-fp/floatunsisf.c: Likewise.
14263 * soft-fp/floatunsitf.c: Likewise.
14264 * soft-fp/floatuntidf.c: Likewise.
14265 * soft-fp/floatuntisf.c: Likewise.
14266 * soft-fp/floatuntitf.c: Likewise.
14267 * soft-fp/fmadf4.c: Likewise.
14268 * soft-fp/fmasf4.c: Likewise.
14269 * soft-fp/fmatf4.c: Likewise.
14270 * soft-fp/gedf2.c: Likewise.
14271 * soft-fp/gesf2.c: Likewise.
14272 * soft-fp/getf2.c: Likewise.
14273 * soft-fp/ledf2.c: Likewise.
14274 * soft-fp/lesf2.c: Likewise.
14275 * soft-fp/letf2.c: Likewise.
14276 * soft-fp/muldf3.c: Likewise.
14277 * soft-fp/mulsf3.c: Likewise.
14278 * soft-fp/multf3.c: Likewise.
14279 * soft-fp/negdf2.c: Likewise.
14280 * soft-fp/negsf2.c: Likewise.
14281 * soft-fp/negtf2.c: Likewise.
14282 * soft-fp/op-1.h: Likewise.
14283 * soft-fp/op-2.h: Likewise.
14284 * soft-fp/op-4.h: Likewise.
14285 * soft-fp/op-8.h: Likewise.
14286 * soft-fp/op-common.h: Likewise.
14287 * soft-fp/quad.h: Likewise.
14288 * soft-fp/single.h: Likewise.
14289 * soft-fp/soft-fp.h: Likewise.
14290 * soft-fp/sqrtdf2.c: Likewise.
14291 * soft-fp/sqrtsf2.c: Likewise.
14292 * soft-fp/sqrttf2.c: Likewise.
14293 * soft-fp/subdf3.c: Likewise.
14294 * soft-fp/subsf3.c: Likewise.
14295 * soft-fp/subtf3.c: Likewise.
14296 * soft-fp/truncdfsf2.c: Likewise.
14297 * soft-fp/trunctfdf2.c: Likewise.
14298 * soft-fp/trunctfsf2.c: Likewise.
14299 * soft-fp/trunctfxf2.c: Likewise.
14300 * soft-fp/unorddf2.c: Likewise.
14301 * soft-fp/unordsf2.c: Likewise.
14302 * soft-fp/unordtf2.c: Likewise.
14304 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14306 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14307 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14309 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14311 * elf/dl-libc.c: Clear initfini list after freeing.
14313 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14315 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14316 * soft-fp/addsf3.c: Likewise.
14317 * soft-fp/addtf3.c: Likewise.
14318 * soft-fp/divdf3.c: Likewise.
14319 * soft-fp/divsf3.c: Likewise.
14320 * soft-fp/divtf3.c: Likewise.
14321 * soft-fp/double.h: Likewise.
14322 * soft-fp/eqdf2.c: Likewise.
14323 * soft-fp/eqsf2.c: Likewise.
14324 * soft-fp/eqtf2.c: Likewise.
14325 * soft-fp/extenddftf2.c: Likewise.
14326 * soft-fp/extended.h: Likewise.
14327 * soft-fp/extendsfdf2.c: Likewise.
14328 * soft-fp/extendsftf2.c: Likewise.
14329 * soft-fp/extendxftf2.c: Likewise.
14330 * soft-fp/fixdfdi.c: Likewise.
14331 * soft-fp/fixdfsi.c: Likewise.
14332 * soft-fp/fixdfti.c: Likewise.
14333 * soft-fp/fixsfdi.c: Likewise.
14334 * soft-fp/fixsfsi.c: Likewise.
14335 * soft-fp/fixsfti.c: Likewise.
14336 * soft-fp/fixtfdi.c: Likewise.
14337 * soft-fp/fixtfsi.c: Likewise.
14338 * soft-fp/fixtfti.c: Likewise.
14339 * soft-fp/fixunsdfdi.c: Likewise.
14340 * soft-fp/fixunsdfsi.c: Likewise.
14341 * soft-fp/fixunsdfti.c: Likewise.
14342 * soft-fp/fixunssfdi.c: Likewise.
14343 * soft-fp/fixunssfsi.c: Likewise.
14344 * soft-fp/fixunssfti.c: Likewise.
14345 * soft-fp/fixunstfdi.c: Likewise.
14346 * soft-fp/fixunstfsi.c: Likewise.
14347 * soft-fp/fixunstfti.c: Likewise.
14348 * soft-fp/floatdidf.c: Likewise.
14349 * soft-fp/floatdisf.c: Likewise.
14350 * soft-fp/floatditf.c: Likewise.
14351 * soft-fp/floatsidf.c: Likewise.
14352 * soft-fp/floatsisf.c: Likewise.
14353 * soft-fp/floatsitf.c: Likewise.
14354 * soft-fp/floattidf.c: Likewise.
14355 * soft-fp/floattisf.c: Likewise.
14356 * soft-fp/floattitf.c: Likewise.
14357 * soft-fp/floatundidf.c: Likewise.
14358 * soft-fp/floatundisf.c: Likewise.
14359 * soft-fp/floatunsidf.c: Likewise.
14360 * soft-fp/floatunsisf.c: Likewise.
14361 * soft-fp/floatuntidf.c: Likewise.
14362 * soft-fp/floatuntisf.c: Likewise.
14363 * soft-fp/floatuntitf.c: Likewise.
14364 * soft-fp/fmadf4.c: Likewise.
14365 * soft-fp/fmasf4.c: Likewise.
14366 * soft-fp/fmatf4.c: Likewise.
14367 * soft-fp/gedf2.c: Likewise.
14368 * soft-fp/gesf2.c: Likewise.
14369 * soft-fp/getf2.c: Likewise.
14370 * soft-fp/ledf2.c: Likewise.
14371 * soft-fp/lesf2.c: Likewise.
14372 * soft-fp/letf2.c: Likewise.
14373 * soft-fp/muldf3.c: Likewise.
14374 * soft-fp/mulsf3.c: Likewise.
14375 * soft-fp/multf3.c: Likewise.
14376 * soft-fp/negdf2.c: Likewise.
14377 * soft-fp/negsf2.c: Likewise.
14378 * soft-fp/negtf2.c: Likewise.
14379 * soft-fp/op-1.h: Likewise.
14380 * soft-fp/op-2.h: Likewise.
14381 * soft-fp/op-4.h: Likewise.
14382 * soft-fp/op-8.h: Likewise.
14383 * soft-fp/op-common.h: Likewise.
14384 * soft-fp/quad.h: Likewise.
14385 * soft-fp/single.h: Likewise.
14386 * soft-fp/soft-fp.h: Likewise.
14387 * soft-fp/sqrtdf2.c: Likewise.
14388 * soft-fp/sqrtsf2.c: Likewise.
14389 * soft-fp/sqrttf2.c: Likewise.
14390 * soft-fp/subdf3.c: Likewise.
14391 * soft-fp/subsf3.c: Likewise.
14392 * soft-fp/subtf3.c: Likewise.
14393 * soft-fp/truncdfsf2.c: Likewise.
14394 * soft-fp/trunctfdf2.c: Likewise.
14395 * soft-fp/trunctfsf2.c: Likewise.
14396 * soft-fp/trunctfxf2.c: Likewise.
14397 * soft-fp/unorddf2.c: Likewise.
14398 * soft-fp/unordsf2.c: Likewise.
14399 * soft-fp/unordtf2.c: Likewise.
14401 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14404 * misc/error.c (error_tail): Fix possible buffer overflow.
14406 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14409 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14412 2013-10-14 P. J. McDermott <pj@pehjota.net>
14415 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14416 testing pipefail option.
14418 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14420 * soft-fp/double.h: Indent preprocessor directives inside #if.
14421 * soft-fp/extended.h: Likewise.
14422 * soft-fp/op-2.h: Likewise.
14423 * soft-fp/op-4.h: Likewise.
14424 * soft-fp/op-common.h: Likewise.
14425 * soft-fp/quad.h: Likewise.
14426 * soft-fp/single.h: Likewise.
14427 * soft-fp/soft-fp.h: Likewise.
14429 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14431 * iconv/iconv_prog.c: Fix typos.
14432 * stdio-common/psiginfo-data.h: Likewise.
14434 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14437 * locale/setlocale.c: Fix typo.
14439 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14442 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14443 signaling NaN arguments.
14444 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14445 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14448 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14449 unordered operands.
14450 * soft-fp/gesf2.c (__gesf2): Likewise.
14451 * soft-fp/getf2.c (__getf2): Likewise.
14452 * soft-fp/ledf2.c (__ledf2): Likewise.
14453 * soft-fp/lesf2.c (__lesf2): Likewise.
14454 * soft-fp/letf2.c (__letf2): Likewise.
14456 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14457 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14458 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14459 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14460 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14461 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14462 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14463 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14464 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14465 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14466 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14467 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14468 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14469 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14470 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14471 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14472 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14473 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14474 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14475 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14476 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14477 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14478 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14479 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14480 * soft-fp/floattidf.c (__floattidf): Likewise.
14481 * soft-fp/floattisf.c (__floattisf): Likewise.
14482 * soft-fp/floattitf.c (__floattitf): Likewise.
14483 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14484 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14485 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14486 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14487 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14488 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14489 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14490 * soft-fp/gesf2.c (__gesf2): Likewise.
14491 * soft-fp/getf2.c (__getf2): Likewise.
14492 * soft-fp/ledf2.c (__ledf2): Likewise.
14493 * soft-fp/lesf2.c (__lesf2): Likewise.
14494 * soft-fp/letf2.c (__letf2): Likewise.
14496 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14497 Undefine and redefine.
14498 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14499 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14500 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14501 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14502 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14503 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14504 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14505 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14506 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14507 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14508 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14509 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14510 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14511 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14512 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14515 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14516 without decrementing exponent if mantissa >= that for the
14517 denominator, not >.
14518 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14519 denominator, not >. Decrement exponent in < case instead of
14520 incrementing in >= case.
14521 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14522 without decrementing exponent if mantissa >= that for the
14523 denominator, not >.
14525 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14526 computing saturated result for unsigned overflow.
14528 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14529 Jeff Law <law@redhat.com>
14531 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14532 (atan2Mp): Add systemtap probe marker.
14533 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14534 (__ieee754_log): Add systemtap probe marker.
14535 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14536 (atanMp): Add systemtap probe marker.
14537 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14538 (tanMp): Add systemtap probe marker.
14539 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14540 (__slowexp): Add systemtap probe marker.
14541 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14542 (__slowpow): Add systemtap probe marker.
14543 * manual/probes.texi: Document probes.
14545 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14548 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14550 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14552 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14553 written to buffer but not flushed.
14554 * libio/iofwrite_u.c: Likewise.
14555 * libio/iopadn.c: Return bytes returned even if EOF was
14557 * libio/iowpadn.c: Likewise.
14558 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14559 if _IO_padn does not write the whole buffer.
14560 [!COMPILE_WPRINTF] (PAD): Likewise.
14562 2013-10-10 David S. Miller <davem@davemloft.net>
14564 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14567 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14569 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14570 instead of FSF address.
14571 * soft-fp/fixdfti.c: Likewise.
14572 * soft-fp/fixsfti.c: Likewise.
14573 * soft-fp/fixtfti.c: Likewise.
14574 * soft-fp/fixunsdfti.c: Likewise.
14575 * soft-fp/fixunssfti.c: Likewise.
14576 * soft-fp/fixunstfti.c: Likewise.
14577 * soft-fp/floattidf.c: Likewise.
14578 * soft-fp/floattisf.c: Likewise.
14579 * soft-fp/floattitf.c: Likewise.
14580 * soft-fp/floatuntidf.c: Likewise.
14581 * soft-fp/floatuntisf.c: Likewise.
14582 * soft-fp/floatuntitf.c: Likewise.
14583 * soft-fp/trunctfxf2.c: Likewise.
14585 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14586 * soft-fp/fixdfti.c: Likewise.
14587 * soft-fp/fixsfti.c: Likewise.
14588 * soft-fp/fixtfti.c: Likewise.
14589 * soft-fp/fixunsdfti.c: Likewise.
14590 * soft-fp/fixunssfti.c: Likewise.
14591 * soft-fp/fixunstfti.c: Likewise.
14592 * soft-fp/floattidf.c: Likewise.
14593 * soft-fp/floattisf.c: Likewise.
14594 * soft-fp/floattitf.c: Likewise.
14595 * soft-fp/floatuntidf.c: Likewise.
14596 * soft-fp/floatuntisf.c: Likewise.
14597 * soft-fp/floatuntitf.c: Likewise.
14598 * soft-fp/trunctfxf2.c: Likewise.
14600 2013-10-10 David S. Miller <davem@davemloft.net>
14602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14604 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14606 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14607 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14608 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14609 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14610 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14611 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14612 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14615 for NaNs before doing comparisons on argument.
14616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14619 2013-10-10 Will Newton <will.newton@linaro.org>
14621 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14622 passed to _int_memalign does not overflow.
14624 2013-10-10 Torvald Riegel <triegel@redhat.com>
14626 * scripts/bench.pl: Add include-sources directive.
14627 * benchtests/README: Update documentation.
14629 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14631 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14632 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14633 instead of FP_INIT_ROUNDMODE.
14634 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14635 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14638 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14639 copy class of input value.
14640 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14641 not handle exceptions.
14642 * soft-fp/negsf2.c (__negsf2): Likewise.
14643 * soft-fp/negtf2.c (__negtf2): Likewise.
14644 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14646 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14648 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14649 semicolon. From Linux kernel.
14651 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14653 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14655 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14658 * manual/socket.texi: Added statement about buffer
14659 for gethostbyname2_r.
14661 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14663 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14664 Use .p2align directive instead, throughout.
14665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14666 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14667 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14670 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14671 * sysdeps/x86_64/strchr.S: Likewise.
14672 * sysdeps/x86_64/strrchr.S: Likewise.
14674 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14676 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14678 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14680 * sysdeps/generic/math_private.h (__mpsin1): Remove
14682 (__mpcos1): Likewise.
14683 (__mpsin): New argument __range_reduce.
14684 (__mpcos): Likewise.
14685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14686 (slow): Use __mpsin and __mpcos.
14690 (sloww1): Likewise.
14691 (sloww2): Likewise.
14692 (bsloww): Likewise.
14693 (bsloww1): Likewise.
14694 (bsloww2): Likewise.
14695 (cslow2): Likewise.
14696 (csloww): Likewise.
14697 (csloww1): Likewise.
14698 (csloww2): Likewise.
14699 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14700 range_reduce. Merge in __mpsin1.
14701 (__mpcos): Likewise.
14702 (__mpsin1): Remove.
14703 (__mpcos1): Likewise.
14705 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14707 * locale/loadlocale.c (_nl_intern_locale_data): Use
14709 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14710 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14711 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14712 obstack data is appropriately aligned.
14713 (obstack_int32_grow_fast): Likewise.
14714 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14715 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14716 (add_locale_uint32_array): Likewise.
14718 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14720 * benchtests/Makefile: Remove ARGLIST and RET variables.
14721 ($(objpfx)bench-%.c): Pass only function name to the script.
14722 * benchtests/README: Update documentation.
14723 * benchtests/acos-inputs: Add new directives.
14724 * benchtests/acosh-inputs: Likewise.
14725 * benchtests/asin-inputs: Likewise.
14726 * benchtests/asinh-inputs: Likewise.
14727 * benchtests/atan-inputs: Likewise.
14728 * benchtests/atanh-inputs: Likewise.
14729 * benchtests/cos-inputs: Likewise.
14730 * benchtests/cosh-inputs: Likewise.
14731 * benchtests/exp-inputs: Likewise.
14732 * benchtests/log-inputs: Likewise.
14733 * benchtests/pow-inputs: Likewise.
14734 * benchtests/rint-inputs: Likewise.
14735 * benchtests/sin-inputs: Likewise.
14736 * benchtests/sinh-inputs: Likewise.
14737 * benchtests/tan-inputs: Likewise.
14738 * benchtests/tanh-inputs: Likewise.
14739 * scripts/bench.pl: Add support for new directives.
14741 2013-10-07 Alan Modra <amodra@gmail.com>
14743 * README: Fix careless merge.
14745 2013-10-05 Alan Modra <amodra@gmail.com>
14747 * NEWS: Mention powerpc64le support and bugs fixed.
14748 * README: Both big-endian and little-endian powerpc64 supported.
14750 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14752 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14753 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14754 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14755 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14757 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14759 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14762 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14764 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14765 Move -mhard-float appending from
14766 ports/sysdeps/powerpc/powerpc32/Makefile.
14767 [$(with-fp) = yes] (ASFLAGS): Likewise.
14768 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14769 * sysdeps/powerpc/nofpu: Move directory from
14770 ports/sysdeps/powerpc/nofpu.
14771 * sysdeps/powerpc/soft-fp: Move directory from
14772 ports/sysdeps/powerpc/soft-fp.
14773 * sysdeps/powerpc/powerpc32/405: Move directory from
14774 ports/sysdeps/powerpc/powerpc32/405.
14775 * sysdeps/powerpc/powerpc32/440: Move directory from
14776 ports/sysdeps/powerpc/powerpc32/440.
14777 * sysdeps/powerpc/powerpc32/464: Move directory from
14778 ports/sysdeps/powerpc/powerpc32/464.
14779 * sysdeps/powerpc/powerpc32/476: Move directory from
14780 ports/sysdeps/powerpc/powerpc32/476.
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14782 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14791 * README: Update for powerpc-*-linux-gnu software floating point
14794 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14795 case to powerpc/powerpc32*.
14796 * sysdeps/unix/sysv/linux/configure: Regenerated.
14798 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14799 (_FPU_MASK_OM): Define as 0x04.
14800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14808 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14811 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14814 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14815 and setcontext_e500.
14817 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14819 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14821 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14823 * manual/threads.texi (Default Thread Attributes): Fix typo.
14825 2013-10-04 Will Newton <will.newton@linaro.org>
14827 * malloc/Makefile: Add tst-memalign.
14828 * malloc/tst-memalign.c: New file.
14830 * malloc/tst-posix_memalign.c: Add comments.
14831 (do_test): Add comments and call free on all potentially
14832 allocated pointers. Add space after cast.
14834 * malloc/tst-pvalloc.c: Add comments.
14835 (do_test): Add comments and call free on all potentially
14836 allocated pointers. Remove duplicate check for NULL pointer.
14837 Add space after cast.
14839 * malloc/tst-valloc.c: Add comments.
14840 (do_test): Add comments and call free on all potentially
14841 allocated pointers. Remove duplicate check for NULL pointer.
14842 Add space after cast.
14844 2013-10-04 Alan Modra <amodra@gmail.com>
14846 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14847 Use stdint types in rather than __attribute__((mode())).
14848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14850 2013-10-04 Alan Modra <amodra@gmail.com>
14852 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14853 Correct handling of unaligned relocs for little-endian.
14854 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14856 2013-10-04 Alan Modra <amodra@gmail.com>
14858 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14859 * configure: Regenerate.
14860 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14861 * shlib-versions: Likewise.
14863 2013-10-04 Alan Modra <amodra@gmail.com>
14865 * string/tester.c (test_memrchr): Increment reported test cycle.
14867 2013-10-04 Alan Modra <amodra@gmail.com>
14869 * string/test-memcpy.c (do_one_test): When reporting errors, print
14870 string address and don't overrun end of string.
14872 2013-10-04 Alan Modra <amodra@gmail.com>
14874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14875 insrdi. Make better use of reg selection to speed exit slightly.
14876 Schedule entry path a little better. Remove useless "are we done"
14877 checks on entry to main loop. Handle wrapping around zero address.
14878 Correct main loop count. Handle single left-over word from main
14879 loop inline rather than by using loop_small. Remove extra word
14880 case in loop_small caused by wrong loop count. Add little-endian
14882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14887 support. Avoid rlwimi.
14888 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14890 2013-10-04 Alan Modra <amodra@gmail.com>
14892 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14893 insrdi. Formatting.
14894 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14895 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14896 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14898 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14899 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14901 2013-10-04 Alan Modra <amodra@gmail.com>
14903 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14907 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14908 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14909 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14911 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14912 use of regs. Use power7 mtocrf. Tidy function tails.
14914 2013-10-04 Alan Modra <amodra@gmail.com>
14916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14917 Formatting. Consistently use rXXX register defines or rN defines.
14918 Use early exit labels that avoid restoring unused non-volatile regs.
14919 Make cr field use more consistent with rWORDn compares. Rename
14920 regs used as shift registers for unaligned loop, using rN defines
14921 for short lifetime/multiple use regs.
14922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14923 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14924 addi 1,1,64 to pop stack frame. Simplify return value code.
14925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14927 2013-10-04 Alan Modra <amodra@gmail.com>
14929 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14930 support. Correct typos, formatting. Optimize tail. Use insrdi
14931 rather than rlwimi.
14932 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14933 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14934 little-endian support. Correct typos.
14935 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14936 rather than rlwimi.
14937 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14938 in loop and entry code to keep "and." results.
14939 (strchr): Add little-endian support. Comment. Move cntlzd
14941 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14943 2013-10-04 Alan Modra <amodra@gmail.com>
14945 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14946 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14947 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14948 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14950 2013-10-04 Alan Modra <amodra@gmail.com>
14952 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14953 (rTMP): Define as r11.
14954 (strcmp): Add little-endian support. Optimise tail.
14955 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14956 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14957 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14959 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14960 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14963 2013-10-04 Alan Modra <amodra@gmail.com>
14965 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14966 little-endian support. Remove unnecessary "are we done" tests.
14967 Handle "s" wrapping around zero and extremely large "size".
14968 Correct main loop count. Handle single left-over word from main
14969 loop inline rather than by using small_loop. Correct comments.
14970 Delete "zero" tail, use "end_max" instead.
14971 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14973 2013-10-04 Alan Modra <amodra@gmail.com>
14975 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14976 support. Don't branch over align.
14977 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14978 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14979 support. Rearrange tmp reg use to suit. Comment.
14980 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14982 2013-10-04 Alan Modra <amodra@gmail.com>
14984 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14986 2013-10-04 Alan Modra <amodra@gmail.com>
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14989 conditional form of branch and link when obtaining pc.
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14992 2013-10-04 Alan Modra <amodra@gmail.com>
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14999 2013-10-04 Alan Modra <amodra@gmail.com>
15001 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15002 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15003 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15004 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15005 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15006 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15007 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15008 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15009 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15010 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15012 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15013 Alistair Popple <alistair@ozlabs.au.ibm.com>
15014 Alan Modra <amodra@gmail.com>
15017 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15018 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15019 _dl_hwcap access for little-endian.
15020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15021 destroy vmx regs when saving unaligned.
15022 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15024 destroy vmx regs when saving unaligned.
15026 2013-10-04 Alan Modra <amodra@gmail.com>
15028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15029 Don't use a union to pack hi/low value.
15031 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15033 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15035 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15036 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15037 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15038 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15039 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15041 2013-10-04 Alan Modra <amodra@gmail.com>
15043 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15044 constants to usual value for .cst8 section, and remove redundant
15046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15047 constant for 0x1p52. Load little-endian words of double from
15048 correct stack offsets.
15050 2013-10-04 Alan Modra <amodra@gmail.com>
15052 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15053 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15054 words of double from correct stack offsets.
15055 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15056 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15057 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15060 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15062 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15063 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15064 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15067 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15068 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15070 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15071 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15073 2013-10-04 Alan Modra <amodra@gmail.com>
15075 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15076 64-bit int/double union.
15077 (_FPU_SETCW): Likewise.
15078 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15079 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15081 2013-10-04 Alan Modra <amodra@gmail.com>
15083 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15084 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15086 2013-10-04 Alan Modra <amodra@gmail.com>
15088 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15089 use vector int constants.
15090 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15092 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15094 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15095 array with long long.
15096 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15097 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15098 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15099 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15100 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15101 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15102 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15103 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15104 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15105 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15106 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15107 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15108 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15110 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15112 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15113 (__signbit): Likewise. Correct for little-endian.
15114 (__signbitl): Call __signbit.
15115 (lrint): Correct for little-endian.
15116 (lrintf): Call lrint.
15118 2013-10-04 Alan Modra <amodra@gmail.com>
15120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15121 union 32-bit int array member with 64-bit int array.
15122 (t515, tm256): Double rather than long double.
15123 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15125 2013-10-04 Alan Modra <amodra@gmail.com>
15127 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15129 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15131 version of math_ldbl.h.
15133 2013-10-04 Alan Modra <amodra@gmail.com>
15135 [BZ #15734], [BZ #15735]
15136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15137 all uses of ieee875 long double macros and unions. Simplify test
15138 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15139 ldbl_extract_mantissa value for ix,iy exponents. Properly
15140 normalize after ldbl_extract_mantissa, and don't add hidden bit
15141 already handled. Don't treat low word of ieee854 mantissa like
15142 low word of IBM long double and mask off bit when testing for
15144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15145 all uses of ieee875 long double macros and unions. Simplify tests
15146 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15147 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15148 two1022, instead use their values. Recognise that tests for large
15149 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15150 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15151 Rewrite all uses of ieee875 long double macros and unions. Simplify
15152 test for 0.0L and nan. Correct negation.
15153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15154 ieee875 long double macros and unions. Correct output for large
15155 magnitude x. Correct absolute value calculation.
15156 (__erfcl): Likewise.
15157 * math/libm-test.inc: Add tests for errors discovered in IBM long
15158 double versions of fmodl, remainderl, erfl and erfcl.
15160 2013-10-04 Alan Modra <amodra@gmail.com>
15162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15163 all uses of ieee854 long double macros and unions. Simplify tests
15164 for long doubles that are fully specified by the high double.
15165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15167 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15168 Remove dead code too.
15169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15170 (__ieee754_ynl): Likewise.
15171 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15172 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15174 Remove dead code too.
15175 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15180 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15182 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15183 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15185 Comment on variable precision.
15186 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15187 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15189 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15193 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15195 2013-10-04 Alan Modra <amodra@gmail.com>
15197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15198 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15199 all uses of ieee854 long double macros and unions.
15200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15203 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15205 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15207 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15208 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15209 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15212 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15213 Simplify sign and nan test too.
15214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15226 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15229 2013-10-04 Alan Modra <amodra@gmail.com>
15231 * stdio-common/printf_size.c (__printf_size): Don't use
15232 union ieee854_long_double in fpnum union.
15233 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15234 signbit macro to retrieve sign from long double.
15235 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15236 retrieve sign from long double.
15237 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15238 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15239 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15240 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15241 * math/test-misc.c (main): Don't use union ieee854_long_double.
15243 2013-10-04 Alan Modra <amodra@gmail.com>
15246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15248 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15249 calculation. Remove unnecessary test for denormal exponent.
15250 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15251 Correct handling of denormals. Avoid undefined shift behaviour.
15252 Correct normalisation of low mantissa when low double is denormal.
15253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15254 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15255 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15256 Correct normalisation of low mantissa. Test for overflow of high
15257 mantissa and normalise.
15258 (ldbl_nearbyint): Use more readable constant for two52.
15259 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15260 (__mpn_construct_long_double): Fix test for overflow of high
15261 mantissa and correct normalisation. Avoid undefined shift.
15263 2013-10-04 Alan Modra <amodra@gmail.com>
15265 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15266 (union ibm_extended_long_double): Define as an array of ieee754_double.
15267 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15269 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15270 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15274 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15277 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15279 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15281 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15282 page size instead of calling getpagesize.
15284 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15285 (LOCFILE_ALIGN_MASK): Likewise.
15286 (LOCFILE_ALIGN_UP): Likewise.
15287 (LOCFILE_ALIGNED_P): Likewise.
15288 * locale/programs/ld-collate.c (collate_output): Use the new
15289 macros instead of __alignof__ (int32_t).
15290 * locale/weight.h (findidx): Likewise.
15292 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15295 * manual/string.texi: Fix strncat and wcsncat.
15297 2013-10-03 Brooks Moses <bmoses@google.com>
15300 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15301 * Makerules: ...here, and adjust associated comments.
15303 2013-10-02 Will Newton <will.newton@linaro.org>
15305 * malloc/Makefile: Add tst-pvalloc.
15306 * malloc/tst-pvalloc.c: New file.
15308 2013-10-02 Will Newton <will.newton@linaro.org>
15310 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15311 improve test coverage.
15313 2013-10-02 Will Newton <will.newton@linaro.org>
15315 * malloc/Makefile: Add tst-posix_memalign.
15316 * malloc/tst-posix_memalign.c: New file.
15318 2013-10-01 Eric Blake <eblake@redhat.com>
15320 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15321 Use __THROWNL rather than __THROW on static functions.
15323 2013-09-30 Petr Machata <pmachata@redhat.com>
15325 * elf/elf.h (R_AARCH64_ABS16): New macro.
15326 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15327 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15328 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15329 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15330 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15331 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15332 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15333 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15334 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15335 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15336 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15337 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15338 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15339 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15340 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15341 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15342 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15343 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15344 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15345 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15346 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15347 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15348 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15349 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15350 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15351 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15352 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15353 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15354 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15355 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15356 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15357 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15358 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15359 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15360 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15361 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15362 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15363 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15364 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15365 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15366 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15367 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15368 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15369 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15370 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15371 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15372 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15373 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15374 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15375 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15376 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15377 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15378 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15379 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15380 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15381 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15382 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15383 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15384 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15385 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15386 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15387 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15388 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15389 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15390 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15391 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15392 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15393 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15394 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15395 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15396 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15397 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15398 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15399 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15400 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15401 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15402 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15403 (R_AARCH64_TLSDESC_LDR): Likewise.
15404 (R_AARCH64_TLSDESC_ADD): Likewise.
15405 (R_AARCH64_TLSDESC_CALL): Likewise.
15407 2013-09-30 Andreas Schwab <schwab@suse.de>
15410 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15411 the nss database lookup.
15412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15415 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15417 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15419 2013-09-28 P. J. McDermott <pj@pehjota.net>
15421 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15422 ${Bash-specific parameter/pattern/string} parameter expansion.
15423 * sysdeps/unix/make-syscalls.sh: Likewise.
15425 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15427 * sysdeps/sh/stackguard-macros.h: New file.
15429 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15433 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15434 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15435 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15436 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15438 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15440 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15441 Fix thread ID register.
15443 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15445 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15446 [POSIX || UNIX98]: Require rather than permitting all symbols from
15448 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15449 element of struct sched_param.
15450 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15451 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15452 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15453 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15456 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15458 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15459 argument calculation.
15461 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15463 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15465 [POSIX] (pthread_attr_t): Do not require type.
15466 [POSIX] (pthread_cond_t): Likewise.
15467 [POSIX] (pthread_condattr_t): Likewise.
15468 [POSIX] (pthread_key_t): Likewise.
15469 [POSIX] (pthread_mutex_t): Likewise.
15470 [POSIX] (pthread_mutexattr_t): Likewise.
15471 [POSIX] (pthread_once_t): Likewise.
15472 [POSIX] (pthread_t): Likewise.
15473 [POSIX-based standards] (pthread_atfork): Expect function.
15475 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15476 Richard Sandiford <richard@codesourcery.com>
15478 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15479 (swap_endianness_p): New extern variable.
15480 (set_big_endian): New inline function.
15481 (maybe_swap_uint32): Likewise.
15482 (maybe_swap_uint32_array): Likewise.
15483 (maybe_swap_uint32_obstack): Likewise.
15484 * locale/programs/locfile.c: Include <stdbool.h>.
15485 (swap_endianness_p): New variable.
15486 (add_locale_uint32): Call maybe_swap_uint32.
15487 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15488 (write_locale_data): Call maybe_swap_uint32_array.
15489 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15491 (obstack_int32_grow_fast): Likewise.
15492 (output_weightwc): Call maybe_swap_uint32_obstack.
15493 (collate_output): Likewise.
15494 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15495 (OPT_LITTLE_ENDIAN): Likewise.
15496 (options): Add --little-endian and --big-endian options.
15497 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15498 * locale/programs/locarchive.c: Include "locfile.h".
15502 (create_archive): Use the new macros to access fields of
15503 structures directly mapped from or written to locale archives.
15504 (oldlocrecentcmp): Likewise.
15505 (enlarge_archive): Likewise.
15506 (insert_name): Likewise.
15507 (add_alias): Likewise.
15508 (add_locale): Likewise.
15509 (delete_locales_from_archive): Likewise.
15510 (show_archive_content): Likewise.
15511 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15514 2013-09-24 Roland McGrath <roland@hack.frob.com>
15516 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15517 http://www.gnu.org/doc/freemanuals.texi.
15518 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15520 2013-09-24 Will Newton <will.newton@linaro.org>
15522 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15525 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15527 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15530 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15532 * manual/threads.texi (POSIX Threads): Fix a typo.
15534 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15537 * string/tst-strcoll-overflow.c: New test case.
15538 * string/Makefile (xtests): Add tst-strcoll-overflow.
15539 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15540 cache if string sizes may cause integer overflow.
15543 * string/strcoll_l.c (coll_seq): New members rule, idx,
15544 save_idx and back_us.
15545 (get_next_seq_nocache): New function.
15546 (do_compare_nocache): New function.
15547 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15550 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15553 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15554 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15555 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15558 * elf/Makefile (tests): Add tst-ptrguard1.
15559 (tests-static): Add tst-ptrguard1-static.
15560 (tst-ptrguard1-ARGS): Define.
15561 (tst-ptrguard1-static-ARGS): Define.
15562 * elf/tst-ptrguard1.c: New file.
15563 * elf/tst-ptrguard1-static.c: New file.
15564 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15565 * sysdeps/i386/stackguard-macros.h: Likewise.
15566 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15567 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15568 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15569 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15570 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15571 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15573 2013-09-23 Hector Marco <hecmargi@upv.es>
15574 Ismael Ripoll <iripoll@disca.upv.es>
15575 Carlos O'Donell <carlos@redhat.com>
15578 * sysdeps/generic/stackguard-macros.h: Define
15579 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15580 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15581 Define __pointer_chk_guard_local.
15582 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15583 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15585 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15588 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15590 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15592 * include/string.h (__ffs): Declare as hidden.
15593 * string/ffs.c (__ffs): Define as hidden.
15594 * sysdeps/i386/ffs.c (__ffs): Likewise.
15595 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15596 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15597 * sysdeps/s390/ffs.c (__ffs): Likewise.
15598 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15600 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15602 * NEWS: Mention malloc probes.
15604 * malloc/arena.c (new_heap): New memory_heap_new probe.
15605 (grow_heap): New memory_heap_more probe.
15606 (shrink_heap): New memory_heap_less probe.
15607 (heap_trim): New memory_heap_free probe.
15608 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15609 (systrim): New memory_sbrk_less probe.
15610 * manual/probes.texi: Document them.
15612 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15613 * manual/probes.texi: Document it.
15615 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15616 (__libc_realloc): Add memory_realloc_retry probe.
15617 (__libc_memalign): Add memory_memalign_retry probe.
15618 (__libc_valloc): Add memory_valloc_retry probe.
15619 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15620 (__libc_calloc): Add memory_calloc_retry probe.
15621 * manual/probes.texi: Document them.
15623 * malloc/arena.c (get_free_list): Add probe
15624 memory_arena_reuse_free_list.
15625 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15626 and memory_arena_reuse.
15627 (arena_get2) [!PER_THREAD]: Likewise.
15628 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15629 memory_arena_reuse_realloc.
15630 * manual/probes.texi: Document them.
15632 * malloc/malloc.c (__libc_free): Add
15633 memory_mallopt_free_dyn_thresholds probe.
15634 (__libc_mallopt): Add multiple memory_mallopt probes.
15635 * manual/probes.texi: Document them.
15637 * malloc/malloc.c: Include stap-probe.h.
15638 (__libc_mallopt): Add memory_mallopt probe.
15639 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15640 * manual/probes.texi: New.
15641 * manual/Makefile (chapters): Add probes.
15642 * manual/threads.texi: Set next node.
15644 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15646 [BZ #15963, #13985]
15647 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15648 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15649 Add `Chinese' to `nan' entry name.
15651 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15653 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15654 (POLYNOMIAL): Likewise.
15655 (TAYLOR_SINCOS): Likewise.
15656 (TAYLOR_SLOW): Likewise.
15657 (__sin): Use TAYLOR_SINCOS.
15659 (slow): Use TAYLOR_SLOW.
15661 (bsloww): Likewise.
15662 (csloww): Likewise.
15664 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15666 * stdlib/strtod_l.c: Fix buffer overrun.
15668 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15670 * benchtests/Makefile (bench): Add sincos.
15671 * benchtests/bench-sincos.c: New file.
15673 * math/libm-test.inc (cos_test_data): New test inputs.
15674 (sin_test_data): Likewise.
15676 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15682 (sloww1): Likewise.
15683 (sloww2): Likewise.
15684 (bsloww1): Likewise.
15685 (bsloww2): Likewise.
15686 (cslow2): Likewise.
15687 (csloww1): Likewise.
15688 (csloww2): Likewise.
15690 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15699 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15701 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15702 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15703 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15704 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15705 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15706 * elf/cache.c (print_entry): Handle the new cache flags.
15708 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15709 Aldy Hernandez <aldyh@redhat.com>
15711 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15712 Change condition to [_SOFT_FLOAT].
15713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15725 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15728 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15731 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15733 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15734 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15735 (__longjmp): Use LOAD_GP to load saved GPRs.
15736 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15737 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15738 (__sigsetjmp): Use SAVE_GP to save GPRs.
15740 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15741 Do not append -msoft-float.
15742 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15744 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15746 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15748 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15751 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15752 (_FPU_GETCW): Use initial "__" on variable and field names but not
15753 on macro parameter name.
15754 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15755 parentheses around reference to macro parameter.
15757 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15759 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15761 (ctype_startup): Use uint32_t in cast and sizeof for
15764 2013-09-11 Jia Liu <proljc@gmail.com>
15766 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15768 [__FreeBSD__]: Likewise.
15770 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15773 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15774 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15775 (strchr): Remove __strchr_sse42 ifunc selection.
15776 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15777 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15779 2013-09-11 Will Newton <will.newton@linaro.org>
15781 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15782 parameter to RES. Remove hardcoded 1000 value.
15783 * benchtests/bench-skeleton.c (main): Pass RES parameter
15784 to TIMING_INIT and multiply result by 1000.
15786 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15790 2013-09-11 Andreas Schwab <schwab@suse.de>
15792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15794 (O_TMPFILE) [__USE_GNU]: Define.
15795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15798 2013-09-11 Will Newton <will.newton@linaro.org>
15801 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15804 2013-09-11 Will Newton <will.newton@linaro.org>
15807 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15810 2013-09-11 Will Newton <will.newton@linaro.org>
15813 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15816 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15818 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15819 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15824 2013-09-10 Allan McRae <allan@archlinux.org>
15827 * manual/arith.texi (Parsing of Floats): Clarify
15831 * manual/install.texi (Running make install): Mention
15833 * INSTALL: Regenerated.
15835 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15837 * csu/init-first.c (_init): Remove the !SHARED condition around
15838 FPU control word initialization.
15839 * elf/dl-support.c (_dl_fpu_control): New variable.
15840 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15841 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15842 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15843 * math/test-fpucw-static.c: New file.
15844 * math/test-fpucw-ieee.c: New file.
15845 * math/test-fpucw-ieee-static.c: New file.
15846 * math/Makefile (tests): Add `test-fpucw-ieee' and
15848 (tests-static): New variable.
15849 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15851 [($(build-shared),yes)]
15852 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15854 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15857 2013-09-09 Allan McRae <allan@archlinux.org>
15860 * manual/string.texi (Collation Functions): Fix typo in
15862 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15865 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15868 * libio/memstream.c (open_memstream): Fix memory leak.
15869 * libio/wmemstream.c (open_wmemstream): Likewise.
15872 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15874 2013-09-09 Will Newton <will.newton@linaro.org>
15876 * malloc/Makefile: Add tst-realloc to tests.
15877 * malloc/tst-realloc.c: New file.
15879 2013-09-09 Allan McRae <allan@archlinux.org>
15882 * COPYING: Update from GNU website to fix FSF address.
15883 * COPYING.LIB: Likewise.
15885 2013-09-06 David S. Miller <davem@davemloft.net>
15887 * po/zh_TW.po: Update Chinese (traditional) translation from
15888 translation project.
15890 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15891 Joseph Myers <joseph@codesourcery.com>
15893 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15895 (obstack_chunk_alloc): New macro.
15896 (obstack_chunk_free): Likewise.
15897 (record_offset): New function.
15898 (init_locale_data): Likewise.
15899 (align_locale_data): Likewise.
15900 (add_locale_empty): Likewise.
15901 (add_locale_raw_data): Likewise.
15902 (add_locale_raw_obstack): Likewise.
15903 (add_locale_string): Likewise.
15904 (add_locale_wstring): Likewise.
15905 (add_locale_uint32): Likewise.
15906 (add_locale_uint32_array): Likewise.
15907 (add_locale_char): Likewise.
15908 (start_locale_structure): Likewise.
15909 (end_locale_structure): Likewise.
15910 (start_locale_prelude): Likewise.
15911 (end_locale_prelude): Likewise.
15912 (write_locale_data): Take locale_file structure rather than an
15914 * locale/programs/locfile.h: Include "obstack.h".
15915 (struct locale_file): Change to store locale file contents instead
15917 (init_locale_data): New prototype.
15918 (align_locale_data): Likewise.
15919 (add_locale_empty): Likewise.
15920 (add_locale_raw_data): Likewise.
15921 (add_locale_raw_obstack): Likewise.
15922 (add_locale_string): Likewise.
15923 (add_locale_wstring): Likewise.
15924 (add_locale_uint32): Likewise.
15925 (add_locale_uint32_array): Likewise.
15926 (add_locale_char): Likewise.
15927 (start_locale_structure): Likewise.
15928 (end_locale_structure): Likewise.
15929 (start_locale_prelude): Likewise.
15930 (end_locale_prelude): Likewise.
15931 (write_locale_data): Update prototype.
15932 * locale/programs/3level.h (struct TABLE): Remove result field.
15933 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15934 Use new locale_file interface.
15935 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15936 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15937 * locale/programs/ld-address.c (address_output): Use new
15938 locale_file interface.
15939 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15941 (collate_finish): Don't call collseq_table_finalize.
15942 (collate_output): Use new locale_file interface.
15943 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15945 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15946 (TABLE): Move defines earlier in file.
15947 (ELEMENT): Likewise.
15948 (DEFAULT): Likewise.
15949 (wctrans_table_add): Move macro and inline function earlier in
15951 (struct wctype_table): Move type earlier in file.
15952 (add_locale_wctype_table): New static prototype.
15953 (struct locale_ctype_t): Use logical types instead of struct iovec
15954 pointers for members.
15955 (ctype_output): Use new locale_file interface.
15956 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15957 new locale_file interface.
15958 (allocate_arrays): Update for use of new locale_file interface.
15959 * locale/programs/ld-identification.c (identification_output): Use
15960 new locale_file interface.
15961 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15962 * locale/programs/ld-messages.c (messages_output): Likewise.
15963 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15964 * locale/programs/ld-name.c (name_output): Likewise.
15965 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15966 * locale/programs/ld-paper.c (paper_output): Likewise.
15967 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15968 * locale/programs/ld-time.c (time_output): Likewise.
15970 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15972 * benchtests/Makefile: Add memrchr benchmark.
15973 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15974 benchmark as memrchr.
15975 * benchtests/bench-memrchr-ifunc.c: New file.
15976 * benchtests/bench-memrchr.c: New file.
15978 2013-09-06 Will Newton <will.newton@linaro.org>
15980 * benchtests/Makefile (string-bench): Add memcpy.
15982 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15983 Cong Wang <amwang@redhat.com>
15986 * sysdeps/unix/sysv/linux/bits/in.h
15987 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15988 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15989 before __USE_KERNEL_IPV6_DEFS uses.
15990 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15992 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15993 sockaddr_in6, or ipv6_mreq.
15995 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15997 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15998 memory access for final bytes in some large inputs.
15999 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16001 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16003 * string/test-memrchr.c: New file.
16004 * string/test-memrchr-ifunc.c: New file.
16005 * string/Makefile: Add new memrchr testcase.
16007 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16009 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16010 fanotify_init returns EPERM.
16012 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16014 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16016 (top level): Treat second token from macro or constant entries for
16017 allowed headers as allowed.
16018 * include/complex.h: Condition internal declarations on
16020 * include/fenv.h: Condition include of <stdbool.h> and internal
16021 declarations on [!_ISOMAC].
16023 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16026 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16028 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16030 * configure.in (--enable-versioning): Remove configure option.
16031 (libc_cv_asm_symver_directive): Remove configure test.
16032 (libc_cv_ld_version_script_option): Likewise.
16033 (VERSIONING): Remove variable and AC_SUBST.
16034 (DO_VERSIONING): Remove AC_DEFINE.
16035 * configure: Regenerated.
16036 * config.h.in (DO_VERSIONING): Remove macro.
16037 * Makerules [$(versioning) = yes]: Change conditionals to
16038 [$(build-shared) = yes].
16039 * config.make.in (versioning): Remove variable.
16040 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16041 [$(build-shared) = yes].
16042 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16043 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16044 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16045 [$(build-shared) = yes].
16046 * extra-lib.mk [$(versioning) = yes]: Likewise.
16047 * hurd/Makefile [$(versioning) = yes]: Likewise.
16048 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16050 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16052 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16053 [SHARED && !NO_HIDDEN].
16054 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16056 [SHARED && DO_VERSIONING]: Likewise..
16057 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16058 [$(build-shared) = yes].
16059 * manual/install.texi (--disable-versioning): Remove
16061 * INSTALL: Regenerated.
16062 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16064 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16065 [$(build-shared) = yes].
16066 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16067 * sysdeps/i386/i686/multiarch/strstr-c.c
16068 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16069 [SHARED && !NO_HIDDEN].
16070 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16071 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16072 * sysdeps/powerpc/powerpc32/dl-machine.c
16073 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16074 * sysdeps/powerpc/powerpc32/sysdep.h
16075 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16076 to [SHARED && PIC && !NO_HIDDEN].
16077 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16078 conditional to [SHARED].
16080 2013-09-04 Will Newton <will.newton@linaro.org>
16082 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16083 * benchtests/bench-string.h: Include bench-timing.h instead
16084 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16085 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16086 call to HP_TIMING_DIFF_INIT.
16087 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16088 instead of hp-timing.h macros.
16089 * benchtests/bench-memchr.c: Likewise.
16090 * benchtests/bench-memcmp.c: Likewise.
16091 * benchtests/bench-memcpy.c: Likewise.
16092 * benchtests/bench-memmem.c: Likewise.
16093 * benchtests/bench-memmove.c: Likewise.
16094 * benchtests/bench-memset.c: Likewise.
16095 * benchtests/bench-rawmemchr.c: Likewise.
16096 * benchtests/bench-strcasecmp.c: Likewise.
16097 * benchtests/bench-strcasestr.c: Likewise.
16098 * benchtests/bench-strcat.c: Likewise.
16099 * benchtests/bench-strchr.c: Likewise.
16100 * benchtests/bench-strcmp.c: Likewise.
16101 * benchtests/bench-strcpy.c: Likewise.
16102 * benchtests/bench-strcpy_chk.c: Likewise.
16103 * benchtests/bench-strlen.c: Likewise.
16104 * benchtests/bench-strncasecmp.c: Likewise.
16105 * benchtests/bench-strncat.c: Likewise.
16106 * benchtests/bench-strncmp.c: Likewise.
16107 * benchtests/bench-strncpy.c: Likewise.
16108 * benchtests/bench-strnlen.c: Likewise.
16109 * benchtests/bench-strpbrk.c: Likewise.
16110 * benchtests/bench-strrchr.c: Likewise.
16111 * benchtests/bench-strspn.c: Likewise.
16112 * benchtests/bench-strstr.c: Likewise.
16114 2013-09-04 Will Newton <will.newton@linaro.org>
16116 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16118 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16121 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16122 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16123 * math/libm-test.inc (lgamma_test_data): Add more tests.
16124 * sysdeps/i386/fpu/libm-test-ulps: Update.
16125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16127 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16129 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16133 Add strcmp-sse2-unaligned
16134 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16136 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16138 * Versions.def (libc): Add GLIBC_2.19.
16140 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16142 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16143 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16145 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16148 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16149 intermediate calculations in recurrence.
16150 (__ieee754_ynf): Likewise.
16151 * math/libm-test.inc (jn_test_data): Do not allow spurious
16152 underflow exception. Add more tests.
16153 (yn_test_data): Add more tests.
16154 * sysdeps/i386/fpu/libm-test-ulps: Update.
16155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16157 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16159 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16161 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16163 * csu/init-first.c: Fix then/than typos.
16164 * locale/programs/ld-collate.c: Likewise.
16165 * locale/programs/linereader.h: Likewise.
16166 * manual/charset.texi: Likewise.
16167 * manual/filesys.texi: Likewise.
16168 * manual/stdio.texi: Likewise.
16169 * manual/string.texi: Likewise.
16170 * stdlib/fmtmsg.c: Likewise.
16171 * sysdeps/i386/stpncpy.S: Likewise.
16172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16173 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16177 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16179 * elf/dl-open.c: Fix typos.
16180 * iconvdata/gbbig5.c: Likewise.
16181 * iconvdata/iso-2022-jp.c: Likewise.
16182 * iconv/gconv_int.h: Likewise.
16183 * iconv/loop.c: Likewise.
16184 * nis/rpcsvc/nis.h: Likewise.
16185 * resolv/ns_name.c: Likewise.
16186 * stdio-common/vfscanf.c: Likewise.
16187 * streams/stropts.h: Likewise.
16188 * sunrpc/rpc_thread.c: Likewise.
16189 * sysdeps/i386/strpbrk.S: Likewise.
16190 * sysdeps/ieee754/k_standard.c: Likewise.
16191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16193 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16194 * sysdeps/mach/hurd/profil.c: Likewise.
16195 * sysdeps/s390/dl-procinfo.h: Likewise.
16196 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16197 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16199 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16202 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16204 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16207 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16209 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16210 aix specific files.
16211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16212 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16215 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16216 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16217 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16218 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16220 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16221 Roland McGrath <roland@hack.frob.com>
16223 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16224 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16226 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16228 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16229 __executable_start symbol instead of _start.
16231 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16233 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16234 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16236 * sysdeps/gnu/ldsodefs.h: ... this new file.
16238 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16239 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16240 instead of ELFOSABI_LINUX.
16242 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16243 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16244 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16245 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16247 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16248 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16251 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16252 (ibm_extended_long_double): Add ieee_nan member.
16253 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16254 (do_test): New function.
16256 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16258 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16259 functions, renamed from truncdfsf_test, trunctfsf_test,
16261 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16263 (do_test): Run all these.
16265 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16267 * argp/argp-help.c: Fix typos.
16268 * argp/argp-parse.c: Likewise.
16269 * debug/backtracesyms.c: Likewise.
16270 * elf/elf.h: Likewise.
16271 * malloc/malloc.c: Likewise.
16272 * nis/nis_print.c: Likewise.
16273 * resolv/res_comp.c: Likewise.
16274 * stdlib/stdlib.h: Likewise.
16275 * sunrpc/clnt_tcp.c: Likewise.
16276 * sunrpc/clnt_udp.c: Likewise.
16277 * sunrpc/clnt_unix.c: Likewise.
16278 * sysdeps/unix/bsd/ptsname.c: Likewise.
16279 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16287 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16289 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16291 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16294 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16297 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16298 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16299 ($(objpfx)bug-dl-leaf): New rule.
16300 ($(objpfx)bug-dl-leaf.so): Likewise.
16301 ($(objpfx)bug-dl-leaf.out): Likewise.
16302 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16303 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16304 * dlfcn/bug-dl-leaf.c: New test.
16305 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16306 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16307 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16308 (dlclose): Likewise.
16309 (dlmopen): Likewise.
16311 2013-08-27 Roland McGrath <roland@hack.frob.com>
16313 * include/netdb.h [!_ISOMAC]:
16314 Don't include <tls.h>.
16315 (h_errno, __libc_h_errno): Move declaration and macros out of
16318 * include/resolv.h [_RESOLV_H_]:
16319 Don't include <tls.h>.
16320 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16321 * resolv/res_libc.c: Don't include <tls.h>.
16322 (_res): Use __attribute__ ((nocommon)) in place of
16323 __attribute__ ((section (".bss"))).
16325 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16326 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16328 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16330 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16331 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16333 * resolv/res_mkquery.c: Include <sys/time.h>.
16335 * inet/ifreq.c: Moved to ...
16336 * sysdeps/unix/ifreq.c: ... here.
16337 * inet/ifreq.c: New file, true stub version.
16339 * socket/sa_len.c: New file.
16340 * socket/Makefile (aux): Add it.
16341 * sysdeps/unix/sysv/linux/Makefile
16342 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16343 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16344 and #include <socket/sa_len.c>.
16345 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16346 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16349 * bits/socket.h: ... here.
16351 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16352 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16353 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16355 2013-08-27 Andreas Schwab <schwab@suse.de>
16358 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16359 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16360 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16361 * string/test-strcasecmp.c (test_main): Run tests in several
16363 * string/test-strncasecmp.c (test_main): Likewise.
16365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16366 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16367 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16369 (__strncasecmp_ssse3) [PIC]: Likewise.
16371 2013-08-26 Roland McGrath <roland@hack.frob.com>
16373 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16375 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16376 instead of explicitly declaring xdecrypt.
16377 * nis/nss_nis/nis-publickey.c: Likewise.
16379 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16382 * nscd/aicache.c: Include res_hconf.h.
16383 (addhstaiX): Initialize res_hconf.
16385 2013-08-26 Andreas Schwab <schwab@suse.de>
16387 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16388 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16390 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16392 * nscd/aicache.c (addhstaiX): Fix indentation.
16394 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16396 * configure.ac: Quote $build_pt_chown test.
16397 * configure: Regenerated.
16399 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16402 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16403 * math/s_cexpf.c (__cexpf): Likewise.
16404 * math/s_cexpl.c (__cexpl): Likewise.
16405 * math/libm-test.inc (cexp_test_data): Correct expected return
16406 value for NaN + i0. Add another test.
16408 2013-08-22 David S. Miller <davem@davemloft.net>
16410 * po/ca.po: Update Catalan translation from translation project.
16411 * po/uk.po: Add Ukrainian translations from translation project.
16413 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16416 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16417 is infinite, not alongside NaN test.
16418 * math/s_fdimf.c (__fdimf): Likewise.
16419 * math/s_fdiml.c (__fdiml): Likewise.
16420 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16421 errno is unchanged.
16423 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16425 * argp/argp-help.c: Fix typos.
16426 * crypt/speeds.c: Likewise.
16427 * csu/check_fds.c: Likewise.
16428 * elf/dl-load.c: Likewise.
16429 * elf/dl-open.c: Likewise.
16430 * elf/reldep3.c: Likewise.
16431 * elf/reldep.c: Likewise.
16432 * elf/sprof.c: Likewise.
16433 * iconv/iconv_charmap.c: Likewise.
16434 * iconv/skeleton.c: Likewise.
16435 * iconv/strtab.c: Likewise.
16436 * io/lockf64.c: Likewise.
16437 * libio/libioP.h: Likewise.
16438 * resolv/gai_notify.c: Likewise.
16439 * resolv/ns_name.c: Likewise.
16440 * resolv/ns_samedomain.c: Likewise.
16441 * resolv/res_send.c: Likewise.
16442 * stdlib/random.c: Likewise.
16443 * sunrpc/rpc/xdr.h: Likewise.
16444 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16446 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16447 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16452 * sysdeps/mach/hurd/check_fds.c: Likewise.
16453 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16454 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16455 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16457 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16458 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16459 * sysdeps/pthread/aio_notify.c: Likewise.
16460 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16461 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16462 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16464 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16466 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16468 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16469 version if bit_Slow_SSE4_2 is set.
16470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16471 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16473 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16476 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16477 trampoline stack frame information.
16478 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16480 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16481 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16482 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16483 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16484 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16485 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16487 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16488 interrupting a syscall and set with option SA_SIGINFO.
16490 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16493 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16494 argument is infinite.
16495 * math/s_cprojf.c (__cprojf): Likewise.
16496 * math/s_cprojl.c (__cprojl): Likewise.
16497 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16498 * math/libm-test.inc (cproj_test_data): Add more tests.
16500 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16502 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16503 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16504 size. Use __ffs to determine corresponding shift.
16506 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16507 Roland McGrath <roland@hack.frob.com>
16509 * Makefile (INSTALL): Remove trailing blank lines from output of
16512 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16514 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16515 Align 32 bit compat elf_greg to 8 bytes.
16517 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16519 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16521 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16523 * string/strcoll_l.c (coll_seq): New structure.
16524 (get_next_seq_cached): New function.
16525 (get_next_seq): New function.
16526 (do_compare): New function.
16527 (STRCOLL): Use GNU style definition. Simplify implementation
16528 by using get_next_seq, get_next_seq_cached and do_compare.
16530 2013-08-16 Florian Weimer <fweimer@redhat.com>
16534 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16536 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16538 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16539 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16540 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16542 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16543 GETDENTS_64BIT_ALIGNED.
16544 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16545 * manual/filesys.texi (Reading/Closing Directory): Document
16546 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16548 * manual/conf.texi (Limits for Files): Add portability note to
16549 NAME_MAX, PATH_MAX.
16550 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16552 2013-08-13 Andreas Schwab <schwab@suse.de>
16555 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16557 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16558 LDBL_MAX_EXP >= 16384]: Add tests for it.
16560 2013-08-12 David S. Miller <davem@davemloft.net>
16562 * version.h (RELEASE): Set to "development".
16563 (VERSION): Set to "2.18.90".
16564 * NEWS: Add 2.19 section.
16566 2013-08-03 David S. Miller <davem@davemloft.net>
16568 * po/ko.po: Update Korean translation from translation project.
16570 2013-08-01 David S. Miller <davem@davemloft.net>
16572 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16573 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16576 2013-07-30 David S. Miller <davem@davemloft.net>
16578 * po/fr.po: Update French translation from translation project.
16580 2013-07-28 David S. Miller <davem@davemloft.net>
16582 * po/cs.po: Update Czech translation from translation project.
16584 * po/sv.po: Update Swedish translation from translation project.
16586 2013-07-27 David S. Miller <davem@davemloft.net>
16588 * po/eo.po: Update Esperanto translation from translation project.
16590 * po/vi.po: Update Vietnamese translation from translation project.
16592 * po/de.po: Update German translation from translation project.
16594 2013-07-26 David S. Miller <davem@davemloft.net>
16596 * po/bg.po: Update Bulgarian translation from translation project.
16598 * po/nl.po: Update Dutch translation from translation project.
16599 * po/pl.po: Update Polish translation from translation project.
16600 * po/ru.po: Update Russian translation from translation project.
16602 2013-07-24 David S. Miller <davem@davemloft.net>
16604 * po/libc.pot: Update.
16606 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16608 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16609 variable page size.
16610 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16611 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16612 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16614 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16616 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16618 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 Andreas Schwab <schwab@suse.de>
16620 Roland McGrath <roland@hack.frob.com>
16621 Joseph Myers <joseph@codesourcery.com>
16622 Carlos O'Donell <carlos@redhat.com>
16625 * config.h.in: Define HAVE_PT_CHOWN.
16626 * config.make.in (build-pt-chown): New variable.
16627 * configure.in (--enable-pt_chown): New configure option.
16628 * configure: Regenerate.
16629 * login/Makefile: Include Makeconfig. Build pt_chown only if
16630 build-pt-chown is enabled.
16631 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16632 pt_chown to fix pty ownership.
16633 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16635 * manual/install.texi (Configuring and compiling): Mention
16636 --enable-pt_chown. Add @findex for grantpt.
16637 * INSTALL: Regenerate.
16639 2013-07-20 David S. Miller <davem@davemloft.net>
16641 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16642 difference between 32-bit and 64-bit.
16644 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16647 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16648 Avoid system header dependency with -ffreestanding.
16649 ($(objpfx)bits/syscall%d): Likewise.
16651 2013-07-13 David S. Miller <davem@davemloft.net>
16653 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16654 underflows from atanl/atan2l due to bug 15319.
16655 (casinh_test_data): Likewise.
16657 2013-07-07 David S. Miller <davem@davemloft.net>
16659 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16661 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16663 * sysdeps/i386/fpu/libm-test-ulps: Update.
16664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16666 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16668 * configure.in (--enable-lock-elision): Fix message text.
16669 * INSTALL: Regenerate.
16670 * configure: Regenerate.
16672 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16676 2013-07-03 Andreas Jaeger <aj@suse.de>
16678 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16680 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16681 (ptrace_peeksiginfo_args): Add.
16682 (__ptrace_peeksiginfo_flags): Add.
16683 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16687 2013-07-03 Allan McRae <allan@archlinux.org>
16689 * sysdeps/i386/fpu/libm-test-ulps: Update.
16691 2013-07-02 David S. Miller <davem@davemloft.net>
16693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16695 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16699 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16701 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16704 2013-07-02 Andi Kleen <ak@linux.intel.com>
16706 * config.h.in (ENABLE_LOCK_ELISION): Add.
16707 * configure.in (--enable-lock-elision): Add option.
16708 * manual/install.texi: Document --enable lock elision.
16709 * configure: Regenerate
16710 * INSTALL: Regenerate.
16712 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16714 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16715 SSE4.2 strcasecmp for libc.a.
16716 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16718 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16721 * soft-fp/op-common.h (_FP_FMA): New macro.
16722 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16723 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16724 (_FP_MUL_MEAT_1_imm): ... here.
16725 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16726 (_FP_MUL_MEAT_1_wide): ... here.
16727 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16728 (_FP_MUL_MEAT_1_hard): ... here.
16729 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16730 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16731 (_FP_MUL_MEAT_2_wide): ... here.
16732 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16733 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16734 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16735 (_FP_MUL_MEAT_2_gmp): ... here.
16736 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16737 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16738 (_FP_MUL_MEAT_4_wide): ... here.
16739 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16740 (_FP_MUL_MEAT_4_gmp): ... here.
16741 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16742 (_FP_WFRACBITS_DW_S): Likewise.
16743 (_FP_WFRACXBITS_DW_S): Likewise.
16744 (_FP_HIGHBIT_DW_S): Likewise.
16745 (FP_FMA_S): Likewise.
16746 (_FP_FRAC_HIGH_DW_S): Likewise.
16747 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16748 (_FP_WFRACBITS_DW_D): Likewise.
16749 (_FP_WFRACXBITS_DW_D): Likewise.
16750 (_FP_HIGHBIT_DW_D): Likewise.
16751 (FP_FMA_D): Likewise.
16752 (_FP_FRAC_HIGH_DW_D): Likewise.
16753 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16754 (_FP_WFRACBITS_DW_E): Likewise.
16755 (_FP_WFRACXBITS_DW_E): Likewise.
16756 (_FP_HIGHBIT_DW_E): Likewise.
16757 (FP_FMA_E): Likewise.
16758 (_FP_FRAC_HIGH_DW_E): Likewise.
16759 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16760 (_FP_WFRACBITS_DW_Q): Likewise.
16761 (_FP_WFRACXBITS_DW_Q): Likewise.
16762 (_FP_HIGHBIT_DW_Q): Likewise.
16763 (FP_FMA_Q): Likewise.
16764 (_FP_FRAC_HIGH_DW_Q): Likewise.
16765 * soft-fp/fmasf4.c: New file.
16766 * soft-fp/fmadf4.c: Likewise.
16767 * soft-fp/fmatf4.c: Likewise.
16769 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16772 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16774 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16776 (index_Slow_SSE4_2): Likewise.
16777 (index_Prefer_PMINUB_for_stringop): Likewise.
16778 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16779 bit_Slow_SSE4_2 is set.
16780 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16783 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16785 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16786 rtld_global._dl_hwcap2.
16787 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16789 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16790 POWER8 feature descriptions defined in _dl_hwcap2.
16791 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16792 string handling for POWER8 feature bits.
16793 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16794 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16795 _dl_powerpc_cap_flags.
16796 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16797 * sysdeps/powerpc/rtld-global-offsets.sym
16798 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16799 _dl_hwcap2 in the rtld_global_ro structure.
16801 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16803 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16804 hardware capabilities in support of AT_HWCAP2.
16805 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16806 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16808 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16809 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16810 explicitly the unknown a_type display mechanism is used.
16811 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16812 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16814 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16815 to macro prototype for AT_HWCAP2 support.
16816 * sysdeps/i386/dl-procinfo.h: Likewise.
16817 * sysdeps/s390/dl-procinfo.h: Likewise.
16818 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16819 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16820 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16821 return -1 for unknown a_type display fallback.
16822 * sysdeps/sparc/dl-procinfo.h: Likewise.
16823 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16824 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16826 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16828 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16829 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16831 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16834 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16835 mprotect making __stack_prot writable.
16837 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16838 Joseph Myers <joseph@codesourcery.com>
16840 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16841 as being properly aligned.
16843 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16845 * dlfcn/modstatic5.c: New file.
16846 * dlfcn/tststatic5.c: New file.
16847 * dlfcn/Makefile (tests): Add tststatic5.
16848 (tests-static): Likewise.
16849 (modules-names): Add modstatic5.
16850 (tststatic5-ENV): New variable.
16851 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16854 * elf/dl-support.c (_dl_main_map): New variable.
16855 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16856 (_dl_nns, _dl_load_adds): Set to 1.
16857 (_dl_initial_searchlist): Refer to _dl_main_map.
16858 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16859 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16860 call to _dl_get_origin.
16861 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16863 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16864 * dlfcn/modstatic3.c: New file.
16865 * dlfcn/tststatic3.c: New file.
16866 * dlfcn/tststatic4.c: New file.
16867 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16868 (tests-static): Likewise.
16869 (modules-names): Add modstatic3.
16870 (tststatic3-ENV, tststatic4-ENV): New variables.
16871 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16872 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16874 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16876 * configure.in (CC): Require GCC version 4.4 or later.
16877 * configure: Regenerated.
16878 * manual/install.texi (Tools for Compilation): Update GCC version
16880 * INSTALL: Regenerated.
16882 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16885 * string/test-memcmp.c (check2): New.
16886 (main): Call check2.
16888 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16890 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16893 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16895 (dl_open_worker) [!SHARED]: ... here.
16897 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16899 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16901 2013-06-25 Richard Henderson <rth@redhat.com>
16903 * locale/programs/locarchive.c: Include <libc-internal.h>
16905 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16907 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16908 trailing whitespace removed.
16910 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16913 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16914 * locale/programs/locarchive.c: Include libc-mmap.h.
16915 (prepare_address_space): Take two new outputs (the mmap base and len).
16916 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16918 (create_archive): Declare new mmap base and len values for
16919 prepare_address_space, and store the result in ah.
16920 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16921 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16922 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16923 Declare new mmap base and len values for
16924 prepare_address_space, and store the result in new_ah.
16925 (open_archive): Declare new mmap base and len values for
16926 prepare_address_space, and store the result in ah.
16927 (close_archive): If ah->mmap_base is not NULL, use that and
16928 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16929 * sysdeps/generic/libc-mmap.h: New file.
16931 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16933 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16934 (ALIGN_UP): Likewise.
16935 (PTR_ALIGN_DOWN): Likewise.
16936 (PTR_ALIGN_UP): Likewise.
16938 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16940 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16941 entry mapped to PPC_PLATFORM_POWER8.
16942 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16944 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16945 (_dl_string_platform): Add case for exporting platform position for
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16948 search path to sysdeps/powerpc/powerpc32/power8 directory.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16950 search path to sysdeps/powerpc/powerpc64/power8 directory.
16951 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16952 power7 directories.
16953 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16954 power7 directories.
16956 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16958 * INSTALL: Regenerate.
16960 * nscd/connections.c (nscd_init): Fix comment.
16962 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16964 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16967 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16968 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16970 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16972 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16974 (DL_DST_REQ_STATIC): Remove macro.
16976 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16979 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16980 with a shift of 0 bits.
16982 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16984 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16987 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16990 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16992 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16994 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16995 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16996 accepts -fno-tree-loop-distribute-patterns.
16997 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16998 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17000 * string/memset.c (memset): Likewise.
17001 * string/test-memmove.c (simple_memmove): Disable loop transformation
17003 * string/test-memset.c (simple_memset): Likewise.
17004 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17005 * benchtests/bench-memset.c (simple_memset): Likewise.
17006 * configure: Regenerated.
17008 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17010 * math/test-misc.c (main): Ignore fesetround failure when failures
17011 of subsequent rounding tests would be ignored.
17014 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17015 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17016 * math/fegetenv.c (__fegetenv): Return 0.
17017 * math/fegetexcept.c (fegetexcept): Return 0.
17018 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17020 * math/feholdexcpt.c (feholdexcept): Return 0.
17021 * math/fesetenv.c (__fesetenv): Return 0.
17022 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17023 argument FE_TONEAREST.
17024 * math/feupdateenv.c (__feupdateenv): Return 0.
17025 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17027 2013-06-18 Roland McGrath <roland@hack.frob.com>
17029 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17030 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17031 ($(objpfx)rtld-%.os rules): Use them.
17033 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17035 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17038 2013-06-17 Roland McGrath <roland@hack.frob.com>
17040 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17041 length of target pattern, then descending length of dependency pattern.
17042 * configure.in (AWK): Require gawk 3.1.2 or newer.
17043 * manual/install.texi (Tools for Compilation): Say that we do.
17044 * configure: Regenerated.
17046 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17047 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17048 * scripts/sysd-rules.awk: ... this new script.
17049 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17050 than a glob-style pattern.
17052 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17054 * math/test-misc.c (main): Do not treat incorrectly rounded
17055 conversions as failure unless ROUNDING_TESTS passes.
17057 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17060 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17061 restore exception state around main square root computation, then
17062 check for inexactness explicitly.
17064 * math/libm-test.inc (fma_test_data): Add another test.
17066 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17068 * manual/threads.texi (Non-POSIX Extensions): New document
17069 node. Document pthread_getattr_default_np and
17070 pthread_setattr_default_np.
17072 * Versions.def (libpthread): Add GLIBC_2.18.
17073 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17082 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17093 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17096 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17098 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17099 H.J. Lu <hjl.tools@gmail.com>
17102 * sysdeps/x86_64/rtld-memset.c: Remove file.
17103 * sysdeps/x86_64/rtld-memset.S: New file.
17105 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17107 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17108 (test_in_one_mode): Take arguments for whether the rounding mode
17109 is supported for each floating-point type.
17110 (do_test): Pass new arguments to test_in_one_mode using
17113 2013-06-13 Roland McGrath <roland@hack.frob.com>
17115 * posix/tst-waitid.c (do_test): Distinguish different instances of
17116 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17117 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17118 before entering the kernel for waitpid.
17120 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17122 * NEWS: Fix note on clock function precision. Text by Roland
17125 2013-06-13 Roland McGrath <roland@hack.frob.com>
17127 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17128 it into place only when and if the sanity check passes.
17130 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17132 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17133 output for whether conversion result is exact. Take argument
17134 indicating whether type is IBM long double.
17135 (round_for_all): Change need_exact field to ibm_ld.
17136 * stdlib/tst-strtod-round.c (struct exactness): New type.
17137 (struct test): Change bool ld_ok field to struct exactness exact.
17138 (TEST): Update all definitions for change to field.
17139 (tests): Regenerate array contents.
17140 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17141 field value. Check for IBM long double here.
17142 (do_test): Update calls to test_in_one_mode.
17144 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17147 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17148 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17150 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17153 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17154 generated by the compiler on loop optimizations.
17155 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17156 general definitions.
17158 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17160 * math/bug-nextafter.c: Include <math-tests.h>.
17161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17163 * math/bug-nexttoward.c: Include <math-tests.h>.
17164 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17166 * math/test-misc.c: Include <math-tests.h>.
17167 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17170 2013-06-12 Andreas Jaeger <aj@suse.de>
17172 * po/ia.po: Update Interlingua translation from translation
17175 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17177 * include/fenv.h: Include stdbool.h.
17178 (struct rm_ctx): New structure.
17179 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17181 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17182 (SET_RESTORE_ROUNDF): Likewise.
17183 (SET_RESTORE_ROUNDL): Likewise.
17184 (SET_RESTORE_ROUND_NOEX): Likewise.
17185 (SET_RESTORE_ROUND_NOEXF): Likewise.
17186 (SET_RESTORE_ROUND_NOEXL): Likewise.
17187 (SET_RESTORE_ROUND_53BIT): Likewise.
17188 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17189 (libc_feresetround_noexf_ctx): Likewise.
17190 (libc_feresetround_noexl_ctx): Likewise.
17191 (libc_feholdsetround_53bit_ctx): Likewise.
17192 (libc_feresetround_53bit_ctx): Likewise.
17193 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17194 (libc_feholdexcept_setround_sse_ctx): New function.
17195 (libc_fesetenv_sse_ctx): Likewise.
17196 (libc_feupdateenv_sse_ctx): Likewise.
17197 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17198 (libc_feholdexcept_setround_387_ctx): Likewise.
17199 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17200 (libc_feholdsetround_387_prec_ctx): Likewise.
17201 (libc_feholdsetround_387_ctx): Likewise.
17202 (libc_feholdsetround_387_53bit_ctx): Likewise.
17203 (libc_feholdsetround_sse_ctx): Likewise.
17204 (libc_feresetround_sse_ctx): Likewise.
17205 (libc_feresetround_387_ctx): Likewise.
17206 (libc_feupdateenv_387_ctx): Likewise.
17207 (libc_feholdexcept_setroundf_ctx): Define macro.
17208 (libc_fesetenvf_ctx): Likewise.
17209 (libc_feupdateenvf_ctx): Likewise.
17210 (libc_feholdsetroundf_ctx): Likewise.
17211 (libc_feresetroundf_ctx): Likewise.
17212 (libc_feholdexcept_setround_ctx): Likewise.
17213 (libc_fesetenv_ctx): Likewise.
17214 (libc_feupdateenv_ctx): Likewise.
17215 (libc_feholdsetround_ctx): Likewise.
17216 (libc_feresetround_ctx): Likewise.
17217 (libc_feholdexcept_setroundl_ctx): Likewise.
17218 (libc_feupdateenvl_ctx): Likewise.
17219 (libc_feholdsetroundl_ctx): Likewise.
17220 (libc_feresetroundl_ctx): Likewise.
17221 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17222 (libc_feresetround_53bit_ctx): Likewise.
17224 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17226 * locale/iso-639.def: Convert to UTF-8.
17228 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17230 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17231 (EXCEPTION_TESTS_double): Likewise.
17232 (EXCEPTION_TESTS_long_double): Likewise.
17233 (EXCEPTION_TESTS): Likewise.
17234 * math/libm-test.inc (test_exceptions): Only test exceptions if
17235 EXCEPTION_TESTS (FLOAT).
17237 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17239 * benchtests/Makefile (string-bench): Add strcpy_chk and
17241 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17242 * benchtests/bench-stpcpy_chk.c: New file.
17243 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17244 * benchtests/bench-strcpy_chk.c: New file.
17245 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17247 (do_test): Likewise.
17249 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17251 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17252 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17253 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17254 with tabs where appropriate.
17255 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17257 [PPC_PLATFORM_PPC440]: Likewise.
17258 [PPC_PLATFORM_PPC464]: Likewise.
17259 [PPC_PLATFORM_PPC476]: Likewise.
17260 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17261 ppc464, and ppc476 platform strings merging from ports/
17264 2013-06-11 Andreas Schwab <schwab@suse.de>
17267 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17268 (from_ucs4_idx): Regenerate.
17269 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17270 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17271 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17272 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17273 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17274 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17275 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17276 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17277 from FROM_LOOP and TO_LOOP specific macros.
17278 (BODY): Handle combining characters.
17279 * iconvdata/BIG5HKSCS.irreversible: Update.
17280 * iconvdata/BIG5HKSCS.precomposed: New file.
17281 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17283 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17285 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17287 * include/sys/time.h: Fix indentation and add copyright header.
17289 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17290 (do_test): Likewise.
17291 * string/test-memchr.c (do_one_test): Likewise.
17292 (do_test): Likewise.
17293 * string/test-memcmp.c (do_one_test): Likewise.
17294 (do_test): Likewise.
17295 * string/test-memcpy.c (do_one_test): Likewise.
17296 (do_test): Likewise.
17297 * string/test-memmem.c (do_one_test): Likewise.
17298 (do_test): Likewise.
17299 (do_random_tests): Likewise.
17300 * string/test-memmove.c (do_one_test): Likewise.
17301 (do_test): Likewise.
17302 * string/test-memset.c (do_one_test): Likewise.
17303 (do_test): Likewise.
17304 * string/test-rawmemchr.c (do_one_test): Likewise.
17305 (do_test): Likewise.
17306 * string/test-strcasecmp.c (do_one_test): Likewise.
17307 (do_test): Likewise.
17308 * string/test-strcasestr.c (do_one_test): Likewise.
17309 (do_test): Likewise.
17310 * string/test-strcat.c (do_one_test): Likewise.
17311 (do_test): Likewise.
17312 * string/test-strchr.c (do_one_test): Likewise.
17313 (do_test): Likewise.
17314 * string/test-strcmp.c (do_one_test): Likewise.
17315 (do_test): Likewise.
17316 * string/test-strcpy.c (do_one_test): Likewise.
17317 (do_test): Likewise.
17318 * string/test-string.h: Likewise.
17319 (test_init): Likewise.
17320 * string/test-strlen.c (do_one_test): Likewise.
17321 (do_test): Likewise.
17322 * string/test-strncasecmp.c (do_one_test): Likewise.
17323 (do_test): Likewise.
17324 * string/test-strncat.c (do_one_test): Likewise.
17325 (do_test): Likewise.
17326 * string/test-strncmp.c (do_one_test): Likewise.
17327 (do_test_limit): Likewise.
17328 (do_test): Likewise.
17329 * string/test-strncpy.c (do_one_test): Likewise.
17330 (do_test): Likewise.
17331 * string/test-strnlen.c (do_one_test): Likewise.
17332 (do_test): Likewise.
17333 * string/test-strpbrk.c (do_one_test): Likewise.
17334 (do_test): Likewise.
17335 * string/test-strrchr.c (do_one_test): Likewise.
17336 (do_test): Likewise.
17337 * string/test-strspn.c (do_one_test): Likewise.
17338 (do_test): Likewise.
17339 * string/test-strstr.c (do_one_test): Likewise.
17340 (do_test): Likewise.
17342 * benchtests/Makefile (string-bench): Add string benchmarks.
17343 * benchtests/bench-bcopy-ifunc.c: New file.
17344 * benchtests/bench-bcopy.c: New file.
17345 * benchtests/bench-bzero-ifunc.c: New file.
17346 * benchtests/bench-bzero.c: New file.
17347 * benchtests/bench-memccpy-ifunc.c: New file.
17348 * benchtests/bench-memccpy.c: New file.
17349 * benchtests/bench-memchr-ifunc.c: New file.
17350 * benchtests/bench-memchr.c: New file.
17351 * benchtests/bench-memcmp-ifunc.c: New file.
17352 * benchtests/bench-memcmp.c: New file.
17353 * benchtests/bench-memmem-ifunc.c: New file.
17354 * benchtests/bench-memmem.c: New file.
17355 * benchtests/bench-memmove-ifunc.c: New file.
17356 * benchtests/bench-memmove.c: New file.
17357 * benchtests/bench-mempcpy-ifunc.c: New file.
17358 * benchtests/bench-mempcpy.c: New file.
17359 * benchtests/bench-memset-ifunc.c: New file.
17360 * benchtests/bench-memset.c: New file.
17361 * benchtests/bench-rawmemchr-ifunc.c: New file.
17362 * benchtests/bench-rawmemchr.c: New file.
17363 * benchtests/bench-stpcpy-ifunc.c: New file.
17364 * benchtests/bench-stpcpy.c: New file.
17365 * benchtests/bench-stpncpy-ifunc.c: New file.
17366 * benchtests/bench-stpncpy.c: New file.
17367 * benchtests/bench-strcasecmp-ifunc.c: New file.
17368 * benchtests/bench-strcasecmp.c: New file.
17369 * benchtests/bench-strcasestr-ifunc.c: New file.
17370 * benchtests/bench-strcasestr.c: New file.
17371 * benchtests/bench-strcat-ifunc.c: New file.
17372 * benchtests/bench-strcat.c: New file.
17373 * benchtests/bench-strchr-ifunc.c: New file.
17374 * benchtests/bench-strchr.c: New file.
17375 * benchtests/bench-strchrnul-ifunc.c: New file.
17376 * benchtests/bench-strchrnul.c: New file.
17377 * benchtests/bench-strcmp-ifunc.c: New file.
17378 * benchtests/bench-strcmp.c: New file.
17379 * benchtests/bench-strcpy-ifunc.c: New file.
17380 * benchtests/bench-strcpy.c: New file.
17381 * benchtests/bench-strcspn-ifunc.c: New file.
17382 * benchtests/bench-strcspn.c: New file.
17383 * benchtests/bench-strlen-ifunc.c: New file.
17384 * benchtests/bench-strlen.c: New file.
17385 * benchtests/bench-strncasecmp-ifunc.c: New file.
17386 * benchtests/bench-strncasecmp.c: New file.
17387 * benchtests/bench-strncat-ifunc.c: New file.
17388 * benchtests/bench-strncat.c: New file.
17389 * benchtests/bench-strncmp-ifunc.c: New file.
17390 * benchtests/bench-strncmp.c: New file.
17391 * benchtests/bench-strncpy-ifunc.c: New file.
17392 * benchtests/bench-strncpy.c: New file.
17393 * benchtests/bench-strnlen-ifunc.c: New file.
17394 * benchtests/bench-strnlen.c: New file.
17395 * benchtests/bench-strpbrk-ifunc.c: New file.
17396 * benchtests/bench-strpbrk.c: New file.
17397 * benchtests/bench-strrchr-ifunc.c: New file.
17398 * benchtests/bench-strrchr.c: New file.
17399 * benchtests/bench-strspn-ifunc.c: New file.
17400 * benchtests/bench-strspn.c: New file.
17401 * benchtests/bench-strstr-ifunc.c: New file.
17402 * benchtests/bench-strstr.c: New file.
17404 * benchtests/Makefile: Disable parallel execution of targets.
17405 (string-bench): Add memcpy.
17406 (benchset): New variable to store a list of benchmark sets.
17407 (bench-func): Renamed from bench.
17408 (bench-set): New target.
17409 (bench): Depend on bench-func and bench-set.
17410 * benchtests/README: Add section on benchmark sets.
17411 * benchtests/bench-memcpy-ifunc.c: New file.
17412 * benchtests/bench-memcpy.c: New file.
17413 * benchtests/bench-string.h: New file.
17415 2013-06-11 Andreas Schwab <schwab@suse.de>
17418 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17419 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17420 values in the triple.
17421 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17422 terminator in the group key.
17424 2013-06-11 Andreas Jaeger <aj@suse.de>
17426 * po/zh_TW.po: Update Chinese (traditional) translation from
17427 translation project.
17429 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17431 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17432 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17433 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17434 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17435 (clock_getcpuclockid): Likewise.
17436 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17437 Add weak_alias and libc_hidden_def.
17438 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17439 * rt/clock_gettime.c (clock_gettime): Rename to
17440 __clock_gettime. Add weak_alias and libc_hidden_def.
17441 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17442 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17443 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17444 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17445 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17447 * rt/clock_settime.c (clock_settime): Rename to
17448 __clock_settime. Add weak_alias and libc_hidden_def.
17449 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17451 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17453 * mach/err_boot.sub: Remove trailing whitespace.
17454 * mach/err_ipc.sub: Likewise.
17455 * mach/err_mach.sub: Likewise.
17457 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17458 (ROUNDING_TESTS_double): Likewise.
17459 (ROUNDING_TESTS_long_double): Likewise.
17460 (ROUNDING_TESTS): Likewise.
17461 * math/libm-test.inc: Include <math-tests.h>.
17462 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17463 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17464 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17465 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17467 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17469 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17472 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17474 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17475 otherwise empty TRANS lines.
17476 * sysdeps/gnu/errlist.c: Regenerated.
17478 * catgets/gencat.c (error_print): Use (void) in function
17480 * crypt/crypt_util.c (__init_des): Likewise.
17481 * crypt/speeds.c (Stop): Likewise.
17483 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17484 * inet/ruserpass.c (token): Likewise.
17485 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17486 * intl/localealias.c (extend_alias_table): Likewise.
17487 * intl/plural-exp.c (init_germanic_plural): Likewise.
17488 * libio/fcloseall.c (__fcloseall): Likewise.
17489 * libio/genops.c (_IO_flush_all): Likewise.
17490 (_IO_flush_all_linebuffered): Likewise.
17491 (_IO_cleanup): Likewise.
17492 (_IO_iter_begin): Likewise.
17493 (_IO_iter_end): Likewise.
17494 (_IO_list_lock): Likewise.
17495 (_IO_list_unlock): Likewise.
17496 (_IO_list_resetlock): Likewise.
17497 * libio/getchar.c (getchar): Likewise.
17498 * libio/getchar_u.c (getchar_unlocked): Likewise.
17499 * libio/getwchar.c (getwchar): Likewise.
17500 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17501 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17502 * login/getpt.c (__getpt): Likewise.
17503 * login/tst-utmp.c (main): Likewise.
17504 * malloc/hooks.c (__malloc_check_init): Likewise.
17505 * malloc/malloc.c (__malloc_stats): Likewise.
17506 * malloc/mtrace.c (tr_break): Likewise.
17507 (mtrace): Likewise.
17508 (muntrace): Likewise.
17509 * misc/fstab.c (endfsent): Likewise.
17510 * misc/getclktck.c (__getclktck): Likewise.
17511 * misc/getdtsz.c (__getdtablesize): Likewise.
17512 * misc/gethostid.c (gethostid): Likewise.
17513 * misc/getpagesize.c (__getpagesize): Likewise.
17514 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17515 (__get_nprocs): Likewise.
17516 (__get_phys_pages): Likewise.
17517 (__get_avphys_pages): Likewise.
17518 * misc/getttyent.c (getttyent): Likewise.
17519 (setttyent): Likewise.
17520 (endttyent): Likewise.
17521 * misc/getusershell.c (getusershell): Likewise.
17522 (endusershell): Likewise.
17523 (setusershell): Likewise.
17524 (initshells): Likewise.
17525 * misc/hsearch.c (__hdestroy): Likewise.
17526 * misc/sync.c (sync): Likewise.
17527 * misc/syslog.c (closelog_internal): Likewise.
17528 (closelog): Likewise.
17529 * misc/ttyslot.c (ttyslot): Likewise.
17530 * misc/vhangup.c (vhangup): Likewise.
17531 * posix/fork.c (__fork): Likewise.
17532 * posix/getegid.c (__getegid): Likewise.
17533 * posix/geteuid.c (__geteuid): Likewise.
17534 * posix/getgid.c (__getgid): Likewise.
17535 * posix/getpid.c (__getpid): Likewise.
17536 * posix/getppid.c (__getppid): Likewise.
17537 * posix/getuid.c (__getuid): Likewise.
17538 * posix/pause.c (pause): Likewise.
17539 * posix/setpgrp.c (setpgrp): Likewise.
17540 * posix/setsid.c (__setsid): Likewise.
17541 * posix/test-vfork.c (noop): Likewise.
17542 * resolv/gethnamaddr.c (_endhtent): Likewise.
17543 (_gethtent): Likewise.
17544 (ht_endhostent): Likewise.
17545 (gethostent): Likewise.
17546 (dns_service): Likewise.
17547 * stdlib/drand48.c (drand48): Likewise.
17548 * stdlib/lrand48.c (lrand48): Likewise.
17549 * stdlib/mrand48.c (mrand48): Likewise.
17550 * stdlib/rand.c (rand): Likewise.
17551 * stdlib/random.c (__random): Likewise.
17552 * stdlib/setenv.c (clearenv): Likewise.
17553 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17554 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17555 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17556 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17557 (__get_nprocs): Likewise.
17558 (__get_phys_pages): Likewise.
17559 (__get_avphys_pages): Likewise.
17560 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17561 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17562 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17563 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17564 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17565 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17566 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17567 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17568 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17569 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17570 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17571 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17572 * sysdeps/posix/clock.c (clock): Likewise.
17573 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17574 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17575 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17576 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17577 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17579 (__get_nprocs_conf): Likewise.
17580 (__get_phys_pages): Likewise.
17581 (__get_avphys_pages): Likewise.
17582 * time/clock.c (clock): Likewise.
17583 * time/tzset.c (__tzname_max): Likewise.
17585 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17587 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17588 (__bswap_32): Do not use "register".
17589 * crypt/crypt.c (_ufc_doit_r): Likewise.
17590 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17591 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17592 * gmon/gmon.c (__monstartup): Likewise.
17593 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17594 * hurd/hurdmalloc.c (more_memory): Likewise.
17595 (malloc): Likewise.
17597 (realloc): Likewise.
17598 (malloc_fork_prepare): Likewise.
17599 (malloc_fork_parent): Likewise.
17600 (malloc_fork_child): Likewise.
17601 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17602 (_svcauth_des): Likewise.
17603 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17604 * inet/inet_net.c (inet_network): Likewise.
17605 * inet/inet_netof.c (inet_netof): Likewise.
17606 * inet/rcmd.c (__validuser2_sa): Likewise.
17607 * io/fts.c (fts_open): Likewise.
17608 (fts_load): Likewise.
17609 (fts_close): Likewise.
17610 (fts_read): Likewise.
17611 (fts_children): Likewise.
17612 (fts_build): Likewise.
17613 (fts_stat): Likewise.
17614 (fts_sort): Likewise.
17615 (fts_alloc): Likewise.
17616 (fts_lfree): Likewise.
17617 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17618 (_IO_file_xsgetn): Likewise.
17619 (_IO_file_xsgetn_mmap): Likewise.
17620 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17621 (_IO_cookie_write): Likewise.
17622 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17623 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17624 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17625 * malloc/obstack.c (_obstack_begin): Likewise.
17626 (_obstack_begin_1): Likewise.
17627 (_obstack_newchunk): Likewise.
17628 (_obstack_allocated_p): Likewise.
17629 (obstack_free): Likewise.
17630 (_obstack_memory_used): Likewise.
17631 * misc/getttyent.c (getttynam): Likewise.
17632 (getttyent): Likewise.
17635 * misc/getusershell.c (initshells): Likewise.
17636 * misc/syslog.c (__vsyslog_chk): Likewise.
17637 * misc/ttyslot.c (ttyslot): Likewise.
17638 * nis/nis_hash.c (__nis_hash): Likewise.
17639 * posix/fnmatch_loop.c (FCT): Likewise.
17640 * posix/getconf.c (print_all): Likewise.
17642 * posix/getopt.c (exchange): Likewise.
17643 * posix/glob.c (globfree): Likewise.
17644 (prefix_array): Likewise.
17645 (__glob_pattern_type): Likewise.
17646 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17647 (NS_GET32): Likewise.
17648 (NS_PUT16): Likewise.
17649 (NS_PUT32): Likewise.
17650 * resolv/gethnamaddr.c (getanswer): Likewise.
17651 (gethostbyname2): Likewise.
17652 (gethostbyaddr): Likewise.
17653 (_gethtent): Likewise.
17654 (_gethtbyname2): Likewise.
17655 (_gethtbyaddr): Likewise.
17656 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17657 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17658 * resolv/res_init.c (__res_vinit): Likewise.
17659 (net_mask): Likewise.
17660 * resolv/res_mkquery.c (outchar): Likewise.
17662 * stdio-common/printf_fp.c (outchar): Likewise.
17664 * stdio-common/printf_fphex.c (outchar): Likewise.
17666 * stdio-common/printf_size.c (outchar): Likewise.
17668 * stdio-common/test_rdwr.c (main): Likewise.
17669 * stdio-common/tfformat.c (matches): Likewise.
17670 * stdio-common/vfprintf.c (outchar): Likewise.
17671 (printf_unknown): Likewise.
17672 (buffered_vfprintf): Likewise.
17673 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17674 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17675 (ReadFile): Likewise.
17676 * stdlib/qsort.c (SWAP): Likewise.
17677 (_quicksort): Likewise.
17678 * stdlib/setenv.c (__add_to_environ): Likewise.
17679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17680 * stdlib/strtol_l.c (__strtol_l): Likewise.
17681 * stdlib/tst-strtod.c (main): Likewise.
17682 * stdlib/tst-strtol.c (main): Likewise.
17683 * stdlib/tst-strtoll.c (main): Likewise.
17684 * string/bits/string2.h (__strcmp_cc): Likewise.
17685 (__strcmp_cg): Likewise.
17686 (__strcspn_c1): Likewise.
17687 (__strcspn_c2): Likewise.
17688 (__strcspn_c3): Likewise.
17689 (__strspn_c1): Likewise.
17690 (__strspn_c2): Likewise.
17691 (__strspn_c3): Likewise.
17692 (__strsep_1c): Likewise.
17693 (__strsep_2c): Likewise.
17694 (__strsep_3c): Likewise.
17695 * string/memccpy.c (__memccpy): Likewise.
17696 * string/stpcpy.c (__stpcpy): Likewise.
17697 * string/strcmp.c (strcmp): Likewise.
17698 * string/strrchr.c (strrchr): Likewise.
17699 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17701 * sysdeps/mach/hurd/getcwd.c
17702 (_hurd_canonicalize_directory_name_internal): Likewise.
17703 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17704 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17705 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17706 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17707 Likewise, in both definitions.
17708 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17710 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17711 64] (__bswap_64): Likewise.
17712 * time/test_time.c (main): Likewise.
17713 * time/tzfile.c (__tzfile_read): Likewise.
17714 (__tzfile_compute): Likewise.
17715 * time/tzset.c (__tzset_parse_tz): Likewise.
17716 (tzset_internal): Likewise.
17717 (compute_change): Likewise.
17718 * wcsmbs/wcscat.c (__wcscat): Likewise.
17719 * wcsmbs/wcschr.c (wcschr): Likewise.
17720 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17721 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17722 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17723 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17724 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17725 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17726 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17727 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17728 * wcsmbs/wmemset.c (wmemset): Likewise.
17730 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17732 * scripts/config.guess: Update to version 2013-05-16.
17733 * scripts/config.sub: Update to version 2013-04-24.
17734 * scripts/install-sh: Update to version 2011-11-20.07.
17735 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17736 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17738 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17740 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17741 * elf/sln.c: Likewise.
17742 * hurd/hurd/ioctl.h: Likewise.
17743 * hurd/hurdmalloc.c: Likewise.
17744 * hurd/xattr.c: Likewise.
17745 * include/shlib-compat.h: Likewise.
17746 * inet/ruserpass.c: Likewise.
17747 * libio/iofgets_u.c: Likewise.
17748 * libio/iofgetws_u.c: Likewise.
17749 * locale/programs/ld-identification.c: Likewise.
17750 * locale/programs/ld-time.c: Likewise.
17751 * mach/msg-destroy.c: Likewise.
17752 * nss/nss_files/files-netgrp.c: Likewise.
17753 * resolv/res_data.c: Likewise.
17754 * soft-fp/op-1.h: Likewise.
17755 * soft-fp/op-2.h: Likewise.
17756 * soft-fp/op-4.h: Likewise.
17757 * soft-fp/op-common.h: Likewise.
17758 * stdio-common/printf_fphex.c: Likewise.
17759 * stdlib/strtod_l.c: Likewise.
17760 * sunrpc/rpc/clnt.h: Likewise.
17761 * sysdeps/generic/framestate.c: Likewise.
17762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17763 * sysdeps/i386/bsd-setjmp.S: Likewise.
17764 * sysdeps/i386/__longjmp.S: Likewise.
17765 * sysdeps/i386/setjmp.S: Likewise.
17766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17784 * sysdeps/ieee754/support.c: Likewise.
17785 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17786 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17787 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17788 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17789 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17790 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17791 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17792 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17793 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17794 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17795 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17796 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17798 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17800 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17801 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17804 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17806 * posix/transbug.c: Remove executable mode.
17808 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17810 * crypt/speeds.c: Remove trailing whitespace.
17811 * dlfcn/default.c: Likewise.
17812 * elf/ifuncdep2.c: Likewise.
17813 * elf/ifuncmain1.c: Likewise.
17814 * elf/ifuncmain1vis.c: Likewise.
17815 * elf/testobj.h: Likewise.
17816 * elf/tst-stackguard1.c: Likewise.
17817 * gmon/sys/gmon.h: Likewise.
17818 * hurd/hurdmsg.c: Likewise.
17819 * hurd/new-fd.c: Likewise.
17820 * hurd/ports-get.c: Likewise.
17821 * iconvdata/ibm1008_420.c: Likewise.
17822 * inet/tst-getni1.c: Likewise.
17823 * inet/tst-getni2.c: Likewise.
17824 * libio/ioungetc.c: Likewise.
17825 * libio/wfiledoalloc.c: Likewise.
17826 * manual/libm-err-tab.pl: Likewise.
17827 * math/w_dremf.c: Likewise.
17828 * misc/ftruncate.c: Likewise.
17829 * posix/bug-glob2.c: Likewise.
17830 * posix/tst-pcre.c: Likewise.
17831 * posix/wait4.c: Likewise.
17832 * resolv/README: Likewise.
17833 * resolv/res_debug.h: Likewise.
17834 * resolv/tst-inet_ntop.c: Likewise.
17835 * setjmp/bug269-setjmp.c: Likewise.
17836 * soft-fp/extended.h: Likewise.
17837 * soft-fp/op-1.h: Likewise.
17838 * soft-fp/op-2.h: Likewise.
17839 * soft-fp/op-4.h: Likewise.
17840 * soft-fp/op-8.h: Likewise.
17841 * soft-fp/testit.c: Likewise.
17842 * stdio-common/bug16.c: Likewise.
17843 * stdlib/random.c: Likewise.
17844 * sunrpc/rpcsvc/rquota.x: Likewise.
17845 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17846 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17847 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17848 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17849 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17850 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17853 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17854 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17855 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17874 * sysdeps/ieee754/s_lib_version.c: Likewise.
17875 * sysdeps/mach/hurd/check_fds.c: Likewise.
17876 * sysdeps/mach/hurd/getsockname.c: Likewise.
17877 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17878 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17879 * sysdeps/powerpc/bits/link.h: Likewise.
17880 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17881 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17882 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17883 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17884 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17886 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17887 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17888 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17889 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17890 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17891 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17892 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17893 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17894 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17895 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17901 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17902 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17903 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17904 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17909 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17914 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17915 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17916 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17917 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17919 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17920 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17921 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17922 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17923 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17924 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17925 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17926 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17927 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17929 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17932 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17933 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17935 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17936 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17938 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17939 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17942 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17943 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17944 * sysdeps/powerpc/sysdep.h: Likewise.
17945 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17946 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17947 * sysdeps/sh/dl-trampoline.S: Likewise.
17948 * sysdeps/sh/memset.S: Likewise.
17949 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17950 * sysdeps/sh/strlen.S: Likewise.
17951 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17952 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17953 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17954 * sysdeps/sparc/sparc32/rem.S: Likewise.
17955 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17956 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17957 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17958 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17959 * sysdeps/sparc/sparc32/urem.S: Likewise.
17960 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17961 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17962 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17963 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17965 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17966 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17967 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17968 * sysdeps/unix/bsd/times.c: Likewise.
17969 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17970 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17974 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17975 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17976 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17977 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17978 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17979 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17980 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17981 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17982 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17983 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17984 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17987 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17988 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17989 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17990 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17991 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17992 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17993 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17994 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17995 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17997 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17998 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17999 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18000 * sysdeps/x86_64/strcspn.S: Likewise.
18002 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18004 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18005 generated file. Regenerate properly from gen-translit.pl.
18006 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18007 locale/C-translit.h.
18009 2013-06-05 Andreas Schwab <schwab@suse.de>
18012 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18013 week as 6 instead of -1.
18014 * time/tst-strptime.c (day_tests): Add test case.
18016 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18018 * sysdeps/generic/math_private.h
18019 (libc_feholdexcept_setround_53bit): Replace with
18020 libc_feholdsetround_53bit.
18021 (libc_feupdateenv_53bit): Replace with
18022 libc_feresetround_53bit.
18023 (SET_RESTORE_ROUND_53BIT): Adjust.
18025 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18027 * string/test-strchrnul.c: Add copyright header.
18029 * posix/tst-getaddrinfo4.c: Increase test timeout.
18031 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18034 * math/libm-test.inc (MAX_EXP): Remove
18036 (ulp): Use MIN_EXP - MANT_DIG.
18037 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18039 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18041 * po/be.po: Revert last change.
18042 * po/zh_CN.po: Likewise.
18043 * po/header.pot: Likewise.
18045 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18047 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18048 link-libc-deps to empty as target-specific variable.
18049 * Makerules (link-libc-args): New variable.
18050 (libc-for-link): Likewise.
18051 (link-libc-deps): Likewise.
18052 (lib%.so): Depend on $(link-libc-deps). Link with
18054 (build-module): Link with $(link-libc-args).
18055 (build-module-asneeded): Likewise.
18056 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18058 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18059 target-specific variable.
18060 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18061 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18062 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18064 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18066 ($(objpfx)libpcprofile.so): Likewise.
18067 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18069 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18070 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18071 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18073 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18074 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18075 * login/Makefile ($(objpfx)libutil.so): Likewise.
18076 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18077 * math/Makefile ($(objpfx)libm.so): Likewise.
18078 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18079 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18080 variable instead of depending directly on libc.
18081 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18082 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18084 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18086 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18087 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18088 ($(objpfx)libanl.so): Likewise.
18089 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18091 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18093 * sysdeps/i386/fpu/Makefile: Remove file.
18094 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18095 ($(objpfx)libm.so): Remove dependency on ld.so.
18097 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18100 * nis/yp_xdr.c (XDRMAXNAME): Define.
18101 (XDRMAXRECORD): Define.
18102 (xdr_domainname): Use XDRMAXNAME.
18103 (xdr_mapname): Likewise.
18104 (xdr_peername): Likewise.
18105 (xdr_keydat): Use XDRMAXRECORD.
18106 (xdr_valdat): Likewise.
18108 2013-05-30 Jeff Law <law@redhat.com>
18111 * manual/errno.texi (ESTALE): Update to account for more than
18112 just NFS file systems.
18113 * sysdeps/gnu/errlist.c: Regenerated.
18115 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18118 * elf/Makefile (tests): Add tst-null-argv.
18119 (modules-names): Add tst-null-argv-lib.
18120 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18121 (tst-null-argv-ENV): Set environment for tst-null-argv.
18122 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18123 (RTLD_PROGNAME): New macro.
18124 * elf/tst-null-argv.c: New test case.
18125 * elf/tst-null-argv-lib.c: Library for test case.
18126 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18127 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18128 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18129 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18130 * elf/dl-init.c (call_init): Likewise.
18131 (_dl_init): Likewise.
18132 * elf/dl-load.c (print_search_path): Likewise.
18133 (_dl_map_object): Likewise.
18134 * elf/dl-lookup.c (do_lookup_x): Likewise.
18135 (add_dependency): Likewise.
18136 (_dl_lookup_symbol_x): Likewise.
18137 (_dl_debug_bindings): Likewise.
18138 * elf/dl-open.c (_dl_show_scope): Likewise.
18139 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18140 * elf/dl-version.c (match_symbol): Likewise.
18141 (_dl_check_map_versions): Likewise.
18142 * elf/rtld.c (dl_main): Likewise.
18143 (print_unresolved): Use RTLD_PROGNAME.
18144 (print_missing_version): Likewise.
18145 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18146 (elf_machine_rela): Likewise.
18147 * sysdeps/powerpc/powerpc32/dl-machine.c
18148 (__process_machine_rela): Likewise.
18149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18151 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18155 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18162 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18164 * po/be.po: Add descriptive title.
18165 * po/zh_CN.po: Likewise.
18166 * po/header.pot: Likewise.
18168 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18170 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18172 (enlarge_archive): Likewise.
18174 2013-05-28 Ben North <ben@redfrontdoor.org>
18176 * manual/arith.texi (frexp): It is the magnitude of the return
18177 value which lies in [0.5, 1), not the return value itself.
18179 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18183 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18185 * stdio-common/bug26.c (main): Correct fscanf template.
18187 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18188 declare _dl_skip_args.
18190 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18193 * manual/platform.texi: Add missing @end deftypefun.
18195 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18199 bit of mantissa of 2^16382.
18200 * math/libm-test.inc (hypot_test_data): Add more tests.
18202 * math/libm-test.inc: Add drem and pow10 to list of tested
18204 (pow10_test): New function.
18205 (drem_test): Likewise.
18206 (drem_test_tonearest): Likewise.
18207 (drem_test_towardzero): Likewise.
18208 (drem_test_downward): Likewise.
18209 (drem_test_upward): Likewise.
18210 (main): Call the new functions.
18212 * math/libm-test.inc (finite_test_data): Remove.
18213 (finite_test): Run tests from isfinite_test_data.
18214 (gamma_test_data): Remove.
18215 (gamma_test): Run tests from lgamma_test_data.
18216 * sysdeps/i386/fpu/libm-test-ulps: Update.
18217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18219 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18221 * manual/platform.texi: Add PowerPC PPR function set documentation.
18222 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18225 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18227 * math/libm-test.inc (MAX_EXP): Define.
18229 (ulp): New function.
18230 (check_float_internal): Use ULPDIFF.
18231 (cpow_test): Disable failing test.
18232 (check_ulp): Test ulp() implemetnation.
18233 (main): Call check_ulp before starting tests.
18235 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18237 * math/gen-libm-test.pl (generate_testfile): Do not handle
18238 START_DATA and END_DATA.
18239 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18241 (acos_tonearest_test_data): Likewise.
18242 (acos_towardzero_test_data): Likewise.
18243 (acos_downward_test_data): Likewise.
18244 (acos_upward_test_data): Likewise.
18245 (acosh_test_data): Likewise.
18246 (asin_test_data): Likewise.
18247 (asin_tonearest_test_data): Likewise.
18248 (asin_towardzero_test_data): Likewise.
18249 (asin_downward_test_data): Likewise.
18250 (asin_upward_test_data): Likewise.
18251 (asinh_test_data): Likewise.
18252 (atan_test_data): Likewise.
18253 (atanh_test_data): Likewise.
18254 (atan2_test_data): Likewise.
18255 (cabs_test_data): Likewise.
18256 (cacos_test_data): Likewise.
18257 (cacosh_test_data): Likewise.
18258 (carg_test_data): Likewise.
18259 (casin_test_data): Likewise.
18260 (casinh_test_data): Likewise.
18261 (catan_test_data): Likewise.
18262 (catanh_test_data): Likewise.
18263 (cbrt_test_data): Likewise.
18264 (ccos_test_data): Likewise.
18265 (ccosh_test_data): Likewise.
18266 (ceil_test_data): Likewise.
18267 (cexp_test_data): Likewise.
18268 (cimag_test_data): Likewise.
18269 (clog_test_data): Likewise.
18270 (clog10_test_data): Likewise.
18271 (conj_test_data): Likewise.
18272 (copysign_test_data): Likewise.
18273 (cos_test_data): Likewise.
18274 (cos_tonearest_test_data): Likewise.
18275 (cos_towardzero_test_data): Likewise.
18276 (cos_downward_test_data): Likewise.
18277 (cos_upward_test_data): Likewise.
18278 (cosh_test_data): Likewise.
18279 (cosh_tonearest_test_data): Likewise.
18280 (cosh_towardzero_test_data): Likewise.
18281 (cosh_downward_test_data): Likewise.
18282 (cosh_upward_test_data): Likewise.
18283 (cpow_test_data): Likewise.
18284 (cproj_test_data): Likewise.
18285 (creal_test_data): Likewise.
18286 (csin_test_data): Likewise.
18287 (csinh_test_data): Likewise.
18288 (csqrt_test_data): Likewise.
18289 (ctan_test_data): Likewise.
18290 (ctan_tonearest_test_data): Likewise.
18291 (ctan_towardzero_test_data): Likewise.
18292 (ctan_downward_test_data): Likewise.
18293 (ctan_upward_test_data): Likewise.
18294 (ctanh_test_data): Likewise.
18295 (ctanh_tonearest_test_data): Likewise.
18296 (ctanh_towardzero_test_data): Likewise.
18297 (ctanh_downward_test_data): Likewise.
18298 (ctanh_upward_test_data): Likewise.
18299 (erf_test_data): Likewise.
18300 (erfc_test_data): Likewise.
18301 (exp_test_data): Likewise.
18302 (exp_tonearest_test_data): Likewise.
18303 (exp_towardzero_test_data): Likewise.
18304 (exp_downward_test_data): Likewise.
18305 (exp_upward_test_data): Likewise.
18306 (exp10_test_data): Likewise.
18307 (exp2_test_data): Likewise.
18308 (expm1_test_data): Likewise.
18309 (fabs_test_data): Likewise.
18310 (fdim_test_data): Likewise.
18311 (finite_test_data): Likewise.
18312 (floor_test_data): Likewise.
18313 (fma_test_data): Likewise.
18314 (fma_towardzero_test_data): Likewise.
18315 (fma_downward_test_data): Likewise.
18316 (fma_upward_test_data): Likewise.
18317 (fmax_test_data): Likewise.
18318 (fmin_test_data): Likewise.
18319 (fmod_test_data): Likewise.
18320 (fpclassify_test_data): Likewise.
18321 (frexp_test_data): Likewise.
18322 (gamma_test_data): Likewise.
18323 (hypot_test_data): Likewise.
18324 (ilogb_test_data): Likewise.
18325 (isfinite_test_data): Likewise.
18326 (isgreater_test_data): Likewise.
18327 (isgreaterequal_test_data): Likewise.
18328 (isinf_test_data): Likewise.
18329 (isless_test_data): Likewise.
18330 (islessequal_test_data): Likewise.
18331 (islessgreater_test_data): Likewise.
18332 (isnan_test_data): Likewise.
18333 (isnormal_test_data): Likewise.
18334 (issignaling_test_data): Likewise.
18335 (isunordered_test_data): Likewise.
18336 (j0_test_data): Likewise.
18337 (j1_test_data): Likewise.
18338 (jn_test_data): Likewise.
18339 (ldexp_test_data): Likewise.
18340 (lgamma_test_data): Likewise.
18341 (lrint_test_data): Likewise.
18342 (lrint_tonearest_test_data): Likewise.
18343 (lrint_towardzero_test_data): Likewise.
18344 (lrint_downward_test_data): Likewise.
18345 (lrint_upward_test_data): Likewise.
18346 (llrint_test_data): Likewise.
18347 (llrint_tonearest_test_data): Likewise.
18348 (llrint_towardzero_test_data): Likewise.
18349 (llrint_downward_test_data): Likewise.
18350 (llrint_upward_test_data): Likewise.
18351 (log_test_data): Likewise.
18352 (log10_test_data): Likewise.
18353 (log1p_test_data): Likewise.
18354 (log2_test_data): Likewise.
18355 (logb_test_data): Likewise.
18356 (logb_downward_test_data): Likewise.
18357 (lround_test_data): Likewise.
18358 (llround_test_data): Likewise.
18359 (modf_test_data): Likewise.
18360 (nearbyint_test_data): Likewise.
18361 (nextafter_test_data): Likewise.
18362 (nexttoward_test_data): Likewise.
18363 (pow_test_data): Likewise.
18364 (pow_tonearest_test_data): Likewise.
18365 (pow_towardzero_test_data): Likewise.
18366 (pow_downward_test_data): Likewise.
18367 (pow_upward_test_data): Likewise.
18368 (remainder_test_data): Likewise.
18369 (remainder_tonearest_test_data): Likewise.
18370 (remainder_towardzero_test_data): Likewise.
18371 (remainder_downward_test_data): Likewise.
18372 (remainder_upward_test_data): Likewise.
18373 (remquo_test_data): Likewise.
18374 (rint_test_data): Likewise.
18375 (rint_tonearest_test_data): Likewise.
18376 (rint_towardzero_test_data): Likewise.
18377 (rint_downward_test_data): Likewise.
18378 (rint_upward_test_data): Likewise.
18379 (round_test_data): Likewise.
18380 (scalb_test_data): Likewise.
18381 (scalbn_test_data): Likewise.
18382 (scalbln_test_data): Likewise.
18383 (signbit_test_data): Likewise.
18384 (sin_test_data): Likewise.
18385 (sin_tonearest_test_data): Likewise.
18386 (sin_towardzero_test_data): Likewise.
18387 (sin_downward_test_data): Likewise.
18388 (sin_upward_test_data): Likewise.
18389 (sincos_test_data): Likewise.
18390 (sinh_test_data): Likewise.
18391 (sinh_tonearest_test_data): Likewise.
18392 (sinh_towardzero_test_data): Likewise.
18393 (sinh_downward_test_data): Likewise.
18394 (sinh_upward_test_data): Likewise.
18395 (sqrt_test_data): Likewise.
18396 (tan_test_data): Likewise.
18397 (tan_tonearest_test_data): Likewise.
18398 (tan_towardzero_test_data): Likewise.
18399 (tan_downward_test_data): Likewise.
18400 (tan_upward_test_data): Likewise.
18401 (tanh_test_data): Likewise.
18402 (tgamma_test_data): Likewise.
18403 (trunc_test_data): Likewise.
18404 (y0_test_data): Likewise.
18405 (y1_test_data): Likewise.
18406 (yn_test_data): Likewise.
18407 (significand_test_data): Likewise.
18409 * math/gen-libm-test.pl (@functions): Remove variable.
18410 (generate_testfile): Don't handle START and END lines.
18411 * math/libm-test.inc (START): New macro.
18413 (END_COMPLEX): Likewise.
18414 (acos_test): Use END macro without arguments.
18415 (acos_test_tonearest): Likewise.
18416 (acos_test_towardzero): Likewise.
18417 (acos_test_downward): Likewise.
18418 (acos_test_upward): Likewise.
18419 (acosh_test): Likewise.
18420 (asin_test): Likewise.
18421 (asin_test_tonearest): Likewise.
18422 (asin_test_towardzero): Likewise.
18423 (asin_test_downward): Likewise.
18424 (asin_test_upward): Likewise.
18425 (asinh_test): Likewise.
18426 (atan_test): Likewise.
18427 (atanh_test): Likewise.
18428 (atan2_test): Likewise.
18429 (cabs_test): Likewise.
18430 (cacos_test): Use END_COMPLEX macro without arguments.
18431 (cacosh_test): Likewise.
18432 (carg_test): Use END macro without arguments.
18433 (casin_test): Use END_COMPLEX macro without arguments.
18434 (casinh_test): Likewise.
18435 (catan_test): Likewise.
18436 (catanh_test): Likewise.
18437 (cbrt_test): Use END macro without arguments.
18438 (ccos_test): Use END_COMPLEX macro without arguments.
18439 (ccosh_test): Likewise.
18440 (ceil_test): Use END macro without arguments.
18441 (cexp_test): Use END_COMPLEX macro without arguments.
18442 (cimag_test): Use END macro without arguments.
18443 (clog_test): Use END_COMPLEX macro without arguments.
18444 (clog10_test): Likewise.
18445 (conj_test): Likewise.
18446 (copysign_test): Use END macro without arguments.
18447 (cos_test): Likewise.
18448 (cos_test_tonearest): Likewise.
18449 (cos_test_towardzero): Likewise.
18450 (cos_test_downward): Likewise.
18451 (cos_test_upward): Likewise.
18452 (cosh_test): Likewise.
18453 (cosh_test_tonearest): Likewise.
18454 (cosh_test_towardzero): Likewise.
18455 (cosh_test_downward): Likewise.
18456 (cosh_test_upward): Likewise.
18457 (cpow_test): Use END_COMPLEX macro without arguments.
18458 (cproj_test): Likewise.
18459 (creal_test): Use END macro without arguments.
18460 (csin_test): Use END_COMPLEX macro without arguments.
18461 (csinh_test): Likewise.
18462 (csqrt_test): Likewise.
18463 (ctan_test): Likewise.
18464 (ctan_test_tonearest): Likewise.
18465 (ctan_test_towardzero): Likewise.
18466 (ctan_test_downward): Likewise.
18467 (ctan_test_upward): Likewise.
18468 (ctanh_test): Likewise.
18469 (ctanh_test_tonearest): Likewise.
18470 (ctanh_test_towardzero): Likewise.
18471 (ctanh_test_downward): Likewise.
18472 (ctanh_test_upward): Likewise.
18473 (erf_test): Use END macro without arguments.
18474 (erfc_test): Likewise.
18475 (exp_test): Likewise.
18476 (exp_test_tonearest): Likewise.
18477 (exp_test_towardzero): Likewise.
18478 (exp_test_downward): Likewise.
18479 (exp_test_upward): Likewise.
18480 (exp10_test): Likewise.
18481 (exp2_test): Likewise.
18482 (expm1_test): Likewise.
18483 (fabs_test): Likewise.
18484 (fdim_test): Likewise.
18485 (finite_test): Likewise.
18486 (floor_test): Likewise.
18487 (fma_test): Likewise.
18488 (fma_test_towardzero): Likewise.
18489 (fma_test_downward): Likewise.
18490 (fma_test_upward): Likewise.
18491 (fmax_test): Likewise.
18492 (fmin_test): Likewise.
18493 (fmod_test): Likewise.
18494 (fpclassify_test): Likewise.
18495 (frexp_test): Likewise.
18496 (gamma_test): Likewise.
18497 (hypot_test): Likewise.
18498 (ilogb_test): Likewise.
18499 (isfinite_test): Likewise.
18500 (isgreater_test): Likewise.
18501 (isgreaterequal_test): Likewise.
18502 (isinf_test): Likewise.
18503 (isless_test): Likewise.
18504 (islessequal_test): Likewise.
18505 (islessgreater_test): Likewise.
18506 (isnan_test): Likewise.
18507 (isnormal_test): Likewise.
18508 (issignaling_test): Likewise.
18509 (isunordered_test): Likewise.
18510 (j0_test): Likewise.
18511 (j1_test): Likewise.
18512 (jn_test): Likewise.
18513 (ldexp_test): Likewise.
18514 (lgamma_test): Likewise.
18515 (lrint_test): Likewise.
18516 (lrint_test_tonearest): Likewise.
18517 (lrint_test_towardzero): Likewise.
18518 (lrint_test_downward): Likewise.
18519 (lrint_test_upward): Likewise.
18520 (llrint_test): Likewise.
18521 (llrint_test_tonearest): Likewise.
18522 (llrint_test_towardzero): Likewise.
18523 (llrint_test_downward): Likewise.
18524 (llrint_test_upward): Likewise.
18525 (log_test): Likewise.
18526 (log10_test): Likewise.
18527 (log1p_test): Likewise.
18528 (log2_test): Likewise.
18529 (logb_test): Likewise.
18530 (logb_test_downward): Likewise.
18531 (lround_test): Likewise.
18532 (llround_test): Likewise.
18533 (modf_test): Likewise.
18534 (nearbyint_test): Likewise.
18535 (nextafter_test): Likewise.
18536 (nexttoward_test): Likewise.
18537 (pow_test): Likewise.
18538 (pow_test_tonearest): Likewise.
18539 (pow_test_towardzero): Likewise.
18540 (pow_test_downward): Likewise.
18541 (pow_test_upward): Likewise.
18542 (remainder_test): Likewise.
18543 (remainder_test_tonearest): Likewise.
18544 (remainder_test_towardzero): Likewise.
18545 (remainder_test_downward): Likewise.
18546 (remainder_test_upward): Likewise.
18547 (remquo_test): Likewise.
18548 (rint_test): Likewise.
18549 (rint_test_tonearest): Likewise.
18550 (rint_test_towardzero): Likewise.
18551 (rint_test_downward): Likewise.
18552 (rint_test_upward): Likewise.
18553 (round_test): Likewise.
18554 (scalb_test): Likewise.
18555 (scalbn_test): Likewise.
18556 (scalbln_test): Likewise.
18557 (signbit_test): Likewise.
18558 (sin_test): Likewise.
18559 (sin_test_tonearest): Likewise.
18560 (sin_test_towardzero): Likewise.
18561 (sin_test_downward): Likewise.
18562 (sin_test_upward): Likewise.
18563 (sincos_test): Likewise.
18564 (sinh_test): Likewise.
18565 (sinh_test_tonearest): Likewise.
18566 (sinh_test_towardzero): Likewise.
18567 (sinh_test_downward): Likewise.
18568 (sinh_test_upward): Likewise.
18569 (sqrt_test): Likewise.
18570 (tan_test): Likewise.
18571 (tan_test_tonearest): Likewise.
18572 (tan_test_towardzero): Likewise.
18573 (tan_test_downward): Likewise.
18574 (tan_test_upward): Likewise.
18575 (tanh_test): Likewise.
18576 (tgamma_test): Likewise.
18577 (trunc_test): Likewise.
18578 (y0_test): Likewise.
18579 (y1_test): Likewise.
18580 (yn_test): Likewise.
18581 (significand_test): Likewise.
18583 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18586 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18588 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18591 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18592 __ppc_mdoio and __ppc_mdoom.
18593 * manual/platform.texi: Document new functions __ppc_yield,
18594 __ppc_mdoio and __ppc_mdoom.
18596 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18598 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18599 (main): Mention "tls" pseudo-hwcap is legacy.
18600 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18602 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18604 * math/gen-libm-test.pl (parse_args): Output only string of
18605 arguments as text for test name, not full call or descriptions of
18606 tests for extra outputs.
18607 (generate_testfile): Do not pass function name to parse_args.
18608 Generate this_func variable from START.
18609 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18611 (struct test_ff_f_data): Likewise.
18612 (test_ff_f_data_nexttoward): Likewise.
18613 (struct test_fi_f_data): Likewise.
18614 (struct test_fl_f_data): Likewise.
18615 (struct test_if_f_data): Likewise.
18616 (struct test_fff_f_data): Likewise.
18617 (struct test_c_f_data): Likewise.
18618 (struct test_f_f1_data): Likewise. Remove field extra_name.
18619 (struct test_fF_f1_data): Likewise.
18620 (struct test_ffI_f1_data): Likewise.
18621 (struct test_c_c_data): Rename test_name field to arg_str.
18622 (struct test_cc_c_data): Likewise.
18623 (struct test_f_i_data): Likewise.
18624 (struct test_ff_i_data): Likewise.
18625 (struct test_f_l_data): Likewise.
18626 (struct test_f_L_data): Likewise.
18627 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18629 (COMMON_TEST_SETUP): New macro.
18630 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18631 (COMMON_TEST_CLEANUP): Likewise.
18632 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18633 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18635 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18636 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18638 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18639 (RUN_TEST_fff_f): Take argument string. Call new setup and
18641 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18642 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18644 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18645 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18647 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18648 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18650 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18651 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18653 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18654 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18656 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18657 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18659 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18660 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18662 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18663 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18665 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18666 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18668 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18669 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18671 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18672 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18674 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18675 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18677 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18678 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18680 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18681 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18683 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18684 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18686 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18688 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18690 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18691 to _sifields.sigfault.
18692 (si_addr_lsb): Define new macro.
18693 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18697 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18700 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18702 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18704 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18705 loading the domain.
18707 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18709 * math/gen-libm-test.pl (parse_args): Do not include expected
18710 result in test name.
18711 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18714 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18718 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18720 * benchtests/Makefile: Sort function entries.
18722 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18723 tanh, asinh, acosh, atanh.
18724 * benchtests/acos-inputs: New file.
18725 * benchtests/acosh-inputs: New file.
18726 * benchtests/asin-inputs: New file.
18727 * benchtests/asinh-inputs: New file.
18728 * benchtests/atanh-inputs: New file.
18729 * benchtests/cosh-inputs: New file.
18730 * benchtests/log-inputs: New file.
18731 * benchtests/sinh-inputs: New file.
18732 * benchtests/tanh-inputs: New file.
18734 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18737 * posix/tst-getaddrinfo4.c: New test.
18738 * posix/Makefile (tests): Add it.
18740 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18743 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18744 when no services were used.
18745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18746 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18748 2013-05-21 Andreas Schwab <schwab@suse.de>
18751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18752 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18754 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18755 redundant variable declarations and reallocation of buffer when
18756 parsing as IPv6 address. Always set NSS status when called from
18757 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18758 buffer too small. Correct computation of needed size.
18759 * nss/Makefile (tests): Add test-digits-dots.
18760 * nss/test-digits-dots.c: New test.
18762 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18764 * benchtests/Makefile: Remove instructions for adding
18766 * benchtests/README: New file to explain how to execute and
18767 enhance the benchmark tests.
18769 2013-05-21 Andreas Schwab <schwab@suse.de>
18772 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18773 * setjmp/tst-sigsetjmp.c: New test.
18775 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18777 * sysdeps/x86_64/memset.S (memset): New implementation.
18778 (__bzero): Likewise.
18779 (__memset_tail): New function.
18781 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18783 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18784 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18785 __memcpy_sse2_unaligned ifunc selection.
18786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18787 Add memcpy-sse2-unaligned.S.
18788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18789 Add: __memcpy_sse2_unaligned.
18791 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18795 math_force_eval before restoring floating-point envrionment.
18796 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18801 (__nearbyintl): Use math_force_eval before restoring
18802 floating-point environment.
18803 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18805 * math/gen-libm-test.pl (special_functions): Remove.
18806 (parse_args): Don't handle TEST_extra. Handle functions with no
18808 * math/libm-test.inc (struct test_sincos_data): Replace with
18809 struct test_fFF_11_data.
18810 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18811 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18812 (sincos_test_data): Change element type to struct
18813 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18814 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18815 RUN_TEST_LOOP_sincos.
18816 * math/README.libm-test: Don't mention special handling of
18817 individual functions.
18818 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18820 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18821 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18822 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18825 * math/gen-libm-test.pl (get_variable): Remove function.
18826 (parse_args): Don't show pointer parameters to call in test
18827 names. Use "extra output N" in test names for extra outputs
18828 rather than naming variables.
18830 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18833 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18834 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18835 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18837 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18839 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18842 * math/gen-libm-test.pl (@tests): Remove variable.
18843 ($count): Likewise.
18844 (new_test): Remove function.
18845 (show_exceptions): New function.
18846 (special_functions): Use show_exceptions instead of new_test.
18847 (parse_args): Likewise.
18848 (generate_testfile): Pass only function name in generated call to
18849 print_max_error or print_complex_max_error.
18850 (get_ulps): Do not handle complex tests specially.
18851 (output_test): Rename to ...
18852 (get_all_ulps_for_test): ... this. Return a string rather than
18853 printing to a file. Require ulps to be present.
18854 (output_ulps): Generate arrays rather than #defines.
18855 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18856 (struct ulp_data): New type.
18857 (BUILD_COMPLEX_ULP): Remove macro.
18858 (compare_ulp_data): New function.
18859 (find_ulps): Likewise.
18860 (find_test_ulps): Likewise.
18861 (find_function_ulps): Likewise.
18862 (find_complex_function_ulps): Likewise.
18863 (print_max_error): Determine allowed ulps using
18864 find_function_ulps.
18865 (print_complex_max_error): Determine allowed ulps using
18866 find_complex_function_ulps.
18867 (check_float_internal): Determine max ulps using find_test_ulps.
18868 (check_float): Do not take max_ulp parameter. Update call to
18869 check_float_internal.
18870 (check_complex): Likewise.
18871 (check_int): Do not take max_ulp parameter.
18872 (check_long): Likewise.
18873 (check_bool): Likewise.
18874 (check_longlong): Likewise.
18875 (struct test_f_f_data): Remove max_ulp field.
18876 (struct test_ff_f_data): Likewise.
18877 (struct test_ff_f_data_nexttoward): Likewise.
18878 (struct test_fi_f_data): Likewise.
18879 (struct test_fl_f_data): Likewise.
18880 (struct test_if_f_data): Likewise.
18881 (struct test_fff_f_data): Likewise.
18882 (struct test_c_f_data): Likewise.
18883 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18884 (struct test_fF_f1_data): Likewise.
18885 (struct test_ffI_f1_data): Likewise.
18886 (struct test_c_c_data): Remove max_ulp field.
18887 (struct test_cc_c_data): Likewise.
18888 (struct test_f_i_data): Likewise.
18889 (struct test_ff_i_data): Likewise.
18890 (struct test_f_l_data): Likewise.
18891 (struct test_f_L_data): Likewise.
18892 (struct test_sincos_data): Likewise.
18893 (RUN_TEST_f_f): Do not handle ulps.
18894 (RUN_TEST_LOOP_f_f): Likewise.
18895 (RUN_TEST_2_f): Likewise.
18896 (RUN_TEST_LOOP_2_f): Likewise.
18897 (RUN_TEST_fff_f): Likewise.
18898 (RUN_TEST_LOOP_fff_f): Likewise.
18899 (RUN_TEST_c_f): Likewise.
18900 (RUN_TEST_LOOP_c_f): Likewise.
18901 (RUN_TEST_f_f1): Likewise.
18902 (RUN_TEST_LOOP_f_f1): Likewise.
18903 (RUN_TEST_fF_f1): Likewise.
18904 (RUN_TEST_LOOP_fF_f1): Likewise.
18905 (RUN_TEST_fI_f1): Likewise.
18906 (RUN_TEST_LOOP_fI_f1): Likewise.
18907 (RUN_TEST_ffI_f1): Likewise.
18908 (RUN_TEST_LOOP_ffI_f1): Likewise.
18909 (RUN_TEST_c_c): Likewise.
18910 (RUN_TEST_LOOP_c_c): Likewise.
18911 (RUN_TEST_cc_c): Likewise.
18912 (RUN_TEST_LOOP_cc_c): Likewise.
18913 (RUN_TEST_f_i): Likewise.
18914 (RUN_TEST_LOOP_f_i): Likewise.
18915 (RUN_TEST_f_i_tg): Likewise.
18916 (RUN_TEST_LOOP_f_i_tg): Likewise.
18917 (RUN_TEST_ff_i_tg): Likewise.
18918 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18919 (RUN_TEST_f_b): Likewise.
18920 (RUN_TEST_LOOP_f_b): Likewise.
18921 (RUN_TEST_f_b_tg): Likewise.
18922 (RUN_TEST_LOOP_f_b_tg): Likewise.
18923 (RUN_TEST_f_l): Likewise.
18924 (RUN_TEST_LOOP_f_l): Likewise.
18925 (RUN_TEST_f_L): Likewise.
18926 (RUN_TEST_LOOP_f_L): Likewise.
18927 (RUN_TEST_sincos): Likewise.
18928 (RUN_TEST_LOOP_sincos): Likewise.
18930 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18934 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18935 main case of finite arguments, set rounding mode to FE_TONEAREST
18936 and discard exceptions.
18937 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18939 (remainder_tonearest_test_data): New variable.
18940 (remainder_test_tonearest): New function.
18941 (remainder_towardzero_test_data): New variable.
18942 (remainder_test_towardzero): New function.
18943 (remainder_downward_test_data): New variable.
18944 (remainder_test_downward): New function.
18945 (remainder_upward_test_data): New variable.
18946 (remainder_test_upward): New function.
18947 (main): Call the new test functions.
18949 * math/libm-test.inc (struct test_f_f1_data): Remove field
18951 (struct test_fF_f1_data): Likewise.
18952 (struct test_ffI_f1_data): Likewise.
18953 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18954 based on value of EXTRA_EXPECTED.
18955 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18956 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18957 EXTRA_VAR based on value of EXTRA_EXPECTED.
18958 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18959 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18960 EXTRA_VAR based on value of EXTRA_EXPECTED.
18961 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18962 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18963 EXTRA_VAR based on value of EXTRA_EXPECTED.
18964 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18965 * math/gen-libm-test.pl (parse_args): Don't output initializers
18966 for extra output values.
18968 * math/libm-test.inc (check_int): Expect result to be exactly
18969 equal to expected value and do not handle ulps.
18970 (check_long): Likewise.
18971 (check_longlong): Likewise.
18973 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18975 (cimag_test_data): Likewise.
18976 (conj_test_data): Likewise.
18977 (copysign_test_data): Likewise.
18978 (cproj_test_data): Likewise.
18979 (creal_test_data): Likewise.
18980 (fabs_test_data): Likewise.
18981 (fdim_test_data): Likewise.
18982 (finite_test_data): Likewise.
18983 (floor_test_data): Likewise.
18984 (fmax_test_data): Likewise.
18985 (fmin_test_data): Likewise.
18986 (fmod_test_data): Likewise.
18987 (fpclassify_test_data): Likewise.
18988 (frexp_test_data): Likewise.
18989 (ilogb_test_data): Likewise.
18990 (isfinite_test_data): Likewise.
18991 (isgreater_test_data): Likewise.
18992 (isgreaterequal_test_data): Likewise.
18993 (isinf_test_data): Likewise.
18994 (isless_test_data): Likewise.
18995 (islessequal_test_data): Likewise.
18996 (islessgreater_test_data): Likewise.
18997 (isnan_test_data): Likewise.
18998 (isnormal_test_data): Likewise.
18999 (issignaling_test_data): Likewise.
19000 (isunordered_test_data): Likewise.
19001 (ldexp_test_data): Likewise.
19002 (lrint_test_data): Likewise.
19003 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19004 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19005 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19006 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19007 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19008 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19010 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19011 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19012 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19013 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19015 (lrint_downward_test_data): Test for "inexact" exceptions.
19016 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19017 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19018 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19020 (lrint_upward_test_data): Test for "inexact" exceptions.
19021 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19023 (llrint_test_data): Test for "inexact" exceptions.
19024 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19025 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19026 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19027 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19028 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19029 (llrint_downward_test_data): Test for "inexact" exceptions.
19030 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19031 (llrint_upward_test_data): Test for "inexact" exceptions.
19032 (logb_test_data): Likewise.
19033 (logb_downward_test_data): Likewise.
19034 (nextafter_test_data): Likewise.
19035 (nexttoward_test_data): Likewise.
19036 (remainder_test_data): Likewise.
19037 (remquo_test_data): Likewise.
19038 (scalbn_test_data): Likewise.
19039 (scalbln_test_data): Likewise.
19040 (signbit_test_data): Likewise.
19041 (sqrt_test_data): Likewise.
19042 (significand_test_data): Likewise.
19044 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19047 * benchtests/bench-modf.c (struct args): Mark arg0 as
19049 * scripts/bench.pl: Mark members of struct args as volatile.
19051 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19054 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19055 negative infinity on POWER6 or lower.
19056 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19058 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19061 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19062 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19063 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19064 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19065 (_FP_SETQNAN): New macro.
19066 (_FP_SETQNAN_SEMIRAW): Likewise.
19067 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19068 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19069 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19070 (FP_EXTEND): Use _FP_FRAC_SNANP.
19071 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19072 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19074 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19076 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19079 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19081 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19082 with DIVIDE_BY_ZERO_EXCEPTION.
19083 (gamma_test_data): Likewise.
19084 (lgamma_test_data): Likewise.
19085 (log_test_data): Likewise.
19086 (log10_test_data): Likewise.
19087 (log2_test_data): Likewise.
19088 (tgamma_test_data): Likewise.
19090 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19091 (acos_test_tonearest): Likewise.
19092 (acos_test_towardzero): Likewise.
19093 (acos_test_downward): Likewise.
19094 (acos_test_upward): Likewise.
19095 (acosh_test): Likewise.
19096 (asin_test): Likewise.
19097 (asin_test_tonearest): Likewise.
19098 (asin_test_towardzero): Likewise.
19099 (asin_test_downward): Likewise.
19100 (asin_test_upward): Likewise.
19101 (asinh_test): Likewise.
19102 (atan_test): Likewise.
19103 (atanh_test): Likewise.
19104 (atan2_test): Likewise.
19105 (cabs_test): Likewise.
19106 (cacos_test): Likewise.
19107 (cacosh_test): Likewise.
19108 (casin_test): Likewise.
19109 (casinh_test): Likewise.
19110 (catan_test): Likewise.
19111 (catanh_test): Likewise.
19112 (cbrt_test): Likewise.
19113 (ccos_test): Likewise.
19114 (ccosh_test): Likewise.
19115 (cexp_test): Likewise.
19116 (clog_test): Likewise.
19117 (clog10_test): Likewise.
19118 (cos_test): Likewise.
19119 (cos_test_tonearest): Likewise.
19120 (cos_test_towardzero): Likewise.
19121 (cos_test_downward): Likewise.
19122 (cos_test_upward): Likewise.
19123 (cosh_test): Likewise.
19124 (cosh_test_tonearest): Likewise.
19125 (cosh_test_towardzero): Likewise.
19126 (cosh_test_downward): Likewise.
19127 (cosh_test_upward): Likewise.
19128 (cpow_test): Likewise.
19129 (csin_test): Likewise.
19130 (csinh_test): Likewise.
19131 (csqrt_test): Likewise.
19132 (ctan_test): Likewise.
19133 (ctan_test_tonearest): Likewise.
19134 (ctan_test_towardzero): Likewise.
19135 (ctan_test_downward): Likewise.
19136 (ctan_test_upward): Likewise.
19137 (ctanh_test): Likewise.
19138 (ctanh_test_tonearest): Likewise.
19139 (ctanh_test_towardzero): Likewise.
19140 (ctanh_test_downward): Likewise.
19141 (ctanh_test_upward): Likewise.
19142 (erf_test): Likewise.
19143 (erfc_test): Likewise.
19144 (exp_test): Likewise.
19145 (exp_test_tonearest): Likewise.
19146 (exp_test_towardzero): Likewise.
19147 (exp_test_downward): Likewise.
19148 (exp_test_upward): Likewise.
19149 (exp10_test): Likewise.
19150 (exp2_test): Likewise.
19151 (expm1_test): Likewise.
19152 (fmod_test): Likewise.
19153 (gamma_test): Likewise.
19154 (hypot_test): Likewise.
19155 (j0_test): Likewise.
19156 (j1_test): Likewise.
19157 (jn_test): Likewise.
19158 (lgamma_test): Likewise.
19159 (log_test): Likewise.
19160 (log10_test): Likewise.
19161 (log1p_test): Likewise.
19162 (log2_test): Likewise.
19163 (logb_test_downward): Likewise.
19164 (pow_test): Likewise.
19165 (pow_test_tonearest): Likewise.
19166 (pow_test_towardzero): Likewise.
19167 (pow_test_downward): Likewise.
19168 (pow_test_upward): Likewise.
19169 (remainder_test): Likewise.
19170 (remquo_test): Likewise.
19171 (sin_test): Likewise.
19172 (sin_test_tonearest): Likewise.
19173 (sin_test_towardzero): Likewise.
19174 (sin_test_downward): Likewise.
19175 (sin_test_upward): Likewise.
19176 (sincos_test): Likewise.
19177 (sinh_test): Likewise.
19178 (sinh_test_tonearest): Likewise.
19179 (sinh_test_towardzero): Likewise.
19180 (sinh_test_downward): Likewise.
19181 (sinh_test_upward): Likewise.
19182 (sqrt_test): Likewise.
19183 (tan_test): Likewise.
19184 (tan_test_tonearest): Likewise.
19185 (tan_test_towardzero): Likewise.
19186 (tan_test_downward): Likewise.
19187 (tan_test_upward): Likewise.
19188 (tanh_test): Likewise.
19189 (tgamma_test): Likewise.
19190 (y0_test): Likewise.
19191 (y1_test): Likewise.
19192 (yn_test): Likewise.
19194 * math/gen-libm-test.pl (adjust_arg): Remove function.
19195 (special_function): Remove argument $in_func. Only handle
19196 generating output for tables of tests, not inside functions.
19197 (parse_args): Likewise.
19198 (generate_testfile): Remove variable $in_func. Update call to
19200 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19201 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19202 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19203 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19204 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19205 (MAX_VALUE_INIT): Rename macro to max_value.
19206 (MIN_VALUE_INIT): Rename macro to min_value.
19207 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19208 (plus_zero): Remove variable.
19209 (minus_zero): Likewise.
19210 (plus_infty): Likewise.
19211 (minus_infty): Likewise.
19212 (qnan_value): Likewise.
19213 (max_value): Likewise.
19214 (min_value): Likewise.
19215 (min_subnorm_value): Likewise.
19217 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19219 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19220 uint64_t or uint32_t usage.
19221 * crypt/sha256-block.c: Likewise.
19222 * crypt/sha256-crypt.c: Likewise.
19223 * crypt/sha256.c: Likewise.
19224 * crypt/sha512-block.c: Likewise.
19225 * crypt/sha512-crypt.c: Likewise.
19226 * crypt/sha512.c: Likewise.
19227 * debug/backtrace-tst.c: Likewise.
19228 * debug/pcprofiledump.c: Likewise.
19229 * elf/cache.c: Likewise.
19230 * elf/dl-cache.c: Likewise.
19231 * elf/dl-misc.c: Likewise.
19232 * elf/dl-profile.c: Likewise.
19233 * elf/dl-support.c: Likewise.
19234 * elf/ldconfig.c: Likewise.
19235 * elf/sprof.c: Likewise.
19236 * iconv/dummy-repertoire.c: Likewise.
19237 * iconv/iconv_charmap.c: Likewise.
19238 * iconv/skeleton.c: Likewise.
19239 * iconvdata/8bit-generic.c: Likewise.
19240 * iconvdata/cp737.h: Likewise.
19241 * iconvdata/cp775.h: Likewise.
19242 * iconvdata/ibm1008.h: Likewise.
19243 * iconvdata/ibm1025.h: Likewise.
19244 * iconvdata/ibm1046.h: Likewise.
19245 * iconvdata/ibm1097.h: Likewise.
19246 * iconvdata/ibm1112.h: Likewise.
19247 * iconvdata/ibm1122.h: Likewise.
19248 * iconvdata/ibm1123.h: Likewise.
19249 * iconvdata/ibm1124.h: Likewise.
19250 * iconvdata/ibm1129.h: Likewise.
19251 * iconvdata/ibm1130.h: Likewise.
19252 * iconvdata/ibm1132.h: Likewise.
19253 * iconvdata/ibm1133.h: Likewise.
19254 * iconvdata/ibm1137.h: Likewise.
19255 * iconvdata/ibm1140.h: Likewise.
19256 * iconvdata/ibm1141.h: Likewise.
19257 * iconvdata/ibm1142.h: Likewise.
19258 * iconvdata/ibm1143.h: Likewise.
19259 * iconvdata/ibm1144.h: Likewise.
19260 * iconvdata/ibm1145.h: Likewise.
19261 * iconvdata/ibm1146.h: Likewise.
19262 * iconvdata/ibm1147.h: Likewise.
19263 * iconvdata/ibm1148.h: Likewise.
19264 * iconvdata/ibm1149.h: Likewise.
19265 * iconvdata/ibm1153.h: Likewise.
19266 * iconvdata/ibm1154.h: Likewise.
19267 * iconvdata/ibm1155.h: Likewise.
19268 * iconvdata/ibm1156.h: Likewise.
19269 * iconvdata/ibm1157.h: Likewise.
19270 * iconvdata/ibm1158.h: Likewise.
19271 * iconvdata/ibm1160.h: Likewise.
19272 * iconvdata/ibm1161.h: Likewise.
19273 * iconvdata/ibm1162.h: Likewise.
19274 * iconvdata/ibm1163.h: Likewise.
19275 * iconvdata/ibm1164.h: Likewise.
19276 * iconvdata/ibm1166.h: Likewise.
19277 * iconvdata/ibm1167.h: Likewise.
19278 * iconvdata/ibm12712.h: Likewise.
19279 * iconvdata/ibm1390.h: Likewise.
19280 * iconvdata/ibm1399.h: Likewise.
19281 * iconvdata/ibm16804.h: Likewise.
19282 * iconvdata/ibm4517.h: Likewise.
19283 * iconvdata/ibm4899.h: Likewise.
19284 * iconvdata/ibm4909.h: Likewise.
19285 * iconvdata/ibm4971.h: Likewise.
19286 * iconvdata/ibm5347.h: Likewise.
19287 * iconvdata/ibm803.h: Likewise.
19288 * iconvdata/ibm856.h: Likewise.
19289 * iconvdata/ibm901.h: Likewise.
19290 * iconvdata/ibm902.h: Likewise.
19291 * iconvdata/ibm9030.h: Likewise.
19292 * iconvdata/ibm9066.h: Likewise.
19293 * iconvdata/ibm921.h: Likewise.
19294 * iconvdata/ibm922.h: Likewise.
19295 * iconvdata/ibm9448.h: Likewise.
19296 * iconvdata/isiri-3342.h: Likewise.
19297 * iconvdata/jis0201.h: Likewise.
19298 * include/link.h: Likewise.
19299 * include/netdb.h: Likewise.
19300 * inet/check_native.c: Likewise.
19301 * inet/check_pf.c: Likewise.
19302 * inet/getipv4sourcefilter.c: Likewise.
19303 * inet/getnameinfo.c: Likewise.
19304 * inet/getsourcefilter.c: Likewise.
19305 * inet/htonl.c: Likewise.
19306 * inet/setipv4sourcefilter.c: Likewise.
19307 * inet/setsourcefilter.c: Likewise.
19308 * inet/test-inet6_opt.c: Likewise.
19309 * inet/tst-network.c: Likewise.
19310 * locale/C-collate.c: Likewise.
19311 * locale/C-ctype.c: Likewise.
19312 * locale/C-time.c: Likewise.
19313 * locale/C-translit.h: Likewise.
19314 * locale/loadarchive.c: Likewise.
19315 * locale/programs/3level.h: Likewise.
19316 * locale/programs/charmap.c: Likewise.
19317 * locale/programs/charmap.h: Likewise.
19318 * locale/programs/ld-address.c: Likewise.
19319 * locale/programs/ld-collate.c: Likewise.
19320 * locale/programs/ld-ctype.c: Likewise.
19321 * locale/programs/ld-identification.c: Likewise.
19322 * locale/programs/ld-measurement.c: Likewise.
19323 * locale/programs/ld-messages.c: Likewise.
19324 * locale/programs/ld-monetary.c: Likewise.
19325 * locale/programs/ld-name.c: Likewise.
19326 * locale/programs/ld-numeric.c: Likewise.
19327 * locale/programs/ld-paper.c: Likewise.
19328 * locale/programs/ld-telephone.c: Likewise.
19329 * locale/programs/ld-time.c: Likewise.
19330 * locale/programs/linereader.c: Likewise.
19331 * locale/programs/locale.c: Likewise.
19332 * locale/programs/locarchive.c: Likewise.
19333 * locale/programs/locfile.h: Likewise.
19334 * locale/programs/repertoire.c: Likewise.
19335 * locale/programs/simple-hash.c: Likewise.
19336 * locale/programs/simple-hash.h: Likewise.
19337 * malloc/memusage.c: Likewise.
19338 * malloc/memusagestat.c: Likewise.
19339 * nis/nis_defaults.c: Likewise.
19340 * nis/nis_hash.c: Likewise.
19341 * nis/nis_print.c: Likewise.
19342 * nis/nis_xdr.c: Likewise.
19343 * nscd/connections.c: Likewise.
19344 * nscd/hstcache.c: Likewise.
19345 * nscd/nscd_gethst_r.c: Likewise.
19346 * nscd/nscd_getserv_r.c: Likewise.
19347 * nscd/nscd_helper.c: Likewise.
19348 * nscd/servicescache.c: Likewise.
19349 * nss/makedb.c: Likewise.
19350 * nss/nss_db/db-XXX.c: Likewise.
19351 * nss/nss_db/db-initgroups.c: Likewise.
19352 * nss/nss_db/db-netgrp.c: Likewise.
19353 * nss/nss_files/files-network.c: Likewise.
19354 * nss/nss_files/files-parse.c: Likewise.
19355 * posix/bug-regex5.c: Likewise.
19356 * posix/fnmatch_loop.c: Likewise.
19357 * posix/regcomp.c: Likewise.
19358 * posix/regexec.c: Likewise.
19359 * posix/tst-rfc3484-2.c: Likewise.
19360 * posix/tst-rfc3484-3.c: Likewise.
19361 * posix/tst-rfc3484.c: Likewise.
19362 * resolv/nss_dns/dns-canon.c: Likewise.
19363 * resolv/nss_dns/dns-network.c: Likewise.
19364 * resolv/res_init.c: Likewise.
19365 * resolv/res_mkquery.c: Likewise.
19366 * resolv/tst-aton.c: Likewise.
19367 * stdlib/cxa_atexit.c: Likewise.
19368 * stdlib/cxa_finalize.c: Likewise.
19369 * stdlib/gen-fpioconst.c: Likewise.
19370 * stdlib/strtol_l.c: Likewise.
19371 * string/tst-endian.c: Likewise.
19372 * sunrpc/auth_des.c: Likewise.
19373 * sunrpc/clnt_udp.c: Likewise.
19374 * sunrpc/rtime.c: Likewise.
19375 * sunrpc/svcauth_des.c: Likewise.
19376 * sunrpc/xdr.c: Likewise.
19377 * sunrpc/xdr_intXX_t.c: Likewise.
19378 * sunrpc/xdr_rec.c: Likewise.
19379 * sysdeps/generic/ldconfig.h: Likewise.
19380 * sysdeps/generic/ldsodefs.h: Likewise.
19381 * sysdeps/generic/memusage.h: Likewise.
19382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19392 * sysdeps/posix/getaddrinfo.c: Likewise.
19393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19397 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19398 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19399 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19400 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19401 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19402 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19403 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19404 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19405 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19406 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19407 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19408 * sysdeps/x86_64/dl-tls.h: Likewise.
19409 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19410 * time/alt_digit.c: Likewise.
19411 * time/era.c: Likewise.
19412 * wcsmbs/tst-c16c32-1.c: Likewise.
19414 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19416 * math/libm-test.inc (struct test_sincos_data): New type.
19417 (RUN_TEST_LOOP_sincos): New macro.
19418 (sincos_test_data): New variable.
19419 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19421 2013-05-16 Richard Henderson <rth@redhat.com>
19423 * math/atest-exp2.c (LIMB64): New macro.
19424 (CONSTSZ): New macro.
19425 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19427 (print_mpn_fp): ... to function scope.
19428 (read_mpn_hex): Remove.
19429 (get_log2): Remove.
19430 (exp2_mpn): Use mp_log2.
19431 (main): Use mp_exp1.
19433 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19435 * math/libm-test.inc: Remove comment about not testing "inexact"
19437 (INEXACT_EXCEPTION): New macro.
19438 (NO_INEXACT_EXCEPTION): Likewise.
19439 (INVALID_EXCEPTION_OK): Update value.
19440 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19441 (OVERFLOW_EXCEPTION_OK): Likewise.
19442 (UNDERFLOW_EXCEPTION_OK): Likewise.
19443 (IGNORE_ZERO_INF_SIGN): Likewise.
19444 (ERRNO_UNCHANGED): Likewise.
19445 (ERRNO_EDOM): Likewise.
19446 (ERRNO_ERANGE): Likewise.
19447 (test_exceptions): Handle testing "inexact" exceptions.
19448 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19449 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19450 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19451 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19453 (rint_towardzero_test_data): Likewise.
19454 (rint_downward_test_data): Likewise.
19455 (rint_upward_test_data): Likewise.
19457 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19458 with OVERFLOW_EXCEPTION.
19459 (exp10_test_data): Likewise.
19460 (exp2_test_data): Likewise.
19461 (expm1_test_data): Likewise.
19462 (lgamma_test_data): Likewise.
19463 (pow_test_data): Likewise.
19464 (tgamma_test_data): Likewise.
19465 (yn_test_data): Remove duplicate test of overflow.
19467 * math/libm-test.inc (struct test_cc_c_data): New type.
19468 (RUN_TEST_LOOP_cc_c): New macro.
19469 (cpow_test_data): New variable.
19470 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19472 * math/libm-test.inc (struct test_f_L_data): New type.
19473 (RUN_TEST_LOOP_f_L): New macro.
19474 (llrint_test_data): New variable.
19475 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19476 (llrint_tonearest_test_data): New variable.
19477 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19478 (llrint_towardzero_test_data): New variable.
19479 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19480 (llrint_downward_test_data): New variable.
19481 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19482 (llrint_upward_test_data): New variable.
19483 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19484 (llround_test_data): New variable.
19485 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19487 2013-05-13 Peter Collingbourne <pcc@google.com>
19489 * math/atest-exp2.c (get_log2): Remove const attribute.
19491 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19493 * math/libm-test.inc (struct test_f_l_data): New type.
19494 (RUN_TEST_LOOP_f_l): New macro.
19495 (lrint_test_data): New variable.
19496 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19497 (lrint_tonearest_test_data): New variable.
19498 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19499 (lrint_towardzero_test_data): New variable.
19500 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19501 (lrint_downward_test_data): New variable.
19502 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19503 (lrint_upward_test_data): New variable.
19504 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19505 (lround_test_data): New variable.
19506 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19508 2013-05-15 Peter Collingbourne <pcc@google.com>
19510 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19511 (EXTRACT_WORDS64) Use where appropriate.
19512 (INSERT_WORDS64) Likewise.
19514 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19515 constraints with x constraints.
19516 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19518 * malloc/obstack.c (_obstack_compat): Add initializer.
19520 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19523 si_trapno and add si_addr_lsb to _sifields.sigfault.
19524 (si_trapno): Remove macro.
19525 (si_addr_lsb): Define new macro.
19526 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19528 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19530 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19531 instead of TEST_f_l.
19532 (llrint_test_tonearest): Likewise.
19533 (llrint_test_towardzero): Likewise.
19534 (llrint_test_downward): Likewise.
19535 (llrint_test_upward): Likewise.
19536 (llround_test): Likewise.
19538 * math/libm-test.inc (struct test_f_i_data): Add comment.
19539 (RUN_TEST_LOOP_f_b): New macro.
19540 (RUN_TEST_LOOP_f_b_tg): Likewise.
19541 (finite_test_data): New variable.
19542 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19543 (isfinite_test_data): New variable.
19544 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19545 (isinf_test_data): New variable.
19546 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19547 (isnan_test_data): New variable.
19548 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19549 (isnormal_test_data): New variable.
19550 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19551 (issignaling_test_data): New variable.
19552 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19553 (signbit_test_data): New variable.
19554 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19556 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19557 with INVALID_EXCEPTION.
19558 (acosh_test_data): Likewise.
19559 (asin_test_data): Likewise.
19560 (atanh_test_data): Likewise.
19561 (fmod_test_data): Likewise.
19562 (log_test_data): Likewise.
19563 (log10_test_data): Likewise.
19564 (log2_test_data): Likewise.
19565 (pow_test_data): Likewise.
19566 (sqrt_test_data): Likewise.
19567 (y0_test_data): Likewise.
19568 (y1_test_data): Likewise.
19569 (yn_test_data): Likewise.
19571 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19574 * math/libm-test.inc (struct test_ff_i_data): New type.
19575 (RUN_TEST_LOOP_ff_i_tg): New macro.
19576 (isgreater_test_data): New variable.
19577 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19578 (isgreaterequal_test_data): New variable.
19579 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19580 (isless_test_data): New variable.
19581 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19582 (islessequal_test_data): New variable.
19583 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19584 (islessgreater_test_data): New variable.
19585 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19586 (isunordered_test_data): New variable.
19587 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19589 2013-05-14 David S. Miller <davem@davemloft.net>
19591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19593 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19595 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19597 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19599 (struct test_f_i_data): Change type of max_ulp to int.
19601 * math/libm-test.inc (test_ffI_f1_data): New type.
19602 (RUN_TEST_LOOP_ffI_f1): New macro.
19603 (remquo_test_data): New variable.
19604 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19606 * setjmp/tst-setjmp-fp.c: New file.
19607 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19608 (link-libm): New variable.
19609 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19611 * math/libm-test.inc (struct test_f_i_data): New type.
19612 (RUN_TEST_LOOP_f_i): New macro.
19613 (RUN_TEST_LOOP_f_i_tg): Likewise.
19614 (fpclassify_test_data): New variable.
19615 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19616 (ilogb_test_data): New variable.
19617 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19619 * math/libm-test.inc (scalbln_test): Correct function name in END
19622 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19623 (RUN_TEST_LOOP_fI_f1): New macro.
19624 (frexp_test_data): New variable.
19625 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19627 * math/libm-test.inc (struct test_fF_f1_data): New type.
19628 (RUN_TEST_LOOP_fF_f1): New macro.
19629 (modf_test_data): New variable.
19630 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19632 * math/libm-test.inc (struct test_f_f1_data): New type.
19633 (RUN_TEST_LOOP_f_f1): New macro.
19634 (gamma_test_data): New variable.
19635 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19636 (lgamma_test_data): New variable.
19637 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19639 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19642 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19643 (main): Comment "tls" pseudo-hwcap.
19645 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19647 * math/libm-test.inc (struct test_fl_f_data): New type.
19648 (RUN_TEST_LOOP_fl_f): New variable.
19649 (scalbln_test_data): New variable.
19650 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19652 * math/libm-test.inc (struct test_fi_f_data): New type.
19653 (RUN_TEST_LOOP_fi_f): New macro.
19654 (ldexp_test_data): New variable.
19655 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19656 (scalbn_test_data): New variable.
19657 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19659 * math/libm-test.inc (struct test_c_f_data): New type.
19660 (RUN_TEST_LOOP_c_f): New macro.
19661 (cabs_test_data): New variable.
19662 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19663 (carg_test_data): New variable.
19664 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19665 (cimag_test_data): New variable.
19666 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19667 (creal_test_data): New variable.
19668 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19670 * math/libm-test.inc (struct test_if_f_data): New type.
19671 (RUN_TEST_LOOP_if_f): New macro.
19672 (jn_test_data): New variable.
19673 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19674 (yn_test_data): New variable.
19675 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19677 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19679 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19681 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19682 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19684 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19686 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19687 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19688 (bench-deps): Add bench-timing.h.
19689 * benchtests-bench-skeleton.c: Include bench-timing.h.
19690 (main): Use TIMING_* macros instead of clock_gettime.
19691 * benchtests/bench-timing.h: New file.
19694 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19695 Renamed from _LIB_VERSION.
19696 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19698 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19700 * math/libm-test.inc (struct test_fff_f_data): New type.
19701 (RUN_TEST_LOOP_fff_f): New macro.
19702 (fma_test_data): New variable.
19703 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19704 (fma_towardzero_test_data): New variable.
19705 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19706 (fma_downward_test_data): New variable.
19707 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19708 (fma_upward_test_data): New variable.
19709 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19711 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19712 (struct test_c_c_data): New type.
19713 (RUN_TEST_LOOP_c_c): New macro.
19714 (cacos_test_data): New variable.
19715 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19716 (cacosh_test_data): New variable.
19717 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19718 (casin_test_data): New variable.
19719 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19720 (casinh_test_data): New variable.
19721 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19722 (catan_test_data): New variable.
19723 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19724 (catanh_test_data): New variable.
19725 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19726 (ccos_test_data): New variable.
19727 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19728 (ccosh_test_data): New variable.
19729 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19730 (cexp_test_data): New variable.
19731 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19732 (clog_test_data): New variable.
19733 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19734 (clog10_test_data): New variable.
19735 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19736 (conj_test_data): New variable.
19737 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19738 (cproj_test_data): New variable.
19739 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19740 (csin_test_data): New variable.
19741 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19742 (csinh_test_data): New variable.
19743 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19744 (csqrt_test_data): New variable.
19745 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19746 (ctan_test_data): New variable.
19747 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19748 (ctan_tonearest_test_data): New variable.
19749 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19750 (ctan_towardzero_test_data): New variable.
19751 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19752 (ctan_downward_test_data): New variable.
19753 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19754 (ctan_upward_test_data): New variable.
19755 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19756 (ctanh_test_data): New variable.
19757 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19758 (ctanh_tonearest_test_data): New variable.
19759 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19760 (ctanh_towardzero_test_data): New variable.
19761 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19762 (ctanh_downward_test_data): New variable.
19763 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19764 (ctanh_upward_test_data): New variable.
19765 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19766 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19769 * math/libm-test.inc (struct test_ff_f_data): New type.
19770 (struct test_ff_f_data_nexttoward): Likewise.
19771 (RUN_TEST_LOOP_2_f): New macro.
19772 (RUN_TEST_LOOP_ff_f): Likewise.
19773 (atan2_test_data): New variable.
19774 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19775 (copysign_test_data): New variable.
19776 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19777 (fdim_test_data): New variable.
19778 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19779 (fmax_test_data): New variable.
19780 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19781 (fmin_test_data): New variable.
19782 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19783 (fmod_test_data): New variable.
19784 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19785 (hypot_test_data): New variable.
19786 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19787 (nextafter_test_data): New variable.
19788 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19789 (nexttoward_test_data): New variable.
19790 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19791 (pow_test_data): New variable.
19792 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19793 (pow_tonearest_test_data): New variable.
19794 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19795 (pow_towardzero_test_data): New variable.
19796 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19797 (pow_downward_test_data): New variable.
19798 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19799 (pow_upward_test_data): New variable.
19800 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19801 (remainder_test_data): New variable.
19802 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19803 (scalb_test_data): New variable.
19804 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19805 * sysdeps/i386/fpu/libm-test-ulps: Update.
19807 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19809 * math/libm-test.inc (fma_test): Use max_value instead of local
19811 (nextafter_test): Likewise.
19813 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19814 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19815 (acos_downward_test_data): New variable.
19816 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19817 (acos_upward_test_data): New variable.
19818 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19819 (acosh_test_data): New variable.
19820 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19821 (asin_test_data): New variable.
19822 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19823 (asin_tonearest_test_data): New variable.
19824 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19825 (asin_towardzero_test_data): New variable.
19826 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19827 (asin_downward_test_data): New variable.
19828 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19829 (asin_upward_test_data): New variable.
19830 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19831 (asinh_test_data): New variable.
19832 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19833 (atan_test_data): New variable.
19834 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19835 (atanh_test_data): New variable.
19836 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19837 (cbrt_test_data): New variable.
19838 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19839 (ceil_test_data): New variable.
19840 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19841 (cos_test_data): New variable.
19842 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19843 (cos_tonearest_test_data): New variable.
19844 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19845 (cos_towardzero_test_data): New variable.
19846 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19847 (cos_downward_test_data): New variable.
19848 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19849 (cos_upward_test_data): New variable.
19850 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19851 (cosh_test_data): New variable.
19852 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19853 (cosh_tonearest_test_data): New variable.
19854 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19855 (cosh_towardzero_test_data): New variable.
19856 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19857 (cosh_downward_test_data): New variable.
19858 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19859 (cosh_upward_test_data): New variable.
19860 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19861 (erf_test_data): New variable.
19862 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19863 (erfc_test_data): New variable.
19864 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19865 (exp_test_data): New variable.
19866 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19867 (exp_tonearest_test_data): New variable.
19868 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19869 (exp_towardzero_test_data): New variable.
19870 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19871 (exp_downward_test_data): New variable.
19872 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19873 (exp_upward_test_data): New variable.
19874 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19875 (exp10_test_data): New variable.
19876 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19877 (exp2_test_data): New variable.
19878 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19879 (expm1_test_data): New variable.
19880 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19881 (fabs_test_data): New variable.
19882 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19883 (floor_test_data): New variable.
19884 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19885 (j0_test_data): New variable.
19886 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19887 (j1_test_data): New variable.
19888 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19889 (log_test_data): New variable.
19890 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19891 (log10_test_data): New variable.
19892 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19893 (log1p_test_data): New variable.
19894 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19895 (log2_test_data): New variable.
19896 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19897 (logb_test_data): New variable.
19898 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19899 (logb_downward_test_data): New variable.
19900 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19901 (nearbyint_test_data): New variable.
19902 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19903 (rint_test_data): New variable.
19904 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19905 (rint_tonearest_test_data): New variable.
19906 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19907 (rint_towardzero_test_data): New variable.
19908 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19909 (rint_downward_test_data): New variable.
19910 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19911 (rint_upward_test_data): New variable.
19912 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19913 (round_test_data): New variable.
19914 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19915 (sin_test_data): New variable.
19916 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19917 (sin_tonearest_test_data): New variable.
19918 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19919 (sin_towardzero_test_data): New variable.
19920 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19921 (sin_downward_test_data): New variable.
19922 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19923 (sin_upward_test_data): New variable.
19924 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19925 (sinh_test_data): New variable.
19926 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19927 (sinh_tonearest_test_data): New variable.
19928 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19929 (sinh_towardzero_test_data): New variable.
19930 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19931 (sinh_downward_test_data): New variable.
19932 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19933 (sinh_upward_test_data): New variable.
19934 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19935 (sqrt_test_data): New variable.
19936 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19937 (tan_test_data): New variable.
19938 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19939 (tan_tonearest_test_data): New variable.
19940 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19941 (tan_towardzero_test_data): New variable.
19942 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19943 (tan_downward_test_data): New variable.
19944 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19945 (tan_upward_test_data): New variable.
19946 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19947 (tanh_test_data): New variable.
19948 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19949 (tgamma_test_data): New variable.
19950 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19951 (trunc_test_data): New variable.
19952 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19953 (y0_test_data): New variable.
19954 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19955 (y1_test_data): New variable.
19956 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19957 (significand_test_data): New variable.
19958 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19960 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19963 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19965 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19967 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19969 2013-05-10 Andreas Jaeger <aj@suse.de>
19972 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19973 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19975 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19977 * math/gen-libm-test.pl (adjust_arg): New function.
19978 (special_functions): Handle generating output in both functions
19980 (parse_args): Likewise.
19981 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19982 $in_func argument to parse_args.
19983 * math/libm-test.inc (struct test_f_f_data): New type.
19984 (IF_ROUND_INIT_): New macro.
19985 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19986 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19987 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19988 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19989 (ROUND_RESTORE_): Likewise.
19990 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19991 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19992 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19993 (ROUND_RESTORE_FE_UPWARD): Likewise.
19994 (RUN_TEST_LOOP_f_f): New macro.
19995 (acos_test_data): New variable.
19996 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19997 (acos_tonearest_test_data): New variable.
19998 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20000 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20002 * benchtests/bench-skeleton.c (startup): Fix coding style.
20004 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20007 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20008 negative infinity argument.
20009 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20010 negative infinity argument.
20011 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20012 negative infinity argument.
20013 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20016 2013-05-10 Florian Weimer <fweimer@redhat.com>
20018 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20019 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20020 * iconv/iconv_prog.c (main): Likewise.
20021 * locale/programs/charmap-dir.c (charmap_readdir)
20022 (fopen_uncompressed): Likewise.
20023 * locale/programs/locfile.c (siblings_uncached)
20024 (write_locale_data): Use lstat64 instead of lstat.
20025 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20028 2013-05-10 Andreas Jaeger <aj@suse.de>
20031 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20033 Include <locale.h>.
20035 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20037 * elf/dl-close.c (_dl_close_worker): Add comments.
20039 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20042 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20044 (__ieee754_rem_pio2l): Update comments.
20047 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20049 (__ieee754_rem_pio2l): Update comments.
20051 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20052 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20054 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20057 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20058 (M_PI_34_LOG10El): Likewise.
20059 (M_PI2_LOG10El): Likewise.
20060 (M_PI4_LOG10El): Likewise.
20061 (M_PI_LOG10El): Likewise.
20063 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20067 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20069 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20070 (MINUS_ZERO_INIT): Likewise.
20071 (PLUS_INFTY_INIT): Likewise.
20072 (MINUS_INFTY_INIT): Likewise.
20073 (QNAN_VALUE_INIT): Likewise.
20074 (MAX_VALUE_INIT): Likewise.
20075 (MIN_VALUE_INIT): Likewise.
20076 (MIN_SUBNORM_VALUE_INIT): Likewise.
20077 (plus_zero): Initialize with PLUS_ZERO_INIT.
20078 (minus_zero): Initialize with MINUS_ZERO_INIT.
20079 (plus_infty): Initialize with PLUS_INFTY_INIT.
20080 (minus_infty): Initialize with MINUS_INFTY_INIT.
20081 (qnan_value): Initialize with QNAN_VALUE_INIT.
20082 (max_value): Initialize with MAX_VALUE_INIT.
20083 (min_value): Initialize with MIN_VALUE_INIT.
20084 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20086 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20087 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20088 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20089 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20091 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20092 (RUN_TEST_2_f): Likewise.
20093 (RUN_TEST_ff_f): Likewise.
20094 (RUN_TEST_fi_f): Likewise.
20095 (RUN_TEST_fl_f): Likewise.
20096 (RUN_TEST_fff_f): Likewise.
20097 (RUN_TEST_c_f): Likewise.
20098 (RUN_TEST_f_f1): Likewise.
20099 (RUN_TEST_fF_f1): Likewise.
20100 (RUN_TEST_fI_f1): Likewise.
20101 (RUN_TEST_ffI_f1): Likewise.
20102 (RUN_TEST_c_c): Likewise.
20103 (RUN_TEST_cc_c): Likewise.
20104 (RUN_TEST_f_i): Likewise.
20105 (RUN_TEST_f_i_tg): Likewise.
20106 (RUN_TEST_ff_i_tg): Likewise.
20107 (RUN_TEST_f_b): Likewise.
20108 (RUN_TEST_f_b_tg): Likewise.
20109 (RUN_TEST_f_l): Likewise.
20110 (RUN_TEST_f_L): Likewise.
20111 (RUN_TEST_sincos): Likewise.
20112 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20113 whether to show exceptions. Do not include ");\n" in return
20115 (special_functions): Output call to RUN_TEST_sincos instead of
20116 check_float calls. Update calls to new_test.
20117 (parse_args): Output call to single RUN_TEST_* macro instead of
20118 check_* calls and other assignments. Update calls to new_test.
20124 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20125 input to result for tgamma overflow.
20126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20127 (gamma_coeff): New variable.
20128 (NCOEFF): New macro.
20129 (gamma_positive): New function.
20130 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20131 underflow here. Use gamma_positive instead of exp (lgamma) for
20133 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20134 (gamma_coeff): New variable.
20135 (NCOEFF): New macro.
20136 (gammaf_positive): New function.
20137 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20138 underflow here. Use gamma_positive instead of exp (lgamma) for
20140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20141 (gamma_coeff): New variable.
20142 (NCOEFF): New macro.
20143 (gammal_positive): New function.
20144 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20145 underflow here. Use gamma_positive instead of exp (lgamma) for
20147 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20148 (gamma_coeff): New variable.
20149 (NCOEFF): New macro.
20150 (gammal_positive): New function.
20151 (__ieee754_gammal_r): Handle positive infinity, overflow and
20152 underflow here. Handle NaN the same as positive infinity. Remove
20153 check x < 0xffffffff for negative integers. Use gamma_positive
20154 instead of exp (lgamma) for other arguments.
20155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20156 (gamma_coeff): New variable.
20157 (NCOEFF): New macro.
20158 (gammal_positive): New function.
20159 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20160 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20164 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20165 * sysdeps/generic/math_private.h (__gamma_productf): New
20167 (__gamma_product): Likewise.
20168 (__gamma_productl): Likewise.
20169 * math/Makefile (libm-calls): Add gamma_product.
20170 * math/libm-test.inc (tgamma_test): Add more tests.
20171 * sysdeps/i386/fpu/libm-test-ulps: Update.
20172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20174 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20176 * benchtests/bench-skeleton.c (main): Preheat CPU.
20178 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20180 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20182 2013-05-07 Roland McGrath <roland@hack.frob.com>
20184 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20185 and _dl_skip_args_internal.
20187 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20189 * manual/message.texi (Message Translation): Talk about users.
20190 Message to key mapping impacts design.
20192 2013-05-06 Roland McGrath <roland@hack.frob.com>
20194 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20196 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20198 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20199 * sysdeps/wordsize-64/glob64.c: ... here.
20201 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20202 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20205 * debug/getlogin_r_chk.c: Moved to ...
20206 * login/getlogin_r_chk.c: ... here.
20207 * debug/Makefile (routines): Move getlogin_r_chk to ...
20208 * login/Makefile (routines): ... here.
20209 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20210 * login/Versions (libc: GLIBC_2.4): ... here.
20212 * io/poll.c (__poll): Renamed from poll.
20213 Add libc_hidden_def.
20214 (poll): Define as weak alias.
20216 * debug/ptsname_r_chk.c: Moved to ...
20217 * login/ptsname_r_chk.c: ... here.
20218 * debug/Makefile (routines): Move ptsname_r_chk to ...
20219 * login/Makefile (routines): ... here.
20220 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20221 * login/Versions (libc: GLIBC_2.4): ... here.
20223 * posix/getlogin.c: Moved to ...
20224 * login/getlogin.c: ... here.
20225 * posix/getlogin_r.c: Moved to ...
20226 * login/getlogin_r.c: ... here.
20227 * posix/getlogin_r.c: Moved to ...
20228 * login/getlogin_r.c: ... here.
20229 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20230 * login/Makefile (routines): ... here.
20231 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20232 * login/Versions (libc: GLIBC_2.0): ... here.
20234 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20235 (setrlimit): Define as weak alias.
20237 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20238 Call __ names for open, ftruncate, and close.
20239 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20240 (truncate): Define as weak alias.
20242 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20244 * math/gen-libm-test.pl (parse_args): Initialize x before each
20245 test of frexp, modf and remquo.
20247 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20248 test signgam value.
20250 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20254 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20258 2013-05-06 Roland McGrath <roland@hack.frob.com>
20260 * elf/dl-writev.h: New file.
20261 * elf/dl-misc.c: Include it.
20262 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20263 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20265 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20267 * math/libm-test.inc (noXFails): Remove variable.
20268 (noXPasses): Likewise.
20269 (BUILD_COMPLEX_INT): Remove macro.
20270 (print_screen): Remove xfail argument.
20271 (print_screen_max_error): Likewise.
20272 (update_stats): Likewise.
20273 (print_max_error): Likewise. Update calls to other affected
20275 (print_complex_max_error): Likewise.
20276 (test_single_exception): Update calls to print_screen.
20277 (test_single_errno): Likewise.
20278 (check_float_internal): Remove xfail argument. Update calls to
20279 other affected functions.
20280 (check_float): Likewise.
20281 (check_complex): Likewise.
20282 (check_int): Likewise.
20283 (check_long): Likewise.
20284 (check_bool): Likewise.
20285 (check_longlong): Likewise.
20286 (main): Don't print noXFails and noXPasses.
20287 * math/gen-libm-test.pl (top level): Don't mention expected
20288 failure handling in comment.
20289 (new_test): Don't handle expected failures.
20290 (parse_args): Don't mention expected failure handling in comment.
20291 (generate_testfile): Don't handle expected failures.
20292 (parse_ulps): Likewise.
20293 (print_ulps_file): Likewise.
20294 (get_failure): Remove function.
20295 (output_test): Don't handle expected failures.
20296 * make/README.libm-test: Don't mention expected failure handling.
20298 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20299 (minus_zero): Likewise.
20300 (plus_infty): Likewise.
20301 (minus_infty): Likewise.
20302 (qnan_value): Likewise.
20303 (max_value): Likewise.
20304 (min_value): Likewise.
20305 (min_subnorm_value): Likewise.
20306 (initialize): Do not initialize those variables dynamically.
20308 2013-05-03 Roland McGrath <roland@hack.frob.com>
20310 * io/open.c (__open_2): Moved to ...
20311 * io/open_2.c: ... this new file.
20312 * io/open64.c (__open64_2): Moved to ...
20313 * io/open64_2.c: ... this new file.
20314 * io/openat.c (__openat_2): Moved to ...
20315 * io/openat_2.c: ... this new file.
20316 * io/openat64.c (__openat64_2): Moved to ...
20317 * io/openat64_2.c: ... this new file.
20318 * io/Makefile (routines): Add them.
20319 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20320 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20321 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20322 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20323 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20324 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20325 (__openat64): Add hidden_ver.
20326 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20327 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20329 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20330 Separately conditionalize setting of GLRO(dl_sysinfo) so
20331 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20332 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20334 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20336 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20337 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20339 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20340 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20341 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20342 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20343 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20345 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20347 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20348 test signgam value.
20350 * math/libm-test.inc (hypot_test): Do not use
20351 IGNORE_ZERO_INF_SIGN.
20353 2013-05-03 Andreas Jaeger <aj@suse.de>
20355 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20357 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20358 (PF_MAX): Adjust for VSOCK change.
20360 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20364 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20367 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20368 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20369 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20371 2013-05-02 David S. Miller <davem@davemloft.net>
20373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20375 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20377 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20379 2013-05-01 Roland McGrath <roland@hack.frob.com>
20381 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20383 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20386 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20387 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20388 Use __attribute__ ((__gnu_inline__)).
20389 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20390 Don't use __attribute__ ((__gnu_inline__)).
20392 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20395 * math/s_catan.c (__catan): Handle small real or imaginary part of
20396 input specially to avoid spurious underflow.
20397 * math/s_catanf.c (__catanf): Likewise.
20398 * math/s_catanh.c (__catanh): Likewise.
20399 * math/s_catanhf.c (__catanhf): Likewise.
20400 * math/s_catanhl.c (__catanhl): Likewise.
20401 * math/s_catanl.c (__catanl): Likewise.
20402 * math/libm-test.inc (catan_test): Add more tests.
20403 (catanh_test): Likewise.
20404 * sysdeps/i386/fpu/libm-test-ulps: Update.
20405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20407 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20411 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20414 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20415 accurately for denominator in atan2.
20416 * math/s_catanf.c (__catanf): Likewise.
20417 * math/s_catanh.c (__catanh): Likewise.
20418 * math/s_catanhf.c (__catanhf): Likewise.
20419 * math/s_catanhl.c (__catanhl): Likewise.
20420 * math/s_catanl.c (__catanl): Likewise.
20421 * math/libm-test.inc (catan_test): Add more tests.
20422 (catanh_test): Likewise.
20423 * sysdeps/i386/fpu/libm-test-ulps: Update.
20424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20426 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20428 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20430 * benchtests/Makefile (bench): Remove slow benchmarks.
20431 * benchtests/atan-inputs: Add slow benchmark inputs.
20432 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20433 (BENCH_FUNC): Accept variant offset.
20435 * benchtests/bench-skeleton.c (main): Run benchmark for each
20437 * benchtests/cos-inputs: Add slow benchmark inputs.
20438 * benchtests/exp-inputs: Likewise.
20439 * benchtests/pow-inputs: Likewise.
20440 * benchtests/sin-inputs: Likewise.
20441 * benchtests/slowatan-inputs: Remove.
20442 * benchtests/slowatan.c: Remove.
20443 * benchtests/slowcos-inputs: Remove.
20444 * benchtests/slowcos.c: Remove.
20445 * benchtests/slowexp-inputs: Remove.
20446 * benchtests/slowexp.c: Remove.
20447 * benchtests/slowpow-inputs: Remove.
20448 * benchtests/slowpow.c: Remove.
20449 * benchtests/slowsin-inputs: Remove.
20450 * benchtests/slowsin.c: Remove.
20451 * benchtests/slowtan-inputs: Remove.
20452 * benchtests/slowtan.c: Remove.
20453 * benchtests/tan-inputs: Add slow benchmark inputs.
20454 * scripts/bench.pl: Parse comments and directives.
20456 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20458 ($(objpfx)bench-%.c): Remove *-ITER.
20459 * benchtests/bench-modf.c: Remove definition of ITER.
20460 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20461 (main): Loop for DURATION seconds instead of fixed number of
20463 * scripts/bench.pl: Don't expect iterations in parameters.
20465 2013-04-29 Roland McGrath <roland@hack.frob.com>
20467 * io/fchdir.c (__fchdir): Renamed from fchdir.
20468 (fchdir): Define as weak alias.
20470 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20472 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20473 (ERRNO_EDOM): Likewise.
20474 (ERRNO_ERANGE): Likewise.
20475 (noErrnoTests): New variable.
20476 (init_max_error): Set errno to 0.
20477 (test_single_errno): New function.
20478 (test_errno): Likewise.
20479 (check_float_internal): Call test_errno. Set errno to 0.
20480 (check_complex): Refer to errno tests in comment.
20481 (check_int): Call test_errno. Set errno to 0.
20482 (check_long): Likewise.
20483 (check_bool): Likewise.
20484 (check_longlong): Likewise.
20485 (cos_test): Use ERRNO_* flags for errno tests instead of
20487 (expm1_test): Likewise.
20488 (fmod_test): Likewise.
20489 (ilogb_test): Likewise.
20490 (lgamma_test): Likewise.
20491 (pow_test): Likewise.
20492 (remainder_test): Likewise.
20493 (sin_test): Likewise.
20494 (tan_test): Likewise.
20495 (yn_test): Likewise.
20496 (initialize): Set errno to 0.
20497 (main): Print number of errno tests.
20498 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20500 2013-04-29 Andreas Jaeger <aj@suse.de>
20503 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20507 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20508 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20512 * stdlib/random.c (__initstate): Return NULL if
20516 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20517 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20520 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20524 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20526 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20527 of individual tests.
20528 (casin_test): Likewise.
20529 (casinh_test): Likewise.
20531 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20534 * math/s_catan.c (__catan): Handle arguments with large real or
20535 imaginary part separately without squaring.
20536 * math/s_catanf.c (__catanf): Likewise.
20537 * math/s_catanh.c (__catanh): Likewise.
20538 * math/s_catanhf.c (__catanhf): Likewise.
20539 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20541 (__catanhl): Handle arguments with large real or imaginary part
20542 separately without squaring.
20543 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20545 (__catanl): Handle arguments with large real or imaginary part
20546 separately without squaring.
20547 * math/libm-test.inc (catan_test): Add more tests.
20548 (catanh_test): Likewise.
20549 * sysdeps/i386/fpu/libm-test-ulps: Update.
20550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20552 2013-04-27 Andreas Jaeger <aj@suse.de>
20555 * stdlib/stdlib.h: Update guards for qecvt.
20556 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20559 2013-04-27 Allan McRae <allan@archlinux.org>
20561 * sysdeps/i386/fpu/libm-test-ulps: Update.
20563 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20566 * math/s_catan.c: Include <float.h>.
20567 (__catan): Ensure underflow exception occurs for underflowed
20569 * math/s_catanf.c: Include <float.h>.
20570 (__catanf): Ensure underflow exception occurs for underflowed
20572 * math/s_catanh.c: Include <float.h>.
20573 (__catanh): Ensure underflow exception occurs for underflowed
20575 * math/s_catanhf.c: Include <float.h>.
20576 (__catanhf): Ensure underflow exception occurs for underflowed
20578 * math/s_catanhl.c: Include <float.h>.
20579 (__catanhl): Ensure underflow exception occurs for underflowed
20581 * math/s_catanl.c: Include <float.h>.
20582 (__catanl): Ensure underflow exception occurs for underflowed
20584 * math/libm-test.inc (catan_test): Add more tests.
20585 (catanh_test): Likewise.
20588 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20589 underflowed result.
20590 * math/s_ccoshf.c (__ccoshf): Likewise.
20591 * math/s_ccoshl.c (__ccoshl): Likewise.
20592 * math/s_csin.c (__csin): Likewise.
20593 * math/s_csinf.c (__csinf): Likewise.
20594 * math/s_csinh.c (__csinh): Likewise.
20595 * math/s_csinhf.c (__csinhf): Likewise.
20596 * math/s_csinhl.c (__csinhl): Likewise.
20597 * math/s_csinl.c (__csinl): Likewise.
20598 * math/libm-test.inc (ccos_test): Add more tests.
20599 (ccosh_test): Likewise.
20600 (csin_test): Likewise.
20601 (csinh_test): Likewise.
20603 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20605 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20606 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20607 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20608 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20609 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20610 powerpc/power5+/fpu folders.
20611 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20614 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20618 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20620 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20621 additions to variable.
20622 [$(config-machine) = x86_64] (modules-names): Likewise.
20623 ($(objpfx)tst-audit3): Remove dependency.
20624 ($(objpfx)tst-audit3.out): Likewise.
20625 ($(objpfx)tst-audit4): Likewise.
20626 ($(objpfx)tst-audit4.out): Likewise.
20627 ($(objpfx)tst-audit5): Likewise.
20628 ($(objpfx)tst-audit5.out): Likewise.
20629 ($(objpfx)tst-audit6): Likewise.
20630 ($(objpfx)tst-audit6.out): Likewise.
20631 ($(objpfx)tst-audit7): Likewise.
20632 ($(objpfx)tst-audit7.out): Likewise.
20633 (tst-audit3-ENV): Remove variable.
20634 (tst-audit4-ENV): Likewise.
20635 (tst-audit5-ENV): Likewise.
20636 (tst-audit6-ENV): Likewise.
20637 (tst-audit7-ENV): Likewise.
20638 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20639 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20640 addition to variable.
20641 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20646 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20647 tst-audit3, tst-audit4 and tst-audit5.
20648 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20649 tst-audit6 and tst-audit7.
20650 [$(subdir) = elf] (modules-names): Add audit modules for those
20652 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20653 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20654 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20655 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20656 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20657 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20658 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20659 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20660 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20661 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20662 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20663 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20664 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20665 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20666 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20667 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20669 [$(subdir) = elf && $(config-cflags-avx) = yes]
20670 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20671 [$(subdir) = elf && $(config-cflags-avx) = yes]
20672 (CFLAGS-tst-auditmod4a.c): Likewise.
20673 [$(subdir) = elf && $(config-cflags-avx) = yes]
20674 (CFLAGS-tst-auditmod4b.c): Likewise.
20675 [$(subdir) = elf && $(config-cflags-avx) = yes]
20676 (CFLAGS-tst-auditmod6b.c): Likewise.
20677 [$(subdir) = elf && $(config-cflags-avx) = yes]
20678 (CFLAGS-tst-auditmod6c.c): Likewise.
20679 [$(subdir) = elf && $(config-cflags-avx) = yes]
20680 (CFLAGS-tst-auditmod7b.c): Likewise.
20681 * elf/tst-audit3.c: Move to ...
20682 * sysdeps/x86_64/tst-audit3.c: ... here.
20683 * elf/tst-audit4.c: Move to ...
20684 * sysdeps/x86_64/tst-audit4.c: ... here.
20685 * elf/tst-audit5.c: Move to ...
20686 * sysdeps/x86_64/tst-audit5.c: ... here.
20687 * elf/tst-audit6.c: Move to ...
20688 * sysdeps/x86_64/tst-audit6.c: ... here.
20689 * elf/tst-audit7.c: Move to ...
20690 * sysdeps/x86_64/tst-audit7.c: ... here.
20691 * elf/tst-auditmod3a.c: Move to ...
20692 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20693 * elf/tst-auditmod3b.c: Move to ...
20694 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20695 * elf/tst-auditmod4a.c: Move to ...
20696 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20697 * elf/tst-auditmod4b.c: Move to ...
20698 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20699 * elf/tst-auditmod5a.c: Move to ...
20700 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20701 * elf/tst-auditmod5b.c: Move to ...
20702 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20703 * elf/tst-auditmod6a.c: Move to ...
20704 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20705 * elf/tst-auditmod6b.c: Move to ...
20706 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20707 * elf/tst-auditmod6c.c: Move to ...
20708 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20709 * elf/tst-auditmod7a.c: Move to ...
20710 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20711 * elf/tst-auditmod7b.c: Move to ...
20712 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20714 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20717 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20718 define unconditionally.
20719 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20720 define unconditionally.
20721 (INT8_C, INT16_C, etc.): Likewise.
20723 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20725 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20726 __ehdr_start with hidden visibility.
20728 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20730 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20732 * math/libm-test.inc (cos_test): Use accurate hex constants.
20733 (sincost_test): Likewise.
20735 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20737 * math/libm-test.inc (catan_test): Add more tests.
20738 (catanh_test): Likewise.
20740 * math/s_catanf.c (__catanf): Use suffixed floating-point
20742 * math/s_catanhf.c (__catanhf): Likewise.
20743 * math/s_catanhl.c (__catanhl): Likewise.
20744 * math/s_catanl.c (__catanl): Likewise.
20747 * math/s_catan.c (__catan): Calculate imaginary part of result
20748 with log1p not log unless computing log of number close to 0.
20749 * math/s_catanf.c (__catanf): Likewise.
20750 * math/s_catanl.c (__catanl): Likewise.
20751 * math/s_catanh.c (__catanh): Calculate real part of result with
20752 log1p not log unless computing log of number close to 0.
20753 * math/s_catanhf.c (__catanhf): Likewise.
20754 * math/s_catanhl.c (__catanhl): Likewise.
20755 * math/libm-test.inc (catan_test): Add more tests.
20756 (catanh_test): Likewise.
20757 * sysdeps/i386/fpu/libm-test-ulps: Update.
20758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20762 * benchtests/Makefile: Mention files in which fast and slow
20763 paths of math functions are implemented.
20765 2013-04-23 Roland McGrath <roland@hack.frob.com>
20767 * sysdeps/posix/timespec_get.c: New file.
20769 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20771 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20773 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20775 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20776 powerpc/power5/fpu folders.
20777 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20778 * benchtests/Makefile: Add modf testcase.
20779 * benchtests/bench-modf.c: New file: Benchmark test for mo
20781 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20784 * time/Makefile (tests): Add tst-strptime-whitespace.
20785 * time/strptime_l.c (get_number): Use ISSPACE.
20786 (__strptime_internal): Likewise.
20787 * time/tst-strptime-whitespace.c: New test case.
20789 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20791 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20793 (_nss_files_init): Set it here.
20795 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20797 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20798 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20801 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20803 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20805 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20810 2013-04-21 David S. Miller <davem@davemloft.net>
20812 * po/ru.po: Update Russion translation from translation project.
20814 2013-04-17 Adam Conrad <adconrad@0c3.net>
20816 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20819 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20821 * configure.in: Remove i386 configure warning. Remove i386 case.
20822 * configure: Regenerate.
20823 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20824 Add example to error message.
20825 * sysdeps/i386/configure: Regenerate.
20827 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20829 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20831 * benchtests/cos-inputs: New file.
20832 * benchtests/slowcos-inputs: New file.
20833 * benchtests/slowcos.c: New file.
20834 * benchtests/slowtan-inputs: New file.
20835 * benchtests/slowtan.c: New file.
20836 * benchtests/tan-inputs: New file.
20838 2013-04-16 Roland McGrath <roland@hack.frob.com>
20840 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20843 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20845 * benchtests/Makefile: Include cppflags-iterator.mk to add
20846 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20848 * Makefile.in (bench-clean): New target.
20849 * benchtests/Makefile (bench-clean): Likewise.
20851 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20853 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20855 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20857 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20859 2013-04-15 Andreas Schwab <schwab@suse.de>
20861 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20863 * nscd/pwdcache.c (cache_addpw): Likewise.
20864 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20867 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20869 * benchtests/Makefile (bench): Write all output to
20870 bench-out.tmp together.
20872 2013-04-15 Andreas Schwab <schwab@suse.de>
20874 * nscd/nscd.c (main): Don't fork again after closing files.
20876 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20878 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20880 * benchtests/Rules (bench-deps): Collect dependencies into a
20881 single variable. Add Makefile to dependencies.
20882 ($(objpfx)bench-%.c): Depend on bench-deps.
20884 2013-04-12 Roland McGrath <roland@hack.frob.com>
20885 Xavier Roche <roche+kml2@exalead.com>
20888 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20889 just that it's a file descriptor.
20890 * manual/llio.texi (Synchronizing AIO Operations): Update description
20891 for EBADF error from aio_fsync.
20893 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20895 * Rules (bench): Move target definition...
20896 * benchtests/Makefile: ... here.
20898 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20900 * math/libm-test.inc (cos_test): Fix PI/2 test.
20901 (sincos_test): Likewise.
20902 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20903 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20905 2013-04-11 Andreas Schwab <schwab@suse.de>
20908 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20909 accept exponent character only when digits were seen.
20910 * stdio-common/Makefile (tests): Add bug26.
20911 * stdio-common/bug26.c: New file.
20914 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20917 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20919 * Makeconfig (rtld-prefix): Define built linker prefix.
20920 * Rules (run-bench): Use it.
20921 * math/Makefile (run-regen-ulps): Likewise.
20923 * Rules (bench): Remove eval.
20925 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20926 Roland McGrath <roland@hack.frob.com>
20927 Ondrej Bilka <neleai@seznam.cz>
20930 * time/getdate.c: Include ctype.h and alloca.h.
20931 (__getdate_r): Trim leading and trailing spaces of input.
20932 * time/tst-getdate.c (tests): Add tests with leading and
20935 2013-04-08 Roland McGrath <roland@hack.frob.com>
20938 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20939 when computing value.
20941 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20943 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20944 Use testrun.sh to run libm tests.
20947 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20949 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20952 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20954 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20956 * Makefile.in (regen-ulps): New target.
20957 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20958 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20959 [ifneq (no,$(PERL)] (regen-ulps): New target.
20960 [ifeq (no,$(PERL)] (regen-ulps): New target.
20961 * math/libm-test.inc (ulps_file_name): Define.
20962 (output_dir): New variable.
20963 (options): Add "output-dir" option.
20964 (parse_opt): Handle 'o' case.
20965 (main): If output_dir is non-NULL use it as a prefix
20967 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20969 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20971 [BZ #10060, #10062]
20972 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20973 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20974 fail configure if __sync_val_compare_and_swap is not inlined.
20975 * sysdeps/i386/configure: Regenerate.
20976 * configure.in: Build for i686 when configured for i386.
20977 * configure: Regenerate.
20978 * README: Remove i386 reference.
20980 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20982 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20985 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20987 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20988 (lmsnanval): New variables.
20989 (F): Add conversion tests.
20990 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20991 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20993 * stdio-common/tstdiomisc.c (F): Properly collect individual
20996 [BZ #14686, #15336]
20997 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20998 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20999 Instead, use input NaN values or generate a qNaN by arithmetic
21000 operation. Also fix bugs to comply with the standard.
21001 * math/libm-test.inc (remainder_test): Add more tests.
21003 [BZ #15335, #15342]
21004 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21006 input NaN values or generate a qNaN by arithmetic operation.
21008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21011 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21014 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21017 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21018 underflowed result.
21019 * math/s_cexpf.c (__cexpf): Likewise.
21020 * math/s_cexpl.c (__cexpl): Likewise.
21021 * math/libm-test.inc (cexp_test): Add more tests.
21023 2013-04-03 Andreas Schwab <schwab@suse.de>
21026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21027 order arrays from heap if bigger than alloca cutoff.
21029 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21031 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21032 (SNAN_TESTS_double): Refer to GCC PR56831.
21033 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21036 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21038 * Rules (bench): Move bench.out after the run is complete.
21040 * Rules (bench): Echo currently running benchmark.
21042 * benchtests/Makefile (bench): Add atan and slowatan.
21043 * benchtests/atan-inputs: New file.
21044 * benchtests/slowatan-inputs: New file.
21045 * benchtests/slowatan.c: New file.
21047 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21052 * sysdeps/unix/sysv/linux/kernel-features.h
21053 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21054 __ASSUME_XFS_RESTRICTED_CHOWN.
21055 * sysdeps/unix/sysv/linux/pathconf.c
21056 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21057 Save and restore errno.
21059 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21062 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21063 arguments using __kernel_casinh.
21064 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21065 arguments using __kernel_casinhf.
21066 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21067 arguments using __kernel_casinhl.
21068 * math/libm-test.inc (cacosh_test): Add more tests.
21069 * sysdeps/i386/fpu/libm-test-ulps: Update.
21070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21072 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21074 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21077 * bench/Makefile (bench): Add sin and slowsin.
21078 * benchtests/sin-inputs: New file.
21079 * benchtests/slowsin-inputs: New file.
21080 * benchtests/slowsin.c: New file.
21082 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21083 (bench): Add slowexp and slowpow.
21084 (exp-ITER): Increase iterations.
21085 (pow-ITER): Likewise.
21086 * benchtests/exp-inputs: Change input.
21087 * benchtests/pow-inputs: Likewise.
21088 * benchtests/slowexp-inputs: New file.
21089 * benchtests/slowexp.c: New file.
21090 * benchtests/slowpow-inputs: New file.
21091 * benchtests/slowpow.c: New file.
21093 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21095 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21097 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21098 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21099 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21100 * benchtests/Makefile: Add rint benchtest.
21101 * benchtests/rint-inputs: Input for rint benchtest.
21103 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21105 * Versions.def (libm): Add GLIBC_2.18.
21106 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21107 hidden libm prototypes.
21108 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21109 * math/Makefile (libm-calls): Add s_issignaling.
21110 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21111 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21112 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21114 * math/math.h [__USE_GNU] (issignaling): New macro.
21115 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21116 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21121 * manual/arith.texi (issignaling): New section.
21122 * manual/libm-err-tab.pl (@all_functions): Update comment.
21123 * math/gen-libm-test.pl (parse_args): Apply special handling for
21125 * math/libm-test.inc (print_float, issignaling_test): New
21127 (check_float_internal): Add issignaling checks.
21128 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21129 default definition.
21130 * sysdeps/powerpc/math-tests.h: New file.
21131 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21133 * math/test-snan.c (TEST_FUNC): Likewise.
21135 2013-03-30 David S. Miller <davem@davemloft.net>
21137 * po/de.po: Update from translation team.
21139 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21142 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21143 imaginary part less than 1.0 and real part less than 0.5
21145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21147 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21148 (cacos_test): Add more tests.
21149 (casin_test): Likewise.
21150 (casinh_test): Likewise.
21151 * sysdeps/i386/fpu/libm-test-ulps: Update.
21152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21154 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21156 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21157 ONE with its value.
21159 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21160 (__pow_mp): Replace ONE and MONE with their values.
21161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21164 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21168 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21170 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21171 (__pow_mp): Replace ZERO and MZERO with their values.
21172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21174 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21176 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21177 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21180 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21182 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21184 2013-03-28 Roland McGrath <roland@hack.frob.com>
21186 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21187 Declare with __attribute__ ((weak)).
21188 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21189 Call __call_tls_dtors only if it's not NULL.
21191 2013-03-28 Roland McGrath <roland@hack.frob.com>
21193 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21194 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21195 magic __ehdr_start linker symbol if it's defined.
21196 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21197 them up here if it was already done.
21199 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21200 (_dl_aux_init): Use const in cast when setting it.
21201 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21202 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21203 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21205 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21207 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21208 * csu/libc-tls.c: Nor here.
21209 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21211 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21212 (__libc_message): Never call vsyslog.
21214 2013-03-28 Alan Modra <amodra@gmail.com>
21216 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21218 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21221 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21228 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21231 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21232 Don't add gid passed as argument.
21234 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21236 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21239 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21240 imaginary part between 1.0 and 1.5 and real part less than 0.5
21242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21244 * math/libm-test.inc (cacos_test): Add more tests.
21245 (casin_test): Likewise.
21246 (casinh_test): Likewise.
21247 * sysdeps/i386/fpu/libm-test-ulps: Update.
21248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21250 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21252 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21255 (denorm): Likewise.
21256 (__dbl_mp): Likewise.
21257 (add_magnitudes): Likewise.
21258 (sub_magnitudes): Likewise.
21266 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21268 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21269 (__dubcos): Likewise.
21270 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21271 (__ieee754_acos): Likewise.
21272 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21274 (__exp1): Likewise.
21275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21278 (my_log2): Likewise.
21279 (checkint): Likewise.
21280 * sysdeps/ieee754/dbl-64/e_remainder.c
21281 (__ieee754_remainder): Likewise.
21282 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21284 (bsloww): Likewise.
21285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21287 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21288 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21289 MANTISSA_STORE_T to store computations on mantissa. Use
21290 macros for rounding and division.
21291 (denorm): Likewise.
21292 (__dbl_mp): Likewise.
21293 (add_magnitudes): Likewise.
21294 (sub_magnitudes): Likewise.
21297 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21298 powers of two in terms of TWOPOW macro.
21299 (mp_no): Make type of mantissa as MANTISSA_T.
21300 [!RADIXI]: Define RADIXI.
21301 [!TWO52]: Define TWO52.
21302 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21304 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21306 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21307 llroundl symbol when building for PPC32.
21309 2013-03-24 Mark H Weaver <mhw@netris.org>
21311 * manual/arith.texi (Normalization Functions): Fix prototypes for
21312 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21314 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21318 high value to check if expl overflow.
21319 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21320 to check for underflow and overflow.
21321 * math/libm-test.inc: Add exp test.
21323 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21326 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21329 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21331 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21334 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21336 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21337 wrap blocks consisting of several statements.
21339 * sysdeps/generic/math-tests.h: New file.
21340 * sysdeps/i386/fpu/math-tests.h: Likewise.
21341 * math/test-snan.c: Include it.
21342 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21344 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21347 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21348 (__ieee754_j0l): Do not improve calculations using cos of twice
21349 input for inputs above LDBL_MAX / 2.0L.
21350 (__ieee754_y0l): Likewise.
21351 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21352 (__ieee754_j1l): Do not improve calculations using cos of twice
21353 input for inputs above LDBL_MAX / 2.0L.
21354 (__ieee754_y1l): Likewise.
21355 * math/libm-test.inc (j0_test): Add another test.
21356 (j1_test): Likewise.
21357 (y0_test): Likewise.
21358 (y1_test): Likewise.
21359 * sysdeps/i386/fpu/libm-test-ulps: Update.
21361 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21363 * Rules ($(objpfx)bench-%.c): Include code from a C source
21366 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21369 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21370 imaginary part 1.0 and real part less than 0.5 specially.
21371 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21372 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21373 * math/libm-test.inc (cacos_test): Add more tests.
21374 (casin_test): Likewise.
21375 (casinh_test): Likewise.
21376 * sysdeps/i386/fpu/libm-test-ulps: Update.
21377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21381 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21382 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21384 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21386 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21387 * config.make.in (config-cflags-sse4): Remove variable.
21388 (config-cflags-avx): Likewise.
21389 (config-cflags-sse2avx): Likewise.
21390 (config-cflags-novzeroupper): Likewise.
21391 (config-asflags-i686): Likewise.
21392 (have-mfma4): Likewise.
21393 (have-as-vis3): Likewise.
21395 * configure.in (MIG): Do not AC_SUBST.
21396 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21397 (libc_cv_cc_sse4): Do not AC_SUBST.
21398 (libc_cv_cc_avx): Likewise.
21399 (libc_cv_cc_sse2avx): Likewise.
21400 (libc_cv_cc_novzeroupper): Likewise.
21401 (libc_cv_cc_fma4): Likewise.
21402 (libc_cv_as_i686): Likewise.
21403 (libc_cv_sparc_as_vis3): Likewise.
21404 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21406 (config-asflags-i686): Likewise.
21407 (config-cflags-avx): Likewise.
21408 (config-cflags-sse2avx): Likewise.
21409 (have-mfma4): Likewise.
21410 (config-cflags-novzeroupper): Likewise.
21411 * sysdeps/mach/configure.in (MIG): Likewise.
21412 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21413 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21415 (config-cflags-avx): Likewise.
21416 (config-cflags-sse2avx): Likewise.
21417 (have-mfma4): Likewise.
21418 (config-cflags-novzeroupper): Likewise.
21419 * configure: Regenerated.
21420 * sysdeps/i386/configure: Likewise.
21421 * sysdeps/mach/configure: Likewise.
21422 * sysdeps/sparc/configure: Likewise.
21423 * sysdeps/x86_64/configure: Likewise.
21425 2013-03-20 Roland McGrath <roland@hack.frob.com>
21428 * locale/programs/localedef.c (options): Put N_ translation marker
21429 on argument names, not just descriptions.
21431 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21433 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21435 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21438 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21440 2013-03-19 Roland McGrath <roland@hack.frob.com>
21442 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21443 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21444 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21445 [!BEFORE_ABORT] (before_abort): New function.
21446 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21447 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21448 (writev_for_fatal): New function.
21449 (WRITEV_FOR_FATAL): New macro; call that.
21450 (backtrace_and_maps): New function.
21451 (BEFORE_ABORT): New macro; call that.
21452 (struct str_list): Type removed.
21453 (__libc_message, __libc_fatal): Functions removed.
21454 Include <sysdeps/posix/libc_fatal.c> instead.
21456 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21458 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21460 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21463 2013-03-19 Andreas Schwab <schwab@suse.de>
21465 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21466 * sysdeps/gnu/configure: Regenerate.
21468 * configure.in: Substitute libc_cv_rtlddir.
21469 * configure: Regenerate.
21470 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21471 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21472 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21473 * elf/Makefile (install-others, CFLAGS-interp.c)
21474 (ldso_install, common-ldd-rewrite): Likewise.
21475 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21476 $(inst_slibdir)/$(rtld-installed-name).
21477 * scripts/rellns-sh: Add -p option.
21478 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21481 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21483 * manual/nptl.texi: Renamed to ...
21484 * manual/threads.texi: ... this.
21485 * manual/Makefile (chapters): Update.
21487 2013-03-18 Roland McGrath <roland@hack.frob.com>
21490 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21491 on argument names, not just descriptions.
21492 * malloc/memusagestat.c (options): Likewise.
21493 * nss/getent.c (options): Likewise.
21495 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21498 * iconv/iconv_prog.c (options): Put N_ translation marker
21499 on argument names, not just descriptions.
21500 * iconv/iconvconfig.c (options): Likewise.
21502 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21504 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21505 implementation which is faster on all x86_64 architectures.
21506 Tested on AMD, Intel Nehalem, SNB, IVB.
21507 * sysdeps/x86_64/strnlen.S: Likewise.
21509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21510 Remove all multiarch strlen and strnlen versions.
21511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21512 Remove strlen and strnlen related parts.
21514 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21515 Inline strlen part.
21516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21518 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21519 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21520 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21521 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21522 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21523 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21525 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21527 * manual/memory.texi (Malloc Tunable Parameters):
21528 Sort parameters alphabetically. Add comments for missing entries.
21530 2013-03-17 David S. Miller <davem@davemloft.net>
21532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21534 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21537 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21538 for arguments at most half maximum finite value.
21539 * math/libm-test.inc (j0_test): Add more tests.
21540 (j1_test): Likewise.
21541 (y0_test): Likewise.
21542 (y1_test): Likewise.
21543 * sysdeps/i386/fpu/libm-test-ulps: Update.
21544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21547 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21548 1 / x and functions P and Q for arguments above 0x1p256L.
21549 (__ieee754_y0l): Likewise.
21550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21551 (__ieee754_y1l): Likewise.
21552 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21553 (j1_test): Likewise.
21554 (y0_test): Likewise.
21555 (y1_test): Likewise.
21557 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21559 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21562 2013-03-15 Roland McGrath <roland@hack.frob.com>
21564 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21565 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21566 zero since it's initialized to EXEC_PAGESIZE.
21568 * sysdeps/unix/sysv/linux/ldsodefs.h
21569 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21570 * sysdeps/generic/ldsodefs.h: ... here.
21572 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21574 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21576 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21578 * math/test-snan.c: Renamed from
21579 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21580 * math/Makefile (tests): Add test-snan.
21581 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21584 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21585 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21587 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21588 __builtin_nan family of functions.
21589 * math/libm-test.inc (initialize): Initialize qnan_value with
21590 __builtin_nan family of functions.
21591 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21593 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21595 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21596 storage class. Initialize qNaN_var and sNaN_var with
21597 __builtin_nan and __builtin_nans families of functions,
21600 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21601 (sqrt_test): Remove duplicate test with qNaN input.
21602 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21603 (round_test, signbit_test, significand_test): Note missing +/-Inf
21604 as well as qNaN tests.
21606 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21607 qNaN_var. Fix a few strings, too.
21608 * math/libm-test.inc (nan_value): Rename to qnan_value.
21609 * math/gen-libm-test.pl (%beautify): Adjust to that.
21610 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21611 * math/test-misc.c (main): Likewise.
21612 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21613 to __qnan_bytes, and __qnan_union, respectively.
21614 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21616 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21617 and lqnanval, respectively.
21618 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21619 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21620 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21621 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21623 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21624 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21627 * math/test-misc.c (main): Fix copy'n'pastos.
21628 * misc/tst-efgcvt.c (special): Likewise.
21630 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21631 Remove declarations.
21633 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21635 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21636 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21637 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21638 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21640 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21643 macro to return vdso values correctly in IFUNC implementations.
21644 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21645 Optimization by using IFUNC.
21647 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21648 Richard Henderson <rth@redhat.com>
21649 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21651 * Makefile.in (bench): New target.
21652 * NEWS: Mention the benchmark framework.
21653 * Rules (bench): Likewise.
21654 (binaries-bench): Generate binaries for functions to
21656 * benchtests/Makefile: New makefile for benchmark tests.
21657 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21659 * benchtests/exp-inputs: New input file for EXP function.
21660 * benchtests/pow-inputs: New input file for POW function.
21661 * scripts/bench.pl: New script to generate source files for
21662 benchmark programs.
21664 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21666 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21668 computations on mantissa. Use macros for rounding and
21670 (denorm): Likewise.
21671 (__dbl_mp): Likewise.
21672 (add_magnitudes): Likewise.
21673 (sub_magnitudes): Likewise.
21676 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21677 powers of two in terms of TWOPOW macro.
21678 (mp_no): Make type of mantissa as MANTISSA_T.
21679 [!RADIXI]: Define RADIXI.
21680 [!TWO52]: Define TWO52.
21681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21683 * manual/nptl.texi (cindex): Modify threads to pthreads.
21685 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21687 * sysdeps/x86_64/preconfigure: Regenerated.
21689 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21692 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21694 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21695 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21697 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21698 * math/libm-test.inc (j0_test): Do not allow one spurious
21699 underflow exception.
21700 (y1_test): Likewise.
21702 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21704 * manual/Makefile (chapters): Add nptl.
21705 * manual/debug.texi (Debugging Support): Add link to Threads
21707 * manual/nptl.texi: New file.
21709 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21711 2013-03-14 Petr Baudis <pasky@ucw.cz>
21713 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21714 for non-NULL pointer before the memory validity test. Pointed
21715 out by Holger Brunck <holger.brunck@keymile.com>.
21717 2013-03-13 Andreas Schwab <schwab@suse.de>
21719 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21722 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21724 * timezone/zic.c: Update from tzcode 2013b.
21726 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21728 * manual/install.texi (Configuring and compiling):
21729 Mention i686 and i586.
21730 * INSTALL: Regenerate.
21732 2013-03-12 Roland McGrath <roland@hack.frob.com>
21734 * sysdeps/init_array/elf-init.c: New file.
21736 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21737 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21739 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21740 __gmon_start__ as global, but as static with a .preinit_array pointer.
21741 * sysdeps/init_array/gmon-start.c: New file. Use that.
21742 * sysdeps/init_array/crti.S: New file, empty except for comments.
21743 * sysdeps/init_array/crtn.S: Likewise.
21745 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21747 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21750 Remove Prefer_SSE_for_memop.
21751 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21752 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21753 HAS_PREFER_SSE_FOR_MEMOP.
21754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21757 Remove bzero, memset ifunc support.
21758 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21760 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21763 2013-03-11 Andreas Schwab <schwab@suse.de>
21766 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21769 (GLIBC_2.16): Remove pthread_atfork.
21771 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21773 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21774 (ptestcases.h): Likewise.
21776 2013-03-08 Roland McGrath <roland@hack.frob.com>
21778 * Makeconfig ($(common-objpfx)config.status): Depend on
21779 sysdeps/*/preconfigure{,.in} too.
21781 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21783 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21784 (__free_hook): Use void * instead of __malloc_ptr_t.
21785 (__malloc_hook): Likewise.
21786 (__realloc_hook): Likewise.
21787 (__memalign_hook): Likewise.
21788 (__after_morecore_hook): Likewise.
21789 * malloc/arena.c (save_malloc_hook): Likewise.
21790 (save_free_hook): Likewise.
21791 * malloc/hooks.c (malloc_hook_ini): Likewise.
21792 (realloc_hook_ini): Likewise.
21793 (memalign_hook_ini): Likewise.
21794 * malloc/malloc.c (malloc_hook_ini): Likewise.
21795 (realloc_hook_ini): Likewise.
21796 (memalign_hook_ini): Likewise.
21797 (__free_hook): Likewise.
21798 (__malloc_hook): Likewise.
21799 (__realloc_hook): Likewise.
21800 (__memalign_hook): Likewise.
21801 (__libc_malloc): Likewise.
21802 (__libc_free): Likewise.
21803 (__libc_realloc): Likewise.
21804 (__libc_memalign): Likewise.
21805 (__libc_valloc): Likewise.
21806 (__libc_pvalloc): Likewise.
21807 (__libc_calloc): Likewise.
21808 (__posix_memalign): Likewise.
21809 * malloc/morecore.c (__sbrk): Likewise.
21810 (__default_morecore): Likewise.
21812 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21814 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21815 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21816 __malloc_ptrdiff_t.
21818 * malloc/malloc.h (__malloc_size_t): Remove macro.
21819 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21821 (old_memalign_hook): Likewise.
21822 (old_realloc_hook): Likewise.
21823 (struct hdr): Likewise.
21825 (mallochook): Likewise.
21826 (memalignhook): Likewise.
21827 (reallochook): Likewise.
21828 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21829 (tr_old_realloc_hook): Likewise.
21830 (tr_old_memalign_hook): Likewise.
21831 (tr_mallochook): Likewise.
21832 (tr_reallochook): Likewise.
21833 (tr_memalignhook): Likewise.
21835 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21838 default_ldbl_pack and using as default implementation.
21839 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21841 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21842 redundant definition.
21843 (ldbl_insert_mantissa): Likewise.
21844 (ldbl_canonicalize): Likewise.
21845 (ldbl_nearbyint): Likewise.
21846 (ldbl_pack): Rename to ldbl_pack_ppc.
21847 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21848 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21849 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21851 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21854 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21855 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21856 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21858 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21859 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21860 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21862 2013-03-07 Andreas Jaeger <aj@suse.de>
21864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21867 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21869 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21870 Include mpa.h and declare __MPEXP.
21871 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21873 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21876 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21879 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21880 (__slowpow): Use long double EXPL and LOGL functions to
21882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21883 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21886 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21890 intermediate variable to calculate exponent.
21892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21896 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21897 [!NO__SQR]: Define __sqr.
21898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21899 and NO__SQR. Remove all code except __mul and __sqr. Include
21900 sysdeps/ieee754/dbl-64/mpa.c.
21901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21904 * posix/Makefile (tests): Add tst-pathconf.
21905 * posix/tst-pathconf.c: New test case.
21906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21908 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21910 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21912 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21914 2013-03-06 Andreas Jaeger <aj@suse.de>
21916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21917 definition via __MAP_ANONYMOUS.
21919 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21920 it's not part of Linux headers.
21922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21923 (MAP_HUGE_MASK): Define.
21925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21931 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21933 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21938 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21939 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21940 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21941 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21942 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21943 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21949 Handle f2fs and efivarfs.
21951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21954 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21955 (EFIVARFS_MAGIC): Add.
21956 (F2FS_LINK_MAX): Add.
21958 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21960 * stdio-common/vfprintf.c: Replace __builtin_expect with
21963 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21966 * sysdeps/generic/bp-sym.h: Remove file.
21967 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21968 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21969 <bp-sym.h> and <bp-asm.h>.
21970 (__longjmp): Don't use BP_SYM.
21971 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21973 (memcpy): Don't use BP_SYM.
21974 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21975 <bp-sym.h> and <bp-asm.h>.
21976 (memcpy): Don't use BP_SYM.
21977 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21979 (memcpy): Don't use BP_SYM.
21980 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21982 (memset): Don't use BP_SYM.
21983 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21984 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21985 (__bzero): Don't use BP_SYM.
21986 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21987 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21989 <bp-sym.h> and <bp-asm.h>.
21990 (memcmp): Don't use BP_SYM. Remove comment about bounded
21992 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21993 <bp-sym.h> and <bp-asm.h>.
21994 (memcpy): Don't use BP_SYM.
21995 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21996 <bp-sym.h> and <bp-asm.h>.
21997 (memset): Don't use BP_SYM.
21998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22000 (__bzero): Don't use BP_SYM.
22001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22003 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22004 <bp-sym.h> and <bp-asm.h>.
22005 (strncmp): Don't use BP_SYM. Remove comment about bounded
22007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22008 <bp-sym.h> and <bp-asm.h>.
22009 (memcpy): Don't use BP_SYM.
22010 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22011 <bp-sym.h> and <bp-asm.h>.
22012 (memset): Don't use BP_SYM.
22013 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22014 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22015 (__bzero): Don't use BP_SYM.
22016 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22017 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22019 <bp-sym.h> and <bp-asm.h>.
22020 (__memchr): Don't use BP_SYM.
22021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22022 <bp-sym.h> and <bp-asm.h>.
22023 (memcmp): Don't use BP_SYM. Remove comment about bounded
22025 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22026 <bp-sym.h> and <bp-asm.h>.
22027 (memcpy): Don't use BP_SYM.
22028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22029 <bp-sym.h> and <bp-asm.h>.
22030 (__mempcpy): Don't use BP_SYM.
22031 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22032 <bp-sym.h> and <bp-asm.h>.
22033 (__memrchr): Don't use BP_SYM.
22034 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22035 <bp-sym.h> and <bp-asm.h>.
22036 (memset): Don't use BP_SYM.
22037 (__bzero): Likewise.
22038 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22039 <bp-sym.h> and <bp-asm.h>.
22040 (__rawmemchr): Don't use BP_SYM.
22041 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22042 <bp-sym.h> and <bp-asm.h>.
22043 (__STRCMP): Don't use BP_SYM.
22044 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22045 <bp-sym.h> and <bp-asm.h>.
22046 (strchr): Don't use BP_SYM.
22047 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22048 <bp-sym.h> and <bp-asm.h>.
22049 (__strchrnul): Don't use BP_SYM.
22050 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22051 <bp-sym.h> and <bp-asm.h>.
22052 (strlen): Don't use BP_SYM.
22053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22054 <bp-sym.h> and <bp-asm.h>.
22055 (strncmp): Don't use BP_SYM. Remove comment about bounded
22057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22058 <bp-sym.h> and <bp-asm.h>.
22059 (__strnlen): Don't use BP_SYM.
22060 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22061 <bp-sym.h> and <bp-asm.h>.
22062 (__GI__setjmp): Don't use BP_SYM.
22063 (_setjmp): Likewise.
22064 (__sigsetjmp): Likewise.
22065 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22066 (L(start_addresses)): Don't use BP_SYM.
22067 (_start): Likewise.
22068 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22070 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22071 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22072 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22073 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22074 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22076 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22077 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22078 about bounded pointers.
22079 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22080 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22081 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22083 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22084 about bounded pointers. Remove GKM FIXME comments.
22085 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22086 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22088 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22089 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22090 Remove GKM FIXME comments.
22091 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22092 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22093 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22095 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22096 about bounded pointers. Remove GKM FIXME comment.
22097 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22099 (strncmp): Don't use BP_SYM. Remove comment about bounded
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22102 <bp-sym.h> and <bp-asm.h>.
22103 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22105 <bp-sym.h> and <bp-asm.h>.
22106 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22109 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22111 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22114 2013-03-05 David S. Miller <davem@davemloft.net>
22116 * po/es.po: Update from translation team.
22118 2013-03-05 Andreas Jaeger <aj@suse.de>
22120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22121 <bits/mman-linux.h>.
22122 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22125 <bits/mman-linux.h> to end of file.
22126 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22128 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22129 <bits/mman-linux.h> to end of file.
22130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22133 <bits/mman-linux.h> to end of file.
22135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22136 (MCL_CURRENT, MCL_FUTURE): Define here.
22138 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22145 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22147 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22148 fourth parameter needed for rt_sigprocmask syscall.
22149 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22150 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22151 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22152 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22153 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22154 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22156 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22159 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22160 comment about bounded pointers.
22161 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22162 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22164 2013-03-04 Andreas Jaeger <aj@suse.de>
22166 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22167 common definitions.
22169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22170 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22172 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22176 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22180 __ieee754_sqrl instead of __sqrl.
22182 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22184 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22185 * sysdeps/powerpc/fpu_control.h: ... here.
22186 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22187 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22188 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22189 * sysdeps/powerpc/bits/mathinline.h: ... here.
22191 2013-03-01 Roland McGrath <roland@hack.frob.com>
22193 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22194 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22195 to just [NEED_DL_SYSINFO_DSO].
22196 * elf/dl-support.c: Likewise.
22197 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22198 * elf/rtld.c (dl_main): Likewise.
22199 * elf/setup-vdso.h (setup_vdso): Likewise.
22200 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22201 * sysdeps/unix/sysv/linux/dl-sysdep.c
22202 (_dl_discover_osversion): Likewise.
22204 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22206 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22207 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22209 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22211 * NEWS: Mention libm performance improvements and non-x86 PI
22214 * csu/libc-start.c (__pthread_initialize_minimal): Change
22215 function arguments.
22216 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22218 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22221 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22223 <bp-sym.h> and <bp-asm.h>.
22224 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22227 (memcpy): Don't use BP_SYM.
22228 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22230 (__mpn_add_n): Don't use BP_SYM.
22231 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22232 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22234 (__mpn_addmul_1): Don't use BP_SYM.
22235 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22236 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22238 (_setjmp): Don't use BP_SYM.
22239 (__novmx_setjmp): Likewise.
22240 (__GI__setjmp): Likewise.
22241 (__vmx_setjmp): Likewise.
22242 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22244 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22245 (__bzero): Don't use BP_SYM.
22246 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22247 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22248 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22249 <bp-sym.h> and <bp-asm.h>.
22250 (memcpy): Don't use BP_SYM.
22251 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22252 <bp-sym.h> and <bp-asm.h>.
22253 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22254 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22255 <bp-sym.h> and <bp-asm.h>.
22256 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22257 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22259 (__mpn_lshift): Don't use BP_SYM.
22260 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22261 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22263 (memset): Don't use BP_SYM.
22264 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22265 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22266 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22268 (__mpn_mul_1): Don't use BP_SYM.
22269 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22271 <bp-sym.h> and <bp-asm.h>.
22272 (memcmp): Don't use BP_SYM.
22273 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22274 <bp-sym.h> and <bp-asm.h>.
22275 (memcpy): Don't use BP_SYM.
22276 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22277 <bp-sym.h> and <bp-asm.h>.
22278 (memset): Don't use BP_SYM.
22279 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22280 <bp-sym.h> and <bp-asm.h>.
22281 (strncmp): Don't use BP_SYM.
22282 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22283 <bp-sym.h> and <bp-asm.h>.
22284 (memcpy): Don't use BP_SYM.
22285 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22286 <bp-sym.h> and <bp-asm.h>.
22287 (memset): Don't use BP_SYM.
22288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22289 <bp-sym.h> and <bp-asm.h>.
22290 (__memchr): Don't use BP_SYM.
22291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22292 <bp-sym.h> and <bp-asm.h>.
22293 (memcmp): Don't use BP_SYM.
22294 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22295 <bp-sym.h> and <bp-asm.h>.
22296 (memcpy): Don't use BP_SYM.
22297 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22298 <bp-sym.h> and <bp-asm.h>.
22299 (__mempcpy): Don't use BP_SYM.
22300 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22301 <bp-sym.h> and <bp-asm.h>.
22302 (__memrchr): Don't use BP_SYM.
22303 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22304 <bp-sym.h> and <bp-asm.h>.
22305 (memset): Don't use BP_SYM.
22306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22307 <bp-sym.h> and <bp-asm.h>.
22308 (__rawmemchr): Don't use BP_SYM.
22309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22310 <bp-sym.h> and <bp-asm.h>.
22311 (__STRCMP): Don't use BP_SYM.
22312 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22313 <bp-sym.h> and <bp-asm.h>.
22314 (strchr): Don't use BP_SYM.
22315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22316 <bp-sym.h> and <bp-asm.h>.
22317 (__strchrnul): Don't use BP_SYM.
22318 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22319 <bp-sym.h> and <bp-asm.h>.
22320 (strlen): Don't use BP_SYM.
22321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22322 <bp-sym.h> and <bp-asm.h>.
22323 (strncmp): Don't use BP_SYM.
22324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22325 <bp-sym.h> and <bp-asm.h>.
22326 (__strnlen): Don't use BP_SYM.
22327 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22329 (__mpn_rshift): Don't use BP_SYM.
22330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22331 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22332 <bp-sym.h> and <bp-asm.h>.
22333 (__sigsetjmp): Don't use BP_SYM.
22334 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22335 (L(start_addresses)): Don't use BP_SYM.
22336 (_start): Likewise.
22337 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22339 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22340 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22341 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22342 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22344 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22345 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22346 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22347 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22349 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22352 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22354 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22356 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22357 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22358 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22360 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22362 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22364 (strncmp): Don't use BP_SYM,
22365 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22367 (__mpn_sub_n): Don't use BP_SYM.
22368 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22369 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22371 (__mpn_submul_1): Don't use BP_SYM.
22372 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22374 <bp-sym.h> and <bp-asm.h>.
22375 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22377 <bp-sym.h> and <bp-asm.h>.
22378 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22381 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22384 Use ZK to minimize writes to Z.
22385 (sub_magnitudes): Simplify code a bit.
22386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22387 Use ZK to minimize writes to Z.
22388 (sub_magnitudes): Simplify code a bit.
22390 2013-02-27 Roland McGrath <roland@hack.frob.com>
22392 * csu/gmon-start.c: Add special exception to license text.
22394 2013-02-27 Richard Henderson <rth@redhat.com>
22396 * scripts/config.guess: Update from config.git.
22397 * scripts/config.sub: Likewise.
22399 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22403 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22405 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22407 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22409 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22411 2013-02-26 Roland McGrath <roland@hack.frob.com>
22413 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22414 [$(build-shared = yes].
22416 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22418 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22419 (__mul): Reduce iterations for calculating mantissa.
22421 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22423 (__mpranred): Likewise.
22426 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22427 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22429 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22431 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22432 Define __attribute__.
22434 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22436 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22438 * posix/regex_internal.h (__attribute): Remove.
22439 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22440 (re_string_context_at): Likewise.
22441 (bitset_not): Use __attribute__ and mark function as possibly
22443 (bitset_merge): Likewise.
22444 (bitset_mask): Likewise.
22445 (re_string_char_size_at): Likewise.
22446 (re_string_wchar_at): Likewise.
22447 (re_string_elem_size_at): Likewise.
22449 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22451 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22455 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22459 (denorm): Likewise.
22460 (__dbl_mp): Likewise.
22461 (add_magnitudes): Likewise.
22462 (sub_magnitudes): Likewise.
22466 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22469 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22472 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22476 up changes with default code.
22477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22480 2013-02-24 Allan McRae <allan@archlinux.org>
22482 * manual/socket.texi (The Internet Namespace): Order menu items
22483 to match that in the file.
22485 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22486 node listing of the info page menu.
22488 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22491 * sysdeps/i386/bp-asm.h: Remove file.
22492 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22493 (PARMS): Do not use macros from bp-asm.h.
22497 (__mpn_add_n): Do not use BP_SYM
22498 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22500 (PARMS): Do not use macros from bp-asm.h.
22503 (__mpn_addmul_1): Do not use BP_SYM
22504 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22506 (PARMS): Do not use macros from bp-asm.h.
22507 (SIGMSK): Likewise.
22508 (_setjmp): Likewise. Do not use BP_SYM.
22509 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22511 (PARMS): Do not use macros from bp-asm.h.
22512 (SIGMSK): Likewise.
22513 (setjmp): Likewise. Do not use BP_SYM.
22514 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22516 (PARMS): Do not use macros from bp-asm.h.
22517 (__frexp): Do not use BP_SYM.
22519 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22521 (PARMS): Do not use macros from bp-asm.h.
22522 (__frexpf): Do not use BP_SYM.
22523 (frexpf): Likewise.
22524 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22526 (PARMS): Do not use macros from bp-asm.h.
22527 (__frexpl): Do not use BP_SYM.
22528 (frexpl): Likewise.
22529 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22531 (PARMS): Do not use macros from bp-asm.h.
22532 (__remquo): Do not use BP_SYM.
22533 (remquo): Likewise.
22534 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22536 (PARMS): Do not use macros from bp-asm.h.
22537 (__remquof): Do not use BP_SYM.
22538 (remquof): Likewise.
22539 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22541 (PARMS): Do not use macros from bp-asm.h.
22542 (__remquol): Do not use BP_SYM.
22543 (remquol): Likewise.
22544 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22546 (PARMS): Do not use macros from bp-asm.h.
22549 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22550 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22552 (PARMS): Do not use macros from bp-asm.h.
22553 (strlen): Do not use BP_SYM.
22554 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22556 (PARMS): Do not use macros from bp-asm.h.
22560 (__mpn_add_n): Do not use BP_SYM.
22561 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22563 (PARMS): Do not use macros from bp-asm.h.
22566 (__mpn_addmul_1): Do not use BP_SYM.
22567 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22570 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22572 (PARMS): Do not use macros from bp-asm.h.
22575 (__mpn_lshift): Do not use BP_SYM.
22576 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22578 (PARMS): Do not use macros from bp-asm.h.
22582 (memcpy): Likewise. Do not use BP_SYM.
22583 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22584 libc_hidden_def and weak_alias.
22585 (mempcpy): Do not use BP_SYM in weak_alias.
22586 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22588 (PARMS): Do not use macros from bp-asm.h.
22591 [!BZERO_P] (CHR): Likewise.
22592 (memset): Likewise. Do not use BP_SYM.
22593 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22595 (PARMS): Do not use macros from bp-asm.h.
22598 (__mpn_mul_1): Do not use BP_SYM.
22599 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22601 (PARMS): Do not use macros from bp-asm.h.
22604 (__mpn_rshift): Do not use BP_SYM.
22605 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22607 (PARMS): Do not use macros from bp-asm.h.
22610 (strchr): Likewise. Do not use BP_SYM.
22611 (index): Do not use BP_SYM in weak_alias.
22612 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22614 (PARMS): Do not use macros from bp-asm.h.
22617 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22618 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22620 (PARMS): Do not use macros from bp-asm.h.
22621 (strlen): Do not use BP_SYM.
22622 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22624 (PARMS): Do not use macros from bp-asm.h.
22628 (__mpn_sub_n): Do not use BP_SYM.
22629 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22631 (PARMS): Do not use macros from bp-asm.h.
22634 (__mpn_submul_1): Do not use BP_SYM.
22635 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22637 (PARMS): Do not use macros from bp-asm.h.
22641 (__mpn_add_n): Do not use BP_SYM.
22642 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22645 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22647 (PARMS): Do not use macros from bp-asm.h.
22650 (memcmp): Do not use BP_SYM.
22651 (bcmp): Do not use BP_SYM in weak_alias.
22652 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22654 (PARMS): Do not use macros from bp-asm.h.
22658 (memcpy): Likewise. Do not use BP_SYM.
22659 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22661 (PARMS): Do not use macros from bp-asm.h.
22665 (memmove): Likewise. Do not use BP_SYM.
22666 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22668 (PARMS): Do not use macros from bp-asm.h.
22672 (__mempcpy): Likewise. Do not use BP_SYM.
22673 (mempcpy): Do not use BP_SYM in weak_alias.
22674 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22676 (PARMS): Do not use macros from bp-asm.h.
22679 [!BZERO_P] (CHR): Likewise.
22680 (memset): Likewise. Do not use BP_SYM.
22681 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22683 (PARMS): Do not use macros from bp-asm.h.
22685 (strcmp): Do not use BP_SYM.
22686 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22688 (PARMS): Do not use macros from bp-asm.h.
22691 [USE_AS_STRTOK_R] (SAVE): Likewise.
22692 (FUNCTION): Likewise. Do not use BP_SYM.
22693 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22695 (strtok_r): Likewise.
22696 (__GI___strtok_r): Likewise.
22697 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22698 (PARMS): Do not use macros from bp-asm.h.
22701 (__mpn_lshift): Do not use BP_SYM.
22702 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22703 (PARMS): Do not use macros from bp-asm.h.
22706 (__memchr): Do not use BP_SYM.
22707 (memchr): Do not use BP_SYM in weak_alias.
22708 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22709 (PARMS): Do not use macros from bp-asm.h.
22712 (memcmp): Do not use BP_SYM.
22713 (bcmp): Do not use BP_SYM in weak_alias.
22714 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22715 (PARMS): Do not use macros from bp-asm.h.
22718 (__mpn_mul_1): Do not use BP_SYM.
22719 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22721 (PARMS): Do not use macros from bp-asm.h.
22724 (__rawmemchr): Do not use BP_SYM.
22725 (rawmemchr): Do not use BP_SYM in weak_alias.
22726 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22727 (PARMS): Do not use macros from bp-asm.h.
22730 (__mpn_rshift): Do not use BP_SYM.
22731 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22732 (PARMS): Do not use macros from bp-asm.h.
22733 (SIGMSK): Likewise.
22734 (__sigsetjmp): Likewise. Do not use BP_SYM.
22735 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22736 (_start): Do not use BP_SYM.
22737 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22738 (PARMS): Do not use macros from bp-asm.h.
22741 (__stpcpy): Likewise. Do not use BP_SYM.
22742 (stpcpy): Do not use BP_SYM in weak_alias.
22743 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22745 (PARMS): Do not use macros from bp-asm.h.
22749 (__stpncpy): Likewise. Do not use BP_SYM.
22750 (stpncpy): Do not use BP_SYM in weak_alias.
22751 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22752 (PARMS): Do not use macros from bp-asm.h.
22755 (strchr): Likewise. Do not use BP_SYM.
22756 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22758 (PARMS): Do not use macros from bp-asm.h.
22761 (__strchrnul): Likewise. Do not use BP_SYM.
22762 (strchrnul): Do not use BP_SYM in weak_alias.
22763 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22765 (PARMS): Do not use macros from bp-asm.h.
22767 (strcspn): Do not use BP_SYM.
22768 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22770 (PARMS): Do not use macros from bp-asm.h.
22773 (strpbrk): Likewise. Do not use BP_SYM.
22774 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22776 (PARMS): Do not use macros from bp-asm.h.
22779 (strrchr): Likewise. Do not use BP_SYM.
22780 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22781 (PARMS): Do not use macros from bp-asm.h.
22783 (strspn): Do not use BP_SYM.
22784 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22785 (PARMS): Do not use macros from bp-asm.h.
22789 (FUNCTION): Likewise. Do not use BP_SYM.
22790 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22792 (strtok_r): Likewise.
22793 (__GI___strtok_r): Likewise.
22794 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22795 (PARMS): Do not use macros from bp-asm.h.
22799 (__mpn_sub_n): Do not use BP_SYM.
22800 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22802 (PARMS): Do not use macros from bp-asm.h.
22805 (__mpn_submul_1): Do not use BP_SYM.
22806 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22808 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22810 (PARMS): Do not use macros from bp-asm.h.
22815 (__clone): Do not use BP_SYM.
22816 (clone): Do not use BP_SYM in weak_alias.
22817 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22819 (PARMS): Do not use macros from bp-asm.h.
22821 (__mmap64): Do not use BP_SYM.
22822 (mmap64): Do not use BP_SYM in weak_alias.
22823 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22824 <bp-sym.h> and <bp-asm.h>.
22825 (PARMS): Do not use macros from bp-asm.h.
22826 (__posix_fadvise64_l64): Do not use BP_SYM.
22827 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22828 (PARMS): Do not use macros from bp-asm.h.
22830 (semtimedop): Do not use BP_SYM.
22831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22834 2013-02-21 Allan McRae <allan@archlinux.org>
22836 * manual/message.texi (Charset conversion in gettext):
22837 Move @end statement to beginning of line.
22839 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22847 (denorm): Likewise.
22848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22851 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22853 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22854 tail-call to the resolved function if pltexit isn't needed.
22856 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22859 or Y being zero as being unlikely.
22860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22863 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22865 * manual/nss.texi (System Databases and Name Service Switch):
22866 Remove frobnicate @pxref.
22868 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22870 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22871 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22873 2013-02-20 Petr Machata <pmachata@redhat.com>
22875 * elf/elf.h (R_ARM_TARGET1): New macro.
22876 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22877 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22878 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22879 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22880 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22881 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22882 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22883 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22884 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22885 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22886 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22887 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22888 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22889 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22890 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22891 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22892 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22893 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22894 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22895 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22896 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22897 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22898 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22899 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22900 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22901 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22902 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22903 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22904 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22905 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22906 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22907 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22908 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22909 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22910 (R_ARM_THM_GOT_BREL12): Likewise.
22911 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22912 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22913 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22914 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22915 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22916 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22917 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22918 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22919 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22921 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22923 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22924 __attribute_used__ to __attribute__ ((unused)).
22926 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22931 comment formatting.
22932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22934 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22937 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22939 (ENTER): Remove both macro definitions.
22941 (CHECK_BOUNDS_LOW): Likewise.
22942 (CHECK_BOUNDS_HIGH): Likewise.
22943 (CHECK_BOUNDS_BOTH): Likewise.
22944 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22945 (RETURN_BOUNDED_POINTER): Likewise.
22946 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22947 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22948 (POP_ERRNO_LOCATION_RETURN): Likewise.
22949 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22950 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22951 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22954 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22955 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22956 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22957 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22958 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22959 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22960 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22961 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22962 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22963 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22964 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22965 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22966 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22969 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22972 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22973 * sysdeps/i386/i586/memset.S (memset): Likewise.
22974 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22975 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22976 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22979 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22980 Change uses of L(2) to L(out).
22981 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22982 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22983 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22985 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22987 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22988 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22990 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22991 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22992 (RETURN): Do not use macro LEAVE.
22993 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22994 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22995 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22996 * sysdeps/i386/i686/memset.S (memset): Likewise.
22997 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22998 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22999 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23000 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23002 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23003 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23004 L(1_2) and L(1_3) into L(1).
23005 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23006 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23007 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23008 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23009 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23010 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23011 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23013 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23015 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23016 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23017 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23018 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23019 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23020 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23021 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23022 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23023 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23024 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23025 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23026 * sysdeps/i386/strspn.S (strspn): Likewise.
23027 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23029 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23030 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23031 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23032 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23033 L(1_3) into L(1_1).
23034 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23036 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23038 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23040 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23042 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23045 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23047 * math/atest-exp.c (exp_mpn): Remove ROUND.
23048 * math/atest-exp2.c (exp_mpn): Likewise.
23049 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23051 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23052 * stdlib/tst-tls-atexit-lib.c: Likewise.
23053 * stdlib/tst-tls-atexit.c: Likewise.
23055 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23057 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23058 and __attribute_alloc_size__.
23060 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23062 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23063 __attribute_alloc_size__.
23064 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23065 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23067 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23069 * include/programs/xmalloc.h: New file.
23070 * catgets/gencat.c: Include it.
23071 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23072 * elf/pldd.c: Likewise.
23073 * iconv/iconv_charmap.c: Likewise.
23074 * iconv/iconvconfig.c: Likewise.
23075 * iconv/strtab.c: Likewise.
23076 * locale/programs/locale.c: Likewise.
23077 * locale/programs/localedef.h: Likewise.
23078 * locale/programs/simple-hash.c: Likewise.
23079 * nscd/nscd.h: Likewise.
23080 * nss/makedb.c: Likewise.
23081 * sysdeps/generic/ldconfig.h: Likewise.
23083 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23085 * Versions.def: Add GLIBC_2.18.
23086 * include/link.h (struct link_map): New member l_tls_dtor_count.
23087 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23088 (__call_tls_dtors): Likewise.
23089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23090 __cxa_thread_atexit_impl.
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23107 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23108 (tests): Add test case tst-tls-atexit.
23109 (modules-names): Add shared library for tst-tls-atexit.
23110 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23111 (GLIBC_PRIVATE): Add __call_tls_dtors.
23112 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23114 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23115 * stdlib/tst-tls-atexit.c: New test case.
23116 * stdlib/tst-tls-atexit-lib.c: New test case.
23118 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23120 * elf/Versions (ld): Add _dl_find_dso_for_object.
23121 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23122 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23123 (dl_open_worker): Use _dl_find_dso_for_object.
23124 * elf/dl-sym.c (do_sym): Likewise.
23125 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23127 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23129 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23130 Syntactic changes only.
23131 (_dl_runtime_profile): Do a tail-call to the resolved function.
23133 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23136 * sysdeps/x86_64/bp-asm.h: Remove file.
23137 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23138 <bp-sym.h> and <bp-asm.h>.
23139 (__clone): Do not use BP_SYM.
23140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23141 <bp-sym.h> and <bp-asm.h>.
23142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23143 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23145 (_setjmp): Do not use BP_SYM.
23146 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23148 (setjmp): Do not use BP_SYM.
23149 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23151 (mempcpy): Do not use BP_SYM in weak_alias.
23152 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23154 (strchr): Do not use BP_SYM.
23155 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23157 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23158 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23159 (_start): Do not use BP_SYM.
23160 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23162 (strcat): Do not use BP_SYM.
23163 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23165 (STRCMP): Do not use BP_SYM.
23166 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23168 (STRCPY): Do not use BP_SYM.
23169 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23171 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23173 (FUNCTION): Do not use BP_SYM.
23174 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23176 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23178 2013-02-17 Andreas Jaeger <aj@suse.de>
23180 * time/Versions: Sort entries.
23181 * string/Versions: Likewise.
23182 * resolv/Versions: Likewise.
23183 * posix/Versions: Likewise.
23184 * iconv/Versions: Likewise.
23185 * elf/Versions: Likewise.
23186 * wcsmbs/Versions: Likewise.
23188 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23190 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23191 loop termination condition.
23193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23194 variable to calculate EZ.
23197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23198 the lower precision input.
23200 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23203 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23204 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23205 (run-via-rtld-prefix): Do not handle %-bp tests.
23206 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23207 (all-object-suffixes): Remove .ob.
23208 (bppfx): Remove variable.
23209 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23210 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23211 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23212 [$(build-bounded) = yes] (libtype.ob): Likewise.
23213 * Makerules (elide-routines.ob): Remove variable.
23214 (do-tests-clean): Do not handle *-bp.out.
23215 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23216 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23217 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23218 (tests): Do not include $(tests-bp.out).
23219 (xtests): Do not include $(xtests-bp.out).
23220 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23221 [$(build-bounded) = yes] ($(addprefix
23222 $(objpfx),$(binaries-bounded))): Remove rule.
23223 ($(objpfx)%-bp.out): Remove rule.
23224 * config.make.in (build-bounded): Remove variable.
23225 * crypt/Makefile [$(build-bounded) = yes]
23226 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23227 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23228 append to variable.
23229 [$(build-bounded) = yes] (install-lib): Likewise.
23230 [$(build-bounded) = yes] (generated): Likewise.
23231 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23233 * intl/Makefile [$(build-bounded) = yes]
23234 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23235 * math/Makefile [$(build-bounded) = yes]
23236 ($(tests:%=$(objpfx)%-bp): Likewise.
23237 * misc/Makefile [$(build-bounded) = yes]
23238 ($(objpfx)tst-tsearch-bp): Likewise.
23239 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23240 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23242 * string/Makefile (o-objects.ob): Remove variable.
23243 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23244 (CFLAGS-.ob): Remove variable.
23245 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23247 both definitions of variable.
23248 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23249 (ASFLAGS-.ob): Remove variable.
23251 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23254 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23255 Remove __BOUNDED_POINTERS__ from condition.
23256 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23257 * string/bits/string2.h [!__NO_STRING_INLINES &&
23258 !__BOUNDED_POINTERS__]: Likewise.
23259 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23261 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23262 Remove conditional code.
23263 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23264 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23265 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23269 * csu/libc-start.c: Do not include <bp-sym.h>.
23270 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23271 * elf/dl-open.c: Do not include <bp-sym.h>.
23272 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23273 * math/fegetenv.c: Do not include <bp-sym.h>.
23274 (fegetenv): Do not use BP_SYM in versioned symbols.
23275 * nptl/sysdeps/pthread/bits/libc-lockP.h
23276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23279 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23281 (__pthread_mutex_destroy): Likewise.
23282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23283 (__pthread_mutex_lock): Likewise.
23284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23285 (__pthread_mutex_trylock): Likewise.
23286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23287 (__pthread_mutex_unlock): Likewise.
23288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23289 (__pthread_mutexattr_init): Likewise.
23290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23291 (__pthread_mutexattr_destroy): Likewise.
23292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23293 (__pthread_mutexattr_settype): Likewise.
23294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23295 (__pthread_rwlock_init): Likewise.
23296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23297 (__pthread_rwlock_destroy): Likewise.
23298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23299 (__pthread_rwlock_rdlock): Likewise.
23300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23301 (__pthread_rwlock_tryrdlock): Likewise.
23302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23303 (__pthread_rwlock_wrlock): Likewise.
23304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23305 (__pthread_rwlock_trywrlock): Likewise.
23306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23307 (__pthread_rwlock_unlock): Likewise.
23308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23309 (__pthread_key_create): Likewise.
23310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23311 (__pthread_setspecific): Likewise.
23312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23313 (__pthread_getspecific): Likewise.
23314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23317 (_pthread_cleanup_push_defer): Likewise.
23318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23319 (_pthread_cleanup_pop_restore): Likewise.
23320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23321 (pthread_setcancelstate): Likewise.
23322 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23324 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23325 (memchr): Do not use BP_SYM in weak_alias.
23326 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23327 (fegetenv): Do not use BP_SYM in versioned symbols.
23328 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23329 (fesetenv): Do not use BP_SYM in versioned symbols.
23330 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23331 (feupdateenv): Do not use BP_SYM in versioned symbols.
23332 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23333 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23334 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23335 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23336 (open64): Do not use BP_SYM in weak_alias.
23337 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23338 (fegetenv): Do not use BP_SYM in versioned symbols.
23339 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23340 (fesetenv): Do not use BP_SYM in versioned symbols.
23341 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23342 (feupdateenv): Do not use BP_SYM in versioned symbols.
23343 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23344 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23345 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23346 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23347 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23348 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23351 (__libc_start_main): Do not use BP_SYM.
23353 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23356 redundant return line.
23358 (denorm): Likewise.
23359 (dbl_mp): Likewise.
23360 (sub_magnitudes): Likewise.
23366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23368 (denorm): Likewise.
23369 (dbl_mp): Likewise.
23370 (sub_magnitudes): Likewise.
23377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23379 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23380 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23383 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23384 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23386 of __mul for squares.
23387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23394 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23397 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23399 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23400 prototype or function definition. Rename ubp_* variables and
23401 parameters. Remove argv definitions conditional on
23402 [__BOUNDED_POINTERS__].
23403 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23404 * elf/dl-runtime.c (_dl_fixup): Likewise.
23405 * include/set-hooks.h (RUN_HOOK): Likewise.
23406 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23408 * string/strcpy.c (strcpy): Do not use __unbounded.
23409 * sysdeps/generic/frame.h (struct layout): Likewise.
23410 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23411 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23412 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23413 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23414 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23415 (__backtrace): Likewise.
23416 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23418 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23419 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23420 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23422 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23423 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23424 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23425 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23426 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23427 Do not use __unbounded.
23428 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23429 Rename __unboundedrlimits parameter to rlimits in prototype.
23430 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23431 Do not use __unbounded.
23432 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23433 not use __ptrvalue.
23434 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23435 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23436 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23437 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23438 __ptrvalue or __unbounded.
23439 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23440 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23442 (__new_msgctl): Do not use __ptrvalue.
23443 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23445 (__libc_msgrcv): Do not use __ptrvalue.
23446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23447 startup_info): Do not use __unbounded.
23448 (__libc_start_main): Likewise. Rename ubp_* variables and
23449 parameters. Remove argv definitions conditional on
23450 [__BOUNDED_POINTERS__].
23451 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23453 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23457 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23459 (__new_shmctl): Do not use __ptrvalue.
23460 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23461 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23463 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23465 (__libc_sigaction): Likewise.
23466 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23469 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23471 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23473 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23475 * string/mempcpy.c: Implement by calling memcpy.
23477 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23484 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23485 values in the mantissa.
23487 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23488 minimize writes to Z.
23489 (sub_magnitudes): Simplify code a bit.
23491 2013-02-12 Roland McGrath <roland@hack.frob.com>
23493 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23494 from the message. The linker prefixes all warnings with that already.
23496 2013-02-12 Andreas Schwab <schwab@suse.de>
23499 * posix/regexec.c (extend_buffers): Add parameter min_len.
23500 (check_matching): Pass minimum needed length.
23501 (clean_state_log_if_needed): Likewise.
23502 (get_subexp): Likewise.
23503 * posix/Makefile (tests): Add bug-regex34.
23504 (bug-regex34-ENV): Define.
23505 * posix/bug-regex34.c: New file.
23508 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23509 elements compare against the byte sequence of it, not its name.
23510 * posix/Makefile (tests): Add bug-regex35.
23511 (bug-regex35-ENV): Define.
23512 * posix/bug-regex35.c: New file.
23514 2013-02-11 Tom de Vries <tom@codesourcery.com>
23516 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23518 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23519 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23520 (CHECK_EOL): Add undef.
23522 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23524 * bits/stdlib-bsearch.h: New file.
23525 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23526 * stdlib/stdlib.h: Likewise.
23528 2013-02-11 Roland McGrath <roland@hack.frob.com>
23530 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23531 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23533 * manual/search.texi (Array Search Function): Add missing const in
23535 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23536 declaration to use rlim_t.
23537 (Basic Scheduling Functions): Remove erroneous const from
23538 sched_getparam prototype. Remove erroneous * from
23539 sched_get_priority_max and sched_get_priority_min prototypes.
23540 (Resource Usage): Fix summary @comment on vtimes to refer to
23541 sys/vtimes.h rather than vtimes.h.
23542 Add missing *s in vtimes prototype.
23543 (Limits on Resources): Fix ulimit prototype to return long int.
23544 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23545 prototypes to use long int rather than double.
23546 (BSD Random): Fix initstate and setstate to use char *, not void *.
23547 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23548 prototype to make second argument 'struct aiocb64 *const[]'.
23549 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23550 (Status of AIO Operations): Remove erroneous const in aio_return and
23551 aio_return64 prototypes.
23552 (Synchronizing I/O): Fix sync prototype to return void.
23553 * manual/startup.texi (Suboptions): Remove an erroneous const in
23554 getsubopt prototype.
23555 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23556 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23557 use size_t rather than int.
23558 (Scanning All Users): Likewise for getpwent_r.
23559 (Setting Groups): Add missing const to setgroups prototype.
23560 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23561 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23562 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23563 'const void *' rather than 'const char *'.
23564 (Host Address Functions): Likewise for inet_ntop.
23565 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23566 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23567 ssize_t for return value.
23568 (Sending Data): Likewise for send, sendto, sendmsg.
23569 (Socket Option Functions): Add a missing const in setsockopt prototype.
23570 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23571 use wchar_t for the argument.
23572 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23573 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23575 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23576 double/float/long double for second argument.
23577 Fix return types of significand, significandf, significandl.
23578 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23579 argument in fchmod prototype.
23580 (File Owner): Use uid_t and gid_t in fchown prototype.
23581 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23582 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23583 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23584 use 'const struct dirent **' as argument types to CMP function pointer
23586 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23587 (File Times): Fix summary magic @comment for struct utimbuf and utime
23588 to refer to utime.h, not time.h.
23589 * manual/string.texi (Argz Functions): Add missing const in
23590 argz_extract and argz_next prototypes.
23591 (Finding Tokens in a String): Likewise for basename.
23592 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23593 (Copying and Concatenation): Fix typo in wmemmove prototype.
23594 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23595 (Signal Stack): Remove erroneous const in sigstack prototype.
23596 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23598 (Simple Calendar Time): Likewise for stime.
23599 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23601 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23602 say sys/sysctl.h instead.
23603 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23604 and vsyslog prototypes.
23606 2013-02-11 Tom de Vries <tom@codesourcery.com>
23608 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23611 2013-02-11 Roland McGrath <roland@hack.frob.com>
23613 * misc/sys/mman.h: Fix typo in mremap comment.
23615 2013-02-08 Roland McGrath <roland@hack.frob.com>
23617 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23618 the '\0' terminator.
23620 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23623 * debug/segfault.c: Don't include <bp-checks.h>.
23624 * sysdeps/generic/bp-checks.h: Remove file.
23625 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23626 (__GETDENTS): Don't use CHECK_N.
23627 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23629 (__getgroups): Don't use CHECK_N.
23630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23631 (setgroups): Don't use CHECK_N.
23632 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23633 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23634 (__libc_msgrcv): Don't use CHECK_N.
23635 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23636 (__libc_msgsnd): Don't use CHECK_N.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23639 (__libc_pread): Don't use CHECK_N.
23640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23641 include <bp-checks.h>.
23642 (__libc_pread64): Don't use CHECK_N.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23644 include <bp-checks.h>.
23645 (__libc_pwrite): Don't use CHECK_N.
23646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23647 include <bp-checks.h>.
23648 (__libc_pwrite64): Don't use CHECK_N.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23651 (__libc_pread): Don't use CHECK_N.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23653 include <bp-checks.h>.
23654 (__libc_pread64): Don't use CHECK_N.
23655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23656 include <bp-checks.h>.
23657 (__libc_pwrite): Don't use CHECK_N.
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23659 include <bp-checks.h>.
23660 (__libc_pwrite64): Don't use CHECK_N.
23661 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23662 (do_pread): Don't use CHECK_N.
23663 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23664 (do_pread64): Don't use CHECK_N.
23665 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23666 (do_pwrite): Don't use CHECK_N.
23667 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23668 (do_pwrite64): Don't use CHECK_N.
23669 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23670 (__libc_readv): Don't use CHECK_N.
23671 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23672 (semop): Don't use CHECK_N.
23673 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23675 (semtimedop): Don't use CHECK_N.
23676 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23677 (__libc_pread): Don't use CHECK_N.
23678 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23680 (__libc_pread64): Don't use CHECK_N.
23681 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23683 (__libc_pwrite): Don't use CHECK_N.
23684 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23686 (__libc_pwrite64): Don't use CHECK_N.
23687 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23689 (__libc_msgrcv): Don't use CHECK_N.
23690 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23691 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23692 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23693 (__libc_writev): Don't use CHECK_N.
23695 2013-02-08 Roland McGrath <roland@hack.frob.com>
23697 * string/strcpy.c: Removed unused variable.
23699 * Makeconfig (+sysdep-includes): Define with := rather than =.
23700 Use an existing include/ subdir of each sysdeps dir before it.
23702 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23704 * nscd/connection.c (register_traced_file): Comment function.
23705 [HAVE_INOTIFY] (union __inev): Define.
23706 [HAVE_INOTIFY] (inotify_check_files): New function.
23707 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23708 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23710 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23712 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23714 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23715 loaded if not already and that a failure is permanent.
23717 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23720 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23721 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23723 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23726 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23727 (CHECK_1_NULL_OK): Likewise.
23728 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23729 (__fxstat): Do not use CHECK_1.
23730 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23732 (___fxstat64): Do not use CHECK_1.
23733 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23735 (__fxstatat): Do not use CHECK_1.
23736 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23738 (__fxstatat64): Do not use CHECK_1.
23739 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23741 (__fxstat): Do not use CHECK_1.
23742 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23744 (__fxstatat): Do not use CHECK_1.
23745 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23747 (__getresgid): Do not use CHECK_1.
23748 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23750 (__getresuid): Do not use CHECK_1.
23751 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23753 (__lxstat): Do not use CHECK_1.
23754 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23756 (__old_msgctl): Do not use CHECK_1.
23757 (__new_msgctl): Likewise.
23758 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23760 (__new_setrlimit): Do not use CHECK_1.
23761 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23763 (__old_shmctl): Do not use CHECK_1.
23764 (__new_shmctl): Likewise.
23765 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23767 (__xstat): Do not use CHECK_1.
23768 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23769 (__lxstat): Do not use CHECK_1.
23770 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23772 (___lxstat64): Do not use CHECK_1.
23773 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23774 (__old_msgctl): Do not use CHECK_1.
23775 (__new_msgctl): Likewise.
23776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23778 (__gettimeofday): Do not use CHECK_1.
23779 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23780 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23783 (__gettimeofday): Do not use CHECK_1.
23784 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23785 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23786 (__new_shmctl): Do not use CHECK_1.
23787 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23789 (do_sigtimedwait): Do not use CHECK_1.
23790 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23792 (do_sigwaitinfo): Do not use CHECK_1.
23793 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23795 (msgctl): Do not use CHECK_1.
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23798 (shmctl): Do not use CHECK_1.
23799 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23800 (ustat): Do not use CHECK_1.
23801 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23803 (__fxstat): Do not use CHECK_1.
23804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23806 (__fxstatat): Do not use CHECK_1.
23807 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23809 (__lxstat): Do not use CHECK_1.
23810 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23812 (__xstat): Do not use CHECK_1.
23813 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23814 (__xstat): Do not use CHECK_1.
23815 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23816 (___xstat64): Do not use CHECK_1.
23819 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23821 (CHECK_BOUNDS_HIGH): Likewise.
23822 * string/strcpy.c: Do not include <bp-checks.h>.
23823 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23825 2013-02-07 Roland McGrath <roland@hack.frob.com>
23827 * nscd/nscd-client.h (__nscd_drop_map_ref):
23828 Add __attribute__ ((unused)).
23829 * nis/nss-nisplus.h (niserr2nss): Likewise.
23831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23832 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23834 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23835 Remove inline keyword.
23836 * include/rounding-mode.h (round_away): Likewise.
23837 * libio/wfileops.c (adjust_wide_data): Likewise.
23838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23839 (__m128i_strloadu_tolower): Likewise.
23840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23841 (__m128i_strloadu_tolower): Likewise.
23842 * time/mktime.c (ydhms_diff): Likewise.
23843 * locale/elem-hash.h (elem_hash): Likewise.
23844 * locale/setlocale.c (setdata): Likewise.
23845 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23846 (re_string_wchar_at): Likewise.
23847 (bitset_not, bitset_merge, bitset_mask): Likewise.
23848 [!(__GNUC__ > 3)] (inline): Remove macro.
23849 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23850 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23851 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23852 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23853 * string/memcmp.c (memcmp_bytes): Likewise.
23854 * locale/programs/locarchive.c (compute_hashval): Likewise.
23855 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23856 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23857 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23858 * nss/getent.c (print_rpc, print_protocols): Likewise.
23859 (print_passwd, print_group, print_aliases): Likewise.
23860 * nis/nss-nisplus.h (niserr2nss): Likewise.
23861 * nscd/connections.c (restart_p): Likewise.
23862 Change return type to bool.
23864 2013-02-05 Roland McGrath <roland@hack.frob.com>
23866 * Makeconfig (all-Depend-files): Add existing
23867 $(sorted-subdirs:=/Depend) files.
23868 (all-subdirs): Remove nss.
23869 * sysdeps/unix/inet/Subdirs: Add it here instead.
23870 * hesiod/Depend: New file.
23872 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23873 instead of calling alloca.
23875 * io/lseek.c (__lseek): Rename to __libc_lseek.
23876 Define __lseek as an alias.
23878 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23880 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23882 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23883 else clause and remove check for non-standard endianness.
23885 2013-02-04 David S. Miller <davem@davemloft.net>
23887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23889 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23892 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23893 (__ubp_memchr): Remove prototype.
23894 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23895 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23896 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23897 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23898 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23900 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23901 (__ubp_memchr): Likewise.
23902 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23903 (__ubp_memchr): Likewise.
23904 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23905 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23906 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23907 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23909 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23910 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23911 (__getcwd): Do not use CHECK_STRING.
23912 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23914 (__real_chown): Do not use CHECK_STRING.
23915 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23917 (fchownat): Do not use CHECK_STRING.
23918 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23922 (__lchown): Do not use CHECK_STRING.
23923 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23924 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23925 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23926 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23928 include <bp-checks.h>.
23929 (truncate64): Do not use CHECK_STRING.
23930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23932 (__real_chown): Do not use CHECK_STRING.
23933 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23935 (__lchown): Do not use CHECK_STRING.
23936 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23938 (__chown): Do not use CHECK_STRING.
23939 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23941 (truncate64): Do not use CHECK_STRING.
23942 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23944 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23945 (__xmknod): Do not use CHECK_STRING.
23946 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23948 (__xmknodat): Do not use CHECK_STRING.
23949 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23950 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23952 2013-02-04 Andreas Schwab <schwab@suse.de>
23955 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23956 * include/netdb.h: Likewise for h_errno.
23957 * elf/tst-stackguard1.c: Include <tls.h>.
23959 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23961 * elf/link.h (struct link_map): Extend the l_addr comment.
23962 * include/link.h (struct link_map): Likewise.
23964 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23967 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23968 (BOUNDED_1): Remove macro.
23969 * debug/backtrace.c: Don't include <bp-checks.h>.
23970 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23971 (__backtrace): Likewise.
23972 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23974 (__backtrace): Don't use BOUNDED_1.
23975 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23977 (__backtrace): Don't use BOUNDED_1.
23978 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23979 (__backtrace): Don't use BOUNDED_1.
23980 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23981 (shmat): Don't use BOUNDED_N.
23983 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23986 * sysdeps/generic/bp-start.h: Remove file.
23987 * csu/libc-start.c: Don't include <bp-start.h>.
23988 (LIBC_START_MAIN): Set up __environ directly instead of using
23989 INIT_ARGV_and_ENVIRON.
23990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23994 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23996 (CHECK_FCNTL): Likewise.
23997 (CHECK_N_PAGES): Likewise.
24000 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24002 (CHECK_SIGSET_NULL_OK): Likewise.
24003 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24005 (sigpending): Don't use CHECK_SIGSET.
24006 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24009 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24011 (do_sigsuspend): Don't use CHECK_SIGSET.
24012 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24014 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24015 (do_sigwait): Don't use CHECK_SIGSET.
24016 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24019 include <bp-checks.h>.
24020 (sigpending): Don't use CHECK_SIGSET.
24021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24022 include <bp-checks.h>.
24023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24024 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24026 (sigpending): Don't use CHECK_SIGSET.
24027 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24029 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24032 * sysdeps/generic/bp-semctl.h: Remove file.
24033 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24034 <bp-checks.h> and <bp-semctl.h>.
24035 (__old_semctl): Don't use CHECK_SEMCTL.
24036 (__new_semctl): Likewise.
24037 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24039 (__old_semctl): Don't use CHECK_SEMCTL.
24040 (__new_semctl): Likewise.
24041 * sysdeps/unix/sysv/linux/sparc/sparc32/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/sparc/sparc64/semctl.c: Don't include
24046 <bp-checks.h> and <bp-semctl.h>.
24047 (semctl): Don't use CHECK_SEMCTL.
24050 * Makerules (elide-bp-thunks): Remove variable.
24051 (elide-routines.oS): Don't use $(elide-bp-thunks).
24052 (elide-routines.os): Likewise.
24053 (elide-routines.o): Likewise.
24054 (elide-routines.op): Likewise.
24055 (elide-routines.og): Likewise.
24056 (objects): Don't use $(bp-thunks).
24057 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24059 (common-generated): Do not add s-proto-bp.d.
24060 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24063 Do not generate makefile rules for bounded-pointer thunks.
24064 * sysdeps/generic/bp-thunks.h: Remove file.
24065 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24066 * sysdeps/unix/s-proto-bp.S: Likewise.
24069 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24070 parts of result separately when argument is not close to line from
24071 -i to i and one part of argument is small.
24072 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24073 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24074 * math/libm-test.inc (cacos_test): Add more tests.
24075 (casin_test): Likewise.
24076 (casinh_test): Likewise.
24077 * sysdeps/i386/fpu/libm-test-ulps: Update.
24078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24080 2013-01-31 David S. Miller <davem@davemloft.net>
24082 * po/de.po: Update from translation team.
24084 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24086 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24088 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24090 * configure.in (_AC_PROG_CC_C89): New definition.
24091 * configure: Regenerate.
24093 * configure.in (AC_PROG_CPP): New definition.
24094 * configure: Regenerate.
24096 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24098 * debug/tst-backtrace.h: New file.
24099 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24100 (ret): Remove variable.
24102 (FAIL): Remove macro.
24103 (NO_INLINE): Likewise.
24104 (fn1): Use match function instead of strstr.
24105 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24106 (ret): Remove variable.
24108 (FAIL): Remove macro.
24109 (NO_INLINE): Likewise.
24110 (fn): Use match function instead of strstr.
24111 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24112 (ret): Remove variable.
24114 (FAIL): Remove macro.
24115 (NO_INLINE): Likewise.
24116 (handle_signal): Use match function instead of strstr.
24117 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24118 (ret): Remove variable.
24120 (FAIL): Remove macro.
24121 (NO_INLINE): Likewise.
24122 (handle_signal): Use match function instead of strstr.
24124 2013-01-23 Roland McGrath <roland@hack.frob.com>
24126 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24128 2013-01-23 David S. Miller <davem@davemloft.net>
24130 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24131 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24132 argument of CAS if possible.
24133 * sysdeps/sparc/sparc64/bits/atomic.h
24134 (__arch_compare_and_exchange_val_32_acq): Likewise.
24135 (__arch_compare_and_exchange_val_64_acq): Likewise.
24137 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24139 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24140 * sysdeps/posix/ulimit.c: ... this.
24141 Include <limits.h>.
24142 * sysdeps/unix/bsd/ulimit.c: Remove file.
24144 2013-01-23 Adam Conrad <adconrad@0c3.net>
24146 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24147 (LDFLAGS-tst-array5): Likewise.
24149 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24152 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24153 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24154 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24155 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24157 2013-01-21 David S. Miller <davem@davemloft.net>
24159 * sysdeps/sparc/backtrace.c: New file.
24160 * sysdeps/sparc/sparc32/backtrace.h: New file.
24161 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24162 * sysdeps/sparc/sparc64/backtrace.h: New file.
24163 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24164 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24167 2013-01-21 Andreas Schwab <schwab@suse.de>
24170 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24173 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24179 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24180 Mark Mitchell <mark@codesourcery.com>
24181 Tom de Vries <tom@codesourcery.com>
24182 Paul Pluzhnikov <ppluzhnikov@google.com>
24184 * debug/tst-backtrace2.c: New file.
24185 * debug/tst-backtrace3.c: Likewise.
24186 * debug/tst-backtrace4.c: Likewise.
24187 * debug/tst-backtrace5.c: Likewise.
24188 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24189 (CFLAGS-tst-backtrace3.c): Likewise.
24190 (CFLAGS-tst-backtrace4.c): Likewise.
24191 (CFLAGS-tst-backtrace5.c): Likewise.
24192 (LDFLAGS-tst-backtrace2): Likewise.
24193 (LDFLAGS-tst-backtrace3): Likewise.
24194 (LDFLAGS-tst-backtrace4): Likewise.
24195 (LDFLAGS-tst-backtrace5): Likewise.
24196 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24197 tst-backtrace4 and tst-backtrace5.
24199 2013-01-18 Anton Blanchard <anton@samba.org>
24200 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24203 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24205 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24207 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24208 "+r" and remove output regs list as redundant. Add explicit inline
24209 asm to specify register of return val to work around compiler codegen
24210 bug. Remove (int) cast on return value. Add return type parameter to
24211 use in macro so that this macro does not truncate return value for
24213 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24214 pass to INTERNAL_VSYSCALL_NCS.
24215 (INLINE_VSYSCALL): Add 'long int' as return type to
24216 INTERNAL_VSYSCALL_NCS macro invocation.
24217 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24218 INTERNAL_VSYSCALL_NCS macro invocation.
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24221 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24224 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24225 Fix application of SIMD FP exception mask.
24227 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24228 mp_no from a power of two.
24229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24230 __mpexp_twomm1. Use __pow_mp.
24232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24235 2013-01-17 David S. Miller <davem@davemloft.net>
24237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24239 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24242 * include/complex.h: Condition contents on [!_COMPLEX_H].
24243 (__kernel_casinhf): New prototype.
24244 (__kernel_casinh): Likewise.
24245 (__kernel_casinhl): Likewise.
24246 * math/Makefile (libm_calls): Add k_casinh.
24247 * math/k_casinh.c: New file.
24248 * math/k_casinhf.c: Likewise.
24249 * math/k_casinhl.c: Likewise.
24250 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24251 finite nonzero arguments.
24252 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24253 finite nonzero arguments.
24254 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24255 finite nonzero arguments.
24256 * math/s_casinh.c: Do not include <float.h>.
24257 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24258 * math/s_casinhf.c: Do not include <float.h>.
24259 (__casinhf): Move code for finite nonzero arguments to
24261 * math/s_casinhl.c: Do not include <float.h>.
24262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24264 (__casinhl): Move code for finite nonzero arguments to
24266 * math/libm-test.inc (cacos_test): Add more tests.
24267 * sysdeps/i386/fpu/libm-test-ulps: Update.
24268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24270 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24272 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24273 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24274 [!HAVE_MREMAP]: Remove [defined linux] case.
24275 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24277 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24279 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24281 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24283 * elf/elf.h (R_386_SIZE32): New relocation.
24284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24286 (elf_machine_rela): Likewise.
24287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24288 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24290 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24292 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24293 (FP_FAST_FMA): Do not define.
24294 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24295 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24296 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24297 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24298 !_SOFT_FLOAT]: Likewise.
24299 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24303 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24306 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24307 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24310 2013-01-16 Andreas Schwab <schwab@suse.de>
24313 * include/stdlib.h (__mktemp): Add declaration.
24314 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24315 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24317 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24319 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24321 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24322 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24323 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24325 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24326 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24328 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24330 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24331 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24332 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24334 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24335 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24337 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24339 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24341 2013-01-15 David S. Miller <davem@davemloft.net>
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24344 trunc{,f} to libm-sysdep_routes.
24345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24355 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24357 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24359 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24360 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24363 nearbyint{,f} to libm-sysdep_routes.
24364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24381 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24382 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24385 libc_feholdexcept and libc_fesetenv.
24387 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24389 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24391 2013-01-14 David S. Miller <davem@davemloft.net>
24393 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24394 (SPARC_ASM_VIS2_IFUNC): Likewise.
24395 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24397 use of 'siam' instruction.
24398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24431 routines to libm-sysdep_routines.
24432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24435 fdim/fdimf to libm-sysdep_routines.
24436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24444 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24445 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24446 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24447 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24449 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24451 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24452 to optimize copies.
24454 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24459 local variable MPTWO.
24460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24463 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24465 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24468 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24470 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24472 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24474 * manual/pattern.texi (glob_t): Document gl_flags.
24475 (glob64_t): Likewise.
24477 2013-01-11 David S. Miller <davem@davemloft.net>
24479 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24480 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24481 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24482 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24483 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24484 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24485 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24486 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24487 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24488 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24489 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24490 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24491 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24493 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24494 sparc V9 rather than using V8 code.
24495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24498 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24500 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24503 2013-01-11 Roland McGrath <roland@hack.frob.com>
24505 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24506 not in the main loop.
24507 * configure: Regenerated.
24509 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24511 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24512 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24514 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24515 [!__GLIBC_HAVE_LONG_LONG] case.
24516 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24517 condition to just #else.
24518 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24519 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24520 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24521 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24523 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24524 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24525 #elif condition to just #else.
24526 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24527 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24528 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24529 #elif condition to just #else.
24531 2013-01-11 Steve Ellcey <sellcey@mips.com>
24533 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24534 (EF_MIPS_ARCH_64): Fix value.
24535 (EF_MIPS_ARCH_32R2): New.
24536 (EF_MIPS_ARCH_64R2): New.
24538 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24540 * Makeconfig (+link-pie-before-libc): New.
24541 (+link-pie-after-libc): Likewise.
24542 (+link-pie-tests): Likewise.
24543 (+link-pie): Rewritten.
24544 (link-before-libc): Remove $(config-LDFLAGS).
24545 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24546 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24547 (config-LDFLAGS): Renamed to ...
24548 (rtld-LDFLAGS): This.
24549 (rtld-tests-LDFLAGS): New macro.
24550 (link-libc-rpath-link): Likewise.
24551 (link-libc-tests-rpath-link): Likewise.
24552 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24553 (link-libc): Prepand $(link-libc-rpath-link).
24554 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24555 (test-program-prefix): New macro.
24556 (test-via-rtld-prefix): Likewise.
24557 (test-program-cmd): Likewise.
24558 (host-test-program-cmd): Likewise.
24559 * Makefile ($(common-objpfx)testrun.sh): Replace
24560 $(run-program-prefix) with $(test-program-prefix).
24561 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24563 ($(common-objpfx)shlib.lds): Likewise.
24564 (build-module-helper): Likewise.
24565 ($(common-objpfx)format.lds): Likewise.
24566 * Rules (binaries-pie-tests): New.
24567 (binaries-pie-notests): Likewise.
24568 (binaries-pie): Rewritten.
24569 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24570 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24571 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24572 (make-test-out): Replace $(host-built-program-cmd) with
24573 $(host-test-program-cmd).
24574 * config.make.in (build-hardcoded-path-in-tests): New variable.
24575 * configure.in (--enable-hardcoded-path-in-tests): New configure
24577 (hardcoded_path_in_tests): New AC_SUBST.
24578 * configure: Regenerated.
24579 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24580 $(built-program-cmd) with $(test-program-cmd).
24581 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24582 (test_program_cmd): This.
24583 * elf/Makefile ($(objpfx)order.out): Run test with
24584 $(test-program-prefix).
24585 ($(objpfx)order2.out): Likewise.
24586 ($(objpfx)tst-initorder.out): Likewise.
24587 ($(objpfx)tst-initorder2.out): Likewise.
24588 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24589 $(test-program-cmd).
24590 ($(objpfx)tst-array1-static.out): Likewise.
24591 ($(objpfx)tst-array2.out): Likewise.
24592 ($(objpfx)tst-array3.out): Likewise.
24593 ($(objpfx)tst-array4.out): Likewise.
24594 ($(objpfx)tst-array5.out): Likewise.
24595 ($(objpfx)tst-array5-static.out): Likewise.
24596 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24597 $(test-program-cmd).
24598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24599 $(run-program-prefix) with $(test-program-prefix).
24600 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24601 (test_program_prefix): This.
24602 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24603 $(run-program-prefix) with $(test-program-prefix).
24604 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24605 (test_program_prefix): This.
24606 * iconvdata/tst-tables.sh: Likewise.
24607 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24608 $(run-program-prefix) with $(test-program-prefix).
24609 ($(objpfx)tst-translit.out): Likewise.
24610 ($(objpfx)tst-gettext2.out): Likewise.
24611 ($(objpfx)tst-gettext4.out): Likewise.
24612 ($(objpfx)tst-gettext6.out): Likewise.
24613 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24614 (test_program_prefix): This.
24615 * intl/tst-gettext2.sh: Likewise.
24616 * intl/tst-gettext4.sh Likewise.
24617 * intl/tst-gettext6.sh: Likewise.
24618 * intl/tst-translit.sh: Likewise.
24619 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24620 with $(test-program-cmd).
24621 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24622 $(run-program-prefix) with $(test-program-prefix).
24623 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24624 (test_program_prefix): This.
24625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24626 $(run-program-prefix) with $(test-program-prefix).
24627 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24628 (test_program_prefix): This.
24629 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24630 * posix/Makefile ($(objpfx)globtest.out): Replace
24631 $(run-via-rtld-prefix) and $(test-wrapper) with
24632 $(test-program-prefix) and $(test-via-rtld-prefix).
24633 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24634 $(test-program-prefix).
24635 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24636 $(host-test-program-cmd).
24637 (tst-spawn-ARGS): Likewise.
24638 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24639 $(test-program-prefix).
24640 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24641 (test_via_rtld_prefix): This.
24642 (test_wrapper): Renamed to ...
24643 (test_program_prefix): This.
24644 (run_program_prefix): Replaced by test_program_prefix.
24645 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24646 (test_program_prefix): This.
24647 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24648 with $(host-test-program-cmd).
24649 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24650 $(run-program-prefix) with $(test-program-prefix).
24651 ($(objpfx)tst-printf.out): Likewise.
24652 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24653 $(test-program-cmd).
24654 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24655 (test_program_prefix): This.
24656 * stdio-common/tst-unbputc.sh: Likewise.
24657 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24658 $(run-program-prefix) with $(test-program-prefix).
24659 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24660 (test_program_prefix): This.
24661 * string/Makefile ($(objpfx)tst-svc.out): Replace
24662 $(built-program-cmd) with $(test-program-cmd).
24664 2013-01-11 Andreas Jaeger <aj@suse.de>
24667 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24668 value. Sync with Linux 3.7.
24670 2013-01-10 David S. Miller <davem@davemloft.net>
24672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24673 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24674 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24676 2013-01-10 Roland McGrath <roland@hack.frob.com>
24678 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24680 * configure: Regenerated.
24682 2013-01-10 David S. Miller <davem@davemloft.net>
24684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24685 sparc V9 rather than using V8 code.
24686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24689 2013-01-10 Roland McGrath <roland@hack.frob.com>
24691 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24692 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24693 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24694 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24695 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24696 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24697 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24698 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24699 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24700 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24701 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24702 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24703 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24704 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24705 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24706 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24707 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24708 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24709 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24710 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24711 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24712 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24713 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24714 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24715 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24716 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24717 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24719 2013-01-10 David S. Miller <davem@davemloft.net>
24721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24723 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24725 * posix/Makefile (tests-static): New variable.
24726 (tests): Add $(tests-static).
24727 (tst-exec-static-ARGS): New variable.
24728 (tst-spawn-static-ARGS): Likewise.
24729 * posix/tst-exec-static.c: New file.
24730 * posix/tst-spawn-static.c: Likewise.
24731 * posix/tst-exec.c: Support run directly.
24732 * posix/tst-spawn.c: Likewise.
24734 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24736 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24738 * math/bits/mathcalls.h (llrint): Likewise.
24739 (llround): Likewise.
24740 * stdlib/stdlib.h (struct drand48_data): Likewise.
24741 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24742 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24743 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24745 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24747 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24748 (elf_greg_t): Likewise.
24749 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24750 (__jmp_buf): Likewise.
24751 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24753 (llrint): Likewise, for all definitions.
24754 (llrintl): Likewise.
24756 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24757 Remove [__GNUC__] condition.
24758 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24759 condition to just [__USE_ISOC99].
24760 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24762 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24765 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24766 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24768 (_POSIX_V6_ILP32_OFF32): Likewise.
24769 (_XBS5_ILP32_OFF32): Likewise.
24770 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24771 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24773 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24775 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24778 doubles __mpexp_twomm1. Adjust usage.
24779 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24782 2013-01-10 Andreas Schwab <schwab@suse.de>
24785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24786 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24788 2013-01-09 David S. Miller <davem@davemloft.net>
24791 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24792 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24793 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24794 (TCP_FASTOPEN): Define.
24795 (tcp_repair_opt): New structure.
24796 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24798 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24799 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24800 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24801 (tcp_cookie_transactions): New structure.
24803 2013-01-09 Anton Blanchard <anton@samba.org>
24805 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24808 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24810 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24812 * include/features.h (__USE_ANSI): Remove.
24814 2013-01-09 Roland McGrath <roland@hack.frob.com>
24816 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24818 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24820 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24822 * sysdeps/s390/fpu/libm-test-ulps: Update.
24824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24826 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24830 (denorm): Likewise.
24831 (__mp_dbl): Likewise.
24832 (__dbl_mp): Likewise.
24833 (add_magnitudes): Likewise.
24834 (sub_magnitudes): Likewise.
24840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24844 (denorm): Likewise.
24845 (__mp_dbl): Likewise.
24846 (__dbl_mp): Likewise.
24847 (add_magnitudes): Likewise.
24848 (sub_magnitudes): Likewise.
24854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24858 (denorm): Likewise.
24859 (__mp_dbl): Likewise.
24860 (__dbl_mp): Likewise.
24861 (add_magnitudes): Likewise.
24862 (sub_magnitudes): Likewise.
24869 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24871 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24872 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24873 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24874 2 && __USE_EXTERN_INLINES]: Likewise.
24876 2013-01-08 Andreas Jaeger <aj@suse.de>
24879 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24881 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24882 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24884 2013-01-07 Anton Blanchard <anton@samba.org>
24886 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24887 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24888 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24889 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24890 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24892 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24893 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24895 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24896 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24900 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24904 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24906 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24907 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24909 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24910 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24911 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24912 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24913 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24916 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24919 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24920 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24923 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24926 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24928 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24930 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24932 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24933 (__MALLOC_PMT): Likewise.
24934 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24935 [__GNUC__], only on [_LIBC].
24936 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24937 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24938 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24939 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24940 forward declaration.
24941 (realloc_hook_ini): Likewise.
24942 (memalign_hook_ini): Likewise.
24943 (__libc_memalign): Do not use __MALLOC_PMT in variable
24945 (__libc_valloc): Likewise.
24946 (__libc_pvalloc): Likewise.
24947 (__libc_calloc): Likewise.
24948 (__posix_memalign): Likewise.
24951 * math/s_casinh.c: Include <float.h>.
24952 (__casinh): Do not do computation with squaring and square root
24953 for large arguments.
24954 * math/s_casinhf.c: Include <float.h>.
24955 (__casinhf): Do not do computation with squaring and square root
24956 for large arguments.
24957 * math/s_casinhl.c: Include <float.h>.
24958 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24959 (__casinhl): Do not do computation with squaring and square root
24960 for large arguments.
24961 * math/libm-test.inc (casin_test): Add more tests.
24962 (casinh_test): Likewise.
24963 * sysdeps/i386/fpu/libm-test-ulps: Update.
24964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24966 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24969 (__x86_64_raw_data_cache_size): Likewise.
24970 (__x86_64_data_cache_size_half): Likewise.
24971 (__x86_64_raw_data_cache_size_half): Likewise.
24972 (__x86_64_shared_cache_size): Likewise.
24973 (__x86_64_raw_shared_cache_size): Likewise.
24974 (__x86_64_shared_cache_size_half): Likewise.
24975 (__x86_64_raw_shared_cache_size_half): Likewise.
24976 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24978 (__x86_data_cache_size): This.
24979 (__x86_64_raw_data_cache_size): Renamed to ...
24980 (__x86_raw_data_cache_size): This.
24981 (__x86_64_data_cache_size_half): Renamed to ...
24982 (__x86_data_cache_size_half): This.
24983 (__x86_64_raw_data_cache_size_half): Renamed to ...
24984 (__x86_raw_data_cache_size_half): This.
24985 (__x86_64_shared_cache_size): Renamed to ...
24986 (__x86_shared_cache_size): This.
24987 (__x86_64_raw_shared_cache_size): Renamed to ...
24988 (__x86_raw_shared_cache_size): This.
24989 (__x86_64_shared_cache_size_half): Renamed to ...
24990 (__x86_shared_cache_size_half): This.
24991 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24992 (__x86_raw_shared_cache_size_half): This.
24993 * sysdeps/x86_64/memcpy.S: Updated.
24994 * sysdeps/x86_64/memset.S: Likewise.
24995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24999 2013-01-04 David S. Miller <davem@davemloft.net>
25001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25003 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25005 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25006 1 to avoid redefinition warning.
25007 (__USE_GNU): Don't define.
25008 (init_signaling_nan): Protoize.
25010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25012 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25014 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25016 (__cpymn): Likewise.
25017 (norm): Remove commented code.
25018 (denorm): Likewise.
25019 (__mp_dbl): Likewise.
25021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25022 (__cpymn): Likewise.
25023 (norm): Remove commented code.
25024 (denorm): Likewise.
25025 (__mp_dbl): Likewise.
25028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25029 mp_no value for 1.0 and 2.0.
25030 (norm): Use RADIXI instead of radixi.d.
25031 (denorm): Likewise.
25032 (__mul): Use 0.0 instead of zero.d.
25033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25034 mp_no value for 1.0 and 2.0.
25035 (norm): Use RADIXI instead of radixi.d.
25036 (denorm): Likewise.
25037 (__mul): Use 0.0 instead of zero.d.
25039 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25042 * math/s_casinh.c (__casinh): Reduce finite argument to first
25043 quadrant then set signs of results at the end.
25044 * math/s_casinhf.c (__casinhf): Likewise.
25045 * math/s_casinhl.c (__casinhl): Likewise.
25046 * math/libm-test.inc (casin_test): Add more tests.
25047 (casinh_test): Likewise.
25048 * sysdeps/i386/fpu/libm-test-ulps: Update.
25049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25051 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25053 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25055 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25057 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25059 (denorm): Likewise.
25060 (__mp_dbl): Likewise.
25063 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25064 and adjust the header comment.
25066 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25067 variable name from declaration.
25069 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25072 Initialize COMMON_CPUID_INDEX_7 element.
25073 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25074 (CPUID_RTM): Likewise.
25075 (HAS_RTM): Likewise.
25076 (COMMON_CPUID_INDEX_7): New enum.
25078 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25081 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25082 size is zero, record memory as freed.
25084 2013-01-03 Andreas Jaeger <aj@suse.de>
25086 * po/ia.po: Add new Interlingua translation.
25088 2012-01-03 Allan McRae <allan@archlinux.org>
25090 * locale/programs/localedef.c: Fix description of '--posix' flag.
25092 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25094 * NEWS: Update dates in second copyright notice.
25095 * README: Update copyright dates in example.
25096 * manual/libc.texinfo: Update copyright dates.
25097 * scripts/test-installation.pl: Update copyright date in --version
25100 * hurd/ctty-input.c: Fix copyright notice formatting.
25101 * hurd/ctty-output.c: Likewise.
25102 * hurd/dtable.c: Likewise.
25103 * hurd/hurd-raise.c: Likewise.
25104 * hurd/hurdprio.c: Likewise.
25105 * hurd/msgportdemux.c: Likewise.
25106 * misc/sys/file.h: Likewise.
25107 * misc/sys/ioctl.h: Likewise.
25108 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25109 * sysdeps/mach/hurd/chdir.c: Likewise.
25110 * sysdeps/mach/hurd/fchdir.c: Likewise.
25111 * sysdeps/mach/hurd/rename.c: Likewise.
25112 * sysdeps/mach/hurd/rmdir.c: Likewise.
25113 * sysdeps/mach/hurd/seekdir.c: Likewise.
25114 * sysdeps/mach/hurd/setsid.c: Likewise.
25115 * sysdeps/posix/wait3.c: Likewise.
25117 * All files with FSF copyright notices: Update copyright dates
25118 using scripts/update-copyrights.
25119 * intl/plural.c: Regenerated.
25120 * locale/programs/charmap-kw.h: Likewise.
25121 * locale/programs/locfile-kw.h: Likewise.
25123 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25125 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25129 calculation loop and add branch prediction.
25131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25132 check access beyond bounds of m1np.
25134 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25136 (__inv): Remove local variable MPTWO to use the global
25138 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25141 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25142 MP3HALFS static const.
25144 2013-01-01 David S. Miller <davem@davemloft.net>
25146 * po/ca.po: Update from translation team.
25148 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25150 * scripts/update-copyrights: New file.
25151 * Makeconfig: Reformat copyright notice.
25152 * ctype/ctype.h: Likewise.
25153 * debug/swprintf_chk.c: Likewise.
25154 * elf/dl-cache.c: Likewise.
25155 * elf/dl-debug.c: Likewise.
25156 * elf/dl-object.c: Likewise.
25157 * grp/initgroups.c: Likewise.
25158 * hurd/Makefile: Likewise.
25159 * hurd/hurd/signal.h: Likewise.
25160 * hurd/hurdfault.c: Likewise.
25161 * hurd/hurdioctl.c: Likewise.
25162 * hurd/hurdlookup.c: Likewise.
25163 * hurd/intr-msg.c: Likewise.
25164 * iconv/gconv_open.c: Likewise.
25165 * libio/swprintf.c: Likewise.
25166 * locale/lc-ctype.c: Likewise.
25167 * locale/nl_langinfo.c: Likewise.
25168 * mach/Machrules: Likewise.
25169 * mach/Makefile: Likewise.
25170 * malloc/obstack.h: Likewise.
25171 * manual/Makefile: Likewise.
25172 * manual/tsort.awk: Likewise.
25173 * misc/bits/stab.def: Likewise.
25174 * nis/nis_print_group_entry.c: Likewise.
25175 * nis/nis_table.c: Likewise.
25176 * nis/nss_compat/compat-pwd.c: Likewise.
25177 * nis/nss_compat/compat-spwd.c: Likewise.
25178 * po/Makefile: Likewise.
25179 * posix/fnmatch.c: Likewise.
25180 * posix/regex.h: Likewise.
25181 * resolv/Makefile: Likewise.
25182 * resolv/nss_dns/dns-network.c: Likewise.
25183 * resolv/res_hconf.c: Likewise.
25184 * scripts/gen-sorted.awk: Likewise.
25185 * soft-fp/soft-fp.h: Likewise.
25186 * stdio-common/printf.h: Likewise.
25187 * stdlib/monetary.h: Likewise.
25188 * stdlib/random.c: Likewise.
25189 * stdlib/random_r.c: Likewise.
25190 * sysdeps/generic/Makefile: Likewise.
25191 * sysdeps/gnu/Makefile: Likewise.
25192 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25202 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25205 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25206 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25207 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25220 * sysdeps/mach/hurd/errnos.awk: Likewise.
25221 * sysdeps/mach/hurd/fork.c: Likewise.
25222 * sysdeps/mach/hurd/getcwd.c: Likewise.
25223 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25224 * sysdeps/mach/hurd/mmap.c: Likewise.
25225 * sysdeps/mach/hurd/utimes.c: Likewise.
25226 * sysdeps/mach/hurd/xmknod.c: Likewise.
25227 * sysdeps/posix/profil.c: Likewise.
25228 * sysdeps/posix/readdir_r.c: Likewise.
25229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25230 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25231 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25232 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25234 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25236 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25238 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25240 * sysdeps/pthread/lio_listio.c: Likewise.
25241 * sysdeps/sparc/dl-procinfo.h: Likewise.
25242 * sysdeps/unix/i386/sysdep.S: Likewise.
25243 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25244 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25245 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25246 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25248 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25249 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25250 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25252 * sysdeps/wordsize-32/divdi3.c: Likewise.
25253 * time/sys/time.h: Likewise.
25254 * wcsmbs/Makefile: Likewise.
25256 2013-01-01 David S. Miller <davem@davemloft.net>
25258 * po/fr.po: Update from translation team.
25260 * catgets/gencat.c: Update copyright year.
25261 * csu/version.c: Likewise.
25262 * debug/catchsegv.sh: Likewise.
25263 * debug/pcprofiledump.c: Likewise.
25264 * debug/xtrace.sh: Likewise.
25265 * elf/ldconfig.c: Likewise.
25266 * elf/ldd.bash.in: Likewise.
25267 * elf/pldd.c: Likewise.
25268 * elf/sotruss.ksh: Likewise.
25269 * elf/sprof.c: Likewise.
25270 * iconv/iconv_prog.c: Likewise.
25271 * iconv/iconvconfig.c: Likewise.
25272 * locale/programs/locale.c: Likewise.
25273 * locale/programs/localedef.c: Likewise.
25274 * login/programs/pt_chown.c: Likewise.
25275 * malloc/memusage.sh: Likewise.
25276 * malloc/memusagestat.c: Likewise.
25277 * malloc/mtrace.pl: Likewise.
25278 * nscd/nscd.c: Likewise.
25279 * nss/getent.c: Likewise.
25280 * nss/makedb.c: Likewise.
25281 * posix/getconf.c: Likewise.
25283 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25285 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25288 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25290 * math/bits/mathcalls.h (modf): Use __nonnull.
25292 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25294 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25295 (split): Use macro CN instead of the bare value.
25296 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25299 instead of the bare value.
25300 (power1): Likewise.
25302 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25308 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25310 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25312 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25313 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25315 2012-12-28 Andreas Jaeger <aj@suse.de>
25317 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25318 values are from Linux 3.7.
25320 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25321 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25323 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25325 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25330 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25331 variables with preprocessor constants.
25332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25334 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25336 2012-12-27 Bruno Haible <bruno@clisp.org>
25339 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25342 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25345 and use variable directly.
25346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25348 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25350 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25353 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25355 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25356 include directive. Remove local variable MPONE.
25357 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25358 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25361 2012-12-25 David S. Miller <davem@davemloft.net>
25363 * version.h (RELEASE): Set to "development".
25364 (VERSION): Set to "2.17.90".
25365 * NEWS: Add 2.18 section.
25367 2012-12-21 David S. Miller <davem@davemloft.net>
25369 * po/hr.po: Update from translation team.
25371 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25373 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25375 2012-12-19 Steve Ellcey <sellcey@mips.com>
25377 * NEWS: Mention new memcpy for MIPS.
25379 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25381 * manual/contrib.texi (Contributors): Spelling correction.
25383 2012-12-15 David S. Miller <davem@davemloft.net>
25385 * po/ru.po: Update from translation team.
25387 2012-12-13 David S. Miller <davem@davemloft.net>
25389 * NEWS: Mention IFUNC testsuite enhancements.
25391 * po/pl.po: Update from translation team.
25392 * po/bg.po: Likewise.
25394 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25395 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25397 2012-12-11 David S. Miller <davem@davemloft.net>
25399 * po/sv.po: Update from translation team.
25401 * po/vi.po: Update from translation team.
25403 * po/cs.po: Update from translation team.
25405 * po/de.po: Update from translation team.
25406 * po/eo.po: Likewise.
25407 * po/nl.po: Likewise.
25409 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25412 * manual/argp.texi (Argp Helper Functions): Move node to follow
25413 Argp Parsing State.
25416 * manual/conf.texi (Limits on File System Capacity): Mention if
25417 terminating null is included in the max size.
25419 2012-12-10 Andreas Jaeger <aj@suse.de>
25421 * po/cs.po: Update from translation team.
25423 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25425 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25426 void pointer and cast to uintptr_t.
25427 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25429 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25430 * sysdeps/s390/s390-64/memset.S: Likewise.
25432 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25435 * menual/message.texi (Message Translation): Fix typos.
25436 (Helper programs for gettext): Likewise.
25438 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25441 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25444 2012-12-07 David S. Miller <davem@davemloft.net>
25446 * po/libc.pot: Update.
25448 2012-12-07 Richard Henderson <rth@redhat.com>
25451 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25452 normal/normal case to before the switch.
25453 (_FP_DIV): Likewise.
25455 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25456 Mike Frysinger <vapier@gentoo.org>
25458 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25459 check for __NR_fadvise64_64.
25461 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25463 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25464 0, not just to plain "0" as a statement.
25465 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25468 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25470 * NEWS: Use sourceware.org in Bugzilla URL.
25472 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25475 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25477 * stdio-common/tst-put-error.c (do_test): Add newline to the
25478 padded test to ensure flush.
25480 2012-12-05 Jeff Law <law@redhat.com>
25482 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25484 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25486 * README: Don't refer to ports add-on as distributed separately.
25487 Mention AArch64 in list of systems supported in the ports add-on.
25489 * LICENSES: Add more non-FSF copyright and license notices.
25491 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25494 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25496 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25497 10000 as width of padded output.
25499 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25501 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25503 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25504 variable LX with __attribute__ ((unused)).
25505 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25507 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25509 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25510 with __attribute__ ((unused)).
25512 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25514 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25516 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25518 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25519 (CFLAGS-nldbl-acos.c): New variable.
25520 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25521 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25522 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25523 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25524 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25525 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25526 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25527 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25528 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25529 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25530 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25531 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25532 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25533 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25534 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25535 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25536 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25537 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25538 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25539 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25540 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25541 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25542 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25543 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25544 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25545 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25546 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25547 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25548 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25549 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25550 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25551 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25552 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25553 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25554 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25555 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25556 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25557 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25558 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25559 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25560 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25561 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25562 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25563 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25564 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25565 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25566 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25567 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25568 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25569 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25570 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25571 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25572 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25573 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25574 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25575 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25576 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25577 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25578 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25579 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25580 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25581 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25582 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25583 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25584 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25585 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25586 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25587 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25588 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25589 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25590 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25591 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25592 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25593 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25594 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25595 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25596 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25597 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25598 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25599 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25600 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25601 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25602 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25603 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25604 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25605 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25606 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25607 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25608 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25609 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25610 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25611 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25612 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25613 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25614 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25615 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25616 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25619 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25623 whole low double instead of just low 47 bits when splitting values
25626 2012-12-03 Allan McRae <allan@archlinux.org>
25628 * manual/stdio.texi (Predefined Printf Handlers): Remove
25629 @hsep and @vsep usage.
25631 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25633 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25634 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25636 2012-12-03 Jeff Law <law@redhat.com>
25638 * time/sys/time.h (settimeofday): Do not mark TV argument
25641 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25643 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25644 when currently writing and seek to current position when not.
25645 * libio/Makefile (tests): Remove bug-fclose1.
25646 * libio/bug-fclose1.c: Delete.
25648 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25650 * manual/arith.texi (feenableexcept): Fix typo.
25651 (fedisableexcept): Likewise.
25653 2012-11-30 Roland McGrath <roland@hack.frob.com>
25655 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25656 second, differently-typed declaration, rather than a cast.
25658 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25660 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25661 * include/rpc/svc.h: ... here.
25663 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25666 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25667 depending n and resplen2 to catch cases where answer
25670 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25672 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25673 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25675 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25679 2012-11-29 Roland McGrath <roland@hack.frob.com>
25681 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25683 2012-11-28 Jeff Law <law@redhat.com>
25686 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25687 dataset_temporary. Track alloca usage into alloca_used.
25688 If dataset is large allocate and release it via malloc/free.
25690 2012-06-04 Florian Weimer <fweimer@redhat.com>
25693 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25695 2012-11-28 David S. Miller <davem@davemloft.net>
25697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25699 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25702 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25703 of pi/2 rounded to nearest to 64 bits.
25704 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25705 nearest to 64 bits.
25706 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25709 2012-11-28 Jeff Law <law@redhat.com>
25710 Martin Osvald <mosvald@redhat.com>
25713 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25714 * sunrpc/svc.c: Include time.h.
25715 (__svc_accept_failed): New function.
25716 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25717 any reason other than EINTR, call __svc_accept_failed.
25718 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25719 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25721 2012-11-28 Andreas Schwab <schwab@suse.de>
25723 * scripts/abilist.awk: Also handle indirect functions in .opd
25726 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25729 * sysdeps/x86/fpu/powl_helper.c: New file.
25730 * sysdeps/x86/fpu/Makefile: Likewise.
25731 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25733 (__ieee754_powl): Use __powl_helper for finite arguments except
25734 integer exponents below 8.
25735 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25737 (__ieee754_powl): Use __powl_helper for finite arguments except
25738 integer exponents below 8.
25739 * math/libm-test.inc (pow_test): Add more tests and enable some
25740 previously disabled tests.
25741 * sysdeps/i386/fpu/libm-test-ulps: Update.
25742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25744 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25745 Carlos O'Donell <carlos_odonell@mentor.com>
25747 * nss/makedb.c (is_prime): Assert that input is odd and greater
25748 than 4. Note that fact in a comment too.
25749 (next_prime): Add 4 to input.
25751 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25754 * libio/Makefile (tests): Add test case tst-fwrite-error.
25755 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25756 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25757 * libio/tst-fwrite-error.c: New test case.
25759 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25761 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25762 before casting to void *.
25763 * include/libc-internal.h (__pointer_type): New macro.
25764 (__integer_if_pointer_type_sub): Likewise.
25765 (__integer_if_pointer_type): Likewise.
25766 (cast_to_integer): Likewise.
25767 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25768 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25769 before casting to atomic64_t.
25770 (atomic_exchange_acq): Likewise.
25771 (__arch_exchange_and_add_body): Likewise.
25772 (__arch_add_body): Likewise.
25773 (atomic_add_negative): Likewise.
25774 (atomic_add_zero): Likewise.
25776 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25778 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25779 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25780 (add_fdes): Likewise.
25781 (linear_search_fdes): Likewise.
25782 (binary_search_unencoded_fdes): Likewise.
25784 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25786 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25788 2012-11-24 Adam Conrad <adconrad@0c3.net>
25790 * configure.in: Autodetect C++ header directories.
25791 * configure: Regenerated.
25793 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25795 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25797 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25801 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25803 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25804 LDBL_MANT_DIG == 106]: Disable some tests.
25805 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25807 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25812 input for small inputs. Return +/- pi/2 for large inputs.
25813 * math/libm-test.inc (atan_test): Add more tests.
25815 * sysdeps/generic/unwind-dw2-fde-glibc.c
25816 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25817 __attribute__ ((unused)).
25820 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25821 x * y if x and y are nonzero and z is zero.
25824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25825 nonzero exponents with absolute value below 0x1p-117 to +/-
25829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25830 up arguments below 2**-450, not just those below 2**-500.
25831 * math/libm-test.inc (hypot_test): Add another test.
25834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25835 Return a+b for ratio over 2**120, not 2**60.
25836 * math/libm-test.inc (hypot_test): Add another test.
25838 * math/libm-test.inc (clog_test): Use
25839 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25840 (clog10_test): Likewise.
25843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25845 2012-11-22 Andreas Schwab <schwab@suse.de>
25847 * sysdeps/i386/fpu/libm-test-ulps: Update.
25849 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25851 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25852 printf output with newline.
25854 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25857 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25858 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25859 -z nodlopen, -z initfirst and -z execstack support.
25860 * configure: Regenerated.
25862 * elf/elf.h (DF_1_NODIRECT): New macro.
25863 (DF_1_IGNMULDEF): Likewise.
25864 (DF_1_NOKSYMS): Likewise.
25865 (DF_1_NOHDR): Likewise.
25866 (DF_1_EDITED): Likewise.
25867 (DF_1_NORELOC): Likewise.
25868 (DF_1_SYMINTPOSE): Likewise.
25869 (DF_1_GLOBAUDIT): Likewise.
25870 (DF_1_SINGLETON): Likewise.
25871 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25872 DT_1_SUPPORTED_MASK bits.
25873 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25875 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25877 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25879 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25881 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25884 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25885 (sendmmsg): Move declarations...
25886 * socket/sys/socket.h: ... here.
25887 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25888 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25890 * socket/recvmmsg.c: ... this new file.
25891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25892 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25893 definition of __sendmmsg hidden.
25894 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25895 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25896 Move ENOSYS stub into and include it from...
25897 * socket/sendmmsg.c: ... this new file.
25898 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25899 (sysdep_routines): Move recvmmsg and sendmmsg...
25900 * socket/Makefile (routines): ... here.
25901 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25902 (GLIBC_PRIVATE): Add __sendmmsg.
25903 * include/sys/socket.h (__sendmmsg): Add declarations.
25904 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25907 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25910 variable I1 with __attribute__ ((unused)).
25911 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25913 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25915 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25916 DUMMY variables with __attribute__ ((unused)).
25918 * bits/byteswap.h: Include <bits/types.h>.
25919 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25921 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25923 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25924 string_t. Do not manually set errno.
25925 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25926 length with __strnlen. Make sure to both set errno and return it on
25929 2012-11-19 David S. Miller <davem@davemloft.net>
25931 With help from Joseph Myers.
25932 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25933 very large arguments properly.
25934 * math/libm-test.inc (atan_test): New tests.
25935 (atan2_test): New tests.
25936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25939 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25942 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25945 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25946 [POSIX] (EADDRNOTAVAIL): Likewise.
25947 [POSIX] (EAFNOSUPPORT): Likewise.
25948 [POSIX] (EALREADY): Likewise.
25949 [POSIX] (ECONNABORTED): Likewise.
25950 [POSIX] (ECONNREFUSED): Likewise.
25951 [POSIX] (ECONNRESET): Likewise.
25952 [POSIX] (EDESTADDRREQ): Likewise.
25953 [POSIX] (EDQUOT): Likewise.
25954 [POSIX] (EHOSTUNREACH): Likewise.
25955 [POSIX] (EIDRM): Likewise.
25956 [POSIX] (EISCONN): Likewise.
25957 [POSIX] (ELOOP): Likewise.
25958 [POSIX] (EMULTIHOP): Likewise.
25959 [POSIX] (ENETDOWN): Likewise.
25960 [POSIX] (ENETUNREACH): Likewise.
25961 [POSIX] (ENOBUFS): Likewise.
25962 [POSIX] (ENODATA): Likewise.
25963 [POSIX] (ENOLINK): Likewise.
25964 [POSIX] (ENOMSG): Likewise.
25965 [POSIX] (ENOPROTOOPT): Likewise.
25966 [POSIX] (ENOSR): Likewise.
25967 [POSIX] (ENOSTR): Likewise.
25968 [POSIX] (ENOTCONN): Likewise.
25969 [POSIX] (ENOTSOCK): Likewise.
25970 [POSIX] (EOPNOTSUPP): Likewise.
25971 [POSIX] (EOVERFLOW): Likewise.
25972 [POSIX] (EPROTO): Likewise.
25973 [POSIX] (EPROTONOSUPPORT): Likewise.
25974 [POSIX] (EPROTOTYPE): Likewise.
25975 [POSIX] (ESTALE): Likewise.
25976 [POSIX] (ETIME): Likewise.
25977 [POSIX] (ETXTBSY): Likewise.
25978 [POSIX] (EWOULDBLOCK): Likewise.
25979 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25980 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25981 [POSIX] (SEEK_CUR): Likewise.
25982 [POSIX] (SEEK_END): Likewise.
25983 [POSIX || UNIX98] (mode_t): Do not require.
25984 [POSIX] (off_t): Likewise.
25985 [POSIX] (pid_t): Likewise.
25986 [POSIX] (sys/stat.h): Do not allow header.
25987 [POSIX] (unistd.h): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25989 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25991 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25993 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25994 sigevent): Specify elements.
25995 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25997 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25998 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26000 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26001 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26002 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26003 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26004 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26005 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26006 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26007 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26008 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26009 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26010 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26012 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26022 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26025 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26026 Specify lower bound on value.
26027 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26033 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26034 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26036 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26038 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26055 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26057 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26060 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26061 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26064 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26066 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26067 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26068 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26069 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26075 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26076 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26077 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26078 specify as optional.
26079 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26080 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26081 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26082 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26083 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26084 [XPG3] (NL_LANGMAX): Likewise.
26085 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26086 [POSIX || XPG3] (NL_NMAX): Likewise.
26087 [POSIX || XPG3] (NL_SETMAX): Likewise.
26088 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26089 [XPG3] (NZERO): Likewise.
26090 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26091 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26092 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26093 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26094 (REG_ERANGE): Expect.
26095 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26097 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26098 Use (void) in prototype.
26099 [POSIX] (*_t): Allow.
26100 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26101 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26102 (WRDE_BADVAL): Expect.
26104 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26106 [XPG3 || XPG4] (O_RSYNC): Likewise.
26107 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26109 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26110 [XPG3 || XPG4] (sigqueue): Likewise.
26111 [XPG3 || XPG4] (sigtimedwait): Likewise.
26112 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26113 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26114 [XPG3 || XPG4] (vsnprintf): Likewise.
26115 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26117 [XPG3 || XPG4] (blksize_t): Likewise.
26118 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26120 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26121 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26122 [XPG3 || XPG4] (struct itimerspec): Likewise.
26123 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26124 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26125 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26126 [XPG3 || XPG4] (clockid_t): Likewise.
26127 [XPG3 || XPG4] (timer_t): Likewise.
26128 [XPG3 || XPG4] (clock_getres): Likewise.
26129 [XPG3 || XPG4] (clock_gettime): Likewise.
26130 [XPG3 || XPG4] (clock_settime): Likewise.
26131 [XPG3 || XPG4] (nanosleep): Likewise.
26132 [XPG3 || XPG4] (timer_create): Likewise.
26133 [XPG3 || XPG4] (timer_delete): Likewise.
26134 [XPG3 || XPG4] (timer_gettime): Likewise.
26135 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26136 [XPG3 || XPG4] (timer_settime): Likewise.
26137 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26138 [XPG3 || XPG4] (getlogin_r): Likewise.
26139 [XPG3 || XPG4] (pread): Likewise.
26140 [XPG3 || XPG4] (pthread_atfork): Likewise.
26141 [XPG3 || XPG4] (pwrite): Likewise.
26144 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26147 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26149 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26150 finalizing MALLSTREAM.
26152 * sysdeps/mach/hurd/syncfs.c: New file.
26154 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26157 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26158 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26160 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26161 (_nss_dns_gethostbyname4_r): Likewise.
26162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26163 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26165 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26168 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26170 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26172 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26173 * elf/cache.c (print_entry): Print ",AArch64" for
26176 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26177 * elf/cache.c (print_entry): Print ",hard-float" for
26180 2012-11-18 David S. Miller <davem@davemloft.net>
26182 With help from Joseph Myers.
26183 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26185 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26187 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26188 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26190 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26191 * math/libm-test.inc (y0_test): New tests.
26192 (y1_test): New tests.
26193 * sysdeps/i386/fpu/libm-test-ulps: Update.
26194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26197 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26199 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26201 * configure: Regenerated.
26203 2012-11-17 David S. Miller <davem@davemloft.net>
26206 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26207 nonzero exponents with absolute value below 0x1p-128 to +/-
26210 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26212 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26214 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26216 * posix/getconf-speclist.c: New file.
26217 * posix/posix-envs.def: Likewise.
26218 * posix/confstr.c (START_ENV_GROUP): New macro.
26219 (END_ENV_GROUP): Likewise.
26220 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26221 (KNOWN_PRESENT_ENV_STRING): Likewise.
26222 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26223 (UNKNOWN_ENVIRONMENT): Likewise.
26224 (confstr): Include posix-envs.def instead of handling
26225 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26226 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26227 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26228 (END_ENV_GROUP): Likewise.
26229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26231 (UNKNOWN_ENVIRONMENT): Likewise.
26232 (__sysconf): Include posix-envs.def instead of handling associated
26233 cases directly here.
26234 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26235 preprocessing getconf-speclist.c rather than running getconf or
26236 generating empty file.
26238 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26240 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26242 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26245 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26247 2012-11-16 David S. Miller <davem@davemloft.net>
26249 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26250 smaller than LDBL_EPSILON/2.0L, just return xm1.
26252 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26254 * elf/tst-array1.c (init): Set constructor priority to 1000.
26255 (fini): Set destructor priority to 1000.
26256 * elf/tst-array2dep.c: Likewise.
26258 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26261 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26262 (_IO_new_file_xsputn): Also return EOF if none of the input
26263 data was written when overflow failed.
26264 * libio/iopadn.c (_IO_padn): Likewise.
26265 * libio/iowpadn.c (_IO_wpadn): Likewise.
26266 * stdio-common/tst-put-error.c: Add copyright notice.
26267 (do_test): Add case for printing padded string.
26268 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26269 _IO_padn returned error.
26270 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26271 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26274 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26276 * libio/libioP.h: Add comment note that the references to C++
26277 bits are now obsolete.
26279 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26281 * math/libm-test.inc (check_complex): Use asprintf.
26283 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26285 * debug/pcprofiledump.c (print_version): Update copyright year.
26286 * malloc/memusagestat.c (print_version): Likewise.
26288 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26291 * elf/Makefile (tests): Add tst-audit8.
26292 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26293 ($(objpfx)tst-audit8.out): New target.
26294 (tst-audit8-ENV): New variable.
26295 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26296 audit if l_reloc_result is NULL.
26297 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26298 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26299 * elf/tst-audit8.c: New file.
26301 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26303 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26304 * misc/Makefile (CFLAGS-select.c): Define.
26305 * posix/Makefile (CFLAGS-pause.c): Define.
26307 2012-11-13 David S. Miller <davem@davemloft.net>
26309 * crypt/Makefile: Move test targets after toplevel Rules
26310 inclusion. Grab any necessary sysdep routines when linking.
26311 * crypt/md5.c (md5_process_block): Remove define, we will always
26312 name it __md5_process_block.
26313 (md5_finish_ctx): Update md5_process_block call.
26314 (md5_stream): Likewise.
26315 (md5_process_bytes): Likewise.
26316 (md5_process_block): Rename to __md5_process_block and move to ...
26317 * crypt/md5-block.c: ... here.
26318 * crypt/sha256.c (sha256_process_block): Move to ...
26319 * crypt/sha256-block.c: ... here.
26320 * crypt/sha512.c (sha512_process_block): Move to ...
26321 * crypt/sha512-block.c: ... here.
26322 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26324 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26325 * sysdeps/sparc/sparc64/multiarch/Makefile
26326 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26328 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26331 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26332 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26333 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26334 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26335 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26336 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26337 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26346 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26348 * timezone/tzselect.ksh: Update from tzcode git revision
26349 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26350 * timezone/zdump.c: Likewise.
26351 * timezone/zic.c: Likewise.
26352 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26353 in TZVERSION setting, not $(PKGVERSION).
26354 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26355 REPORT_BUGS_TO settings.
26358 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26361 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26363 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26364 detection to immediately after _FP_ROUND().
26365 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26368 2012-11-11 David S. Miller <davem@davemloft.net>
26370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26372 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26373 __close rather than their public counterparts.
26375 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26377 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26379 [UNIX98] (sem_timedwait): Do not expect.
26380 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26381 [XPG4 || UNIX98] (sockatmark): Do not expect.
26382 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26383 (clock_getcpuclockid): Do not expect.
26384 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26385 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26387 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26388 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26389 [UNIX98] (vwscanf): Likewise.
26390 [UNIX98] (vswscanf): Likewise.
26392 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26394 * timezone/version.h: Remove file.
26395 * timezone/README: Do not refer to version.h.
26396 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26397 $(objpfx)version.h.
26398 ($(objpfx)zdump.o): Likewise.
26399 ($(objpfx)version.h): New target.
26401 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26403 * timezone/README: Don't mention modification to tzselect.ksh.
26404 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26405 work on unmodified tzselect.ksh. Substitute version numbers in
26408 * Makefile (format-me): Remove.
26409 (INSTALL): Adjust indentation. Use commands directly instead of
26410 using $(format-me).
26412 * aclocal.m4 (ACX_PKGVERSION): New macro.
26413 (ACX_BUGURL): Likewise.
26414 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26415 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26416 (REPORT_BUGS_TO): Likewise.
26417 * configure: Regenerated.
26418 * config.h.in (PKGVERSION): New macro.
26419 (REPORT_BUGS_TO): Likewise.
26420 * config.make.in (PKGVERSION): New variable.
26421 (PKGVERSION_TEXI): Likewise.
26422 (REPORT_BUGS_TO): Likewise.
26423 (REPORT_BUGS_TEXI): Likewise.
26424 * Makefile (format-me): Use -I$(common-objpfx)manual.
26425 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26426 ($(common-objpfx)manual/%): New target.
26427 (manual/%): Remove target.
26428 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26429 (print_version): Use PKGVERSION.
26430 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26431 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26432 and REPORT_BUGS_TO.
26433 ($(objpfx)xtrace): Likewise.
26434 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26435 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26436 (print_version): Use PKGVERSION.
26437 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26438 (do_version): Use PKGVERSION.
26439 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26441 (common-ldd-rewrite): Likewise.
26442 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26443 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26444 (print_version): Use PKGVERSION.
26445 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26446 * elf/pldd.c (argp_program_bug_address): Remove variable.
26447 (more_help): New function.
26448 (argp): Use more_help.
26449 (print_version): Use PKGVERSION.
26450 * elf/sln.c (main): Use PKGVERSION.
26451 (usage): Use REPORT_BUGS_TO.
26452 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26453 (top level): Use PKGVERSION.
26454 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26455 (print_version): Use PKGVERSION.
26456 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26457 (print_version): Use PKGVERSION.
26458 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26459 (print_version): Use PKGVERSION.
26460 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26461 (print_version): Use PKGVERSION.
26462 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26463 (print_version): Use PKGVERSION.
26464 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26465 (print_version): Use PKGVERSION.
26466 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26468 ($(objpfx)memusage): Likewise.
26469 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26470 (do_version): Use PKGVERSION.
26471 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26472 (print_version): Use PKGVERSION.
26473 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26474 ($PKGVERSION): New variable.
26475 ($REPORT_BUGS_TO): Likewise.
26476 (usage): Use $REPORT_BUGS_TO.
26477 (top level): Use $PKGVERSION.
26478 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26479 ($(objpfx)pkgvers.texi): New rule.
26480 ($(objpfx)stamp-pkgvers): Likewise.
26481 * manual/install.texi: Include pkgvers.texi.
26482 (--with-pkgversion): Document new configure option.
26483 (--with-bugurl): Likewise.
26484 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26485 than necessarily for this particular distribution. Use
26486 REPORT_BUGS_TO for where to report bugs.
26487 * INSTALL: Regenerated.
26488 * manual/libc.texinfo: Include pkgvers.texi.
26489 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26490 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26491 (print_version): Use PKGVERSION.
26492 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26493 (print_version): Use PKGVERSION.
26494 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26495 (print_version): Use PKGVERSION.
26496 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26497 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26499 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26500 (print_version): Use PKGVERSION.
26501 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26502 (print_version): Use PKGVERSION.
26503 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26506 * timezone/checktab.awk: Update from tzcode 2012i.
26507 * timezone/ialloc.c: Likewise.
26508 * timezone/private.h: Likewise.
26509 * timezone/scheck.c: Likewise.
26510 * timezone/tzfile.h: Likewise.
26511 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26512 (TZVERSION): Hardcode tzcode version number.
26513 * timezone/zdump.c: Update from tzcode 2012i.
26514 * timezone/zic.c: Likewise.
26515 * timezone/version.h: New file.
26516 * timezone/README: Describe version.h. Update upstream location.
26519 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26520 (mktemp): Enable declaration.
26521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26538 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26539 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26540 for copies of such integer values.
26541 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26542 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26544 2012-11-09 Andreas Jaeger <aj@suse.de>
26546 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26547 definitions and declarations that are provided by
26548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26550 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26553 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26554 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26557 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26559 * elf/elf.h: Update comment before AArch64 relocations.
26561 2012-11-07 David S. Miller <davem@davemloft.net>
26563 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26564 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26565 (__start_context): Declare.
26566 (__makecontext_ret): Delete.
26567 (__makecontext): Hook up __start_context instead of
26569 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26570 (sysdep_routines): Add __start_context when in stdlib.
26572 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26574 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26575 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26576 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26578 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26579 (READELF): New variable. Use it instead of hardcoded "readelf".
26581 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26583 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26584 * sysdeps/x86/Makefile: Here.
26585 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26586 * sysdeps/x86/tst-xmmymm.sh: This.
26588 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26590 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26592 [UNIX98] (pthread_barrier_t): Do not expect.
26593 [UNIX98] (pthread_barrierattr_t): Likewise.
26594 [UNIX98] (pthread_spinlock_t): Likewise.
26595 [UNIX98] (pthread_barrier_destroy): Likewise.
26596 [UNIX98] (pthread_barrier_init): Likewise.
26597 [UNIX98] (pthread_barrier_wait): Likewise.
26598 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26599 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26600 [UNIX98] (pthread_barrierattr_init): Likewise.
26601 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26602 [UNIX98] (pthread_getcpuclockid): Likewise.
26603 [UNIX98] (pthread_mutex_timedlock): Likewise.
26604 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26605 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26606 [UNIX98] (pthread_sigmask): Likewise.
26607 [UNIX98] (pthread_spin_destroy): Likewise.
26608 [UNIX98] (pthread_spin_init): Likewise.
26609 [UNIX98] (pthread_spin_lock): Likewise.
26610 [UNIX98] (pthread_spin_trylock): Likewise.
26611 [UNIX98] (pthread_spin_unlock): Likewise.
26612 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26614 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26615 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26616 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26617 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26618 [XPG3 || XPG4] (pthread_key_t): Likewise.
26619 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26620 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26621 [XPG3 || XPG4] (pthread_once_t): Likewise.
26622 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26623 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26624 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26625 [XPG3 || XPG4] (pthread_t): Likewise.
26627 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26629 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26631 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26632 Change function return type to int.
26634 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26635 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26636 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26637 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26638 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26639 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26640 [!POSIX] (posix_madvise): Likewise.
26641 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26643 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26644 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26645 (mode_t): Likewise.
26646 (posix_mem_offset): Likewise.
26647 (posix_typed_mem_get_info): Likewise.
26648 (posix_typed_mem_open): Likewise.
26650 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26651 Change condition to [XOPEN2K8].
26653 * conform/conformtest.pl: Preprocess allow-header data with -x c
26654 instead of from stdin.
26655 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26656 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26657 [C99-based standards] (cerfc): Likewise.
26658 [C99-based standards] (cexp2): Likewise.
26659 [C99-based standards] (cexpm1): Likewise.
26660 [C99-based standards] (clog10): Likewise.
26661 [C99-based standards] (clog1p): Likewise.
26662 [C99-based standards] (clog2): Likewise.
26663 [C99-based standards] (clgamma): Likewise.
26664 [C99-based standards] (ctgamma): Likewise.
26665 [C99-based standards] (cerff): Likewise.
26666 [C99-based standards] (cerfcf): Likewise.
26667 [C99-based standards] (cexp2f): Likewise.
26668 [C99-based standards] (cexpm1f): Likewise.
26669 [C99-based standards] (clog10f): Likewise.
26670 [C99-based standards] (clog1pf): Likewise.
26671 [C99-based standards] (clog2f): Likewise.
26672 [C99-based standards] (clgammaf): Likewise.
26673 [C99-based standards] (ctgammaf): Likewise.
26674 [C99-based standards] (cerfl): Likewise.
26675 [C99-based standards] (cerfcl): Likewise.
26676 [C99-based standards] (cexp2l): Likewise.
26677 [C99-based standards] (cexpm1l): Likewise.
26678 [C99-based standards] (clog10l): Likewise.
26679 [C99-based standards] (clog1pl): Likewise.
26680 [C99-based standards] (clog2l): Likewise.
26681 [C99-based standards] (clgammal): Likewise.
26682 [C99-based standards] (ctgammal): Likewise.
26683 * conform/data/inttypes.h-data [C99-based standards]: Include
26684 stdint.h-data. Remove all expectations for stdint.h contents.
26685 [C99-based standards] (PRI*): Do not allow.
26686 [C99-based standards] (SCN*): Likewise.
26687 [C99-based standards] (*_t): Likewise.
26688 [C99-based-standards] (PRId8): Expect macro.
26689 [C99-based-standards] (PRIi8): Likewise.
26690 [C99-based-standards] (PRIo8): Likewise.
26691 [C99-based-standards] (PRIu8): Likewise.
26692 [C99-based-standards] (PRIx8): Likewise.
26693 [C99-based-standards] (PRIX8): Likewise.
26694 [C99-based-standards] (SCNd8): Likewise.
26695 [C99-based-standards] (SCNi8): Likewise.
26696 [C99-based-standards] (SCNo8): Likewise.
26697 [C99-based-standards] (SCNu8): Likewise.
26698 [C99-based-standards] (SCNx8): Likewise.
26699 [C99-based-standards] (PRIdLEAST8): Likewise.
26700 [C99-based-standards] (PRIiLEAST8): Likewise.
26701 [C99-based-standards] (PRIoLEAST8): Likewise.
26702 [C99-based-standards] (PRIuLEAST8): Likewise.
26703 [C99-based-standards] (PRIxLEAST8): Likewise.
26704 [C99-based-standards] (PRIXLEAST8): Likewise.
26705 [C99-based-standards] (SCNdLEAST8): Likewise.
26706 [C99-based-standards] (SCNiLEAST8): Likewise.
26707 [C99-based-standards] (SCNoLEAST8): Likewise.
26708 [C99-based-standards] (SCNuLEAST8): Likewise.
26709 [C99-based-standards] (SCNxLEAST8): Likewise.
26710 [C99-based-standards] (PRIdFAST8): Likewise.
26711 [C99-based-standards] (PRIiFAST8): Likewise.
26712 [C99-based-standards] (PRIoFAST8): Likewise.
26713 [C99-based-standards] (PRIuFAST8): Likewise.
26714 [C99-based-standards] (PRIxFAST8): Likewise.
26715 [C99-based-standards] (PRIXFAST8): Likewise.
26716 [C99-based-standards] (SCNdFAST8): Likewise.
26717 [C99-based-standards] (SCNiFAST8): Likewise.
26718 [C99-based-standards] (SCNoFAST8): Likewise.
26719 [C99-based-standards] (SCNuFAST8): Likewise.
26720 [C99-based-standards] (SCNxFAST8): Likewise.
26721 [C99-based-standards] (PRId16): Likewise.
26722 [C99-based-standards] (PRIi16): Likewise.
26723 [C99-based-standards] (PRIo16): Likewise.
26724 [C99-based-standards] (PRIu16): Likewise.
26725 [C99-based-standards] (PRIx16): Likewise.
26726 [C99-based-standards] (PRIX16): Likewise.
26727 [C99-based-standards] (SCNd16): Likewise.
26728 [C99-based-standards] (SCNi16): Likewise.
26729 [C99-based-standards] (SCNo16): Likewise.
26730 [C99-based-standards] (SCNu16): Likewise.
26731 [C99-based-standards] (SCNx16): Likewise.
26732 [C99-based-standards] (PRIdLEAST16): Likewise.
26733 [C99-based-standards] (PRIiLEAST16): Likewise.
26734 [C99-based-standards] (PRIoLEAST16): Likewise.
26735 [C99-based-standards] (PRIuLEAST16): Likewise.
26736 [C99-based-standards] (PRIxLEAST16): Likewise.
26737 [C99-based-standards] (PRIXLEAST16): Likewise.
26738 [C99-based-standards] (SCNdLEAST16): Likewise.
26739 [C99-based-standards] (SCNiLEAST16): Likewise.
26740 [C99-based-standards] (SCNoLEAST16): Likewise.
26741 [C99-based-standards] (SCNuLEAST16): Likewise.
26742 [C99-based-standards] (SCNxLEAST16): Likewise.
26743 [C99-based-standards] (PRIdFAST16): Likewise.
26744 [C99-based-standards] (PRIiFAST16): Likewise.
26745 [C99-based-standards] (PRIoFAST16): Likewise.
26746 [C99-based-standards] (PRIuFAST16): Likewise.
26747 [C99-based-standards] (PRIxFAST16): Likewise.
26748 [C99-based-standards] (PRIXFAST16): Likewise.
26749 [C99-based-standards] (SCNdFAST16): Likewise.
26750 [C99-based-standards] (SCNiFAST16): Likewise.
26751 [C99-based-standards] (SCNoFAST16): Likewise.
26752 [C99-based-standards] (SCNuFAST16): Likewise.
26753 [C99-based-standards] (SCNxFAST16): Likewise.
26754 [C99-based-standards] (PRId32): Likewise.
26755 [C99-based-standards] (PRIi32): Likewise.
26756 [C99-based-standards] (PRIo32): Likewise.
26757 [C99-based-standards] (PRIu32): Likewise.
26758 [C99-based-standards] (PRIx32): Likewise.
26759 [C99-based-standards] (PRIX32): Likewise.
26760 [C99-based-standards] (SCNd32): Likewise.
26761 [C99-based-standards] (SCNi32): Likewise.
26762 [C99-based-standards] (SCNo32): Likewise.
26763 [C99-based-standards] (SCNu32): Likewise.
26764 [C99-based-standards] (SCNx32): Likewise.
26765 [C99-based-standards] (PRIdLEAST32): Likewise.
26766 [C99-based-standards] (PRIiLEAST32): Likewise.
26767 [C99-based-standards] (PRIoLEAST32): Likewise.
26768 [C99-based-standards] (PRIuLEAST32): Likewise.
26769 [C99-based-standards] (PRIxLEAST32): Likewise.
26770 [C99-based-standards] (PRIXLEAST32): Likewise.
26771 [C99-based-standards] (SCNdLEAST32): Likewise.
26772 [C99-based-standards] (SCNiLEAST32): Likewise.
26773 [C99-based-standards] (SCNoLEAST32): Likewise.
26774 [C99-based-standards] (SCNuLEAST32): Likewise.
26775 [C99-based-standards] (SCNxLEAST32): Likewise.
26776 [C99-based-standards] (PRIdFAST32): Likewise.
26777 [C99-based-standards] (PRIiFAST32): Likewise.
26778 [C99-based-standards] (PRIoFAST32): Likewise.
26779 [C99-based-standards] (PRIuFAST32): Likewise.
26780 [C99-based-standards] (PRIxFAST32): Likewise.
26781 [C99-based-standards] (PRIXFAST32): Likewise.
26782 [C99-based-standards] (SCNdFAST32): Likewise.
26783 [C99-based-standards] (SCNiFAST32): Likewise.
26784 [C99-based-standards] (SCNoFAST32): Likewise.
26785 [C99-based-standards] (SCNuFAST32): Likewise.
26786 [C99-based-standards] (SCNxFAST32): Likewise.
26787 [C99-based-standards] (PRId64): Likewise.
26788 [C99-based-standards] (PRIi64): Likewise.
26789 [C99-based-standards] (PRIo64): Likewise.
26790 [C99-based-standards] (PRIu64): Likewise.
26791 [C99-based-standards] (PRIx64): Likewise.
26792 [C99-based-standards] (PRIX64): Likewise.
26793 [C99-based-standards] (SCNd64): Likewise.
26794 [C99-based-standards] (SCNi64): Likewise.
26795 [C99-based-standards] (SCNo64): Likewise.
26796 [C99-based-standards] (SCNu64): Likewise.
26797 [C99-based-standards] (SCNx64): Likewise.
26798 [C99-based-standards] (PRIdLEAST64): Likewise.
26799 [C99-based-standards] (PRIiLEAST64): Likewise.
26800 [C99-based-standards] (PRIoLEAST64): Likewise.
26801 [C99-based-standards] (PRIuLEAST64): Likewise.
26802 [C99-based-standards] (PRIxLEAST64): Likewise.
26803 [C99-based-standards] (PRIXLEAST64): Likewise.
26804 [C99-based-standards] (SCNdLEAST64): Likewise.
26805 [C99-based-standards] (SCNiLEAST64): Likewise.
26806 [C99-based-standards] (SCNoLEAST64): Likewise.
26807 [C99-based-standards] (SCNuLEAST64): Likewise.
26808 [C99-based-standards] (SCNxLEAST64): Likewise.
26809 [C99-based-standards] (PRIdFAST64): Likewise.
26810 [C99-based-standards] (PRIiFAST64): Likewise.
26811 [C99-based-standards] (PRIoFAST64): Likewise.
26812 [C99-based-standards] (PRIuFAST64): Likewise.
26813 [C99-based-standards] (PRIxFAST64): Likewise.
26814 [C99-based-standards] (PRIXFAST64): Likewise.
26815 [C99-based-standards] (SCNdFAST64): Likewise.
26816 [C99-based-standards] (SCNiFAST64): Likewise.
26817 [C99-based-standards] (SCNoFAST64): Likewise.
26818 [C99-based-standards] (SCNuFAST64): Likewise.
26819 [C99-based-standards] (SCNxFAST64): Likewise.
26820 [C99-based-standards] (PRIdMAX): Likewise.
26821 [C99-based-standards] (PRIiMAX): Likewise.
26822 [C99-based-standards] (PRIoMAX): Likewise.
26823 [C99-based-standards] (PRIuMAX): Likewise.
26824 [C99-based-standards] (PRIxMAX): Likewise.
26825 [C99-based-standards] (PRIXMAX): Likewise.
26826 [C99-based-standards] (SCNdMAX): Likewise.
26827 [C99-based-standards] (SCNiMAX): Likewise.
26828 [C99-based-standards] (SCNoMAX): Likewise.
26829 [C99-based-standards] (SCNuMAX): Likewise.
26830 [C99-based-standards] (SCNxMAX): Likewise.
26831 [C99-based-standards] (PRIdPTR): Likewise.
26832 [C99-based-standards] (PRIiPTR): Likewise.
26833 [C99-based-standards] (PRIoPTR): Likewise.
26834 [C99-based-standards] (PRIuPTR): Likewise.
26835 [C99-based-standards] (PRIxPTR): Likewise.
26836 [C99-based-standards] (PRIXPTR): Likewise.
26837 [C99-based-standards] (SCNdPTR): Likewise.
26838 [C99-based-standards] (SCNiPTR): Likewise.
26839 [C99-based-standards] (SCNoPTR): Likewise.
26840 [C99-based-standards] (SCNuPTR): Likewise.
26841 [C99-based-standards] (SCNxPTR): Likewise.
26842 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26844 * conform/data/stdint.h-data: Update comments to clarify
26846 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26848 [C99-based standards] (INT8_MAX): Likewise.
26849 [C99-based standards] (INT16_MIN): Likewise.
26850 [C99-based standards] (INT16_MAX): Likewise.
26851 [C99-based standards] (INT32_MIN): Likewise.
26852 [C99-based standards] (INT32_MAX): Likewise.
26853 [C99-based standards] (INT64_MIN): Likewise.
26854 [C99-based standards] (INT64_MAX): Likewise.
26855 [C99-based standards] (UINT8_MAX): Likewise.
26856 [C99-based standards] (UINT16_MAX): Likewise.
26857 [C99-based standards] (UINT32_MAX): Likewise.
26858 [C99-based standards] (UINT64_MAX): Likewise.
26859 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26860 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26861 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26862 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26863 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26864 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26865 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26866 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26867 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26868 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26869 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26870 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26871 [C99-based standards] (INT_FAST8_MIN): Likewise.
26872 [C99-based standards] (INT_FAST8_MAX): Likewise.
26873 [C99-based standards] (INT_FAST16_MIN): Likewise.
26874 [C99-based standards] (INT_FAST16_MAX): Likewise.
26875 [C99-based standards] (INT_FAST32_MIN): Likewise.
26876 [C99-based standards] (INT_FAST32_MAX): Likewise.
26877 [C99-based standards] (INT_FAST64_MIN): Likewise.
26878 [C99-based standards] (INT_FAST64_MAX): Likewise.
26879 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26880 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26881 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26882 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26883 [C99-based standards] (INTPTR_MIN): Likewise.
26884 [C99-based standards] (INTPTR_MAX): Likewise.
26885 [C99-based standards] (UINTPTR_MAX): Likewise.
26886 [C99-based standards] (INTMAX_MIN): Likewise.
26887 [C99-based standards] (INTMAX_MAX): Likewise.
26888 [C99-based standards] (UINTMAX_MAX): Likewise.
26889 [C99-based standards] (PTRDIFF_MIN): Likewise.
26890 [C99-based standards] (PTRDIFF_MAX): Likewise.
26891 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26892 [C99-based standards] (SIZE_MAX): Likewise.
26893 [C99-based standards] (WCHAR_MAX): Likewise.
26894 [C99-based standards] (WINT_MAX): Likewise.
26895 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26896 constraint on value.
26897 [C99-based standards] (WCHAR_MIN): Likewise.
26898 [C99-based standards] (WINT_MIN): Likewise.
26899 [C99-based standards] (*_t): Allow.
26900 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26901 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26902 Include math.h-data and complex.h-data. Remove all expectations
26903 of math.h and complex.h contents.
26904 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26906 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26907 (struct tm): Expect tag.
26908 [C99-based-standards] (wcstof): Expect function.
26909 [C99-based-standards] (wcstold): Likewise.
26910 [C99-based-standards] (wcstoll): Likewise.
26911 [C99-based-standards] (wcstoull): Likewise.
26912 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26913 macro-int-constant. Specify type.
26914 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26915 constraint on value.
26916 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26918 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26920 [ISO C standards]: Do not allow headers.
26921 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26922 wcs[abcdefghijklmnopqrstuvwxyz]*.
26923 [ISO C standards] (*_t): Do not allow.
26924 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26926 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26927 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26929 [ISO C standards]: Do not allow headers.
26930 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26931 is[abcdefghijklmnopqrstuvwxyz]*.
26932 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26933 to[abcdefghijklmnopqrstuvwxyz]*.
26934 [ISO C standards] (*_t): Do not allow.
26935 * conform/data/stdalign.h-data: New file.
26936 * conform/data/stdbool.h-data: Likewise.
26937 * conform/data/stdnoreturn.h-data: Likewise.
26939 2012-11-07 Roland McGrath <roland@hack.frob.com>
26942 * manual/filesys.texi (Directory Entries): Typo fix.
26943 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26945 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26947 * elf/elf.h (EM_AARCH64): New macro.
26948 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26949 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26950 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26951 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26952 (R_AARCH64_TLSDESC): Likewise.
26953 (NT_ARM_TLS): Likewise.
26954 (NT_ARM_HW_BREAK): Likewise.
26955 (NT_ARM_HW_WATCH): Likewise.
26957 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26960 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26961 (__ieee754_powl): Saturate nonzero exponents with absolute value
26962 below 0x1p-79 to +/- 0x1p-79.
26963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26964 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26965 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26966 nonzero exponents with absolute value below 0x1p-32 to +/-
26968 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26969 (__ieee754_powl): Saturate nonzero exponents with absolute value
26970 below 0x1p-79 to +/- 0x1p-79.
26971 * math/libm-test.inc (pow_test): Add more tests.
26973 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26975 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26976 _dl_s390_cap_flags with kernel. Increase string length.
26977 (_dl_s390_platforms): Add z196 and zEC12.
26979 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26981 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26982 Change XOPEN21K to XOPEN2K.
26984 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26986 * string/memmove.c: Use memcpy when possible.
26988 2012-11-06 Andreas Jaeger <aj@suse.de>
26990 * po/eo.po: Update from translation team.
26992 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26996 exponent and small x and y exponents, scale x or y up. Increase
26997 by 2 the exponent used in scaling up.
26998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27000 * math/libm-test.inc (fma_test): Add more tests.
27001 (fma_test_towardzero): Likewise.
27002 (fma_test_downward): Likewise.
27003 (fma_test_upward): Likewise.
27005 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27008 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27012 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27013 namespace for names of struct fields.
27014 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27016 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27017 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27019 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27022 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27024 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27026 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27030 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27033 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27037 definitely overflow as x * y not x * y + z.
27038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27040 * math/libm-test.inc (fma_test): Add more tests.
27041 (fma_test_towardzero): Likewise.
27042 (fma_test_downward): Likewise.
27043 (fma_test_upward): Likewise.
27045 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27049 * include/stub-tag.h: Remove file.
27050 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27052 * manual/maint.texi (Porting): Don't reference it.
27053 * Makerules ($(objpfx)stubs): Likewise.
27054 * dirent/closedir.c: Don't include <stub-tag.h>.
27055 * dirent/dirfd.c: Likewise.
27056 * dirent/fdopendir.c: Likewise.
27057 * dirent/getdents.c: Likewise.
27058 * dirent/getdents64.c: Likewise.
27059 * dirent/opendir.c: Likewise.
27060 * dirent/readdir.c: Likewise.
27061 * dirent/readdir64.c: Likewise.
27062 * dirent/readdir64_r.c: Likewise.
27063 * dirent/readdir_r.c: Likewise.
27064 * dirent/rewinddir.c: Likewise.
27065 * dirent/seekdir.c: Likewise.
27066 * dirent/telldir.c: Likewise.
27067 * gmon/profil.c: Likewise.
27068 * grp/setgroups.c: Likewise.
27069 * inet/if_index.c: Likewise.
27070 * io/access.c: Likewise.
27071 * io/chdir.c: Likewise.
27072 * io/chmod.c: Likewise.
27073 * io/chown.c: Likewise.
27074 * io/close.c: Likewise.
27075 * io/dup.c: Likewise.
27076 * io/dup2.c: Likewise.
27077 * io/dup3.c: Likewise.
27078 * io/euidaccess.c: Likewise.
27079 * io/faccessat.c: Likewise.
27080 * io/fchdir.c: Likewise.
27081 * io/fchmod.c: Likewise.
27082 * io/fchmodat.c: Likewise.
27083 * io/fchown.c: Likewise.
27084 * io/fchownat.c: Likewise.
27085 * io/fcntl.c: Likewise.
27086 * io/flock.c: Likewise.
27087 * io/fstatfs.c: Likewise.
27088 * io/fstatfs64.c: Likewise.
27089 * io/fstatvfs.c: Likewise.
27090 * io/fstatvfs64.c: Likewise.
27091 * io/futimens.c: Likewise.
27092 * io/fxstat.c: Likewise.
27093 * io/fxstat64.c: Likewise.
27094 * io/fxstatat.c: Likewise.
27095 * io/fxstatat64.c: Likewise.
27096 * io/getcwd.c: Likewise.
27097 * io/isatty.c: Likewise.
27098 * io/lchmod.c: Likewise.
27099 * io/lchown.c: Likewise.
27100 * io/link.c: Likewise.
27101 * io/linkat.c: Likewise.
27102 * io/lseek.c: Likewise.
27103 * io/lseek64.c: Likewise.
27104 * io/lxstat64.c: Likewise.
27105 * io/mkdir.c: Likewise.
27106 * io/mkdirat.c: Likewise.
27107 * io/mkfifo.c: Likewise.
27108 * io/mkfifoat.c: Likewise.
27109 * io/open.c: Likewise.
27110 * io/open64.c: Likewise.
27111 * io/openat.c: Likewise.
27112 * io/openat64.c: Likewise.
27113 * io/pipe.c: Likewise.
27114 * io/pipe2.c: Likewise.
27115 * io/poll.c: Likewise.
27116 * io/posix_fadvise.c: Likewise.
27117 * io/posix_fadvise64.c: Likewise.
27118 * io/posix_fallocate.c: Likewise.
27119 * io/posix_fallocate64.c: Likewise.
27120 * io/read.c: Likewise.
27121 * io/readlink.c: Likewise.
27122 * io/readlinkat.c: Likewise.
27123 * io/rmdir.c: Likewise.
27124 * io/sendfile.c: Likewise.
27125 * io/sendfile64.c: Likewise.
27126 * io/statfs.c: Likewise.
27127 * io/statfs64.c: Likewise.
27128 * io/statvfs.c: Likewise.
27129 * io/statvfs64.c: Likewise.
27130 * io/symlink.c: Likewise.
27131 * io/symlinkat.c: Likewise.
27132 * io/ttyname.c: Likewise.
27133 * io/ttyname_r.c: Likewise.
27134 * io/umask.c: Likewise.
27135 * io/unlink.c: Likewise.
27136 * io/unlinkat.c: Likewise.
27137 * io/utime.c: Likewise.
27138 * io/utimensat.c: Likewise.
27139 * io/write.c: Likewise.
27140 * io/xmknod.c: Likewise.
27141 * io/xmknodat.c: Likewise.
27142 * io/xstat.c: Likewise.
27143 * io/xstat64.c: Likewise.
27144 * login/getpt.c: Likewise.
27145 * login/grantpt.c: Likewise.
27146 * login/unlockpt.c: Likewise.
27147 * math/e_acoshl.c: Likewise.
27148 * math/e_acosl.c: Likewise.
27149 * math/e_asinl.c: Likewise.
27150 * math/e_atan2l.c: Likewise.
27151 * math/e_atanhl.c: Likewise.
27152 * math/e_coshl.c: Likewise.
27153 * math/e_expl.c: Likewise.
27154 * math/e_fmodl.c: Likewise.
27155 * math/e_gammal_r.c: Likewise.
27156 * math/e_hypotl.c: Likewise.
27157 * math/e_j0l.c: Likewise.
27158 * math/e_j1l.c: Likewise.
27159 * math/e_jnl.c: Likewise.
27160 * math/e_lgammal_r.c: Likewise.
27161 * math/e_log10l.c: Likewise.
27162 * math/e_log2l.c: Likewise.
27163 * math/e_logl.c: Likewise.
27164 * math/e_powl.c: Likewise.
27165 * math/e_rem_pio2l.c: Likewise.
27166 * math/e_sinhl.c: Likewise.
27167 * math/e_sqrtl.c: Likewise.
27168 * math/fclrexcpt.c: Likewise.
27169 * math/fedisblxcpt.c: Likewise.
27170 * math/feenablxcpt.c: Likewise.
27171 * math/fegetenv.c: Likewise.
27172 * math/fegetexcept.c: Likewise.
27173 * math/fegetround.c: Likewise.
27174 * math/feholdexcpt.c: Likewise.
27175 * math/fesetenv.c: Likewise.
27176 * math/fesetround.c: Likewise.
27177 * math/feupdateenv.c: Likewise.
27178 * math/fgetexcptflg.c: Likewise.
27179 * math/fraiseexcpt.c: Likewise.
27180 * math/fsetexcptflg.c: Likewise.
27181 * math/ftestexcept.c: Likewise.
27182 * math/k_cosl.c: Likewise.
27183 * math/k_rem_pio2l.c: Likewise.
27184 * math/k_sinl.c: Likewise.
27185 * math/k_tanl.c: Likewise.
27186 * math/s_asinhl.c: Likewise.
27187 * math/s_atanl.c: Likewise.
27188 * math/s_cbrtl.c: Likewise.
27189 * math/s_erfl.c: Likewise.
27190 * math/s_expm1l.c: Likewise.
27191 * math/s_log1pl.c: Likewise.
27192 * math/s_tanhl.c: Likewise.
27193 * misc/acct.c: Likewise.
27194 * misc/brk.c: Likewise.
27195 * misc/chflags.c: Likewise.
27196 * misc/chroot.c: Likewise.
27197 * misc/fchflags.c: Likewise.
27198 * misc/fgetxattr.c: Likewise.
27199 * misc/flistxattr.c: Likewise.
27200 * misc/fremovexattr.c: Likewise.
27201 * misc/fsetxattr.c: Likewise.
27202 * misc/fsync.c: Likewise.
27203 * misc/ftruncate.c: Likewise.
27204 * misc/futimes.c: Likewise.
27205 * misc/futimesat.c: Likewise.
27206 * misc/getdomain.c: Likewise.
27207 * misc/getdtsz.c: Likewise.
27208 * misc/gethostid.c: Likewise.
27209 * misc/gethostname.c: Likewise.
27210 * misc/getloadavg.c: Likewise.
27211 * misc/getpagesize.c: Likewise.
27212 * misc/getsysstats.c: Likewise.
27213 * misc/getxattr.c: Likewise.
27214 * misc/gtty.c: Likewise.
27215 * misc/ioctl.c: Likewise.
27216 * misc/lgetxattr.c: Likewise.
27217 * misc/listxattr.c: Likewise.
27218 * misc/llistxattr.c: Likewise.
27219 * misc/lremovexattr.c: Likewise.
27220 * misc/lsetxattr.c: Likewise.
27221 * misc/lutimes.c: Likewise.
27222 * misc/madvise.c: Likewise.
27223 * misc/mincore.c: Likewise.
27224 * misc/mlock.c: Likewise.
27225 * misc/mlockall.c: Likewise.
27226 * misc/mmap.c: Likewise.
27227 * misc/mprotect.c: Likewise.
27228 * misc/msync.c: Likewise.
27229 * misc/munlock.c: Likewise.
27230 * misc/munlockall.c: Likewise.
27231 * misc/munmap.c: Likewise.
27232 * misc/preadv.c: Likewise.
27233 * misc/preadv64.c: Likewise.
27234 * misc/ptrace.c: Likewise.
27235 * misc/pwritev.c: Likewise.
27236 * misc/pwritev64.c: Likewise.
27237 * misc/readv.c: Likewise.
27238 * misc/reboot.c: Likewise.
27239 * misc/remap_file_pages.c: Likewise.
27240 * misc/removexattr.c: Likewise.
27241 * misc/revoke.c: Likewise.
27242 * misc/select.c: Likewise.
27243 * misc/setdomain.c: Likewise.
27244 * misc/setegid.c: Likewise.
27245 * misc/seteuid.c: Likewise.
27246 * misc/sethostid.c: Likewise.
27247 * misc/sethostname.c: Likewise.
27248 * misc/setregid.c: Likewise.
27249 * misc/setreuid.c: Likewise.
27250 * misc/setxattr.c: Likewise.
27251 * misc/sstk.c: Likewise.
27252 * misc/stty.c: Likewise.
27253 * misc/swapoff.c: Likewise.
27254 * misc/swapon.c: Likewise.
27255 * misc/sync.c: Likewise.
27256 * misc/syncfs.c: Likewise.
27257 * misc/syscall.c: Likewise.
27258 * misc/truncate.c: Likewise.
27259 * misc/ualarm.c: Likewise.
27260 * misc/usleep.c: Likewise.
27261 * misc/ustat.c: Likewise.
27262 * misc/utimes.c: Likewise.
27263 * misc/vhangup.c: Likewise.
27264 * misc/writev.c: Likewise.
27265 * posix/_exit.c: Likewise.
27266 * posix/alarm.c: Likewise.
27267 * posix/execve.c: Likewise.
27268 * posix/fexecve.c: Likewise.
27269 * posix/fork.c: Likewise.
27270 * posix/fpathconf.c: Likewise.
27271 * posix/getaddrinfo.c: Likewise.
27272 * posix/getegid.c: Likewise.
27273 * posix/geteuid.c: Likewise.
27274 * posix/getgid.c: Likewise.
27275 * posix/getgroups.c: Likewise.
27276 * posix/getlogin.c: Likewise.
27277 * posix/getlogin_r.c: Likewise.
27278 * posix/getpgid.c: Likewise.
27279 * posix/getpid.c: Likewise.
27280 * posix/getppid.c: Likewise.
27281 * posix/getresgid.c: Likewise.
27282 * posix/getresuid.c: Likewise.
27283 * posix/getsid.c: Likewise.
27284 * posix/getuid.c: Likewise.
27285 * posix/glob64.c: Likewise.
27286 * posix/nanosleep.c: Likewise.
27287 * posix/pathconf.c: Likewise.
27288 * posix/pause.c: Likewise.
27289 * posix/posix_madvise.c: Likewise.
27290 * posix/pread.c: Likewise.
27291 * posix/pread64.c: Likewise.
27292 * posix/pwrite.c: Likewise.
27293 * posix/pwrite64.c: Likewise.
27294 * posix/sched_getaffinity.c: Likewise.
27295 * posix/sched_getp.c: Likewise.
27296 * posix/sched_gets.c: Likewise.
27297 * posix/sched_primax.c: Likewise.
27298 * posix/sched_primin.c: Likewise.
27299 * posix/sched_rr_gi.c: Likewise.
27300 * posix/sched_setaffinity.c: Likewise.
27301 * posix/sched_setp.c: Likewise.
27302 * posix/sched_sets.c: Likewise.
27303 * posix/sched_yield.c: Likewise.
27304 * posix/setgid.c: Likewise.
27305 * posix/setlogin.c: Likewise.
27306 * posix/setpgid.c: Likewise.
27307 * posix/setresgid.c: Likewise.
27308 * posix/setresuid.c: Likewise.
27309 * posix/setsid.c: Likewise.
27310 * posix/setuid.c: Likewise.
27311 * posix/sleep.c: Likewise.
27312 * posix/spawni.c: Likewise.
27313 * posix/sysconf.c: Likewise.
27314 * posix/times.c: Likewise.
27315 * posix/wait.c: Likewise.
27316 * posix/wait3.c: Likewise.
27317 * posix/wait4.c: Likewise.
27318 * posix/waitpid.c: Likewise.
27319 * resolv/gai_sigqueue.c: Likewise.
27320 * resource/getpriority.c: Likewise.
27321 * resource/getrlimit.c: Likewise.
27322 * resource/getrusage.c: Likewise.
27323 * resource/nice.c: Likewise.
27324 * resource/setpriority.c: Likewise.
27325 * resource/setrlimit.c: Likewise.
27326 * resource/ulimit.c: Likewise.
27327 * rt/aio_cancel.c: Likewise.
27328 * rt/aio_fsync.c: Likewise.
27329 * rt/aio_read.c: Likewise.
27330 * rt/aio_sigqueue.c: Likewise.
27331 * rt/aio_suspend.c: Likewise.
27332 * rt/aio_write.c: Likewise.
27333 * rt/clock_getres.c: Likewise.
27334 * rt/clock_gettime.c: Likewise.
27335 * rt/clock_nanosleep.c: Likewise.
27336 * rt/clock_settime.c: Likewise.
27337 * rt/lio_listio.c: Likewise.
27338 * rt/mq_close.c: Likewise.
27339 * rt/mq_getattr.c: Likewise.
27340 * rt/mq_notify.c: Likewise.
27341 * rt/mq_open.c: Likewise.
27342 * rt/mq_receive.c: Likewise.
27343 * rt/mq_send.c: Likewise.
27344 * rt/mq_setattr.c: Likewise.
27345 * rt/mq_timedreceive.c: Likewise.
27346 * rt/mq_timedsend.c: Likewise.
27347 * rt/mq_unlink.c: Likewise.
27348 * rt/shm_open.c: Likewise.
27349 * rt/shm_unlink.c: Likewise.
27350 * rt/timer_create.c: Likewise.
27351 * rt/timer_delete.c: Likewise.
27352 * rt/timer_getoverr.c: Likewise.
27353 * rt/timer_gettime.c: Likewise.
27354 * rt/timer_settime.c: Likewise.
27355 * setjmp/__longjmp.c: Likewise.
27356 * setjmp/setjmp.c: Likewise.
27357 * signal/kill.c: Likewise.
27358 * signal/killpg.c: Likewise.
27359 * signal/raise.c: Likewise.
27360 * signal/sigaction.c: Likewise.
27361 * signal/sigaltstack.c: Likewise.
27362 * signal/sigblock.c: Likewise.
27363 * signal/sigignore.c: Likewise.
27364 * signal/sigintr.c: Likewise.
27365 * signal/signal.c: Likewise.
27366 * signal/sigpause.c: Likewise.
27367 * signal/sigpending.c: Likewise.
27368 * signal/sigqueue.c: Likewise.
27369 * signal/sigreturn.c: Likewise.
27370 * signal/sigset.c: Likewise.
27371 * signal/sigsetmask.c: Likewise.
27372 * signal/sigstack.c: Likewise.
27373 * signal/sigsuspend.c: Likewise.
27374 * signal/sigtimedwait.c: Likewise.
27375 * signal/sigvec.c: Likewise.
27376 * signal/sigwait.c: Likewise.
27377 * signal/sigwaitinfo.c: Likewise.
27378 * signal/sysv_signal.c: Likewise.
27379 * socket/accept.c: Likewise.
27380 * socket/accept4.c: Likewise.
27381 * socket/bind.c: Likewise.
27382 * socket/connect.c: Likewise.
27383 * socket/getpeername.c: Likewise.
27384 * socket/getsockname.c: Likewise.
27385 * socket/getsockopt.c: Likewise.
27386 * socket/isfdtype.c: Likewise.
27387 * socket/listen.c: Likewise.
27388 * socket/recv.c: Likewise.
27389 * socket/recvfrom.c: Likewise.
27390 * socket/recvmsg.c: Likewise.
27391 * socket/send.c: Likewise.
27392 * socket/sendmsg.c: Likewise.
27393 * socket/sendto.c: Likewise.
27394 * socket/setsockopt.c: Likewise.
27395 * socket/shutdown.c: Likewise.
27396 * socket/sockatmark.c: Likewise.
27397 * socket/socket.c: Likewise.
27398 * socket/socketpair.c: Likewise.
27399 * stdio-common/ctermid.c: Likewise.
27400 * stdio-common/cuserid.c: Likewise.
27401 * stdio-common/remove.c: Likewise.
27402 * stdio-common/rename.c: Likewise.
27403 * stdio-common/renameat.c: Likewise.
27404 * stdio-common/tempname.c: Likewise.
27405 * stdlib/getcontext.c: Likewise.
27406 * stdlib/makecontext.c: Likewise.
27407 * stdlib/setcontext.c: Likewise.
27408 * stdlib/swapcontext.c: Likewise.
27409 * stdlib/system.c: Likewise.
27410 * streams/fattach.c: Likewise.
27411 * streams/fdetach.c: Likewise.
27412 * streams/getmsg.c: Likewise.
27413 * streams/getpmsg.c: Likewise.
27414 * streams/putmsg.c: Likewise.
27415 * streams/putpmsg.c: Likewise.
27416 * sysdeps/unix/bsd/getpt.c: Likewise.
27417 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27418 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27419 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27422 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27423 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27424 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27425 * sysvipc/msgctl.c: Likewise.
27426 * sysvipc/msgget.c: Likewise.
27427 * sysvipc/msgrcv.c: Likewise.
27428 * sysvipc/msgsnd.c: Likewise.
27429 * sysvipc/semctl.c: Likewise.
27430 * sysvipc/semget.c: Likewise.
27431 * sysvipc/semop.c: Likewise.
27432 * sysvipc/semtimedop.c: Likewise.
27433 * sysvipc/shmat.c: Likewise.
27434 * sysvipc/shmctl.c: Likewise.
27435 * sysvipc/shmdt.c: Likewise.
27436 * sysvipc/shmget.c: Likewise.
27437 * termios/tcdrain.c: Likewise.
27438 * termios/tcflow.c: Likewise.
27439 * termios/tcflush.c: Likewise.
27440 * termios/tcgetattr.c: Likewise.
27441 * termios/tcgetpgrp.c: Likewise.
27442 * termios/tcsendbrk.c: Likewise.
27443 * termios/tcsetattr.c: Likewise.
27444 * termios/tcsetpgrp.c: Likewise.
27445 * time/adjtime.c: Likewise.
27446 * time/clock.c: Likewise.
27447 * time/getitimer.c: Likewise.
27448 * time/gettimeofday.c: Likewise.
27449 * time/setitimer.c: Likewise.
27450 * time/settimeofday.c: Likewise.
27451 * time/stime.c: Likewise.
27452 * time/time.c: Likewise.
27454 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27456 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27459 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27461 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27463 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27467 FE_TONEAREST before applying Dekker multiplication and Knuth
27468 addition. Clear inexact exceptions and check for exact zero
27469 results afterwards.
27470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27473 * math/libm-test.inc (fma_test): Add more tests.
27474 (fma_test_towardzero): Likewise.
27475 (fma_test_downward): Likewise.
27476 (fma_test_upward): Likewise.
27477 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27479 (libc_fesetround): New macro.
27480 (libc_fesetroundf): Likewise.
27481 (libc_fesetroundl): Likewise.
27482 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27484 (libc_fesetround_387): Likewise.
27485 (libc_fesetroundf): New macro.
27486 (libc_fesetround): Likewise.
27487 (libc_fesetroundl): Likewise.
27488 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27490 (libc_fesetroundf): New macro.
27491 (libc_fesetround): Likewise.
27492 (libc_fesetroundl): Likewise.
27493 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27494 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27495 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27497 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27498 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27501 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27503 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27507 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27508 integer constant usable in #if and use that to give value to enum
27510 (FE_DIVBYZERO): Likewise.
27511 (FE_UNDERFLOW): Likewise.
27512 (FE_OVERFLOW): Likewise.
27513 (FE_INVALID): Likewise.
27514 (FE_INVALID_SNAN): Likewise.
27515 (FE_INVALID_ISI): Likewise.
27516 (FE_INVALID_IDI): Likewise.
27517 (FE_INVALID_ZDZ): Likewise.
27518 (FE_INVALID_IMZ): Likewise.
27519 (FE_INVALID_COMPARE): Likewise.
27520 (FE_INVALID_SOFTWARE): Likewise.
27521 (FE_INVALID_SQRT): Likewise.
27522 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27523 (FE_TONEAREST): Likewise.
27524 (FE_TOWARDZERO): Likewise.
27525 (FE_UPWARD): Likewise.
27526 (FE_DOWNWARD): Likewise.
27527 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27528 (FE_DIVBYZERO): Likewise.
27529 (FE_OVERFLOW): Likewise.
27530 (FE_UNDERFLOW): Likewise.
27531 (FE_INEXACT): Likewise.
27532 (FE_TONEAREST): Likewise.
27533 (FE_DOWNWARD): Likewise.
27534 (FE_UPWARD): Likewise.
27535 (FE_TOWARDZERO): Likewise.
27536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27537 (FE_UNDERFLOW): Likewise.
27538 (FE_OVERFLOW): Likewise.
27539 (FE_DIVBYZERO): Likewise.
27540 (FE_INVALID): Likewise.
27541 (FE_TONEAREST): Likewise.
27542 (FE_TOWARDZERO): Likewise.
27543 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27544 (FE_OVERFLOW): Likewise.
27545 (FE_UNDERFLOW): Likewise.
27546 (FE_DIVBYZERO): Likewise.
27547 (FE_INEXACT): Likewise.
27548 (FE_TONEAREST): Likewise.
27549 (FE_TOWARDZERO): Likewise.
27550 (FE_UPWARD): Likewise.
27551 (FE_DOWNWARD): Likewise.
27552 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27553 (FE_DIVBYZERO): Likewise.
27554 (FE_OVERFLOW): Likewise.
27555 (FE_UNDERFLOW): Likewise.
27556 (FE_INEXACT): Likewise.
27557 (FE_TONEAREST): Likewise.
27558 (FE_DOWNWARD): Likewise.
27559 (FE_UPWARD): Likewise.
27560 (FE_TOWARDZERO): Likewise.
27562 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27564 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27566 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27568 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27569 commands. Quote $PWD.
27570 (blacklist_exports): Don't use remove_newlines. Replace "declare
27572 (remove_newlines): Remove.
27574 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27576 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27577 * stdlib/stdlib.h (atof): Moved to ...
27578 * include/bits/stdlib-float.h: Here. New file.
27579 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27580 * stdlib/bits/stdlib-float.h: New file.
27581 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27583 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27586 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27588 * conform/conformtest.pl (@headers): Add fenv.h.
27589 * conform/data/fenv.h-data: New file.
27590 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27591 include of <math/fenv.h>.
27593 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27594 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27595 && !UNIX98]. Enables tests for XOPEN2K8.
27596 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27597 POSIX2008]: Likewise.
27599 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27600 (struct rusage): Do not expect type or its members.
27603 * math/math.h (FP_NAN): Define macro to integer constant usable in
27604 #if and use that to give value to enum constant.
27605 (FP_INFINITE): Likewise.
27606 (FP_ZERO): Likewise.
27607 (FP_SUBNORMAL): Likewise.
27608 (FP_NORMAL): Likewise.
27610 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27612 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27613 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27616 2012-11-02 Roland McGrath <roland@hack.frob.com>
27618 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27619 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27620 autoconf-time if not.
27621 * configure.in: Remove AC_PREREQ.
27623 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27625 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27626 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27627 of the internal implementation.
27629 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27631 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27632 except include of <misc/sys/syslog.h>.
27634 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27637 function returns with a NULL context exit with zero.
27639 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27641 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27643 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27645 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27646 (run_program_cmd): This.
27647 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27648 (tst_langinfo): New variable. Use it.
27650 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27652 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27653 floating point opcodes.
27655 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27657 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27660 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27662 * sysdeps/mach/hurd/powerpc: Remove directory.
27663 * sysdeps/mach/powerpc: Likewise.
27665 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27667 * scripts/check-local-headers.sh: Ignore c++ headers.
27669 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27671 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27672 __libc_cleanup_region_start argument.
27674 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27679 x * y using scaling, not as x * y + z.
27680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27682 * math/libm-test.inc (fma_test): Add more tests.
27683 (fma_test_towardzero): Likewise.
27684 (fma_test_downward): Likewise.
27685 (fma_test_upward): Likewise.
27687 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27689 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27691 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27693 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27696 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27698 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27700 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27707 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27710 Fix the order of the list for glibc 2.17.
27711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27714 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27718 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27722 for low part of x being zero before using __atanl (y).
27723 * math/libm-test.inc (atan2_test): Add another test.
27725 * manual/install.texi (Configuring and compiling): Document
27726 general use of test-wrapper and test-wrapper-env.
27727 * INSTALL: Regenerated.
27729 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27730 (__fma): Do not extract and scale down low bits on after-rounding
27731 systems when result rounded to normal precision would have normal
27733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27734 (__fmal): Do not extract and scale down low bits on after-rounding
27735 systems when result rounded to normal precision would have normal
27737 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27738 (__fmal): Do not extract and scale down low bits on after-rounding
27739 systems when result rounded to normal precision would have normal
27741 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27743 (fma_test): Add more tests.
27744 (fma_test_towardzero): Likewise.
27745 (fma_test_downward): Likewise.
27746 (fma_test_upward): Likewise.
27748 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27750 * sysdeps/i386/tininess.h: Renamed to ...
27751 * sysdeps/x86/tininess.h: This.
27752 * sysdeps/x86_64/tininess.h: Removed.
27754 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27756 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27757 input. Use $(build-program-cmd).
27758 ($(objpfx)tst-array1-static.out): Likewise.
27759 ($(objpfx)tst-array2.out): Likewise.
27760 ($(objpfx)tst-array3.out): Likewise.
27761 ($(objpfx)tst-array4.out): Likewise.
27762 ($(objpfx)tst-array5.out): Likewise.
27763 ($(objpfx)tst-array5-static.out): Likewise.
27765 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27767 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27770 * nss/nsswitch.h (nss_interface_function): Provide new
27771 macro for use with NSS functions.
27772 * grp/initgroups.c: Use new macro.
27773 * nss/getXXbyYY.c: Likewise.
27774 * nss/getXXbyYY_r.c: Likewise.
27775 * nss/getXXent.c: Likewise.
27776 * nss/getXXent_r.c: Likewise.
27777 * sysdeps/posix/getaddrinfo.c: Likewise.
27779 2012-10-30 Andreas Jaeger <aj@suse.de>
27781 * po/ru.po: Update Russion translation from translation project.
27783 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27788 result and shift together with sticky bit instead of replicating
27789 round-to-nearest rounding.
27790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27792 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27793 missing underflow exceptions.
27794 (fma_test_towardzero): Add more tests.
27795 (fma_test_downward): Likewise.
27796 (fma_test_upward): Likewise.
27799 * sysdeps/generic/tininess.h: New file.
27800 * sysdeps/i386/tininess.h: Likewise.
27801 * sysdeps/sh/tininess.h: Likewise.
27802 * sysdeps/x86_64/tininess.h: Likewise.
27803 * stdlib/tst-strtod-underflow.c: Likewise.
27804 * stdlib/tst-tininess.c: Likewise.
27805 * stdlib/strtod_l.c: Include <tininess.h>.
27806 (round_and_return): Do not set errno for exact underflow cases.
27807 Force an underflow exception when setting errno for underflow.
27808 Determine underflow based on rounding to normal precision if
27809 TININESS_AFTER_ROUNDING.
27810 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27811 ERANGE for exact underflow cases.
27812 * stdlib/Makefile (tests): Add tst-tininess and
27813 tst-strtod-underflow.
27814 ($(objpfx)tst-tininess): Use $(link-libm).
27815 ($(objpfx)tst-strtod-underflow): Likewise.
27817 2012-10-30 Andreas Jaeger <aj@suse.de>
27820 * elf/Makefile (tests): Remove conditional for have-initfini-array
27821 since this is now always required and the variable does not exist
27823 (tests-static): Likewise.
27824 (modules-names): Likewise.
27826 * po/eo.po: Add Esperanto translation from translation project.
27828 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27829 merged with constructor/destructor.
27830 (init_array): Likewise.
27831 * elf/tst-array2dep.c (fini_array): Likewise.
27832 (init_array): Likewise.
27834 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27836 * manual/message.texi: Delete @cartouche tags.
27838 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27840 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27842 * sysdeps/mach/hurd/fsync.c: Likewise.
27844 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27845 [_POSIX_REALTIME_SIGNALS]: Change condition to
27846 [_POSIX_REALTIME_SIGNALS > 0].
27848 2012-10-27 Andreas Jaeger <aj@suse.de>
27850 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27851 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27853 [__WORDSIZE != 64]: Likewise.
27855 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27857 * iconvdata/tst-table.sh: Remove ${SHELL}.
27858 * iconvdata/tst-tables.sh: Likewise.
27860 2012-10-25 David S. Miller <davem@davemloft.net>
27862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27863 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27869 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27870 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27873 2012-10-25 Roland McGrath <roland@hack.frob.com>
27875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27876 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27879 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27880 Jim Blandy <jimb@codesourcery.com>
27882 * scripts/cross-test-ssh.sh: New file.
27883 * manual/install.texi (Configuring and compiling): Document use of
27885 * INSTALL: Regenerated.
27887 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27889 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27892 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27894 * Makeconfig (run-program-prefix): Fix comment.
27896 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27897 Jim Blandy <jimb@codesourcery.com>
27899 * Makeconfig (test-wrapper): New variable,
27900 (test-wrapper-env): Likewise.
27901 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27902 (run-built-tests): Define to yes.
27903 (run-program-prefix): Use $(test-wrapper).
27904 (built-program-cmd): Likewise.
27905 * Rules (make-test-out): Use $(test-wrapper-env) and
27906 $(host-built-program-cmd).
27907 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27908 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27910 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27911 $(test-wrapper-env) to tst-rtld-load-self.sh.
27912 ($(objpfx)order2.out): Use $(test-wrapper).
27913 ($(objpfx)tst-initorder.out): Likewise.
27914 ($(objpfx)tst-initorder2.out): Likewise.
27915 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27916 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27917 (test_wrapper_env): New variable. Use it to run ld.so.
27918 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27919 Use it to run ld.so.
27920 (test_wrapper_env): Likewise.
27921 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27922 $(test-wrapper) to run-iconv-test.sh.
27923 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27924 (ICONV): Use $test_wrapper.
27925 * posix/Makefile ($(objpfx)globtest.out): Pass
27926 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27927 globtest.sh, not $(run-program-prefix).
27928 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27929 (test_wrapper): Likewise.
27930 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27931 set together with run_via_rtld_prefix.
27932 (run_program_prefix): Define in terms of test_wrapper and
27933 run_via_rtld_prefix.
27935 2012-10-24 Roland McGrath <roland@hack.frob.com>
27937 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27938 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27942 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27943 Declare __clock_getres, __clock_gettime, __clock_settime,
27944 __clock_nanosleep, and __clock_getcpuclockid.
27945 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27946 Remove librt_hidden_def (clock_gettime).
27947 * sysdeps/unix/clock_gettime.c: Likewise.
27948 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27949 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27950 * rt/clock_getres.c: Define __clock_getres as an alias.
27951 * sysdeps/posix/clock_getres.c: Likewise.
27952 * rt/clock_settime.c: Define __clock_settime as an alias.
27953 * sysdeps/unix/clock_settime.c: Likewise.
27954 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27955 * sysdeps/unix/clock_nanosleep.c: Likewise.
27956 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27957 * rt/clock-compat.c: New file.
27958 * rt/Makefile (librt-routines): Add clock-compat and move
27959 $(clock-routines) to ...
27960 (routines): ... here, new variable.
27961 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27962 Don't add get_clockfreq here.
27963 * rt/Versions (libc: GLIBC_2.17): New version set.
27964 Add clock_* symbols here.
27965 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27967 (GLIBC_2.17): Add clock_* symbols.
27968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27979 * NEWS: Mention the move.
27981 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27982 Use __open, __read, __close rather than their public counterparts.
27983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27984 (__get_clockfreq_via_cpuinfo): Likewise.
27985 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27986 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27988 * config.h.in (HAVE_IFUNC): New #undef.
27989 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27991 * configure: Regenerated.
27993 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27995 * configure.in: Move READELF check to start of file.
27996 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27997 libc_cv_asm_gnu_indirect_function in the process.
27998 * configure: Regenerated.
28000 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28002 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28003 send the output to /dev/null.
28004 (libc_cv_cc_with_libunwind): Likewise.
28005 (libc_cv_as_noexecstack): Likewise.
28006 * configure: Regenerate.
28008 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28010 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28012 * posix/globtest.sh (TMPDIR): Do not set.
28013 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28014 (testout): Likewise.
28016 2012-10-24 Andreas Jaeger <aj@suse.de>
28018 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28019 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28020 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28021 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28022 posix_fadvise64, posix_fallocate64.
28024 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28025 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28026 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28028 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28030 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28033 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28034 <bits/fcntl-linux.h>.
28035 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28038 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28039 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28040 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28041 [__WORDSIZE != 64]: Likewise.
28043 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28045 * Makeconfig (run-built-tests): New variable.
28046 * Rules [$(cross-compiling) = yes]: Change condition to
28047 [$(run-built-tests) = no].
28048 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28049 to [$(run-built-tests) = yes].
28050 * elf/Makefile [$(cross-compiling) = no]: Likewise
28051 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28052 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28053 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28054 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28055 * io/Makefile [$(cross-compiling) = no]: Likewise.
28056 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28057 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28058 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28059 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28060 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28061 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28062 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28063 * string/Makefile [$(cross-compiling) = no]: Likewise.
28065 * posix/Makefile ($(objpfx)globtest.out): Pass
28066 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28067 $(rtld-installed-name).
28068 * posix/globtest.sh (elf_objpfx): Remove variable.
28069 (rtld_installed_name): Likewise.
28070 (library_path): Likewise.
28071 (run_program_prefix): New variable. Use for running globtest
28074 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28075 Joseph Myers <joseph@codesourcery.com>
28077 * Makeconfig (host-built-program-cmd): New variable.
28078 * elf/Makefile (tst-stackguard1-ARGS): Use
28079 $(host-built-program-cmd).
28080 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28081 (tst-spawn-ARGS): Likewise.
28082 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28084 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28085 Jim Blandy <jimb@codesourcery.com>
28087 * Makeconfig (run-via-rtld-prefix): New variable.
28088 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28089 (built-program-cmd): Likewise.
28091 2012-10-22 Andreas Jaeger <aj@suse.de>
28093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28094 __O_RSYNC if it exists, otherwise to O_SYNC.
28096 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28097 Joseph Myers <joseph@codesourcery.com>
28099 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28101 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28103 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28106 2012-10-22 Andreas Jaeger <aj@suse.de>
28108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28113 bits/fcntl-linux.h.
28115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28116 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28123 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28124 Joseph Myers <joseph@codesourcery.com>
28126 * config.make.in (NM): New variable.
28128 2012-10-21 Andreas Jaeger <aj@suse.de>
28130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28131 definitions and declarations that are provided by
28132 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28134 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28137 * elf/Makefile (tests-static): Add tst-leaks1-static.
28138 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28139 ($(objpfx)tst-leaks1-static): New rule.
28140 ($(objpfx)tst-leaks1-static-mem): Likewise.
28141 (tst-leaks1-static-ENV): New macro.
28142 * elf/dl-open.c (dl_open_worker): Check the main application
28143 only if SHARED is defined.
28144 * elf/tst-leaks1-static.c: New file.
28146 2012-10-20 Andreas Jaeger <aj@suse.de>
28148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28149 generic values for Linux.
28150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28151 and declarations that are provided by <bits/fcntl-linux.h> and
28152 include <bits/fcntl-linux.h>.
28153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28156 2012-10-20 Roland McGrath <roland@hack.frob.com>
28158 * io/fcntl.h: Move include of <bits/types.h> to the top and
28159 include it unconditionally.
28161 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28163 * wcsmbs/Makefile (tests-ifunc): New variable.
28164 (tests): Add $(tests-ifunc).
28165 * wcsmbs/test-wcschr-ifunc.c: New file.
28166 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28167 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28168 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28169 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28170 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28172 * string/Makefile (tests-ifunc): New variable.
28173 (tests): Add $(tests-ifunc).
28174 * string/test-memccpy.c (TEST_NAME): New macro.
28175 * string/test-memchr.c (TEST_NAME): Likewise.
28176 * string/test-memcmp.c (TEST_NAME): Likewise.
28177 * string/test-memcpy.c (TEST_NAME): Likewise.
28178 * string/test-memmem.c (TEST_NAME): Likewise.
28179 * string/test-memmove.c (TEST_NAME): Likewise.
28180 * string/test-memset.c (TEST_NAME): Likewise.
28181 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28182 * string/test-stpcpy.c (TEST_NAME): Likewise.
28183 * string/test-stpncpy.c (TEST_NAME): Likewise.
28184 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28185 * string/test-strcasestr.c (TEST_NAME): Likewise.
28186 * string/test-strcat.c (TEST_NAME): Likewise.
28187 * string/test-strchr.c (TEST_NAME): Likewise.
28188 * string/test-strcmp.c(TEST_NAME): Likewise.
28189 * string/test-strcpy.c (TEST_NAME): Likewise.
28190 * string/test-strcspn.c (TEST_NAME): Likewise.
28191 * string/test-strlen.c (TEST_NAME): Likewise.
28192 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28193 * string/test-strncmp.c (TEST_NAME): Likewise.
28194 * string/test-strncpy.c (TEST_NAME): Likewise.
28195 * string/test-strnlen.c (TEST_NAME): Likewise.
28196 * string/test-strpbrk.c (TEST_NAME): Likewise.
28197 * string/test-strrchr.c (TEST_NAME): Likewise.
28198 * string/test-strspn.c (TEST_NAME): Likewise.
28199 * string/test-strstr.c (TEST_NAME): Likewise.
28200 * string/test-bcopy-ifunc.c: New file.
28201 * string/test-bzero-ifunc.c: Likewise.
28202 * string/test-memccpy-ifunc.c: Likewise.
28203 * string/test-memchr-ifunc.c: Likewise.
28204 * string/test-memcmp-ifunc.c: Likewise.
28205 * string/test-memcpy-ifunc.c: Likewise.
28206 * string/test-memmem-ifunc.c: Likewise.
28207 * string/test-memmove-ifunc.c: Likewise.
28208 * string/test-mempcpy-ifunc.c: Likewise.
28209 * string/test-memset-ifunc.c: Likewise.
28210 * string/test-rawmemchr-ifunc.c: Likewise.
28211 * string/test-stpcpy-ifunc.c: Likewise.
28212 * string/test-stpncpy-ifunc.c: Likewise.
28213 * string/test-strcasecmp-ifunc.c: Likewise.
28214 * string/test-strcasestr-ifunc.c: Likewise.
28215 * string/test-strcat-ifunc.c: Likewise.
28216 * string/test-strchr-ifunc.c: Likewise.
28217 * string/test-strchrnul-ifunc.c: Likewise.
28218 * string/test-strcmp-ifunc.c: Likewise.
28219 * string/test-strcpy-ifunc.c: Likewise.
28220 * string/test-strcspn-ifunc.c: Likewise.
28221 * string/test-strlen-ifunc.c: Likewise.
28222 * string/test-strncasecmp-ifunc.c: Likewise.
28223 * string/test-strncat-ifunc.c: Likewise.
28224 * string/test-strncmp-ifunc.c: Likewise.
28225 * string/test-strncpy-ifunc.c: Likewise.
28226 * string/test-strnlen-ifunc.c: Likewise.
28227 * string/test-strpbrk-ifunc.c: Likewise.
28228 * string/test-strrchr-ifunc.c: Likewise.
28229 * string/test-strspn-ifunc.c: Likewise.
28230 * string/test-strstr-ifunc.c: Likewise.
28232 * debug/Makefile (tests-ifunc): New variable.
28233 (tests): Add $(tests-ifunc).
28234 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28235 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28236 * debug/test-stpcpy_chk-ifunc.c: New file.
28237 * debug/test-strcpy_chk-ifunc.c: Likewise.
28239 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28242 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28243 header is not read in.
28245 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28247 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28248 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28249 directly. Pass built executable to script as
28250 $(built-program-cmd).
28251 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28252 $testprogram without using LD_LIBRARY_PATH and $ldso.
28254 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28255 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28256 $(rtld-installed-name).
28257 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28258 (rtld_installed_name): Likewise.
28259 (library_path): Likewise.
28260 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28261 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28262 $(run-program-prefix) to tst-tables.sh.
28263 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28264 it to run tst-table-from and tst-table-to.
28265 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28266 Pass it to tst-table.sh.
28267 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28268 $(run-program-prefix) to tst-gettext.sh.
28269 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28271 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28273 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28274 to run tst-gettext.
28275 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28276 to run tst-gettext2.
28277 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28278 to run tst-translit.
28279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28280 $(run-program-prefix) to tst-mtrace.sh.
28281 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28283 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28284 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28285 $(rtld-installed-name).
28286 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28287 (rtld_installed_name): Likewise.
28288 (run_program_prefix): New variable. Use it to run wordexp-test.
28290 * Makeconfig (ARCH): Remove all definitions.
28291 (machine): Likewise.
28292 [ARCH]: Remove conditional code.
28293 [!objdir]: Give error.
28294 [!objdir] (objpfx): Remove.
28295 [!objdir] (common-objpfx): Likewise.
28296 [!objdir] (common-objdir): Likewise.
28297 * configure.in (config_makefile): Remove. Hardcode Makefile in
28298 AC_CONFIG_FILES call.
28299 * configure: Regenerated.
28302 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28304 (testout): Likewise.
28306 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28307 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28308 $(rtld-installed-name).
28309 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28310 (rtld_installed_name): Likwise.
28311 (runit): Remove function.
28312 (run_getconf): New variable, Use it for running getconf binary.
28314 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28317 * string/test-memmem.c (check_result): New function.
28318 (do_one_test): Use it.
28319 (check1): New function.
28320 (test_main): Use it.
28322 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28324 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28326 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28328 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28329 (_G_LSEEK64): Likewise.
28330 (_G_MMAP64): Likewise.
28331 (_G_FSTAT64): Likewise.
28332 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28333 (_G_LSEEK64): Likewise.
28334 (_G_MMAP64): Likewise.
28335 (_G_FSTAT64): Likewise.
28336 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28337 unconditional. Call __mmap64 directly.
28338 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28339 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28340 __lseek64 directly.
28341 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28342 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28344 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28345 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28346 __lseek64 directly.
28347 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28348 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28349 __lseek64 directly.
28350 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28351 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28352 __lseek64 directly.
28353 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28354 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28355 __fxstat64 directly.
28356 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28357 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28359 (freopen64) [!_G_OPEN64]: Remove conditional code.
28360 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28362 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28363 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28365 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28366 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28368 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28369 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28371 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28372 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28374 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28375 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28377 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28378 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28380 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28382 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28385 * manual/memory.texi (Malloc Tunable Parameters): Add note
28386 about free list pointers overwriting some perturb bytes.
28387 Wording suggested by Roland McGrath.
28389 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28391 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28392 (lgamma_test): Likewise.
28393 (tgamma_test): Likewise.
28395 2012-10-16 Florian Weimer <fweimer@redhat.com>
28398 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28399 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28401 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28403 * NEWS: Mention BZ #14716.
28404 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28405 when removing AVAILABLE1_USES_J macro.
28407 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28409 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28410 (__bswap_64): __uint64_t for unsigned 64-bit int.
28412 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28414 * include/string.h (memmem): Declare libc hidden alias.
28415 * string/memmem.c (memmem): Define libc hidden alias.
28416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28417 __read, __close instead of open, read, close.
28419 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28422 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28424 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28425 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28426 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28428 (__rawmemchr_sse2): Likewise.
28429 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28430 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28431 (__strchr_sse2): Likewise.
28432 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28433 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28434 (__strcasecmp_sse2): Likewise.
28435 (__strncasecmp_sse2): Likewise.
28436 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28437 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28438 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28439 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28440 (__strrchr_sse2): Likewise.
28441 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28443 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28444 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28445 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28446 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28447 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28448 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28449 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28450 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28451 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28452 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28453 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28455 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28456 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28457 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28458 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28459 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28460 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28461 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28462 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28463 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28464 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28465 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28466 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28467 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28468 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28469 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28471 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28472 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28474 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28476 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28477 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28478 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28479 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28481 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28483 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28484 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28485 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28486 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28488 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28490 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28505 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28506 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28514 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28515 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28516 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28517 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28518 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28521 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28522 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28523 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28525 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28526 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28527 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28528 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28530 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28531 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28532 * include/ifunc-impl-list.h: New file.
28533 * misc/ifunc-impl-list.c: Likewise.
28534 * misc/Makefile (routines): Add ifunc-impl-list.
28535 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28536 * string/test-string.h: Include <ifunc-impl-list.h>.
28537 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28538 TEST_NAME]: New variables.
28539 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28541 (test_init): Call __libc_ifunc_impl_list to initialize
28542 func_list if TEST_IFUNC and TEST_NAME are defined.
28544 * string/Makefile (strop-tests): Add bcopy and bzero.
28545 * string/test-bcopy.c: New file.
28546 * string/test-bzero.c: Likewise.
28547 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28549 * string/test-memset.c: Support bzero test if TEST_BZERO is
28551 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28553 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28555 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28558 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28560 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28561 * configure: Regenerated.
28563 * Makeconfig (+link-static-before-libc): Don't include
28564 $(link-static-libc).
28566 * libio/libio.h (_IO_pos_t): Remove.
28568 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28570 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28573 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28575 * crypt/crypt-entry.c: Include fips-private.h.
28576 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28577 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28578 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28579 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28581 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28583 * crypt/crypt-private.h: Include stdbool.h.
28584 (_ufc_setup_salt_r): Return bool.
28585 * crypt/crypt-entry.c: Include errno.h.
28586 (__crypt_r): Return NULL with EINVAL for bad salt.
28587 * crypt/crypt_util.c (bad_for_salt): New.
28588 (_ufc_setup_salt_r): Check that salt is long enough and within
28589 the specified alphabet.
28590 * crypt/badsalttest.c: New file.
28591 * crypt/Makefile (tests): Add it.
28592 ($(objpfx)badsalttest): New.
28594 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28596 * NEWS: Add entry for BZ #14602.
28598 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28600 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28602 * math/libm-test.inc: Update comment listing what functions and
28604 (isgreater_test): New function.
28605 (isgreaterequal_test): Likewise.
28606 (isless_test): Likewise.
28607 (islessequal_test): Likewise.
28608 (islessgreater_test): Likewise.
28609 (isunordered_test): Likewise.
28610 (main): Call the new functions.
28612 2012-10-09 Roland McGrath <roland@hack.frob.com>
28614 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28615 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28616 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28617 * sysdeps/i386/configure: Regenerated.
28618 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28619 * sysdeps/mach/configure: Regenerated.
28620 * sysdeps/mach/hurd/configure: Regenerated.
28621 * sysdeps/powerpc/configure: Regenerated.
28622 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28623 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28624 * sysdeps/s390/s390-32/configure: Regenerated.
28625 * sysdeps/s390/s390-64/configure: Regenerated.
28626 * sysdeps/sh/configure: Regenerated.
28627 * sysdeps/sparc/configure: Regenerated.
28628 * sysdeps/unix/sysv/linux/configure: Regenerated.
28629 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28630 * sysdeps/x86_64/configure: Regenerated.
28632 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28633 defined. Don't check if MAP is NULL.
28635 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28637 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28638 (_G_stat64): Likewise.
28639 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28640 (_G_stat64): Likewise.
28641 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28642 instead of struct _G_stat64.
28643 * libio/fileops.c (mmap_remap_check): Likewise.
28644 (decide_maybe_mmap): Likewise.
28645 (_IO_new_file_seekoff): Likewise.
28646 (_IO_file_stat): Likewise.
28647 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28649 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28650 instead of struct _G_stat64.
28651 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28653 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28656 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28658 (CHECK_EOL): New macro.
28659 (two_way_short_needle): Check beginning of haystack for EOL. Use
28661 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28662 Replace with CHECK_EOL.
28663 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28664 Replace with CHECK_EOL.
28666 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28668 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28670 * math/libm-test.inc: Update comment listing what functions and
28672 (finite_test): New function.
28673 (isinf_test): Likewise.
28674 (isnan_test): Likewise.
28675 (fpclassify_test): Test subnormal input.
28676 (isfinite_test): Likewise.
28677 (isnormal_test): Likewise.
28678 (main): Call the new functions.
28680 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28683 * Makerules (%.dynsym): Force C locale when running
28684 $(OBJDUMP) --dynamic-syms.
28686 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28688 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28691 2012-10-06 David S. Miller <davem@davemloft.net>
28693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28694 upper 32-bits of the length value in %o2 since we use branch-on-register
28695 tests which consider the entire 64-bit register.
28697 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28699 * string/test-strstr.c (check2): Add a test for page boundary.
28701 2012-10-05 David S. Miller <davem@davemloft.net>
28703 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28704 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28706 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28708 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28709 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28710 and bzero when HWCAP_SPARC_CRYPTO is present.
28712 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28715 * string/test-strstr.c (check2): New function.
28716 (test_main): Call check2.
28718 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28720 * string/bug-strcasestr1.c (do_test): Moved to ...
28721 * string/test-strcasestr.c (check1): Here. New function.
28722 (do_one_test): Break out result checking code into ...
28723 (check_result): This. New function.
28724 (do_one_test): Call check_result.
28725 (test_main): Call check1.
28726 * string/bug-strchr1.c (do_test): Moved to ...
28727 * string/test-strchr.c (check1): Here. New function.
28728 (do_one_test): Break out result checking code into ...
28729 (check_result): This. New function.
28730 (do_one_test): Call check_result.
28731 (test_main): Call check1.
28732 * string/bug-strstr1.c (main): Moved to ...
28733 * string/test-strstr.c (check1): Here. New function.
28734 (do_one_test): Break out result checking code into ...
28735 (check_result): This. New function.
28736 (do_one_test): Call check_result.
28737 (test_main): Call check1.
28738 * string/bug-strcasestr1.c: Removed.
28739 * string/bug-strchr1.c: Likewise.
28740 * string/bug-strstr1.c: Likewise.
28742 * elf/Makefile (dl-routines): Add hwcaps.
28743 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28744 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28745 (_dl_important_hwcaps): Moved to ...
28746 * elf/dl-hwcaps.c: Here. New file.
28747 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28750 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28751 if IS_IN_rtld isn't defined.
28753 * elf/dl-support.c (_dl_sysinfo_map): New.
28754 Include "get-dynamic-info.h" and "setup-vdso.h".
28755 (_dl_non_dynamic_init): Call setup_vdso.
28756 * elf/dynamic-link.h: Don't include <assert.h>.
28757 (elf_get_dynamic_info): Moved to ...
28758 * elf/get-dynamic-info.h: Here. New file.
28759 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28760 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28761 * elf/setup-vdso.h: Here. New file.
28762 * elf/rtld.c: Include "setup-vdso.h".
28763 (dl_main): Call setup_vdso.
28765 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28767 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28768 creal in comment listing functions tested. List finite, isinf,
28769 isnan, isless, islessequal, isgreater, isgreaterequal,
28770 islessgreater, isunordered, lgamma_r and pow10 as functions and
28771 macros not tested. Mention which functions not tested are aliases
28772 for other functions. Fix typo. Note that signs of NaNs are not
28775 * scripts/config.guess: Update from config.git.
28776 * scripts/config.sub: Likewise.
28778 2012-10-04 Roland McGrath <roland@hack.frob.com>
28780 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28781 * misc/madvise.c (madvise): Renamed to __madvise.
28782 Make madvise a weak alias.
28783 * include/sys/mman.h: Declare __madvise.
28784 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28785 * sysdeps/unix/syscalls.list
28786 (madvise): Make __madvise the strong name, and madvise a weak alias.
28787 * sysdeps/unix/sysv/linux/syscalls.list
28788 (madvise, mmap): Remove redundant entries.
28789 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28790 * malloc/malloc.c (mtrim): Likewise.
28791 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28793 2012-10-03 Roland McGrath <roland@hack.frob.com>
28795 * sysdeps/mach/hurd/dl-cache.c: File removed.
28796 * config.h.in (USE_LDCONFIG): New #undef.
28797 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28798 * configure: Regenerated.
28799 * elf/Makefile (dl-routines): Add dl-cache only under
28800 [$(use-ldconfig) = yes].
28801 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28802 cache on [USE_LDCONFIG].
28803 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28805 * elf/rtld.c (dl_main): Likewise.
28807 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28809 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28810 _SC_LEVEL4_CACHE_LINESIZE.
28812 2012-10-03 Roland McGrath <roland@hack.frob.com>
28814 * sysdeps/unix/bsd/confstr.h: File removed.
28816 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28818 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28821 2012-10-02 Roland McGrath <roland@hack.frob.com>
28823 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28824 Make 'mapoff' field ElfW(Off) rather than off_t.
28826 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28828 * nscd/Makefile: Remove nscd-cflags and all its users.
28829 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28830 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28833 * malloc.c (malloc_printerr): Clarify error message.
28835 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28839 Set bit_FMA_Usable if FMA is supported.
28840 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28842 (bit_FMA4_Usable): Updated.
28843 (index_FMA_Usable): New macro.
28844 (CPUID_FMA): Likewise
28845 (HAS_FMA): Defined with bit_FMA_Usable.
28847 2012-10-01 Roland McGrath <roland@hack.frob.com>
28849 * bits/types.h (__swblk_t): Type removed.
28850 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28851 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28853 (__SWBLK_T_TYPE): Likewise.
28854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28855 (__SWBLK_T_TYPE): Likewise.
28856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28857 (__SWBLK_T_TYPE): Likewise.
28858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28859 (__SWBLK_T_TYPE): Likewise.
28861 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28862 Honza Horak <hhorak@redhat.com>
28864 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28865 (xdr_mapname): Use YPMAXMAP as maxsize.
28866 (xdr_peername): Use YPMAXPEER as maxsize.
28867 (xdr_keydat): Use YPAXRECORD as maxsize.
28868 (xdr_valdat): Use YPMAXRECORD as maxsize.
28870 2012-10-01 Roland McGrath <roland@hack.frob.com>
28872 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28874 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28875 * csu/init-first.c: ... here.
28876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28877 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28878 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28880 * sysdeps/i386/init-first.c: File removed.
28881 * sysdeps/sh/init-first.c: File removed.
28883 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28887 if x * y might underflow to zero and z is zero.
28888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28890 * math/libm-test.inc (min_subnorm_value): New variable.
28891 (fma_test): Add more tests.
28892 (fma_test_towardzero): Likewise.
28893 (fma_test_downward): Likewise
28894 (fma_test_upward): Likewise.
28895 (initialize): Set min_subnorm_value.
28897 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28902 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28903 mode for addition resulting in exact zero.
28904 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28907 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28909 * math/libm-test.inc (fma_test): Add more tests.
28910 (fma_test_towardzero): New function.
28911 (fma_test_downward): Likewise.
28912 (fma_test_upward): Likewise.
28913 (main): Call the new functions.
28915 2012-09-28 David S. Miller <davem@davemloft.net>
28917 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28919 2012-09-28 Roland McGrath <roland@hack.frob.com>
28921 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28922 instead of SIGALRM.
28924 * sysdeps/gnu/_G_config.h: Moved to ...
28925 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28926 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28927 * sysdeps/generic/_G_config.h: ... here.
28929 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28931 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28933 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28934 Conditionalize target on [libnss_test1.so-version].
28936 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28938 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28939 (elfobjdir): Move out of conditionals.
28941 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28942 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28943 (__nss_lookup_function): Conditionalize label remove_from_tree on
28944 [!DO_STATIC_NSS || SHARED], matching its only use.
28946 2012-09-28 David S. Miller <davem@davemloft.net>
28948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28949 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28951 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28953 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28955 when HWCAP_SPARC_CRYPTO is present.
28957 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28959 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28961 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28964 * stdio-common/vfprintf.c (process_string_arg): Revert
28967 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28969 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28971 * stdio-common/tst-sprintf.c: Include <locale.h>
28972 (main): Test sprintf's handling of incomplete multibyte
28975 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28977 * elf/dl-runtime.c (VERSYMIDX): Removed.
28978 * elf/dl-version.c (VERSYMIDX): Likewise.
28979 * elf/do-rel.h (VERSYMIDX): Likewise.
28980 (VALIDX): Likewise.
28981 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28982 * elf/rtld.c (VALIDX): Likewise.
28983 (ADDRIDX): Likewise.
28984 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28985 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28986 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28987 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28988 (VALIDX): Likewise.
28989 (ADDRIDX): Likewise.
28991 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28993 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28995 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28998 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29000 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29001 addresses are in the same scope as 192.0.2/24.
29002 * posix/gai.conf: Document new scope table defaults.
29004 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29007 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29008 for ftell. Compute offsets from write pointers instead.
29009 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29011 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29014 * libio/Makefile (tests): New test case tst-fseek.
29015 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29016 combination works in wide mode.
29017 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29018 state when the external buffer state changes.
29020 2012-09-27 David S. Miller <davem@davemloft.net>
29023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29024 pass reloc->r_addend in as the 'high' argument to
29025 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29029 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29031 * rt/tst-aio2.c: Include <pthread.h>.
29032 * rt/tst-aio3.c: Likewise.
29034 2012-09-27 Steve Ellcey <sellcey@mips.com>
29036 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29038 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29040 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29041 contents on [SHARED].
29043 2012-09-26 Marek Polacek <polacek@redhat.com>
29047 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29048 for C++ and GCC <4.3 as well as for non GCC compilers.
29050 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29054 2012-09-25 Roland McGrath <roland@hack.frob.com>
29056 * Makefile.in (all, install): Declare with .PHONY.
29057 Reported by Michael Hope <michael.hope@linaro.org>.
29059 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29061 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29062 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29066 (sydep_routines): Add the new and the internal functions.
29067 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29068 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29070 (GLIBC_2.17): Add the new function.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29072 (GLIBC_2.17): Likewise.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29074 (GLIBC_2.17): Likewise.
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29076 (GLIBC_2.17): Likewise.
29077 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29079 2012-09-25 Alan Modra <amodra@gmail.com>
29081 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29082 Add release barrier before setting once_control to say
29083 initialisation is done. Add hints on lwarx. Use macro in
29085 (clear_once_control): Add release barrier.
29087 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29090 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29092 * math/s_clog10.c (__clog10): Likewise.
29093 * math/s_clog10f.c (__clog10f): Likewise.
29094 * math/s_clog10l.c (__clog10l): Likewise.
29095 * math/s_clogf.c (__clogf): Likewise.
29096 * math/s_clogl.c (__clogl): Likewise.
29097 * math/Makefile (libm-calls): Add x2y2m1.
29098 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29099 (__x2y2m1): Likewise.
29100 (__x2y2m1l): Likewise.
29101 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29102 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29103 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29104 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29105 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29106 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29107 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29108 * sysdeps/i386/fpu/libm-test-ulps: Update.
29109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29112 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29113 int as type of variable DEPTH.
29114 (glob): Use size_t instead of int as type of variables NEWCOUNT
29117 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29119 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29120 Add s_sincosf-sse2.
29121 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29123 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29124 macros for using routine as __sincosf_ia32.
29125 Use macro for function declaration and weak_alias.
29126 * sysdeps/i386/fpu/libm-test-ulps: Update.
29128 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29131 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29132 subnormal argument.
29133 * math/s_cexpf.c (__cexpf): Likewise.
29134 * math/s_csinf.c (__csinf): Likewise.
29135 * math/s_csinhf.c (__csinhf): Likewise.
29136 * math/s_ctanf.c (__ctanf): Likewise.
29137 * math/s_ctanhf.c (__ctanhf): Likewise.
29138 * math/s_ccosh.c (__ccoshf): Likewise.
29139 * math/s_cexp.c (__cexpl): Likewise.
29140 * math/s_csin.c (__csin): Likewise.
29141 * math/s_csinh.c (__csinh): Likewise.
29142 * math/s_ctan.c (__ctan): Likewise.
29143 * math/s_ctanh.c (ctanh): Likewise.
29144 * math/s_ccoshl.c (__ccoshl): Likewise.
29145 * math/s_cexpl.c (__cexpl): Likewise.
29146 * math/s_csinl.c (__csinl): Likewise.
29147 * math/s_csinhl.c (__csinhl): Likewise.
29148 * math/s_ctanl.c (__ctanl): Likewise.
29149 * math/s_ctanhl.c (__ctanhl): Likewise.
29151 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29153 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29154 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29155 (_IO_off_t): Define to __off_t, not _G_off_t.
29156 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29157 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29158 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29159 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29160 type of __dummy and __dummy2 fields.
29161 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29162 (_G_ssize_t): Likewise.
29163 (_G_off_t): Likewise.
29164 (_G_pid_t): Likewise.
29165 (_G_uid_t): Likewise.
29166 (_G_wchar_t): Likewise.
29167 (_G_wint_t): Likewise.
29168 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29169 (_G_ssize_t): Likewise.
29170 (_G_off_t): Likewise.
29171 (_G_pid_t): Likewise.
29172 (_G_uid_t): Likewise.
29173 (_G_wchar_t): Likewise.
29174 (_G_wint_t): Likewise.
29175 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29176 (_G_ssize_t): Likewise.
29177 (_G_off_t): Likewise.
29178 (_G_pid_t): Likewise.
29179 (_G_uid_t): Likewise.
29180 (_G_wchar_t): Likewise.
29181 (_G_wint_t): Likewise.
29183 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29185 * malloc/arena.c: Include malloc-sysdep.h.
29186 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29187 is sufficient to shrink the heap or an unmap is needed.
29188 * sysdeps/generic/malloc-sysdep.h: New file. Define
29189 new function check_may_shrink_heap.
29190 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29191 new function check_may_shrink_heap.
29193 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29195 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29198 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29200 * catgets/test-gencat.sh: Add "set -e".
29201 * elf/tst-pathopt.sh: Likewise.
29202 * grp/tst_fgetgrent.sh: Likewise.
29203 * iconvdata/run-iconv-test.sh: Likewise.
29204 * intl/tst-gettext.sh: Likewise.
29205 * intl/tst-gettext2.sh: Likewise.
29206 * intl/tst-gettext4.sh: Likewise.
29207 * intl/tst-gettext6.sh: Likewise.
29208 * intl/tst-translit.sh: Likewise.
29209 * io/ftwtest-sh: Likewise.
29210 * libio/test-freopen.sh: Likewise.
29211 * malloc/tst-mtrace.sh: Likewise.
29212 * posix/globtest.sh: Likewise.
29213 * posix/tst-getconf.sh: Likewise.
29214 * posix/wordexp-tst.sh: Likewise.
29215 * stdio-common/tst-printf.sh: Likewise.
29216 * stdio-common/tst-unbputc.sh: Likewise.
29217 * stdlib/tst-fmtmsg.sh: Likewise.
29218 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29219 * catgets/Makefile: Do not specify -e option when running
29220 testsuite shell scripts.
29221 * elf/Makefile: Likewise.
29222 * grp/Makefile: Likewise.
29223 * iconvdata/Makefile: Likewise.
29224 * intl/Makefile: Likewise.
29225 * io/Makefile: Likewise.
29226 * libio/Makefile: Likewise.
29227 * malloc/Makefile: Likewise.
29228 * posix/Makefile: Likewise.
29229 * stdio-common/Makefile: Likewise.
29230 * stdlib/Makefile: Likewise.
29231 * sysdeps/x86_64/Makefile: Likewise.
29233 * io/ftwtest-sh: Add copyright header.
29234 * posix/globtest.sh: Likewise.
29235 * posix/tst-getconf.sh: Likewise.
29236 * posix/wordexp-tst.sh: Likewise.
29237 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29239 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29242 * Makeconfig (+link): Defined as $(+link-static) if
29243 $(build-shared) isn't yes.
29244 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29246 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29248 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29251 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29252 new chunk size with MALLOC_ALIGN_MASK.
29254 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29257 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29259 (__printf_fphex): Determine rounding using get_rounding_mode and
29261 * stdio-common/tst-printf-round.c (struct hex_test): New
29263 (hex_tests): New variable.
29264 (test_hex_in_one_mode): New function.
29265 (do_test): Also run tests for hex float output.
29267 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29269 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29270 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29271 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29272 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29273 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29274 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29275 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29276 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29278 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29280 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29281 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29282 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29283 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29285 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29288 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29290 * elf/tst-rtld-load-self.sh: New test.
29291 * elf/Makefile: Run it.
29293 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29295 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29296 (tst-writev-ENV): Remove.
29297 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29299 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29301 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29303 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29305 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29307 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29309 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29310 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29314 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29317 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29318 * config.make.in (have-cpp-asm-debuginfo): Removed.
29319 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29320 * configure: Regenerated.
29322 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29325 * stdio-common/printf_fp.c: Include <stdbool.h> and
29327 (___printf_fp): Determine rounding using get_rounding_mode and
29329 * stdio-common/tst-printf-round.c: New file.
29330 * stdio-common/Makefile (tests): Add tst-printf-round.
29331 (link-libm): New variable.
29332 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29334 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29337 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29338 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29340 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29343 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29345 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29346 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29347 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29350 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29353 * include/rounding-mode.h: New file.
29354 * sysdeps/generic/get-rounding-mode.h: Likewise.
29355 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29356 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29357 (MAX_VALUE): New macro.
29358 (MIN_VALUE): Likewise.
29359 (overflow_value): New function.
29360 (underflow_value): Likewise.
29361 (round_and_return): Use overflow_value and underflow_value to
29362 determine return values in overflow and underflow cases. Use
29363 round_away to determine rounding depending on rounding mode.
29364 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29365 determine return values in overflow and underflow cases.
29366 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29367 (struct test_results): New structure.
29368 (struct test): Use struct test_results to store expected results
29369 for all rounding modes.
29370 (TEST): Include expected results for all rounding modes.
29371 (test_in_one_mode): New function.
29372 (do_test): Use test_in_one_mode to compute and check results.
29373 Check results for all rounding modes.
29374 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29377 2012-12-09 Allan McRae <allan@archlinux.org>
29379 * sysdeps/i386/fpu/libm-test-ulps: Update
29381 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29383 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29384 (_G_int32_t): Likewise.
29385 (_G_uint16_t): Likewise.
29386 (_G_uint32_t): Likewise.
29387 (_G_HAVE_BOOL): Likewise.
29388 (_G_HAVE_ATEXIT): Likewise.
29389 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29390 (_G_HAVE_IO_FILE_OPEN): Likewise.
29391 * sysdeps/gnu/_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/mach/hurd/_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.
29408 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29410 * csu/libc-tls.c: Update copyright years.
29412 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29414 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29415 [!_G_USING_THUNKS]: Remove conditional code.
29416 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29417 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29419 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29420 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29421 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29422 (_G_VTABLE_LABEL_PREFIX): Likewise.
29423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29424 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29426 (_G_VTABLE_LABEL_PREFIX): Likewise.
29427 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29428 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29430 (_G_VTABLE_LABEL_PREFIX): Likewise.
29431 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29433 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29435 * libio/Makefile: Include ../Makeconfig before tests.
29436 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29437 only if $(build-shared) is yes.
29439 * iconv/gconv_db.c: Update copyright years.
29441 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29443 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29444 unwind info if defined PIC. Fix special cases description.
29445 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29447 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29449 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29451 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29453 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29455 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29458 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29459 (LDLIBS-tst-chk4): This.
29460 (LDFLAGS-tst-chk5): Renamed to ...
29461 (LDLIBS-tst-chk5): This.
29462 (LDFLAGS-tst-chk6): Renamed to ...
29463 (LDLIBS-tst-chk6): This.
29464 (LDFLAGS-tst-lfschk4): Renamed to ...
29465 (LDLIBS-tst-lfschk4): This.
29466 (LDFLAGS-tst-lfschk5): Renamed to ...
29467 (LDLIBS-tst-lfschk5): This.
29468 (LDFLAGS-tst-lfschk6): Renamed to ...
29469 (LDLIBS-tst-lfschk6): This.
29471 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29472 on $(common-objpfx)soversions.mk.
29474 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29477 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29480 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29482 * malloc/arena.c (arena_get_retry): New function that gets
29483 another arena for the caller to try its request on.
29484 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29485 current arena cannot fulfill the request.
29486 (__libc_memalign): Likewise.
29487 (__libc_memalign): Likewise.
29488 (__libc_pvalloc): Likewise.
29489 (__libc_calloc): Likewise.
29491 2012-09-05 John Tobey <john.tobey@gmail.com>
29494 * manual/arith.texi (Operations on Complex): Fix description
29495 of carg branch cut.
29497 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29500 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29504 * manual/memory.texi (Memory): Make order of menu items match
29507 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29509 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29510 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29511 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29513 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29515 * csu/libc-tls.c (static_dtv): Renamed to ...
29516 (_dl_static_dtv): This. Make it global.
29517 (_dl_initial_dtv): Removed.
29518 (__libc_setup_tls): Updated.
29519 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29520 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29523 2012-09-06 Petr Machata <pmachata@redhat.com>
29525 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29526 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29527 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29528 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29530 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29533 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29534 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29537 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29540 * Makeconfig (link-static-before-libc): Replace $(+prector)
29542 (link-static-after-libc): Replace $(+postctor) with
29544 (link-bounded): Replace $(+prector)/$(+postctor) with
29545 $(+prectorT)/$(+postctorT).
29546 (+prectorT): New macro.
29547 (+postctorT): Likewise.
29549 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29551 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29552 (round_str): Handle values above the maximum for IBM long double
29554 * stdlib/tst-strtod-round.c (tests): Regenerated.
29556 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29558 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29560 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29561 zarch_nohighgprs around the zarch optimized routines.
29562 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29563 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29567 2012-09-05 David S. Miller <davem@davemloft.net>
29569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29571 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29572 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29573 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29574 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29577 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29579 * malloc/arena.c: Fold copyright years.
29580 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29582 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29584 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29588 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29593 change internal state upon failure.
29595 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29597 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29598 * malloc/memusage.c (mmap): Likewise.
29599 (mmap64, mremap): Likewise. Adjust name in comment.
29601 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29603 * libio/fileops.c: Fix typos in comments.
29604 * libio/oldfileops.c: Likewise.
29605 * libio/wfileops.c: Likewise.
29607 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29610 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29611 (tst-malloc-usable-ENV): Set environment for test case.
29612 * malloc/hooks.c (malloc_check_get_size): New function to get
29614 * malloc/malloc.c (musable): Use malloc_check_get_size.
29615 * malloc/tst-malloc-usable.c: New test case.
29617 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29619 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29621 2012-09-05 Allan McRae <allan@archlinux.org>
29624 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29625 determine header location.
29626 * configure: Regenerated.
29628 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29630 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29632 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29633 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29635 (test): Regenerate.
29637 2012-09-04 David S. Miller <davem@davemloft.net>
29639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29643 2012-09-04 Florian Weimer <fweimer@redhat.com>
29645 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29648 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29650 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29653 * libio/iogetdelim.c: Include <limits.h>.
29654 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29655 + len + 1 would overflow.
29657 2012-09-03 Andreas Jaeger <aj@suse.de>
29659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29660 * sysdeps/i386/fpu/libm-test-ulps: Update.
29662 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29664 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29665 Add s_sinf-sse2, s_conf-sse2.
29667 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29668 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29669 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29670 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29672 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29673 for using routine as __sinf_ia32.
29674 Use macro for function declaration and weak_alias.
29675 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29676 for using routine as __cosf_ia32.
29677 Use macro for function declaration and weak_alias.
29679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29680 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29682 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29683 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29686 * math/libm-test.inc (cos_test): Add more test cases.
29687 (sin_test): Likewise.
29688 (sincos_test): Likewise.
29690 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29693 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29695 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29697 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29700 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29701 first element of the GOT.
29702 (elf_machine_load_address): Return the difference between
29703 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29705 2012-09-01 Allan McRae <allan@archlinux.org>
29708 * configure.in (AWK): Require gawk version 3.0 or later.
29709 * configure: Regenerated.
29711 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29713 * sysdeps/unix/sysv/linux/kernel-features.h
29714 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29716 [__NR_clock_getres]: Make code unconditional.
29717 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29718 (clock_getcpuclockid): Remove code left unreachable by removal of
29720 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29721 code unconditional.
29722 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29724 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29725 Make code unconditional.
29726 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29727 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29728 * sysdeps/unix/sysv/linux/clock_settime.c
29729 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29731 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29734 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29737 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29738 scripts/test-installation.pl.
29740 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29741 and $ld_so_version if it is set.
29743 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29746 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29747 failure if reading from procfs failed.
29748 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29750 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29752 * sysdeps/unix/sysv/linux/kernel-features.h
29753 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29754 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29755 Remove conditional code.
29756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29757 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29758 Remove conditional code.
29759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29760 * sysdeps/unix/sysv/linux/i386/fxstat.c
29761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29763 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29764 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29766 * sysdeps/unix/sysv/linux/i386/lxstat.c
29767 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29769 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29770 Remove conditional code.
29771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29772 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29773 Remove conditional code.
29774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29775 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29776 <kernel-features.h>.
29777 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29779 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29780 Remove conditional code.
29781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29782 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29783 Remove conditional.
29785 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29788 * NEWS: Add fixed bug number.
29790 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29793 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29794 underflowing exponent in case of negative sign.
29795 * stdlib/tst-strtod-round-data: Add more tests.
29796 * stdlib/tst-strtod-round.c (tests): Regenerated.
29799 * stdlib/strtod_l.c (NDIG): Remove.
29800 (HEXNDIG): Likewise.
29801 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29802 smallest representable value.
29803 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29804 lie within an exact representation of 1/2 ulp of the result.
29805 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29807 (TENS_P9_IDX): Define unconditionally.
29808 (TENS_P9_SIZE): Likewise.
29809 (TENS_P10_IDX): Likewise.
29810 (TENS_P10_SIZE): Likewise.
29811 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29812 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29813 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29814 entries for 10^2^13 and 10^2^14.
29815 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29816 (TENS_P13_IDX): Define.
29817 (TENS_P13_SIZE): Likewise.
29818 (TENS_P14_IDX): Likewise.
29819 (TENS_P14_SIZE): Likewise.
29820 (_fpioconst_pow10): Change array size to
29821 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29823 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29824 1024]: Add entries for 10^2^13 and 10^2^14.
29825 [LAST_POW10 > _LAST_POW10]: Remove #error.
29826 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29827 (_fpioconst_pow10): Change array size to
29828 FPIOCONST_POW10_ARRAY_SIZE.
29829 * stdlib/gen-fpioconst.c: New file.
29830 * stdlib/gen-tst-strtod-round.c: Likewise.
29831 * stdlib/tst-strtod-round-data: Likewise.
29832 * stdlib/tst-strtod-round.c: Likewise.
29833 * stdlib/Makefile (tests): Add tst-strtod-round.
29836 * stdlib/strtod_l.c: Include <stdint.h>.
29837 (NDEBUG): Do not define.
29838 (round_and_return): Change EXPONENT parameter to type intmax_t.
29839 Rearrange calculations to avoid internal overflow possibilities.
29840 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29841 Rearrange calculations to avoid internal overflow possibilities.
29842 Assert that number fits inside MPNSIZE limbs.
29843 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29844 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29845 calculations and add assertions to avoid internal overflow
29846 possibilities. Add casts to avoid signed/unsigned operations.
29847 * stdlib/tst-strtod-overflow.c: New file.
29848 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29850 2012-08-25 Marek Polacek <polacek@redhat.com>
29852 * time/time.h: Fix some typos in comments.
29854 2012-08-23 Roland McGrath <roland@hack.frob.com>
29856 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29857 * posix/tst-rfc3484-2.c: Likewise.
29858 * posix/tst-rfc3484-3.c: Likewise.
29860 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29862 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29863 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29865 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29867 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29868 #include of fxstatat64.c.
29870 2012-08-22 Roland McGrath <roland@hack.frob.com>
29872 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29873 * shadow/getspent_r.c: Likewise.
29874 * shadow/getspnam.c: Likewise.
29875 * shadow/getspnam_r.c: Likewise.
29876 * gshadow/getsgent.c: Likewise.
29877 * gshadow/getsgent_r.c: Likewise.
29878 * gshadow/getsgnam.c: Likewise.
29879 * gshadow/getsgnam_r.c: Likewise.
29880 * inet/getnetbyad.c: Likewise.
29881 * inet/getnetbyad_r.c: Likewise.
29882 * inet/getnetbynm.c: Likewise.
29883 * inet/getnetbynm_r.c: Likewise.
29884 * inet/getnetent.c: Likewise.
29885 * inet/getnetent_r.c: Likewise.
29886 * inet/getproto.c: Likewise.
29887 * inet/getproto_r.c: Likewise.
29888 * inet/getprtent.c: Likewise.
29889 * inet/getprtent_r.c: Likewise.
29890 * inet/getprtname.c: Likewise.
29891 * inet/getprtname_r.c: Likewise.
29892 * inet/getrpcbyname.c: Likewise.
29893 * inet/getrpcbyname_r.c: Likewise.
29894 * inet/getrpcbynumber.c: Likewise.
29895 * inet/getrpcbynumber_r.c: Likewise.
29896 * inet/getrpcent.c: Likewise.
29897 * inet/getrpcent_r.c: Likewise.
29898 * inet/getaliasent.c: Likewise.
29899 * inet/getaliasent_r.c: Likewise.
29900 * inet/getaliasname.c: Likewise.
29901 * inet/getaliasname_r.c: Likewise.
29902 * nscd/getgrgid_r.c: Likewise.
29903 * nscd/getgrnam_r.c: Likewise.
29904 * nscd/gethstbyad_r.c: Likewise.
29905 * nscd/gethstbynm3_r.c: Likewise.
29906 * nscd/getpwnam_r.c: Likewise.
29907 * nscd/getpwuid_r.c: Likewise.
29908 * nscd/getsrvbynm_r.c: Likewise.
29909 * nscd/getsrvbypt_r.c: Likewise.
29910 * nscd/gai.c: Likewise.
29912 * configure.in (build_nscd): New substituted variable, set
29913 by --disable-build-nscd and defaults to $use_nscd.
29914 * configure: Regenerated.
29915 * config.make.in (build-nscd): New substituted variable.
29916 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29917 Change conditional to require [$(build-nscd) = yes] as well.
29918 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29921 * configure.in (use_nscd): New substituted variable, set by
29922 --disable-nscd. If enabled, define USE_NSCD.
29923 * configure: Regenerated.
29924 * config.h.in: Add USE_NSCD.
29925 * config.make.in (use-nscd): New substituted variable.
29926 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29927 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29928 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29929 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29930 (CFLAGS-getgrnam_r.c): Likewise.
29931 (CFLAGS-initgroups.c): Likewise.
29932 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29933 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29935 * inet/getnetgrent_r.c
29936 (nscd_setnetgrent): New function, broken out of ...
29937 (setnetgrent): ... here. Call it.
29938 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29939 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29940 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29941 * nscd/Makefile (routines, aux): Move definitions after include of
29942 Makeconfig. Conditionalize on [$(use-nscd) != no].
29943 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29944 Conditionalize on [USE_NSCD].
29945 (is_nscd, nscd_init_cb): Likewise.
29946 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29947 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29948 * nss/nss_db/db-init.c: Likewise.
29949 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29951 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29952 (make_request): Use it.
29953 (cache_valid_p): New function.
29954 (__check_pf): Use it.
29955 * NEWS: Add item for --disable-nscd.
29957 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29959 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29960 to support sed >= 4.2.1-20-ga9bf076.
29961 * configure: Regenerated.
29963 2012-08-22 Roland McGrath <roland@hack.frob.com>
29965 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29966 Conditionalize whole body on [IREL].
29968 2012-08-22 Jeff Law <law@redhat.com>
29971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29972 if the family is PF_UNSPEC.
29974 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29976 * Makerules (lib-version): Rename from V.
29977 (install-lib-nosubdir): Change V to lib-version.
29979 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29982 * powerpc32/power6/wcschr.c: New file.
29983 * powerpc32/power6/wcscpy.c: New file.
29984 * powerpc32/power6/wcsrchr.c: New file.
29985 * powerpc64/power6/wcschr.c: New file.
29986 * powerpc64/power6/wcscpy.c: New file.
29987 * powerpc64/power6/wcsrchr.c: New file.
29989 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29991 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29992 (two_way_short_needle): Use it.
29993 * string/strstr.c (AVAILABLE1_USES_J): Define.
29994 * string/strcasestr.c: Likewise.
29996 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29998 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30001 * NEWS: Add an entry.
30002 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30003 define their defaults.
30004 (two_way_short_needle): Detect end-of-string on-the-fly.
30005 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30006 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30007 * string/bug-strcasestr1.c: New test.
30008 * string/Makefile: Run it.
30010 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30013 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30014 the first character.
30016 2012-08-21 Roland McGrath <roland@hack.frob.com>
30018 * csu/elf-init.c (__libc_csu_irel): Function removed.
30019 * csu/libc-start.c (apply_irel): New function.
30020 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30022 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30024 * sysdeps/unix/sysv/linux/kernel-features.h
30025 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30026 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30027 <kernel-features.h>.
30028 [__NR_fadvise64_64]: Make code unconditional.
30029 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30030 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30031 !__NR_fadvise64_64)]: Likewise.
30032 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30033 !__NR_fadvise64_64))]: Likewise.
30034 [__NR_fadvise64]: Make code unconditional.
30035 [!__NR_fadvise64]: Remove conditional code.
30036 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30037 <kernel-features.h>.
30038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30043 not include <kernel-features.h>.
30044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30048 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30049 include <kernel-features.h>.
30050 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30052 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30055 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30058 slight instruction rearrangements per scrollpipe analysis.
30059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30061 2012-08-20 Roland McGrath <roland@hack.frob.com>
30063 * manual/syslog.texi (syslog; vsyslog, closelog):
30064 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30065 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30067 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30068 DSOCAPS to match condition on defining it.
30070 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30072 * sysdeps/unix/sysv/linux/kernel-features.h
30073 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30078 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30079 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30081 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30082 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30084 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30085 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30087 * sysdeps/unix/sysv/linux/kernel-features.h
30088 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30089 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30091 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30092 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30093 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30094 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30095 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30096 Make code unconditional.
30097 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30098 (__mmap64) [!__NR_mmap2]: Likewise.
30099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30100 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30101 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30102 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30103 [__NR_mmap2]: Make code unconditional.
30104 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30105 (__mmap64) [!__NR_mmap2]: Likewise.
30107 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30109 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30111 2012-08-18 Andreas Jaeger <aj@suse.de>
30113 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30115 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30117 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30118 * include/unistd.h (__have_sock_cloexec): Likewise.
30119 (__have_pipe2): Likewise.
30120 (__have_dup3): Likewise.
30122 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30125 * include/unistd.h (__have_pipe2): Change define into an extern int.
30126 (__have_dup3): Likewise.
30127 * socket/have_sock_cloexec.c: Include fcntl.h.
30128 (__have_pipe2): New variable.
30129 (__have_dup3): Likewise.
30131 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30133 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30135 2012-08-17 Marek Polacek <polacek@redhat.com>
30137 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30138 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30140 2012-08-17 Roland McGrath <roland@hack.frob.com>
30142 * configure.in: Add AC_SUBST for sysheaders.
30143 * configure: Regenerated.
30144 * config.make.in (sysheaders): New substituted variable.
30146 * sysdeps/unix/mkfifo.c: Moved ...
30147 * sysdeps/posix/mkfifo.c: ... here.
30148 * sysdeps/unix/mkfifoat.c: Moved ...
30149 * sysdeps/posix/mkfifoat.c: ... here.
30151 * sysdeps/unix/utime.c: Moved ...
30152 * sysdeps/posix/utime.c: ... here.
30154 * sysdeps/unix/time.c: Moved ...
30155 * sysdeps/posix/time.c: ... here.
30156 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30157 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30159 * sysdeps/unix/nice.c: Moved ...
30160 * sysdeps/posix/nice.c: ... here.
30162 * sysdeps/unix/alarm.c: Moved ...
30163 * sysdeps/posix/alarm.c: ... here.
30165 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30167 2012-08-17 Jeff Law <law@redhat.com>
30169 * intl/Makefile (codeset_mo): New variable.
30170 ($(codeset_mo)): New target.
30171 (tst-codeset.out): Depend on that. Remove explicit rule.
30172 (tst-gettext3.out, tst-gettext5.out): Likewise.
30173 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30174 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30175 * intl/tst-codeset.sh: Remove.
30176 * intl/tst-gettext3.sh: Likewise.
30177 * intl/tst-gettext5.sh: Likewise.
30179 2012-08-17 Roland McGrath <roland@hack.frob.com>
30181 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30182 * sysdeps/unix/syscalls.list: ... here.
30184 * sysdeps/posix/getaddrinfo.c
30185 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30186 (gaiconf_init, gaiconf_reload): Use them.
30187 [!_STATBUF_ST_NSEC]
30188 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30189 Define using time_t rather than struct timespec.
30191 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30192 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30194 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30196 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30197 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30200 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30201 __libc_cleanup_push argument.
30203 * bits/param.h: New file.
30204 * misc/sys/param.h: New file.
30205 * include/sys/param.h: New file.
30206 * misc/Makefile (headers): Add bits/param.h.
30207 * sysdeps/generic/sys/param.h: File removed.
30208 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30209 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30210 * sysdeps/mach/hurd/bits/param.h: New file.
30211 * sysdeps/mach/hurd/sys/param.h: File removed.
30213 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30216 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30218 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30219 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30222 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30223 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30224 rather than -D_IO_MTSAFE_IO conditionally.
30225 * stdio-common/Makefile (CPPFLAGS): Likewise.
30226 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30227 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30228 Use $(libio-mtsafe).
30229 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30230 of -D_IO_MTSAFE_IO.
30231 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30232 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30233 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30234 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30235 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30236 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30237 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30238 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30239 (CFLAGS-fread_u_chk.c): Likewise.
30240 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30241 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30242 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30243 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30244 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30245 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30246 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30247 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30248 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30250 * libio/Makefile: Test [$(libc-reentrant) = yes]
30251 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30254 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30255 * sysdeps/pthread/configure: File removed.
30256 * sysdeps/pthread/Makeconfig: New file.
30257 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30258 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30260 2012-08-16 Gary Benson <gbenson@redhat.com>
30262 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30263 unmapping the first object in a namespace.
30265 2012-08-16 Roland McGrath <roland@hack.frob.com>
30267 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30268 (__internal_setnetgrent): ... this. Add internal_function to
30269 definition. Add libc_hidden_def.
30270 (setnetgrent): Update caller.
30271 (internal_endnetgrent): Renamed to ...
30272 (__internal_endnetgrent): ... this. Add internal_function to
30273 definition. Add libc_hidden_def.
30274 (endnetgrent): Update caller.
30275 (internal_getnetgrent_r): Renamed to ...
30276 (__internal_getnetgrent_r): ... this. Add internal_function to
30277 definition. Add libc_hidden_def.
30278 (__getnetgrent_r): Update caller.
30279 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30281 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30283 * stdlib/longlong.h: Update from GCC.
30285 2012-08-16 Roland McGrath <roland@hack.frob.com>
30287 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30288 on _QL, which is set by umul_ppmm but never used.
30289 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30290 variables, which are set by GMP macros but never used.
30291 * stdio-common/_itowa.c (_itowa): Likewise.
30292 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30293 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30295 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30297 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30298 struct La_sh_regs is not constant.
30299 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30300 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30301 and struct La_sparc64_regs are not constant.
30303 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30305 * sysdeps/unix/sysv/linux/kernel-features.h
30306 (__ASSUME_POSIX_TIMERS): Remove.
30307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30309 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30310 Make code unconditional.
30311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30312 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30313 Make code unconditional.
30314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30315 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30316 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30318 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30319 Make code unconditional.
30320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30321 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30322 (__libc_missing_posix_timers): Remove.
30324 2012-08-15 Roland McGrath <roland@hack.frob.com>
30326 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30327 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30329 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30331 * elf/dl-sym.c: Include <stdlib.h>.
30333 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30334 constants, which avoids warnings in 32-bit builds.
30336 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30337 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30339 * misc/lseek.c: File moved to ...
30340 * io/lseek.c: ... here.
30342 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30344 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30345 shifting LEN more than 31 bits at once.
30347 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30350 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30351 segmentation fault for a case of two empty input strings.
30352 * string/test-strncasecmp.c (check1): Renamed to...
30353 (bz12205): ...this.
30354 (bz14195): Add new testcase for two empty input strings and N > 0.
30355 (test_main): Call new testcase, adapt for renamed function.
30357 2012-08-15 Andreas Jaeger <aj@suse.de>
30360 * crypt/md5test2.c: New test, based on test supplied by Serge
30361 Belyshev <belyshev@depni.sinp.msu.ru>.
30362 * crypt/Makefile (xtests): Add md5test-giant..
30363 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30365 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30368 * crypt/md5.c (md5_process_block): Don't assume the buffer
30369 length is less than 2**32.
30370 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30371 length is less than 2**64.
30373 2012-08-15 Roland McGrath <roland@hack.frob.com>
30375 * string/str-two-way.h: Include <sys/param.h>.
30376 (MAX): Macro removed.
30378 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30379 Move #define and #undef of memmove to just before and after
30380 including <string.h>.
30382 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30383 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30384 and after including <string.h>. Move declarations of
30385 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30386 to before #include "string/memmove.c".
30388 * include/dirent.h: Declare __getdirentries.
30390 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30391 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30393 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30395 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30396 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30397 * sysdeps/i386/configure: Regenerated.
30398 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30399 STABS_CURRENT_FILE, and STABS_FUN.
30400 (END): Remove call to STABS_FUN_END.
30401 (STABS_CURRENT_FILE1): Delete.
30402 (STABS_CURRENT_FILE): Likewise.
30403 (STABS_FUN): Likewise.
30404 (STABS_FUN_END): Likewise.
30405 (STABS_FUN2): Likewise.
30406 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30407 * sysdeps/x86_64/configure: Regenerated.
30409 2012-08-14 Roland McGrath <roland@hack.frob.com>
30411 * elf/dl-open.c: Include <atomic.h>.
30412 * elf/dl-lookup.c: Likewise.
30414 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30416 * sysdeps/unix/sysv/linux/kernel-features.h
30417 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30418 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30420 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30422 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30423 condition on __ASSUME_CLONE_THREAD_FLAGS.
30425 2012-08-14 Andreas Jaeger <aj@suse.de>
30427 * sysdeps/i386/fpu/libm-test-ulps: Update.
30429 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30431 * include/atomic.h (atomic_exchange_and_add): Split into ...
30432 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30435 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30439 2012-08-13 Jeff Law <law@redhat.com>
30441 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30442 null byte in the output string.
30444 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30446 * sysdeps/unix/sysv/linux/kernel-features.h
30447 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30448 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30449 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30451 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30452 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30453 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30455 2012-08-09 Jeff Law <law@redhat.com>
30458 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30459 When avoid_arena is set, don't retry in the that arena. Pick the
30460 next one, whatever it might be.
30461 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30462 (arena_lock): Pass in new parameter to arena_get2.
30463 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30465 (__libc_malloc): Unify retrying after main arena failure with
30466 __libc_memalign version.
30467 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30469 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30472 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30473 to __redirect_strstr.
30474 (__strstr_sse42): Use typeof __redirect_strstr.
30475 (__strstr_ia32): Likewise.
30476 (__libc_strstr): New prototype.
30477 (strstr): Renamed to ...
30478 (__libc_strstr): This.
30479 (strstr): New strong alias of __libc_strstr.
30480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30481 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30484 (__libc_time): New prototype.
30485 (time_ifunc): Replace time with __libc_time.
30486 (time): New strong alias and hidden definition of __libc_time.
30487 (__GI_time): Remove strong alias.
30488 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30489 Include <stddef.h>.
30490 (memmove): Redefined to __redirect_memmove.
30491 (__memmove_sse2): Use typeof __redirect_memmove.
30492 (__memmove_ssse3): Likewise.
30493 (__memmove_ssse3_back): Likewise.
30494 (__libc_memmove): New prototype.
30495 (memmove): Renamed to ...
30496 (__libc_memmove): This.
30497 (memmove): New strong alias of __libc_memmove.
30499 2012-08-08 Mark Salter <msalter@redhat.com>
30502 (R_MN10300_TLS_GD): Define.
30503 (R_MN10300_TLS_LD): Likewise.
30504 (R_MN10300_TLS_LDO): Likewise.
30505 (R_MN10300_TLS_GOTIE): Likewise.
30506 (R_MN10300_TLS_IE): Likewise.
30507 (R_MN10300_TLS_LE): Likewise.
30508 (R_MN10300_TLS_DTPMOD): Likewise.
30509 (R_MN10300_TLS_DTPOFF): Likewise.
30510 (R_MN10300_TLS_TPOFF): Likewise.
30511 (R_MN10300_SYM_DIFF): Likewise.
30512 (R_MN10300_ALIGN): Likewise.
30513 (R_MN10300_NUM): Update.
30515 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30520 2012-08-08 Roland McGrath <roland@hack.frob.com>
30522 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30524 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30525 sysdeps/unix -> sysdeps/posix move.
30526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30528 2012-08-07 Allan McRae <allan@archlinux.org>
30531 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30532 (SUNOS_CPP): Likewise.
30533 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30535 (open_input): Call CPP using execvp.
30537 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30539 * sysdeps/unix/sysv/linux/kernel-features.h
30540 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30541 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30542 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30543 (__ASSUME_WAITID_SYSCALL): Likewise.
30544 * sysdeps/unix/sysv/linux/dl-execstack.c
30545 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30546 code unconditional.
30547 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30549 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30550 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30551 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30553 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30555 [__ASSUME_WAITID_SYSCALL]: Likewise.
30556 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30558 2012-08-07 Roland McGrath <roland@hack.frob.com>
30560 * sysdeps/unix/closedir.c: Renamed to ...
30561 * sysdeps/posix/closedir.c: ... here.
30562 * sysdeps/unix/dirfd.c: Renamed to ...
30563 * sysdeps/posix/dirfd.c: ... here.
30564 * sysdeps/unix/dirstream.h: Renamed to ...
30565 * sysdeps/posix/dirstream.h: ... here.
30566 * sysdeps/unix/fdopendir.c: Renamed to ...
30567 * sysdeps/posix/fdopendir.c: ... here.
30568 * sysdeps/unix/opendir.c: Renamed to ...
30569 * sysdeps/posix/opendir.c: ... here.
30570 * sysdeps/unix/readdir.c: Renamed to ...
30571 * sysdeps/posix/readdir.c: ... here.
30572 * sysdeps/unix/readdir_r.c: Renamed to ...
30573 * sysdeps/posix/readdir_r.c: ... here.
30574 * sysdeps/unix/rewinddir.c: Renamed to ...
30575 * sysdeps/posix/rewinddir.c: ... here.
30576 * sysdeps/unix/seekdir.c: Renamed to ...
30577 * sysdeps/posix/seekdir.c: ... here.
30578 * sysdeps/unix/telldir.c: Renamed to ...
30579 * sysdeps/posix/telldir.c: ... here.
30580 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30581 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30582 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30583 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30585 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30586 * bits/fcntl.h: ... here.
30588 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30590 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30591 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30592 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30593 (struct flock): Move l_start, l_len to the beginning.
30594 Use __pid_t for l_pid.
30595 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30596 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30597 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30598 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30599 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30600 [__USE_LARGEFILE64] (struct flock64): New type.
30601 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30603 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30604 * bits/dirent.h: ... here.
30606 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30607 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30609 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30612 Change from 2.6.0 to 2.6.16.
30613 * sysdeps/unix/sysv/linux/configure: Regenerated.
30614 * sysdeps/unix/sysv/linux/kernel-features.h
30615 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30616 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30618 (__ASSUME_UTIMES): Likewise.
30619 (__ASSUME_CLONE_STOPPED): Remove.
30620 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30621 architectures, not kernel version.
30622 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30623 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30624 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30625 (__ASSUME_WAITID_SYSCALL): Likewise.
30626 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30627 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30628 * README: State 2.6.16 as minimum Linux kernel version. Do not
30629 refer to older versions.
30631 2012-08-06 Roland McGrath <roland@hack.frob.com>
30633 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30634 Define alphasort64 as an alias.
30635 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30636 Define versionsort64 as an alias.
30637 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30638 Define scandir64 as an alias.
30639 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30640 Define scandirat64 as an alias.
30641 * dirent/alphasort64.c (alphasort64):
30642 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30643 * dirent/versionsort64.c: Likewise.
30644 * dirent/scandir64.c: Likewise.
30645 * dirent/scandirat64.c: Likewise.
30646 * sysdeps/wordsize-64/alphasort.c: File removed.
30647 * sysdeps/wordsize-64/alphasort64.c: File removed.
30648 * sysdeps/wordsize-64/scandir.c: File removed.
30649 * sysdeps/wordsize-64/scandir64.c: File removed.
30650 * sysdeps/wordsize-64/scandirat.c: File removed.
30651 * sysdeps/wordsize-64/scandirat64.c: File removed.
30652 * sysdeps/wordsize-64/versionsort.c: File removed.
30653 * sysdeps/wordsize-64/versionsort64.c: File removed.
30654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30656 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30658 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30660 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30663 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30665 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30667 [defined __arch64__ || defined __sparcv9]
30668 (__INO_T_MATCHES_INO64_T): New macro.
30669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30670 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30671 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30672 * sysdeps/unix/sysv/linux/bits/dirent.h
30673 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30674 (_DIRENT_MATCHES_DIRENT64): New macro.
30676 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30677 Define lockf64 as an alias.
30678 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30679 Define fseeko64 as an alias.
30680 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30681 Define ftello64 as an alias.
30682 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30683 Define _IO_fgetpos64 and fgetpos64 as aliases.
30684 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30685 Define _IO_fsetpos64 and fsetpos64 as aliases.
30686 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30687 Conditionalize body on this.
30688 * libio/fseeko64.c: Likewise.
30689 * libio/ftello64.c: Likewise.
30690 * libio/iofgetpos64.c: Likewise.
30691 * libio/iofsetpos64.c: Likewise.
30692 * sysdeps/wordsize-64/lockf.c: File removed.
30693 * sysdeps/wordsize-64/lockf64.c: File removed.
30694 * sysdeps/wordsize-64/fseeko.c: File removed.
30695 * sysdeps/wordsize-64/fseeko64.c: File removed.
30696 * sysdeps/wordsize-64/ftello.c: File removed.
30697 * sysdeps/wordsize-64/ftello64.c: File removed.
30698 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30699 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30700 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30701 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30704 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30706 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30708 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30713 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30715 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30717 [defined __arch64__ || defined __sparcv9]
30718 (__OFF_T_MATCHES_OFF64_T): New macro.
30719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30720 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30722 (__OFF_T_MATCHES_OFF64_T): New macro.
30724 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30726 * stdlib/secure-getenv.c (__secure_getenv): Replace
30727 GLIBC_2_16 with GLIBC_2_17.
30729 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30734 2012-08-03 David S. Miller <davem@davemloft.net>
30736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30738 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30742 (__ASSUME_CORRECT_SI_PID): Likewise.
30743 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30744 (__ASSUME_TMPFS_NAME): Likewise.
30745 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30746 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30747 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30748 (HAVE_AUX_SECURE): Make definition unconditional.
30749 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30750 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30752 2012-08-03 Roland McGrath <roland@hack.frob.com>
30754 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30755 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30756 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30758 __eloop_threshold instead of SYMLOOP_MAX.
30760 * sysdeps/generic/eloop-threshold.h: New file.
30761 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30763 * elf/chroot_canon.c (chroot_canon): Likewise.
30765 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30769 Change to 2.6.0 everywhere.
30770 * sysdeps/unix/sysv/linux/configure: Regenerated.
30771 * sysdeps/unix/sysv/linux/kernel-features.h
30772 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30773 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30775 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30776 (__ASSUME_FUTEX_REQUEUE): Remove.
30777 (__ASSUME_STATFS64): Define unconditionally.
30778 (__ASSUME_AT_SECURE): Likewise.
30779 (__ASSUME_CORRECT_SI_PID): Likewise.
30780 (__ASSUME_TGKILL): Define without depending on kernel version for
30782 (__ASSUME_UTIMES): Likewise.
30783 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30785 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30786 (__ASSUME_TMPFS_NAME): Likewise.
30787 * README: Update reference to Linux kernel versions.
30789 2012-08-02 Marek Polacek <polacek@redhat.com>
30792 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30793 libc_cv_asm_type_prefix with %.
30794 * configure: Regenerated.
30795 * include/libc-symbols.h: Remove comment about
30796 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30797 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30798 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30799 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30800 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30801 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30802 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30804 * elf/tst-unique2mod1.c: Likewise.
30805 * elf/tst-unique1mod2.c: Likewise.
30806 * elf/tst-unique1mod1.c: Likewise.
30807 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30808 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30809 Replace ASM_TYPE_DIRECTIVE with .type.
30810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30811 * sysdeps/i386/sysdep.h: Likewise.
30812 * sysdeps/x86_64/sysdep.h: Likewise.
30813 * sysdeps/sh/sysdep.h: Likewise.
30814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30815 Do not define ASM_TYPE_DIRECTIVE.
30816 * sysdeps/powerpc/sysdep.h: Likewise.
30817 * sysdeps/powerpc/powerpc32/sysdep.h:
30818 Replace ASM_TYPE_DIRECTIVE with .type.
30819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30820 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30821 * sysdeps/i386/fpu/e_powf.S: Likewise.
30822 * sysdeps/i386/fpu/e_expl.S: Likewise.
30823 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30825 * sysdeps/i386/fpu/e_pow.S: Likewise.
30826 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30827 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30828 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30829 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30830 * sysdeps/i386/fpu/e_log2.S: Likewise.
30831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30832 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30833 * sysdeps/i386/fpu/e_powl.S: Likewise.
30834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30835 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30836 * sysdeps/i386/fpu/e_logl.S: Likewise.
30837 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30839 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30842 * sysdeps/i386/fpu/e_log.S: Likewise.
30843 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30844 * sysdeps/i386/fpu/e_logf.S: Likewise.
30845 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30847 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30848 * sysdeps/i386/fpu/e_log10.S: Likewise.
30849 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30850 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30851 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30852 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30853 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30855 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30856 * sysdeps/i386/i686/strtok.S: Likewise.
30857 * sysdeps/i386/i386-mcount.S: Likewise.
30858 * sysdeps/i386/strtok.S: Likewise.
30859 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30862 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30863 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30865 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30866 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30867 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30868 * sysdeps/x86_64/_mcount.S: Likewise.
30869 * sysdeps/x86_64/strtok.S: Likewise.
30870 * sysdeps/sh/_mcount.S: Likewise.
30872 2012-08-01 Roland McGrath <roland@hack.frob.com>
30874 * libio/iofopen.c: Include <fcntl.h>.
30875 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30876 (_IO_fopen64, fopen64): Define as aliases.
30877 * libio/iofopen64.c: Include <fcntl.h>.
30878 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30879 Conditionalize body on this.
30880 * sysdeps/wordsize-64/iofopen.c: File removed.
30881 * sysdeps/wordsize-64/iofopen64.c: File removed.
30883 2012-08-01 Marek Polacek <polacek@redhat.com>
30885 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30886 Use dlfcn directly instead of a variable.
30887 (binfmt-subdir): Do not define.
30890 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30893 Remove all definitions.
30894 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30895 <kernel-features.h>.
30896 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30897 (miss_F_GETOWN_EX): Remove all definitions.
30898 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30900 [!__ASSUME_FCNTL64]: Remove conditional code.
30901 [__ASSUME_FCNTL64]: Make code unconditional.
30902 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30903 <kernel-features.h>.
30904 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30905 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30906 (lockf64) [__NR_fcntl64]: Make code unconditional.
30907 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30909 * sysdeps/unix/sysv/linux/kernel-features.h
30910 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30911 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30912 Make code unconditional.
30913 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30914 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30916 [__NR_vfork]: Make code unconditional.
30917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30920 [__NR_vfork]: Make code unconditional.
30921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30924 2012-08-01 Roland McGrath <roland@hack.frob.com>
30926 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30927 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30929 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30930 Define mkstemp64 as an alias.
30931 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30932 Define mkstemps64 as an alias.
30933 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30934 Define mkostemp64 as an alias.
30935 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30936 Define mkostemps64 as an alias.
30937 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30938 Conditionalize body on this.
30939 * misc/mkostemp64.c: Likewise.
30940 * misc/mkostemps64.c: Likewise.
30941 * misc/mkstemps64.c: Likewise.
30942 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30943 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30944 * sysdeps/wordsize-64/mkostemp.c: File removed.
30945 * sysdeps/wordsize-64/mkstemp.c: File removed.
30946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30952 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30954 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30955 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30957 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30958 compat_symbol macros from <shlib-compat.h> rather than the underlying
30959 default_symbol_version and symbol_version macros, so that DEFAULT
30960 lines in shlib-versions are respected.
30961 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30963 2012-08-01 Florian Weimer <fweimer@redhat.com>
30965 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30966 Declare with warn_unused_result.
30967 (setgid, setregid, setegid, setresgid): Likewise.
30968 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30970 * WUR-REPORT: Remove set*id functions.
30972 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30974 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30976 2012-07-31 Roland McGrath <roland@hack.frob.com>
30979 * include/sys/socket.h (__libc_accept, __libc_accept4):
30980 Add attribute_hidden.
30981 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30983 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30985 * inet/getnetgrent_r.c (setup): Likewise.
30987 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30989 2012-07-31 David S. Miller <davem@davemloft.net>
30991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30993 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30996 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30997 value between 1.0 and 2.0 and smaller part has absolute value less
30999 * math/s_clog10.c (__clog10): Likewise.
31000 * math/s_clog10f.c (__clog10f): Likewise.
31001 * math/s_clog10l.c (__clog10l): Likewise.
31002 * math/s_clogf.c (__clogf): Likewise.
31003 * math/s_clogl.c (__clogl): Likewise.
31004 * math/libm-test.inc (clog_test): Add more tests.
31005 (clog10_test): Likewise.
31006 * sysdeps/i386/fpu/libm-test-ulps: Update.
31007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31009 2012-07-31 Florian Weimer <fweimer@redhat.com>
31011 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31012 Exit with zero in case no suitable GID is found, and write a
31013 message to standard error.
31015 2012-07-30 Roland McGrath <roland@hack.frob.com>
31017 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31019 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31020 (MAXPATHLEN): Removed.
31021 (NOGROUP, NODEV): New macros.
31022 (setbit, clrbit, isset, isclr): New macros.
31023 (howmany, roundup, powerof2): New macros.
31024 (DEV_BSIZE): New macro.
31026 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31027 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31029 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31030 definition on [!__NO_LONG_DOUBLE_MATH].
31032 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31033 PTR_MANGLE and PTR_DEMANGLE.
31035 * socket/accept4.c (accept4): Rename to __libc_accept4.
31036 Define accept4 as a weak alias.
31038 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31039 on [_DIRENT_HAVE_D_TYPE].
31040 * io/ftw.c (ftw_dir): Likewise.
31042 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31044 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31046 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31047 Use the BSD numbers rather than the arbitrary ones we had.
31048 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31049 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31050 (SIGXCPU, SIGXFSZ): New macros.
31053 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31054 initializer on [_LIBC_REENTRANT].
31056 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31057 definitions inside [_POSIX_MAPPED_FILES].
31059 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31061 * dirent/opendir.c: Include <fcntl.h>.
31063 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31064 (__libc_getspecific): Likewise.
31065 (__libc_key_create): Likewise.
31067 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31068 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31069 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31070 (tmpfile64): Define as alias.
31071 * sysdeps/wordsize-64/tmpfile.c: File removed.
31072 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31076 * stdio-common/vfscanf.c: Include <stdbool.h>.
31077 * nss/makedb.c: Likewise.
31078 * stdio-common/_i18n_number.h: Likewise.
31079 * argp/argp-help.c: Likewise.
31080 * posix/wordexp.c: Likewise.
31081 * sysdeps/posix/spawni.c: Likewise.
31082 * nss/nss_files/files-initgroups.c: Likewise.
31083 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31084 * nss/nss_files/files-initgroups.c: Likewise.
31085 * nss/nss_db/db-netgrp.c: Likewise.
31086 * nss/nss_db/db-initgroups.c: Likewise.
31087 * io/fchmodat.c: Include <sys/stat.h>.
31089 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31090 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31092 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31095 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31096 Add multiple inclusion protection.
31098 2012-07-27 David S. Miller <davem@davemloft.net>
31100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31102 2012-07-27 Gary Benson <gbenson@redhat.com>
31105 * elf/rtld.c: Include <stap-probe.h>.
31106 (dl_main): Added static probes "init_start" and "init_complete".
31107 * elf/dl-load.c: Include <stap-probe.h>.
31108 (lose): Take new parameter "nsid".
31109 Added static probe "map_failed".
31110 (_dl_map_object_from_fd): Pass namespace id to lose.
31111 Added static probe "map_start".
31112 (open_verify): Pass namespace id to lose.
31113 * elf/dl-open.c: Include <stap-probe.h>.
31114 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31115 and "reloc_complete".
31116 * elf/dl-close.c: Include <stap-probe.h>.
31117 (_dl_close_worker): Added static probes "unmap_start" and
31119 * elf/rtld-debugger-interface.txt: New file documenting the above.
31121 2012-07-26 Roland McGrath <roland@hack.frob.com>
31123 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31124 rather than a string variable.
31125 * sunrpc/rpc_main.c (h_output): Likewise.
31126 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31128 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31130 * inet/check_native.c: New file.
31132 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31135 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31136 if larger part has absolute value 1.0.
31137 * math/s_clog10.c (__clog10): Likewise.
31138 * math/s_clog10f.c (__clog10f): Likewise.
31139 * math/s_clog10l.c (__clog10l): Likewise.
31140 * math/s_clogf.c (__clogf): Likewise.
31141 * math/s_clogl.c (__clogl): Likewise.
31142 * math/libm-test.inc (clog_test): Add more tests.
31143 (clog10_test): Likewise.
31144 * sysdeps/i386/fpu/libm-test-ulps: Update.
31145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31147 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31148 (pltexit): Likewise.
31149 (La_regs): Likewise.
31150 (La_retval): Likewise.
31151 (int_retval): Likewise.
31152 Update #error for removed macros to refer only to definitions in
31154 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31156 (pltexit): Likewise.
31157 (La_regs): Likewise.
31158 (La_retval): Likewise.
31159 (int_retval): Likewise.
31160 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31162 (pltexit): Likewise.
31163 (La_regs): Likewise.
31164 (La_retval): Likewise.
31165 (int_retval): Likewise.
31166 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31168 (pltexit): Likewise.
31169 (La_regs): Likewise.
31170 (La_retval): Likewise.
31171 (int_retval): Likewise.
31172 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31174 (pltexit): Likewise.
31175 (La_regs): Likewise.
31176 (La_retval): Likewise.
31177 (int_retval): Likewise.
31178 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31180 (pltexit): Likewise.
31181 (La_regs): Likewise.
31182 (La_retval): Likewise.
31183 (int_retval): Likewise.
31184 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31186 (pltexit): Likewise.
31187 (La_regs): Likewise.
31188 (La_retval): Likewise.
31189 (int_retval): Likewise.
31190 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31191 macro definitions in tst-audit.h.
31192 * sysdeps/i386/tst-audit.h: New file.
31193 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31194 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31195 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31196 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31197 * sysdeps/sh/tst-audit.h: Likewise.
31198 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31199 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31200 * sysdeps/x86_64/tst-audit.h: Likewise.
31202 2012-07-26 Andreas Jaeger <aj@suse.de>
31204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31208 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31209 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31211 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31212 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31213 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31215 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31220 (si_call_addr, si_syscall, si_arch): Define new macro.
31221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31223 (si_call_addr, si_syscall, si_arch): Define new marcro.
31224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31226 (si_call_addr, si_syscall, si_arch): Define new macro.
31227 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31229 (si_call_addr, si_syscall, si_arch): Define new macro.
31231 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31235 Change to 2.4.21 where previously 2.4.1.
31236 * sysdeps/unix/sysv/linux/configure: Regenerated.
31237 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31238 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31239 Linux kernel version.
31240 (__ASSUME_STD_AUXV): Remove.
31241 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31243 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31244 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31245 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31246 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31247 (__ASSUME_NETLINK_SUPPORT): Likewise.
31248 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31249 (__no_netlink_support): Remove conditional definition.
31250 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31252 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31253 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31254 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31255 (if_nameindex_ioctl): Remove.
31256 (if_nameindex_netlink): Do not handle __no_netlink_support.
31257 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31259 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31260 Remove conditional code.
31261 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31263 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31265 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31266 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31267 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31269 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31270 [!__ASSUME_STD_AUXV]: Remove conditional code.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31272 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31273 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31275 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31278 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31280 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31281 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31283 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31288 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31291 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31292 code unconditional.
31293 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31295 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31297 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31300 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31302 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31305 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31306 code unconditional.
31307 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31309 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31311 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31314 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31315 code unconditional.
31316 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31318 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31320 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31323 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31325 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31327 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31328 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31329 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31332 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31333 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31334 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31335 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31336 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31337 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31338 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31343 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31345 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31346 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31349 2012-07-25 Florian Weimer <fweimer@redhat.com>
31351 * Versions.def: Add GLIBC_2.17.
31352 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31353 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31354 Introduce __libc_secure_getenv.
31355 * stdlib/Versions (2.17): Add secure_getenv
31356 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31357 * stdlib/secure-getenv.c: Rename __secure_getenv to
31358 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31359 symbol __secure_getenv for GLIBC_2.0.
31360 * stdlib/tst-secure-getenv.c: New.
31361 * stdlib/Makefile (tests): Add testcase.
31362 * manual/startup.texi (Environment Access): Document
31364 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31365 __libc_secure_getenv.
31366 * inet/ruserpass.c (ruserpass): Likewise.
31367 * malloc/mtrace.c (mtrace): Likewise.
31368 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31369 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31370 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31371 * sysdeps/posix/tempname.c: Likewise. Evaluate
31372 HAVE_SECURE_GETENV.
31373 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31374 __secure_getenv to __libc_secure_getenv.
31375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31388 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31390 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31391 (struct La_i86_retval): Likewise.
31392 (struct La_x86_64_regs): Likewise.
31393 (struct La_x86_64_retval): Likewise.
31394 (struct La_x32_regs): Likewise.
31395 (struct La_x32_retval): Likewise.
31396 (struct La_ppc32_regs): Likewise.
31397 (struct La_ppc32_retval): Likewise.
31398 (struct La_ppc64_regs): Likewise.
31399 (struct La_ppc64_retval): Likewise.
31400 (struct La_sh_regs): Likewise.
31401 (struct La_sh_retval): Likewise.
31402 (struct La_s390_32_regs): Likewise.
31403 (struct La_s390_32_retval): Likewise.
31404 (struct La_s390_64_regs): Likewise.
31405 (struct La_s390_64_retval): Likewise.
31406 (struct La_sparc32_regs): Likewise.
31407 (struct La_sparc32_retval): Likewise.
31408 (struct La_sparc64_regs): Likewise.
31409 (struct La_sparc64_retval): Likewise.
31410 (struct audit_ifaces): Remove architecture-specific pltenter and
31412 * sysdeps/i386/ldsodefs.h: New file.
31413 * sysdeps/powerpc/ldsodefs.h: Likewise.
31414 * sysdeps/s390/ldsodefs.h: Likewise.
31415 * sysdeps/sh/ldsodefs.h: Likewise.
31416 * sysdeps/sparc/ldsodefs.h: Likewise.
31417 * sysdeps/x86_64/ldsodefs.h: Likewise.
31419 2012-07-25 Marek Polacek <polacek@redhat.com>
31422 * math/libm-test.inc (yn_test): Add another test.
31423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31424 to ERANGE when the result is +-Inf.
31425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31426 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31427 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31430 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31432 * conform/data/time.h-data (NULL): Use macro-constant. Require
31434 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31436 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31438 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31440 * configure.in <sysdeps resolving>: Correct printing
31442 * configure: Regenerate.
31444 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31446 * math/w_ilogb.c: Include <limits.h>.
31447 * math/w_ilogbl.c: Likewise.
31449 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31451 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31452 va_copy. Document allowing for unavailable va_copy only as
31453 pre-C99 compatibility.
31454 * manual/string.texi (Copying and Concatenation): Use va_copy
31455 instead of __va_copy in concat example.
31457 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31459 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31460 (__sendto): Use create_address_port. Initialize APORT and deallocate
31463 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31464 with O_NOLINK passed to __file_name_lookup.
31466 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31467 with O_NOLINK passed to __file_name_lookup.
31469 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31470 negative N or less than NGIDS.
31472 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31473 type to string_t. Set ERANGE as errno and return it if NAME is not big
31474 enough. Use memcpy instead of strncpy.
31476 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31478 * elf/Makefile (check-data): Remove.
31479 (localplt.data): New vpath directive.
31480 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31481 instead of $(check-data).
31482 * scripts/data/localplt-generic.data: Move to ...
31483 * sysdeps/generic/localplt.data: ... here.
31484 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31485 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31486 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31489 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31492 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31495 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31498 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31501 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31505 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31507 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31508 PPC32 and PPC64 files.
31509 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31510 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31512 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31514 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31515 __makecontext_ret to ...
31516 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31517 ... here and call exit if uc_link is NULL. New file.
31518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31519 __makecontext_ret.S.
31520 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31521 __makecontext_ret to ...
31522 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31523 ... here and call exit if uc_link is NULL. New file.
31524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31525 __makecontext_ret.S.
31527 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31529 * elf/elf.h (R_390_IRELATIVE): New definition.
31530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31531 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31532 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31534 (elf_machine_lazy_rel): Likewise.
31535 * sysdeps/s390/dl-irel.h: New file.
31536 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31537 * sysdeps/s390/s390-64/memset.S: New asm code.
31538 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31539 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31541 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31542 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31543 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31545 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31546 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31547 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31548 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31549 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31550 * sysdeps/s390/s390-32/memset.S: New asm code.
31551 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31553 2012-07-17 Marek Polacek <polacek@redhat.com>
31556 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31557 * sysdeps/s390/s390-64/configure.in: Likewise.
31558 * sysdeps/sparc/configure.in: Likewise.
31559 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31560 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31561 * sysdeps/i386/configure.in: Likewise.
31562 * sysdeps/x86_64/configure.in: Likewise.
31563 * sysdeps/sh/configure.in: Likewise.
31564 * sysdeps/s390/s390-32/configure: Regenerated.
31565 * sysdeps/s390/s390-64/configure: Likewise.
31566 * sysdeps/x86_64/configure: Likewise.
31567 * sysdeps/sh/configure: Likewise.
31568 * sysdeps/powerpc/powerpc64/configure: Likewise.
31569 * sysdeps/powerpc/powerpc32/configure: Likewise.
31570 * sysdeps/sparc/configure: Likwise.
31571 * sysdeps/i386/configure: Likewise.
31573 * elf/dl-open.c: Comment fixes.
31575 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31577 * Makefile [CXX] (check-data): Remove.
31578 [CXX] (c++-types.data): New vpath directive.
31579 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31580 vpath. Do not allow for C++ type data being missing.
31581 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31582 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31583 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31584 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31585 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31586 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31587 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31590 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31593 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31596 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31599 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31602 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31605 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31608 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31611 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31612 definitions to architecture-specific files.
31613 (TLS_IE): Likewise.
31614 (TLS_LD): Likewise.
31615 (TLS_GD): Likewise.
31616 * sysdeps/i386/tls-macros.h: New file.
31617 * sysdeps/powerpc/tls-macros.h: Likewise.
31618 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31619 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31620 * sysdeps/sh/tls-macros.h: Likewise.
31621 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31622 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31623 * sysdeps/x86_64/tls-macros.h: Likewise.
31625 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31628 zero value for regular exit case.
31630 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31631 (__start_context): Preserve zero value for regular exit case.
31633 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31634 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31636 * manual/setjmp.texi (setcontext): Clarify normal process
31637 termination when uc_link is the null pointer.
31638 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31641 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31643 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31644 preprocessor. Test for each exception mask separately.
31646 2012-07-16 Andreas Jaeger <aj@suse.de>
31648 * po/ru.po: Update from translation team.
31650 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31652 * conform/data/string.h-data (NULL): Use macro-constant. Require
31654 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31655 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31656 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31657 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31660 2012-07-13 Andreas Jaeger <aj@suse.de>
31662 * po/fr.po: Update from translation team.
31664 2012-07-12 Marek Polacek <polacek@redhat.com>
31667 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31671 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31675 Change to 2.4.1 where previously 2.4.0.
31676 * sysdeps/unix/sysv/linux/configure: Regenerated.
31677 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31678 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31680 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31681 (__ASSUME_AT_CLKTCK): Remove.
31682 (__ASSUME_AT_PAGESIZE): Likewise.
31683 (__ASSUME_AT_XID): Likewise.
31684 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31685 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31686 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31688 (HAVE_AUX_PAGESIZE): Likewise.
31689 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31690 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31691 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31693 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31697 the temporary buffer used to invoke __gethostbyname2_r,
31698 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31699 host_data / struct gaih_addrtuple.
31700 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31701 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31702 header file nss/nsswitch.h.
31703 * nss/nsswitch.h (global scope): Add definition of implementation
31704 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31705 resolv/nss_dns/dns-host.c).
31707 2012-07-11 Andreas Jaeger <aj@suse.de>
31709 * po/fr.po: Update from translation team.
31711 * po/sv.po: Update from translation team
31712 * po/fr.po: Another update from translation team.
31714 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31716 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31717 for subnormals or multiply small sinh result by itself.
31718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31721 2012-07-11 David S. Miller <davem@davemloft.net>
31723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31725 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31728 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31729 (INTERNAL_MARK): Shift it here.
31731 2012-07-10 Marek Polacek <polacek@redhat.com>
31734 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31735 libc_cv_asm_global_directive with .globl.
31736 * configure: Regenerated.
31737 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31739 * sysdeps/i386/configure: Regenerated.
31740 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31742 * sysdeps/x86_64/configure: Regenerated.
31743 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31744 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31745 * elf/tst-unique2mod2.c: Likewise.
31746 * elf/tst-unique2mod1.c: Likewise.
31747 * elf/tst-unique1mod2.c: Likewise.
31748 * elf/tst-unique1mod1.c: Likewise.
31749 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31750 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31752 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31753 * sysdeps/mach/sysdep.h: Likewise.
31754 * sysdeps/i386/sysdep.h: Likewise.
31755 * sysdeps/i386/i386-mcount.S: Likewise.
31756 * sysdeps/x86_64/_mcount.S: Likewise.
31757 * sysdeps/x86_64/sysdep.h: Likewise.
31758 * sysdeps/sh/_mcount.S: Likewise.
31759 * sysdeps/sh/sysdep.h: Likewise.
31760 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31761 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31762 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31764 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31765 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31766 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31767 * locale/localeinfo.h: Likewise.
31768 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31769 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31771 2012-07-09 Roland McGrath <roland@hack.frob.com>
31774 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31776 * manual/message.texi (The Uniforum approach): Likewise.
31777 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31778 (glibc iconv Implementation): Likewise.
31780 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31783 * math/s_clog.c (__clog): Avoid scaling a value down where that
31784 could result in underflow.
31785 * math/s_clog10.c (__clog10): Likewise.
31786 * math/s_clog10f.c (__clog10f): Likewise.
31787 * math/s_clog10l.c (__clog10l): Likewise.
31788 * math/s_clogf.c (__clogf): Likewise.
31789 * math/s_clogl.c (__clogl): Likewise.
31790 * math/libm-test.inc (clog_test): Add more tests.
31791 (clog10_test): Likewise.
31792 * sysdeps/i386/fpu/libm-test-ulps: Update.
31793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31795 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31798 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31799 by 7 not 8 to examine high bit of fractional part.
31802 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31803 for call to __mcount_internal.
31804 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31805 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31806 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31808 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31811 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31812 approximation for values within 0x1p-13f of an odd multiple of
31814 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31815 exception. Add more tests.
31816 * sysdeps/i386/fpu/libm-test-ulps: Update.
31819 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31820 inputs and return -1 for them. Do not check for +Inf in case not
31821 reachable for +Inf.
31822 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31823 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31825 and return -1 for them. Do not check for +Inf in case not
31826 reachable for +Inf.
31827 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31830 and return -1 for them. Do not check for +Inf in case not
31831 reachable for +Inf.
31832 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31833 spurious underflow.
31834 * sysdeps/i386/fpu/libm-test-ulps: Update.
31835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31837 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31839 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31841 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31845 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31846 could result in spurious underflow. Scale down values above
31847 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31848 * math/s_csqrtf.c (__csqrtf): Likewise.
31849 * math/s_csqrtl.c (__csqrtl): Likewise.
31850 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31851 spurious underflow.
31852 * sysdeps/i386/fpu/libm-test-ulps: Update.
31853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31855 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31857 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31859 * catgets/xopen-msg.awk: New file.
31860 * catgets/xopen-msg.sed: Removed.
31862 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31864 * intl/po2test.awk: New file.
31865 * intl/po2test.sed: Removed.
31867 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31870 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31871 or multiply small sinh result by itself.
31872 * math/s_ctanf.c (__ctanf): Likewise.
31873 * math/s_ctanh.c (__ctanh): Likewise.
31874 * math/s_ctanhf.c (__ctanhf): Likewise.
31875 * math/s_ctanhl.c (__ctanhl): Likewise.
31876 * math/s_ctanl.c (__ctanl): Likewise.
31877 * math/libm-test.inc (ctan_test_tonearest): New function.
31878 (ctan_test_towardzero): Likewise.
31879 (ctan_test_downward): Likewise.
31880 (ctan_test_upward): Likewise.
31881 (ctanh_test_tonearest): Likewise.
31882 (ctanh_test_towardzero): Likewise.
31883 (ctanh_test_downward): Likewise.
31884 (ctanh_test_upward): Likewise.
31885 (main): Call these new functions.
31886 * sysdeps/i386/fpu/libm-test-ulps: Update.
31887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31889 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31891 * .gitignore: Delete /ports entry.
31893 2012-07-03 Andreas Jaeger <aj@suse.de>
31895 * po/bg.po: Update from translation team.
31896 * po/cs.po: Likewise.
31897 * po/de.po: Likewise.
31898 * po/hr.po: Likewise.
31899 * po/nl.pl: Likewise.
31900 * po/pl.po: Likewise.
31901 * po/vi.po: Likewise.
31903 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31905 * Makeconfig [!+link] (+link-before-libc): New variable.
31906 [!+link] (+link-after-libc): Likewise.
31907 [!+link] (+link-tests): Likewise.
31908 [!+link] (+link): Define in terms of $(+link-before-libc) and
31909 $(+link-after-libc).
31910 [!+link-static] (+link-static-before-libc): New variable.
31911 [!+link-static] (+link-static-after-libc): Likewise.
31912 [!+link-static] (+link-static-tests): Likewise.
31913 [!+link-static] (+link-static): Define in terms of
31914 $(+link-static-before-libc) and $(+link-static-after-libc).
31915 [build-shared] (link-libc-before-gnulib): New variable.
31916 [build-shared] (link-libc-tests): Likewise.
31917 [build-shared] (link-libc): Define in terms of
31918 $(link-libc-before-gnulib).
31919 [!build-shared] (link-libc-tests): New variable.
31920 (link-libc-static-tests): New variable.
31921 [!gnulib] (gnulib-arch): New variable.
31922 [!gnulib] (gnulib-tests): Likewise.
31923 [!gnulib] (static-gnulib-arch): Likewise.
31924 [!gnulib] (static-gnulib-tests): Likewise.
31925 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31926 Define with "=" instead of ":=".
31927 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31928 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31929 * Rules (binaries-all-notests): New variable.
31930 (binaries-all-tests): Likewise.
31931 (binaries-static-notests): Likewise.
31932 (binaries-static-tests): Likewise.
31933 (binaries-all): Define using $(binaries-all-notests) and
31934 $(binaries-all-tests).
31935 (binaries-static): Define using $(binaries-static-notests) and
31936 $(binaries-static-tests).
31937 (binaries-shared-tests): New variable.
31938 (binaries-shared-notests): Likewise.
31939 (binaries-shared): Remove variable.
31940 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31941 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31942 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31943 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31944 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31945 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31946 * elf/Makefile (sln-modules): New variable.
31947 (extra-objs): Add $(sln-modules:=.o).
31948 (ldconfig-modules): Add static-stubs.
31949 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31950 * elf/static-stubs.c: New file.
31953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31954 by 7 not 8 to examine high bit of fractional part. Use volatile
31955 variables when splitting into final array of floats if
31956 __FLT_EVAL_METHOD__ != 0.
31957 * math/libm-test.inc (cos_test): Add another test.
31958 (sin_test): Likewise.
31959 * sysdeps/i386/fpu/libm-test-ulps: Update.
31962 * math/libm-test.inc (cosh_test): Add more tests.
31964 * version.h (RELEASE): Set to "development".
31965 (VERSION): Set to "2.16.90".
31967 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31969 * NEWS: Update copyright. Remove last-updated date.
31970 Mention math library bug fixes and timezone data changes.
31971 * README: Mention GNU/Hurd, x32, and HPPA support status.
31973 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31975 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31977 2012-06-27 Andreas Jaeger <aj@suse.de>
31979 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31981 2012-06-25 Andreas Jaeger <aj@suse.de>
31983 * sysdeps/s390/fpu/libm-test-ulps: Update.
31985 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31986 Thomas Schwinge <thomas@codesourcery.com>
31988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31989 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31993 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31995 * sysdeps/mach/start.c: Remove file.
31996 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31997 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31998 * sysdeps/sh/init-first.c: Likewise.
32000 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32001 registers for frame unwinding purposes, add CFI directives.
32002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32004 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32007 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32008 __fortify_fail returning.
32009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32012 sysdeps/sh/____longjmp_chk.S.
32013 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32014 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32015 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32016 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32018 * sysdeps/sh/abort-instr.h: New file.
32019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32020 process in case exit returns.
32022 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32023 initialize the GOT register before use.
32025 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32026 calculation of ARGC > 4.
32028 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32029 meaningful names to some local labels.
32031 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32032 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32034 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32035 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32036 (__arch_compare_and_exchange_val_16_acq): Likewise.
32037 (__arch_compare_and_exchange_val_32_acq): Likewise.
32038 (atomic_exchange_and_add): Fix gUSA sequence.
32039 (atomic_add): Likewise.
32040 (atomic_add_negative): Likewise.
32041 (atomic_add_zero): Likewise.
32042 (atomic_bit_test_set): Likewise.
32044 2012-06-22 Andreas Schwab <schwab@redhat.com>
32047 * include/link.h (struct link_map): Add l_free_initfini.
32048 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32050 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32051 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32052 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32055 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32057 * configure.in: Use AC_LANG_SOURCE.
32058 * configure: Regenerate.
32060 2012-06-22 Roland McGrath <roland@hack.frob.com>
32062 * configure.in (libc_cv_localstatedir): New substituted variable.
32063 * configure: Regenerated.
32064 * config.make.in (localstatedir): New variable, substituted from
32065 libc_cv_localstatedir.
32066 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32067 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32068 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32069 * sysdeps/gnu/configure: Regenerated.
32071 2012-06-21 Jeff Law <law@redhat.com>
32074 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32075 free. Simplify list management for _LIBC case.
32077 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32081 Clear sign bit of 64-bit integer value before comparing against
32084 * sysdeps/mach/configure: Regenerated.
32086 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32089 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32091 2012-06-21 Jeff Law <law@redhat.com>
32094 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32095 uint16_t for elements in the "seen" array to avoid char overflows.
32096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32097 * elf/dl-open.c (dl_open_worker): Likewise.
32099 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32101 * scripts/list-sources.sh: Scan PORTS for translations.
32102 * po/libc.pot: Regenerated.
32104 2012-06-21 Andreas Jaeger <aj@suse.de>
32107 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32109 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32110 * bits/byteswap-16.h (__bswap_16): Likewise.
32111 * bits/byteswap.h (__bswap_constant_16): Likewise.
32113 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32116 * sysdeps/i386/fpu_control.h: Removed.
32117 * sysdeps/x86_64/fpu_control.h: Moved to ...
32118 * sysdeps/x86/fpu_control.h: Here.
32120 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32121 (_FPU_SETCW): Likewise.
32123 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32126 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32127 * sysdeps/x86/fpu/bits/mathinline.h: This.
32128 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32132 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32133 functions if __x86_64__ is defined.
32135 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32137 * string/endian.h: Add !__ASSEMBLER__ condition for including
32138 conversion interfaces.
32140 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32144 of ABS(x) in calculating zero to negative powers other than odd
32146 * math/libm-test.inc (pow_test): Add more tests.
32148 2012-06-15 Andreas Jaeger <aj@suse.de>
32150 * manual/contrib.texi (Contributors): Update entry of Liubov
32151 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32154 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32156 * string/string.h: Add __wur to GNU version of strerror_r.
32158 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32161 * string/Makefile (tests): Add tst-strtok_r.
32162 * string/tst-strtok_r.c: New file.
32163 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32164 RAX_LP/RDX_LP on SAVE_PTR.
32166 2012-06-14 Roland McGrath <roland@hack.frob.com>
32168 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32170 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32172 * libm_test.inc (csqrt_test): Allow more spurious underflow
32174 (j0_test): Likewise.
32175 (j1_test): Likewise.
32176 (y0_test): Likewise.
32177 (y1_test): Likewise.
32179 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32181 * po/Makefile (libc.pot): Use UTF-8 charset.
32183 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32186 Suppress sign-conversion warning from FD_SET.
32187 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32188 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32189 not unsigned long int.
32190 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32192 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32196 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32197 __extern_always_inline instead of __extern_inline.
32198 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32199 (__signbit): Likewise.
32200 (__signbitl): Support C++ namespace.
32201 (lrintf): New inline function.
32203 (llrintf): Likewise.
32204 (llrint): Likewise.
32214 (floorf): Likewise.
32215 (nearbyint): Likewise.
32216 (nearbyintf): Likewise.
32218 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32221 non-default versions.
32223 2012-06-11 Roland McGrath <roland@hack.frob.com>
32226 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32228 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32230 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32231 (FE_UPWARD, FE_DOWNWARD): Don't define.
32232 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32235 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32240 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32247 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32250 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32251 * sysdeps/i386/fpu/Implies: New file.
32252 * sysdeps/x86_64/fpu/Implies: Likewise.
32253 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32254 * sysdeps/x86/fpu/bits/fenv.h: This.
32256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32259 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32262 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32263 character 0xffff that matches the last element of the
32266 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32271 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32274 values higher than 25.6283.
32276 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32279 subnormal exponent extraction and add some __builtin_expect.
32280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32281 Fix for subnormal mantissa calculation.
32283 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32285 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32286 cpu2 is -1 and errno is not ENOSYS.
32288 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32291 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32292 * sysdeps/x86/bits/string.h: This.
32293 * sysdeps/x86_64/bits/string.h: Removed.
32295 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32296 if not compiling for x86-64, but compiling for >= i486.
32298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32299 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32301 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32302 New macro from Linux kernel 3.4.0.
32303 (FP_XSTATE_MAGIC2): Likewise.
32304 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32305 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32306 (struct _fpx_sw_bytes): New struct.
32307 (struct _xsave_hdr): Likewise.
32308 (struct _ymmh_state): Likewise.
32309 (struct _xstate): Likewise.
32311 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32312 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32314 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32316 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32318 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32320 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32321 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32322 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32323 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32325 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32328 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32329 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32330 (sysdep_headers): Include sys/platform/ppc.h.
32331 * sysdeps/powerpc/test-gettimebase.c: Test for
32332 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32333 * manual/Makefile (appendices): Include platform.texi.
32334 * manual/contrib.texi (Contributors): Update @node pointers.
32335 * manual/maint.texi (Maintenance): Likewise.
32336 (Platform): New node.
32337 * manual/platform.texi: New file. Document the new features.
32339 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32340 Jakub Jelinek <jakub@redhat.com>
32343 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32344 where __builtin_expect is unavailable.
32346 2012-06-03 David S. Miller <davem@davemloft.net>
32348 * stdlib/longlong.h: Updated from GCC.
32350 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32353 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32354 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32357 (GLIBC_2.16): Likewise.
32359 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32363 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32366 (default-abi): New variable.
32367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32368 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32370 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32372 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32377 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32378 definition. Document in comment.
32380 2012-06-01 David S. Miller <davem@davemloft.net>
32382 * stdlib/longlong.h: Updated from GCC.
32384 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32387 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32388 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32389 sys/debugreg.h sys/io.h here.
32390 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32391 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32393 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32394 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32396 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32398 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32401 Define only if __x86_64__ is defined.
32403 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32407 Use int64_t for variable i.
32408 * math/libm-test.inc (fmod_test): Add more tests.
32410 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32411 z computation is not scheduled after fetestexcept.
32412 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32413 Use math_force_eval instead of asm to ensure calculation scheduled
32414 before exception test.
32415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32416 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32418 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32421 computation is not scheduled after fetestexcept.
32423 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32427 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32429 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32431 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32434 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32437 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32439 (__WCHAR_MIN): Support __WORDSIZE == 64.
32440 (__WCHAR_MAX): Likewise.
32442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32447 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32450 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32454 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32457 Defined to 1 if __x86_64__ isn't defined.
32458 (_STAT_VER_LINUX_OLD): New.
32459 (st_atime): Remove duplicate.
32460 (st_mtime): Likewise.
32461 (st_ctime): Likewise.
32463 2012-05-31 David S. Miller <davem@davemloft.net>
32465 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32468 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32470 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32474 * elf/dl-reloc.c: Include <_itoa.h>.
32475 (_dl_reloc_bad_type): Remove use of INTUSE.
32476 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32477 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32478 * stdio-common/psiginfo.c (psiginfo): Likewise.
32479 * stdio-common/psignal.c (psignal): Likewise.
32480 * string/strsignal.c (strsignal): Likewise.
32481 * include/signal.h (_sys_siglist): Declare hidden proto.
32482 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32483 INTVARDEF with libc_hidden_data_def.
32484 * stdio-common/itoa-udigits.c: Likewise.
32485 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32486 (_itoa_lower_digits_internal): Remove declaration.
32487 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32488 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32489 (_sys_sigabbrev_internal): Remove aliases.
32490 (_sys_siglist): Define hidden alias.
32492 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32497 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32500 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32501 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32503 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32504 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32505 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32506 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32508 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32510 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32512 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32514 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32527 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32530 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32531 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32534 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32536 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32543 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32544 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32546 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32548 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32549 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32550 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32552 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32554 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32556 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32558 * math/math.h (M_El): Use two more decimal places.
32559 (M_LOG2El): Likewise.
32560 (M_LOG10El): Likewise.
32561 (M_LN2l): Likewise.
32562 (M_LN10l): Likewise.
32564 (M_PI_2l): Likewise.
32565 (M_PI_4l): Likewise.
32566 (M_1_PIl): Likewise.
32567 (M_2_PIl): Likewise.
32568 (M_2_SQRTPIl): Likewise.
32569 (M_SQRT2l): Likewise.
32570 (M_SQRT1_2l): Likewise.
32572 2012-05-31 David S. Miller <davem@davemloft.net>
32574 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32575 values between float registers.
32576 * sysdeps/sparc/sparc64/memset.S: Likewise.
32577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32579 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32581 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32582 -D_FORTIFY_SOURCE=1.
32583 (CPPFLAGS-tst-longjmp_chk.c): Define.
32584 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32585 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32586 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32587 CFLAGS-tst-wchar-h.c.
32589 2012-05-31 Marek Polacek <polacek@redhat.com>
32592 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32593 __endmntent_internal): Remove declaration.
32594 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32595 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32596 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32598 2012-05-30 David S. Miller <davem@davemloft.net>
32600 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32601 (___Q_simulate_exceptions): Use real FP ops rather than writing
32603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32606 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32609 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32610 * sysdeps/x86/bits/xtitypes.h: This.
32612 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32613 * sysdeps/x86/bits/wordsize.h: This.
32615 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32616 * sysdeps/x86/bits/huge_vall.h: This.
32618 * sysdeps/i386/bits/select.h: Removed.
32619 * sysdeps/x86_64/bits/select.h: Renamed to ...
32620 * sysdeps/x86/bits/select.h: This.
32622 * sysdeps/i386/bits/setjmp.h: Removed.
32623 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32624 * sysdeps/x86/bits/setjmp.h: This.
32626 * sysdeps/i386/bits/mathdef.h: Removed.
32627 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32628 * sysdeps/x86/bits/mathdef.h: This.
32630 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32633 * include/sys/socket.h (__connect_internal)
32634 (__libc_sa_len_internal): Remove declaration.
32635 (__connect, __libc_sa_len): Declare hidden_proto.
32636 (SA_LEN): Remove use of INTUSE.
32637 * socket/connect.c: Add libc_hidden_def.
32638 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32639 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32640 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32644 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32645 of adding _internal alias.
32647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32650 * sysdeps/i386/bits/link.h: Removed.
32651 * sysdeps/i386/bits/linkmap.h: Likewise.
32652 * sysdeps/x86_64/bits/link.h: Renamed to ...
32653 * sysdeps/x86/bits/link.h: This.
32654 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32655 * sysdeps/x86/bits/linkmap.h: This.
32657 * sysdeps/i386/bits/endian.h: Removed.
32658 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32659 * sysdeps/x86/bits/endian.h: This.
32661 * sysdeps/i386/bits/byteswap.h: Removed.
32662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32663 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32664 * sysdeps/x86/bits/byteswap.h: This.
32665 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32666 * sysdeps/x86/bits/byteswap-16.h: This.
32667 * sysdeps/i386/Implies: Add x86.
32668 * sysdeps/x86_64/Implies: Likewise.
32670 2012-05-30 David S. Miller <davem@davemloft.net>
32672 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32673 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32675 (FP_TRAPPING_EXCEPTIONS): Define.
32676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32677 (FP_TRAPPING_EXCEPTIONS): Define.
32678 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32679 subnormals only when inexact has been signalled or underflow
32680 exceptions are enabled.
32681 (_FP_PACK_CANONICAL): Likewise.
32683 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32687 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32689 2012-05-30 Richard Henderson <rth@twiddle.net>
32691 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32692 with #ifndef NOT_IN_libc.
32694 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32695 marked to avoid plt entry.
32697 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32700 * Makeconfig (default-abi): New macro.
32701 (abi-includes): Likewise.
32702 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32703 $(abi-$(default-abi)-lib-soname) for soname if defined.
32704 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32706 * Makefile (installed-stubs): Likewise.
32707 * include/stubs-biarch.h: Removed.
32708 * scripts/lib-names.awk: Only handle one library at a time.
32709 * scripts/soversions.awk: Remove WORDSIZE support.
32710 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32714 (syscall-list-default-condition): Likewise.
32715 (syscall-list-default-condition): Likewise.
32716 (syscall-list-includes): Likewise.
32717 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32718 syscall-list-* with abi-*. Handle undefined abi-variants.
32719 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32720 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32721 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32722 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32723 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32724 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32726 (syscall-list-32-options): Likewise.
32727 (syscall-list-32-condition): Likewise.
32728 (syscall-list-64-options): Likewise.
32729 (syscall-list-64-condition): Likewise.
32730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32732 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32735 (abi-64-ld-soname): New macro.
32736 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32737 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32740 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32741 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32743 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32745 * sysdeps/unix/sysv/linux/kernel-features.h
32746 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32747 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32748 include <kernel-features.h>.
32749 [!__NR_ftruncate64]: Remove conditional code.
32750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32751 [__NR_ftruncate64]: Make code unconditional.
32752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32753 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32754 include <kernel-features.h>.
32755 [!__NR_ftruncate64]: Remove conditional code.
32756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32757 [__NR_ftruncate64]: Make code unconditional.
32758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32760 include <kernel-features.h>.
32761 [!__NR_ftruncate64]: Remove conditional code.
32762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32763 [__NR_ftruncate64]: Make code unconditional.
32764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32766 include <kernel-features.h>.
32767 [!__NR_ftruncate64]: Remove conditional code.
32768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32769 [__NR_ftruncate64]: Make code unconditional.
32770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32772 * configure.in (libc_cv_fpie): Weaken to a compile test using
32773 LIBC_TRY_CC_OPTION.
32774 * configure: Regenerated.
32776 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32791 2012-05-27 David S. Miller <davem@davemloft.net>
32793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32795 (__Q_simulate_exceptions): Return void. Change to simulate
32796 exceptions by writing into the %fsr.
32797 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32798 (__Qp_handle_exceptions): Likewise.
32800 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32801 __Qp_handle_exceptions.
32802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32803 __Qp_handle_exceptions.
32804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32805 as unused and give dummy FP_RND_NEAREST initializer.
32806 (FP_INHIBIT_RESULTS): Define.
32807 (___Q_simulate_exceptions): Update declaration.
32808 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32811 as unused and give dummy FP_RND_NEAREST initializer.
32812 (__Qp_handle_exceptions): Update declaration.
32813 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32816 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32818 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32819 the temporary FPU control word.
32820 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32821 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32823 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32825 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32826 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32828 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32829 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32832 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32834 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32837 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32839 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32840 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32841 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32842 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32844 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32845 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32848 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32850 * po/h.po: Update from translation team.
32852 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32854 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32856 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32857 handling of denormals.
32858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32859 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32860 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32861 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32867 2012-05-26 Marek Polacek <polacek@redhat.com>
32870 * math/libm-test.inc (fma_test): Don't always expect underflow
32873 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32876 * elf/tst-execstack.c: Include stackinfo.h.
32877 (do_test): Adjust test case to ensure that pthread_getattr_np
32878 behaviour remains the same after marking stack executable.
32880 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32882 * sysdeps/unix/sysv/linux/kernel-features.h
32883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32886 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32887 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32888 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32893 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32895 * configure.in: Define the default includes to being none.
32896 * configure: Regenerated.
32898 2012-05-25 Roland McGrath <roland@hack.frob.com>
32900 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32901 * sysdeps/x86_64/setjmp.S: Likewise.
32902 * sysdeps/i386/bsd-setjmp.S: Likewise.
32903 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32904 * sysdeps/i386/setjmp.S: Likewise.
32905 * sysdeps/i386/__longjmp.S: Likewise.
32906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32909 * include/stap-probe.h: New file.
32910 * configure.in: Handle --enable-systemtap.
32911 * configure: Regenerated.
32912 * config.h.in (USE_STAP_PROBE): New #undef.
32913 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32914 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32915 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32917 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32921 to 2.4.0 where earlier.
32922 * sysdeps/unix/sysv/linux/configure: Regenerated.
32923 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32924 <kernel-features.h>.
32925 [__ASSUME_32BITUIDS]: Make code unconditional.
32926 [!__ASSUME_32BITUIDS]: Remove conditional code.
32927 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32928 <kernel-features.h>.
32929 [__ASSUME_32BITUIDS]: Make code unconditional.
32930 [!__ASSUME_32BITUIDS]: Remove conditional code.
32931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32932 [__ASSUME_32BITUIDS]: Make code unconditional.
32933 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32934 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32935 <kernel-features.h>.
32936 [__ASSUME_32BITUIDS]: Make code unconditional.
32937 [!__ASSUME_32BITUIDS]: Remove conditional code.
32938 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32939 <kernel-features.h>.
32940 [__ASSUME_32BITUIDS]: Make code unconditional.
32941 [!__ASSUME_32BITUIDS]: Remove conditional code.
32942 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
32975 <kernel-features.h>.
32976 [__NR_setresgid] (__setresgid): Do not declare.
32977 [__ASSUME_32BITUIDS]: Make code unconditional.
32978 [!__ASSUME_32BITUIDS]: Remove conditional code.
32979 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32980 <kernel-features.h>.
32981 [__NR_setresuid] (__setresuid): Do not declare.
32982 [__ASSUME_32BITUIDS]: Make code unconditional.
32983 [!__ASSUME_32BITUIDS]: Remove conditional code.
32984 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32985 <kernel-features.h>.
32986 [__ASSUME_32BITUIDS]: Make code unconditional.
32987 [!__ASSUME_32BITUIDS]: Remove conditional code.
32988 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32989 <kernel-features.h>.
32990 [__ASSUME_32BITUIDS]: Make code unconditional.
32991 [!__ASSUME_32BITUIDS]: Remove conditional code.
32992 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
33025 (__ASSUME_SETRESUID_SYSCALL): Remove.
33026 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33027 (__ASSUME_32BITUIDS): Likewise.
33028 (__ASSUME_LDT_WORKS): Likewise.
33029 (__ASSUME_O_DIRECTORY): Likewise.
33030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33031 architecture but not kernel version.
33032 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33033 (__ASSUME_MMAP2_SYSCALL): Likewise.
33034 (__ASSUME_STAT64_SYSCALL): Likewise.
33035 (__ASSUME_IPC64): Likewise.
33036 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33037 <kernel-features.h>.
33038 [__ASSUME_32BITUIDS]: Make code unconditional.
33039 [!__ASSUME_32BITUIDS]: Remove conditional code.
33040 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33041 <kernel-features.h>.
33042 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33043 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33044 132096]: Remove conditional code.
33045 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33046 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33047 <kernel-features.h>.
33048 [__ASSUME_32BITUIDS]: Make code unconditional.
33049 [!__ASSUME_32BITUIDS]: Remove conditional code.
33050 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33051 <kernel-features.h>.
33052 [__ASSUME_32BITUIDS]: Make code unconditional.
33053 [!__ASSUME_32BITUIDS]: Remove conditional code.
33054 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33055 <kernel-features.h>.
33056 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33058 (__setresgid): Do not declare.
33059 [__ASSUME_32BITUIDS]: Make code unconditional.
33060 [!__ASSUME_32BITUIDS]: Remove conditional code.
33061 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33062 <kernel-features.h>.
33063 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33065 (__setresuid): Do not declare.
33066 [__ASSUME_32BITUIDS]: Make code unconditional.
33067 [!__ASSUME_32BITUIDS]: Remove conditional code.
33068 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33069 <kernel-features.h>.
33070 [__ASSUME_32BITUIDS]: Make code unconditional.
33071 [!__ASSUME_32BITUIDS]: Remove conditional code.
33072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33073 <kernel-features.h>.
33074 [__ASSUME_32BITUIDS]: Make code unconditional.
33075 [!__ASSUME_32BITUIDS]: Remove conditional code.
33077 2012-05-25 Richard Henderson <rth@twiddle.net>
33079 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33080 dl_hwcap to ifunc resolver.
33081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33084 dl_hwcap to ifunc resolver.
33085 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33087 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33090 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33091 for |x| <= 2**-26, not 2**-57.
33092 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33095 2012-05-24 Jeff Law <law@redhat.com>
33097 * stdio-common/Makefile (tests): Add bug25.
33098 * stdio-common/bug25.c: New test.
33100 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33103 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33104 multiple of MALLOC_ALIGNMENT in size.
33105 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33107 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33109 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33111 (FILENAME_MAX): Use macro-int-constant.
33112 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33113 (_IOFBF): Use macro-int-constant.
33114 (_IOLBF): Likewise.
33115 (_IONBF): Likewise.
33116 (SEEK_CUR): Likewise.
33117 (SEEK_END): Likewise.
33118 (SEEK_SET): Likewise.
33119 (TMP_MAX): Likewise.
33120 (EOF): Use macro-int-constant. Require < 0.
33121 (NULL): Use macro-constant. Require == 0.
33122 (stdin): Require type to be FILE *.
33123 (stdout): Likewise.
33124 (stderr): Likewise.
33125 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33126 macro-int-constant.
33127 (EXIT_SUCCESS): Likewise.
33128 (NULL): Use macro-constant. Require == 0.
33129 (RAND_MAX): Use macro-int-constant.
33130 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33131 [C99-based standards] (strtof): Require function.
33132 [C99-based standards] (strtold): Likewise.
33133 [C99-based standards] (strtoll): Likewise.
33134 [C99-based standards] (strtoull): Likewise.
33135 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33136 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33137 [ISO || ISO99 || ISO11] (math.h): Likewise.
33138 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33142 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33145 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33146 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33147 * intl/dgettext.c (DCGETTEXT): Likewise.
33148 * intl/gettext.c (DCGETTEXT): Likewise.
33149 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33150 * posix/regex_internal.h (gettext): Likewise.
33151 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33152 Remove declaration.
33153 * include/argz.h (__argz_count_internal)
33154 (__argz_stringify_internal): Remove declaration.
33155 (__argz_count, __argz_stringify): Declare hidden proto.
33156 * intl/dcgettext.c: Remove use of INTDEF.
33157 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33158 * string/argz-stringify.c: Likewise.
33159 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33160 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33161 Declare hidden proto.
33162 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33163 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33164 Declare hidden proto.
33165 * include/stdio.h (__asprintf_internal): Don't declare.
33166 (__asprintf): Don't define as macro. Declare hidden proto.
33167 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33168 (__fsetlocking): Declare hidden proto.
33169 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33170 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33172 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33173 (_IO_setlinebuf): Remove use of INTUSE.
33174 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33175 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33176 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33177 Remove declaration.
33178 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33179 (_IO_do_flush): Remove use of INTUSE.
33180 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33181 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33182 (_IO_adjust_column, _IO_least_wmarker)
33183 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33184 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33185 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33186 (_IO_default_doallocate, _IO_wdefault_doallocate)
33187 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33188 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33189 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33190 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33191 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33192 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33193 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33194 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33195 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33196 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33197 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33198 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33199 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33201 (_IO_flush_all_internal, _IO_adjust_column_internal)
33202 (_IO_default_uflow_internal, _IO_default_finish_internal)
33203 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33204 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33205 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33206 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33207 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33208 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33209 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33210 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33211 (_IO_file_close_internal, _IO_file_close_it_internal)
33212 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33213 (_IO_file_init_internal, _IO_file_attach_internal)
33214 (_IO_file_fopen_internal, _IO_file_read_internal)
33215 (_IO_file_sync_internal, _IO_file_seek_internal)
33216 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33217 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33218 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33219 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33220 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33221 (_IO_list_all_internal, _IO_link_in_internal)
33222 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33223 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33224 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33225 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33226 (_IO_do_write_internal, _IO_padn_internal)
33227 (_IO_getline_info_internal, _IO_getline_internal)
33228 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33229 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33230 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33231 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33232 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33233 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33234 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33235 with libc_hidden_ver, remove use of INTUSE.
33236 * libio/genops.c: Likewise.
33237 * libio/freopen.c: Likewise.
33238 * libio/freopen64.c: Likewise.
33239 * libio/iofclose.c: Likewise.
33240 * libio/iofdopen.c: Likewise.
33241 * libio/iofflush.c: Likewise.
33242 * libio/iofflush_u.c: Likewise.
33243 * libio/iofgets.c: Likewise.
33244 * libio/iofgets_u.c: Likewise.
33245 * libio/iofopen.c: Likewise.
33246 * libio/iofopncook.c: Likewise.
33247 * libio/iofread.c: Likewise.
33248 * libio/iofread_u.c: Likewise.
33249 * libio/ioftell.c: Likewise.
33250 * libio/iofwrite.c: Likewise.
33251 * libio/iogetline.c: Likewise.
33252 * libio/iogets.c: Likewise.
33253 * libio/iogetwline.c: Likewise.
33254 * libio/iopadn.c: Likewise.
33255 * libio/iopopen.c: Likewise.
33256 * libio/ioseekoff.c: Likewise.
33257 * libio/ioseekpos.c: Likewise.
33258 * libio/iosetbuffer.c: Likewise.
33259 * libio/iosetvbuf.c: Likewise.
33260 * libio/ioungetc.c: Likewise.
33261 * libio/ioungetwc.c: Likewise.
33262 * libio/iovdprintf.c: Likewise.
33263 * libio/iovsprintf.c: Likewise.
33264 * libio/iovsscanf.c: Likewise.
33265 * libio/memstream.c: Likewise.
33266 * libio/obprintf.c: Likewise.
33267 * libio/oldfileops.c: Likewise.
33268 * libio/oldiofclose.c: Likewise.
33269 * libio/oldiofdopen.c: Likewise.
33270 * libio/oldiofopen.c: Likewise.
33271 * libio/oldiopopen.c: Likewise.
33272 * libio/oldstdfiles.c: Likewise.
33273 * libio/putc.c: Likewise.
33274 * libio/setbuf.c: Likewise.
33275 * libio/setlinebuf.c: Likewise.
33276 * libio/stdfiles.c: Likewise.
33277 * libio/strops.c: Likewise.
33278 * libio/vasprintf.c: Likewise.
33279 * libio/vscanf.c: Likewise.
33280 * libio/vsnprintf.c: Likewise.
33281 * libio/vswprintf.c: Likewise.
33282 * libio/wfiledoalloc.c: Likewise.
33283 * libio/wfileops.c: Likewise.
33284 * libio/wgenops.c: Likewise.
33285 * libio/wmemstream.c: Likewise.
33286 * libio/wstrops.c: Likewise.
33287 * libio/__fpurge.c: Likewise.
33288 * libio/__fsetlocking.c: Likewise.
33289 * assert/assert.c: Likewise.
33290 * debug/fgets_chk.c: Likewise.
33291 * debug/fgets_u_chk.c: Likewise.
33292 * debug/fread_chk.c: Likewise.
33293 * debug/fread_u_chk.c: Likewise.
33294 * debug/gets_chk.c: Likewise.
33295 * debug/obprintf_chk.c: Likewise.
33296 * debug/vasprintf_chk.c: Likewise.
33297 * debug/vdprintf_chk.c: Likewise.
33298 * debug/vsnprintf_chk.c: Likewise.
33299 * debug/vsprintf_chk.c: Likewise.
33300 * malloc/mtrace.c: Likewise.
33301 * misc/error.c: Likewise.
33302 * misc/syslog.c: Likewise.
33303 * stdio-common/asprintf.c: Likewise.
33304 * stdio-common/fxprintf.c: Likewise.
33305 * stdio-common/getw.c: Likewise.
33306 * stdio-common/isoc99_fscanf.c: Likewise.
33307 * stdio-common/isoc99_scanf.c: Likewise.
33308 * stdio-common/isoc99_vfscanf.c: Likewise.
33309 * stdio-common/isoc99_vscanf.c: Likewise.
33310 * stdio-common/isoc99_vsscanf.c: Likewise.
33311 * stdio-common/printf-prs.c: Likewise.
33312 * stdio-common/printf_fp.c: Likewise.
33313 * stdio-common/printf_fphex.c: Likewise.
33314 * stdio-common/printf_size.c: Likewise.
33315 * stdio-common/putw.c: Likewise.
33316 * stdio-common/scanf.c: Likewise.
33317 * stdio-common/sprintf.c: Likewise.
33318 * stdio-common/tmpfile.c: Likewise.
33319 * stdio-common/vfprintf.c: Likewise.
33320 * stdio-common/vfscanf.c: Likewise.
33321 * stdlib/strfmon_l.c: Likewise.
33322 * sunrpc/openchild.c: Likewise.
33323 * sunrpc/xdr_stdio.c: Likewise.
33324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33325 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33327 2012-05-24 Roland McGrath <roland@hack.frob.com>
33329 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33331 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33332 in the third column, to generate for the shared library an IFUNC
33333 that uses _dl_vdso_vsym.
33334 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33335 * Makeconfig (object-suffixes-noshared): New variable.
33337 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33338 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33339 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33340 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33343 * include/sys/time.h (__gettimeofday): Remove macro.
33344 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33345 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33347 (__gettimeofday): Add libc_hidden_def.
33348 (gettimeofday): Add libc_hidden_weak.
33349 * sysdeps/mach/gettimeofday.c: Likewise.
33350 * sysdeps/posix/gettimeofday.c: Likewise.
33351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33354 (__gettimeofday_internal): Remove strong_alias.
33355 (__gettimeofday): Add libc_hidden_def.
33356 (gettimeofday): Add libc_hidden_weak.
33357 * sysdeps/unix/syscalls.list (gettimeofday):
33358 Remove __gettimeofday_internal alias.
33360 2012-05-24 Daniel Jacobowitz <drow@false.org>
33361 H.J. Lu <hongjiu.lu@intel.com>
33364 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33365 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33366 (largebin_index_32_big): New.
33367 (largebin_index): Use it for 16-byte alignment.
33368 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33369 correction with front_misalign.
33371 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33399 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33400 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33402 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33406 * math/libm-test.inc (exp_test): Add test from bug 14036.
33407 (pow_test): Add test from bug 10846.
33409 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33411 (special_function): Do not include flags in test name.
33412 (parse_args): Likewise.
33413 * sysdeps/i386/fpu/libm-test-ulps: Update.
33414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33415 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33419 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33421 * math/libm-test.inc ("Philosophy"): Update comment about
33423 (UNDERFLOW_EXCEPTION): New macro.
33424 (UNDERFLOW_EXCEPTION_OK): Likewise.
33425 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33426 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33427 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33428 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33429 (INVALID_EXCEPTION_OK): Update value.
33430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33431 (OVERFLOW_EXCEPTION_OK): Likewise.
33432 (IGNORE_ZERO_INF_SIGN): Likewise.
33433 (test_exceptions): Handle underflow exceptions.
33434 (acos_test): Update for underflow exception expectations.
33435 (cexp_test): Likewise.
33436 (clog_test): Likewise.
33437 (clog10_test): Likewise.
33438 (csqrt_test): Likewise.
33439 (ctan_test): Likewise.
33440 (ctanh_test): Likewise.
33441 (exp_test): Likewise.
33442 (exp10_test): Likewise.
33443 (exp2_test): Likewise.
33444 (expm1_test): Likewise.
33445 (fma_test): Likewise.
33446 (j0_test): Likewise.
33447 (jn_test): Likewise.
33448 (nexttoward_test): Likewise.
33449 (pow_test): Likewise.
33450 (scalbn_test): Likewise.
33451 (scalbln_test): Likewise.
33452 (tan_test): Likewise.
33453 (y1_test): Likewise.
33454 * sysdeps/i386/fpu/libm-test-ulps: Update.
33455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33457 2012-05-23 David S. Miller <davem@davemloft.net>
33459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33460 (__libc_sigaction): Remove unused local variables.
33462 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33464 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33466 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33468 mktime: avoid signed integer overflow
33469 * time/mktime.c (__mktime_internal): Do not mishandle the case
33470 where diff == INT_MIN.
33472 mktime: simplify computation of average
33473 * time/mktime.c (ranged_convert): Use new time_t_avg function
33474 instead of rolling our own (probably-slower) code.
33476 mktime: do not assume signed right shift propagates sign bit
33477 * time/mktime.c (isdst_differ): New static function.
33478 (__mktime_internal): No need to normalize tm_isdst now.
33479 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33482 mktime: merge another wrapv change from gnulib
33483 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33484 from some compilers.
33486 mktime: remove incorrect attempt at unusual arithmetics
33487 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33488 The code didn't really work on such machines anyway.
33489 (TYPE_MINIMUM): Assume two's complement.
33490 (twos_complement_arithmetic): Verify that long_int and time_t
33491 are two's complement (or unsigned, in the latter case).
33493 mktime: check signed shifts on long_int and time_t, too
33494 * time/mktime.c (SHR): Check that shifts work as desired
33495 on the types long_int and time_t too, as SHR is used on
33498 mktime: do not assume 'long' is wide enough
33499 * time/mktime.c (verify): Move decl up.
33500 (long_int): New type.
33501 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33502 to remove assumption in the code that 'long' is wide enough to
33503 store year values. This assumption is not true on x32 and on
33504 some non-glibc platforms.
33506 mktime: merge wrapv change from gnulib
33507 * time/mktime.c (WRAPV): New macro.
33508 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33509 (guess_time_tm, __mktime_internal): Do not assume that signed
33510 integer overflow wraps around; modern compilers generate code
33511 where this assumption is no longer valid.
33513 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33515 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33516 Replace "jmp L(pseudo_end)" with "ret".
33517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33520 2012-05-23 Andreas Jaeger <aj@suse.de>
33522 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33523 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33525 2012-05-23 Andreas Jaeger <aj@suse.de>
33526 Maximilian Attems <max@stro.at>
33528 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33531 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33534 code so that pseudo_end is just ret and the stack pointer is
33535 correct also for static library in error case.
33537 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33539 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33540 move to syscalls.list.
33541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33546 * manual/install.texi (Running make install): Do not mention Linux
33547 kernel version for which pt_chown is not needed.
33548 (Linux): Do not mention problems with nscd with 2.0 kernels.
33549 * INSTALL: Regenerated.
33551 2012-05-23 Andreas Jaeger <aj@suse.de>
33553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33554 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33556 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33558 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33560 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33566 * sysdeps/unix/sysv/linux/bits/in.h
33567 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33569 2012-05-22 Roland McGrath <roland@hack.frob.com>
33571 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33572 (PREPARE_VERSION): Just use assert instead, it will be elided
33573 under [NDEBUG] anyway.
33575 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33577 * sysdeps/unix/sysv/linux/Makefile: Include
33578 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33579 (sysdep_routines): Remove sysctl.
33580 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33581 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33582 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33583 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33584 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33586 2012-05-22 Andreas Jaeger <aj@suse.de>
33588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33589 that pseudo_end is just ret and the stack pointer is correct also
33590 for static library in error case.
33592 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33595 * nss/nsswitch.c (defconfig_entries): New variable.
33596 (__nss_database_lookup): Don't leak defconfig entries.
33597 (nss_parse_service_list): Don't leak on error paths.
33598 (free_database_entries): New function.
33599 (free_defconfig): New function.
33600 (free_mem): Move common code to free_database_entries.
33602 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33606 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33609 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33612 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33613 (INTERNAL_SYSCALL_TYPES): Likewise.
33614 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33615 (LOAD_REGS_TYPES_[1-6]): Likewise.
33616 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33617 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33619 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33622 copysignl for GLIBC_2_0.
33623 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33624 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33626 logbl for GLIBC_2_0.
33627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33630 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33635 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33638 * time/mktime.c: Update copyright years.
33640 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33642 mktime: merge comment-quoting-style change from gnulib
33643 * time/mktime.c: Quote 'like this' in comments.
33644 The GNU coding standards suggest that we no longer quote `like this',
33645 as "`" and "'" are typically rendered asymmetrically nowadays.
33646 The typical gnulib style is to quote 'like this' when quoting
33647 code, and "like this" when quoting English.
33649 * time/mktime.c (compile-command): Add "-I.".
33651 mktime: merge mktime-internal.h change from gnulib
33652 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33654 mktime: merge time_r change from gnulib
33655 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33657 mktime: merge DEBUG change from gnulib
33658 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33659 case system <time.h> has a #define.
33661 mktime: merge <sys/types.h> change from gnulib
33662 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33663 since <time.t> is now guaranteed to define time_t.
33665 mktime: merge HAVE_CONFIG_H change from gnulib
33666 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33668 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33673 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33675 (struct rusage): Use anonymous union to pad each field to
33678 2012-05-21 David S. Miller <davem@davemloft.net>
33680 * Makefules (o-iterator): Remove .s cases.
33681 (compile-command.s): Delete.
33682 (COMPILE.s): Delete.
33683 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33685 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33687 * configure.in (libc_cv_predef_stack_protector): Only consider
33688 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33689 * configure: Regenerated.
33691 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33694 New macro. Use R*LP on int and pointer.
33695 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33696 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33697 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33698 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33700 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33701 [__WORDSIZE_TIME64_COMPAT32] instead of
33702 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33703 (struct utmp): Likewise.
33704 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33705 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33707 (__WORDSIZE_TIME64_COMPAT32): This.
33708 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33709 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33710 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33711 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33712 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33713 (__WORDSIZE_TIME64_COMPAT32): New macro.
33715 2012-05-21 Andreas Jaeger <aj@suse.de>
33717 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33718 only if [SHARED]. Add prototype for __wcschr_ia32.
33720 2012-05-21 Roland McGrath <roland@hack.frob.com>
33722 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33723 of %rbp unmolested in the jmp_buf while mangling the low bits.
33724 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33725 unmolested high bits of %rbp while demangling the low bits.
33726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33728 2012-05-21 Andreas Jaeger <aj@suse.de>
33730 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33731 * sunrpc/svc_simple.c: Use it for registerrpc.
33732 * sunrpc/xcrypt.c: Use it for passwd2des.
33734 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33736 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33738 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33739 Don't define if [__SYSCALL_WORDSIZE != 32].
33740 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33743 2012-05-21 Bruno Haible <bruno@clisp.org>
33744 Andreas Jaeger <aj@suse.de>
33746 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33747 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33748 inptr and inend for must_buffer_ch.
33749 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33750 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33751 * stdio-common/Makefile (tests): Remove bug15.
33752 (bug15-ENV): Remove macro.
33753 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33756 2012-05-19 Andreas Jaeger <aj@suse.de>
33757 Roland McGrath <roland@hack.frob.com>
33759 * manual/contrib.texi: Completely rewritten. It contains now an
33760 alphabetical list of contributors and their contributions.
33762 2012-05-21 Richard Henderson <rth@twiddle.net>
33764 * misc/getauxval.c (__getauxval): Use unsigned long int.
33765 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33766 (getauxval): Use unsigned long int.
33768 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33772 2012-05-21 Roland McGrath <roland@hack.frob.com>
33774 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33775 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33776 __alignof__ (long double).
33778 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33782 2012-05-20 Richard Henderson <rth@twiddle.net>
33784 * misc/getauxval.c: New file.
33785 * misc/sys/auxv.h: New file.
33786 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33787 (routines): Add getauxval.
33788 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33790 * elf/dl-sysdep.c (_dl_auxv): Remove.
33791 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33792 * elf/dl-support.c (_dl_auxv): New variable.
33793 (_dl_aux_init): Initialize it.
33794 * manual/startup.texi (Auxiliary Vector): New node.
33795 * sysdeps/generic/bits/hwcap.h: New file.
33796 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33797 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33798 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33799 * sysdeps/sparc/sysdep.h: ... here. Include it.
33800 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33813 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33817 2012-05-19 David S. Miller <davem@davemloft.net>
33819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33821 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33824 * math/s_ccosh.c: Include <float.h>
33825 (__ccosh): Avoid internal overflow calculating sinh and cosh
33826 values before multiplying by sin and cos values.
33827 * math/s_ccoshf.c: Likewise.
33828 * math/s_ccoshl.c: Likewise.
33829 * math/s_csin.c: Likewise.
33830 * math/s_csinf.c: Likewise.
33831 * math/s_csinl.c: Likewise.
33832 * math/s_csinh.c: Likewise.
33833 * math/s_csinhf.c: Likewise.
33834 * math/s_csinhl.c: Likewise.
33835 * math/libm-test.inc (ccos_test): Add more tests.
33836 (ccosh_test): Likewise.
33837 (csin_test): Likewise.
33838 (csinh_test): Likewise.
33839 * sysdeps/i386/fpu/libm-test-ulps: Update.
33840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33842 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33844 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33845 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33847 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33849 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33851 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33852 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33853 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33854 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33855 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33856 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33857 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33858 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33859 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33860 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33861 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33862 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33863 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33864 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33865 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33866 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33867 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33868 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33869 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33870 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33871 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33872 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33873 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33874 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33875 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33876 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33877 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33878 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33879 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33880 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33881 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33883 2012-05-18 Andreas Jaeger <aj@suse.de>
33885 * csu/.gitignore: Delete.
33887 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33889 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33890 (timex): Use __syscall_slong_t.
33892 2012-05-18 Andreas Jaeger <aj@suse.de>
33893 Carlos O'Donell <carlos_odonell@mentor.com>
33895 * manual/install.texi (Configuring and compiling): Update
33896 description about files modified in the source directory.
33897 * INSTALL: Regenerated.
33899 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33901 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33902 value. Use "or" to set return value to -1.
33903 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33904 negate return value.
33906 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33908 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33909 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33910 failure if the compiler has Graphite support disabled.
33911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33913 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33914 (CFLAGS-memmove.c): Likewise.
33915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33918 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33920 * sysdeps/x86_64/x32/_itoa.h: New file.
33922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33923 getdents system call only if kernel and user dirents have the
33924 same d_ino and d_off.
33926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33927 LLONG_MAX != LONG_MAX.
33928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33929 (_fitoa_word): Likewise.
33931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33935 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33938 include <bits/wordsize.h>. Check __x86_64__ instead of
33940 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33941 if __x86_64__ is defined. Use anonymous union on fpstate.
33943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33946 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33948 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33949 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33950 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33951 Refer to _rtld_local_ro instead of _rtld_global_ro.
33952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33954 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33956 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33958 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33959 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33960 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33962 * sysdeps/powerpc/powerpc32/dl-machine.c
33963 (__elf_machine_runtime_setup) [PROF]: Don't reference
33966 2012-05-18 Andreas Jaeger <aj@suse.de>
33968 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33969 function only available for GCCs before 3.4 since GCC 3.4
33970 introduced a builtin.
33972 (llrintf): Likewise.
33973 (llrint): Likewise.
33980 (nearbyint): Likewise.
33981 (nearbyintf): Likewise.
33985 (floorf): Likewise.
33987 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33989 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33990 on both fields and cast pointer to __syscall_ulong_t.
33992 * bits/types.h (__fsword_t): New type.
33993 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33994 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33996 (__FSWORD_T_TYPE): Likewise.
33997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33998 (__FSWORD_T_TYPE): Likewise.
33999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34000 (__FSWORD_T_TYPE): Likewise.
34001 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34002 (__FSWORD_T_TYPE): Likewise.
34003 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34004 __SWORD_TYPE with __fsword_t.
34005 (statfs64): Likewise.
34007 2012-05-17 David S. Miller <davem@davemloft.net>
34009 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34011 2012-05-17 Andreas Jaeger <aj@suse.de>
34013 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34016 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34018 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34020 2012-05-17 Andreas Jaeger <aj@suse.de>
34022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34025 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34027 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34029 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34031 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34032 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34034 2012-05-17 Andreas Jaeger <aj@suse.de>
34035 Carlos O'Donell <carlos_odonell@mentor.com>
34038 * sysdeps/x86_64/multiarch/init-arch.h
34039 (bit_YMM_Usable): Rename to...
34040 (bit_AVX_Usable): ... this.
34041 (bit_FMA4_Usable): New macro.
34042 (bit_XMM_state): New macro.
34043 (bit_YMM_state): New macro.
34044 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34045 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34046 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34047 (CPUID_OSXSAVE): New macro.
34048 (CPUID_AVX): New macro.
34049 (CPUID_FMA4): New macro.
34050 (index_YMM_Usable): Rename to...
34051 (index_AVX_Usable): ... this.
34052 (HAS_AVX): Use HAS_ARCH_FEATURE.
34053 (HAS_FMA4): Likewise.
34054 (HAS_YMM_USABLE): Remove.
34055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34056 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34058 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34059 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34060 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34061 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34062 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34064 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34066 * math/libm-test.c: Support platforms without multiple rounding modes.
34067 * math/bug-nextafter.c: Support platforms without FP exceptions.
34068 * math/bug-nexttoward.c: Likewise.
34069 * math/test-fenv.c: Likewise.
34070 * math/test-misc.c: Likewise.
34071 * stdlib/bug-getcontext.c: Likewise.
34073 2012-05-17 Andreas Jaeger <aj@suse.de>
34075 * manual/examples/search.c (critter_cmp): Change signature to
34077 * manual/string.texi (Collation Functions): Likewise.
34079 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34081 * bits/types.h: Fold copyright years.
34082 * bits/typesizes.h: Likewise.
34083 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34087 * time/time.h: Likewise.
34089 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34092 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34093 in instead of returning them. Return void.
34094 (__libc_mallinfo): Accumulate over all arenas.
34095 (__malloc_stats): Adjust for change in int_mallinfo interface.
34097 2012-05-16 Roland McGrath <roland@hack.frob.com>
34100 * configure.in (NM): Add AC_CHECK_TOOL for it.
34101 (libc_extra_cflags): New substituted variable.
34102 Check for -fstack-protector being used implicitly.
34103 * configure: Regenerated.
34104 * config.make.in (config-extra-cflags): New variable,
34105 gets @libc_extra_cflags@.
34106 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34109 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34110 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34111 * configure: Regenerated.
34112 * config.make.in (CPPUNDEFS): New substituted variable.
34113 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34114 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34115 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34117 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34119 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34120 (mq_attr): Use __syscall_slong_t.
34122 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34125 Check __x86_64__ instead of __WORDSIZE.
34126 (_STAT_VER_LINUX): Likewise.
34127 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34128 __syscall_ulong_t and __syscall_slong_t.
34129 (stat64): Likewise.
34131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34135 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34141 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34145 include <bits/wordsize.h>. Check __x86_64__ instead of
34147 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34149 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34152 include <bits/wordsize.h>. Check __x86_64__ instead of
34154 (user_regs_struct): Use "__extension__ unsigned long long"
34155 instead of "unsigned long" if __x86_64__ is defined.
34156 (user): Likewise. Pad after pointer field if __ILP32__ is
34159 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34161 * configure.in (makeinfo): Require version 4.5 or later. Allow
34163 * configure: Regenerated.
34164 * manual/install.texi (texinfo): Increase version requirement to
34166 * INSTALL: Regenerated.
34168 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34172 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34174 * sysdeps/x86_64/x32/ffs.c: New file.
34176 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34178 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34179 defined. Use __syscall_ulong_t.
34180 (shminfo): Use __syscall_ulong_t.
34181 (shm_info): Likewise.
34183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34186 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34188 (msgqnum_t): Use __syscall_ulong_t.
34189 (msglen_t): Likewise.
34190 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34193 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34196 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34198 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34199 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34201 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34204 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34205 include <bits/wordsize.h>. Check __x86_64__ instead of
34208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34209 "unsigned long long int" if __x86_64__ is defined.
34210 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34214 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34216 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34218 (GET_PC): Cast to uintptr_t first.
34219 (GET_FRAME): Likewise.
34220 (GET_STACK): Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34228 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34241 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34247 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34252 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34254 * Makerules (+depfiles): Also collect depfiles from .oS in
34256 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34257 .oS, $(libnldbl-routines)).
34259 * Makerules (native-compile-mkdep-flags): Define.
34260 * sunrpc/Makefile (extra-objs): Add $(addprefix
34261 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34262 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34263 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34264 calling $(make-target-directory).
34266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34268 * bits/types.h (__snseconds_t): Removed.
34269 * time/time.h (struct timespec): Replace __snseconds_t with
34271 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34272 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34275 (__SNSECONDS_T_TYPE): Likewise.
34276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34277 (__SNSECONDS_T_TYPE): Likewise.
34278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34279 (__SNSECONDS_T_TYPE): Likewise.
34281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34283 * sysdeps/mach/hurd/bits/typesizes.h
34284 (__SYSCALL_SLONG_TYPE): New macro.
34285 (__SYSCALL_ULONG_TYPE): Likewise.
34287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34289 * bits/types.h (__syscall_slong_t): New type.
34290 (__syscall_ulong_t): Likewise.
34292 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34293 (__SYSCALL_ULONG_TYPE): Likewise.
34294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34295 (__SYSCALL_SLONG_TYPE): Likewise.
34296 (__SYSCALL_ULONG_TYPE): Likewise.
34297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34298 (__SYSCALL_SLONG_TYPE): Likewise.
34299 (__SYSCALL_ULONG_TYPE): Likewise.
34300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34301 (__SYSCALL_SLONG_TYPE): Likewise.
34302 (__SYSCALL_ULONG_TYPE): Likewise.
34304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34306 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34307 Add sigaltstack-offsets.sym.
34308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34309 <sigaltstack-offsets.h>.
34310 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34311 longjmp_msg pointer.
34312 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34313 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34315 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34317 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34319 * elf/stackguard-macros.h: Remove file.
34320 * sysdeps/generic/stackguard-macros.h: New file.
34321 * sysdeps/i386/stackguard-macros.h: Likewise.
34322 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34323 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34324 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34325 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34326 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34327 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34328 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34329 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34330 <elf/stackguard-macros.h>.
34333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34334 __aligned__ in attribute.
34335 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34336 (gregset_t): Likewise.
34338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34340 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34341 * sysdeps/x86_64/64/Implies-after: Here. New file.
34342 * sysdeps/x86_64/x32/Implies-after: New file.
34344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34346 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34347 and access return value for _dl_profile_fixup. Use R10_LP to
34350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34356 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34357 * sysdeps/x86_64/x32/sysdep.h: New file.
34359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34361 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34362 * sysdeps/x86_64/setjmp.S: Likewise.
34364 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34368 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34370 remove unused global constant.
34372 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34374 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34375 include of <not-cancel.h>.
34377 2012-05-15 Roland McGrath <roland@hack.frob.com>
34379 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34381 2012-05-15 Jeff Law <law@redhat.com>
34382 Andreas Jaeger <aj@suse.de>
34385 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34387 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34388 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34390 code changing __hst_map_handle.map.
34392 2012-05-15 Roland McGrath <roland@hack.frob.com>
34394 * configure.in (sysnames): Look for Implies-before and Implies-after
34396 * configure: Regenerated.
34398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34401 8-byte data alignment with LP_SIZE alignment.
34403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34410 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34415 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34422 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34423 (stackinfo_sub_sp): Likewise.
34425 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34442 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34446 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34447 into R11_LP and load __x86_64_shared_cache_size_half into
34450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34455 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34464 powerpc32/power7/fpu/s_logb.c via #include.
34465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34466 powerpc32/power7/fpu/s_logbf.c via #include.
34467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34468 powerpc32/power7/fpu/s_logbl.c via #include.
34470 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34472 * README.libm: Remove file.
34474 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34476 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34477 count for x32. Use R*_LP and omit operand-size suffix.
34479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34481 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34482 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34483 * sysdeps/x86_64/x32/shlib-versions: New file.
34485 2012-05-14 Roland McGrath <roland@hack.frob.com>
34487 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34488 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34489 Use _dl_fatal_printf instead.
34491 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34493 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34494 set if not set by the user. Do not allow for being unset.
34495 * sysdeps/unix/sysv/linux/configure: Regenerated.
34497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34499 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34500 the `q' suffix from lea and replace .quad with ASM_ADDR.
34502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34505 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34507 (PTR_DEMANGLE): Likewise.
34509 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34511 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34513 (ASM_ADDR): Likewise.
34514 (RAX_LP): Likewise.
34515 (RBP_LP): Likewise.
34516 (RBX_LP): Likewise.
34517 (RCX_LP): Likewise.
34518 (RDI_LP): Likewise.
34519 (RSI_LP): Likewise.
34520 (RSP_LP): Likewise.
34523 (R10_LP): Likewise.
34524 (R10_LP): Likewise.
34525 (R11_LP): Likewise.
34526 (R12_LP): Likewise.
34527 (R13_LP): Likewise.
34528 (R14_LP): Likewise.
34529 (R15_LP): Likewise.
34531 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34533 * sysdeps/x86_64/x32/dl-machine.h: New file.
34535 2012-05-14 Andreas Jaeger <aj@suse.de>
34537 * manual/Makefile (subdir): Remove export of subdir.
34538 (all): Remove target.
34539 (.PHONY): Remove all from list.
34540 (mkinstalldirs): Remove.
34541 (.PHONY): Remove installdirs from list.
34542 ($(inst_infodir)/libc.info): Use make-target-directory.
34543 (installdirs): Remove.
34544 (subdir_%): Remove.
34545 (glibc-targets): Remove.
34548 ($(objpfx)stubs ../po/manual.pot): Remove.
34549 ($(objpfx)stamp%): Remove.
34550 (make-target-directory): Remove.
34551 (subdir_install): Remove.
34552 (routines): Remove.
34559 * manual/.gitignore: Remove, it's not needed anymore.
34560 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34562 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34564 (texis): Renamed to $(objpfx)texis.
34565 (texis-path): New, contains path to generated files.
34566 (chapters.%): Use texis-path for complete path, add extra argument
34568 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34569 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34570 (summary,texi, stamp-summary): Use complete path of
34571 files. Generate files in build dir.
34572 (dir-add.texi): Build in build dir.
34573 (libm-err.texi,stamp-libm-err): Likewise.
34574 (version.texi, stamp-version): Likewise.
34575 (.%c.texi): Likewise.
34576 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34577 (mostlyclean): Remove target.
34578 (realclean): Remove target.
34579 (generated): Add new variable with contents from mostlyclean and
34580 realclean, remove entries duplicated in common-mostlyclean, add
34581 stamp-libm-err and stamp-version.
34582 (generated-dirs): Add libc directory.
34583 ($(inst_infodir)/libc.info): Install files from build dir.
34585 * manual/install.texi (Configuring and compiling): Adjust since
34586 the info files are not part of the tar ball anymore.
34588 2012-05-14 Andreas Jaeger <aj@suse.de>
34590 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34593 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34597 to 2.2.0 where earlier.
34598 * sysdeps/unix/sysv/linux/configure: Regenerated.
34599 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34600 Remove conditional code.
34601 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34602 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34603 Remove conditional code.
34604 [!__NR_lchown]: Likewise.
34605 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34606 [__NR_lchown]: Likewise.
34607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34608 comment referencing __ASSUME_LCHOWN_SYSCALL.
34609 * sysdeps/unix/sysv/linux/i386/sigaction.c
34610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34612 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34613 Remove conditional code.
34614 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34615 (__protocol_available): Remove #if 0 code.
34616 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34618 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34619 * sysdeps/unix/sysv/linux/kernel-features.h
34620 (__ASSUME_GETCWD_SYSCALL): Don't define.
34621 (__ASSUME_REALTIME_SIGNALS): Likewise.
34622 (__ASSUME_PREAD_SYSCALL): Likewise.
34623 (__ASSUME_PWRITE_SYSCALL): Likewise.
34624 (__ASSUME_POLL_SYSCALL): Likewise.
34625 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34626 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34628 (__ASSUME_SIOCGIFNAME): Don't define.
34629 (__ASSUME_MSG_NOSIGNAL): Likewise.
34630 (__ASSUME_SENDFILE): Define unconditionally.
34631 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34632 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34634 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34635 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34637 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34638 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34639 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34640 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34665 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34666 Remove conditional code.
34667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34668 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34669 Remove conditional code.
34670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34671 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34672 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34673 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34674 Remove conditional code.
34675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34676 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34677 Remove conditional code.
34678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34679 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34680 Remove conditional code.
34681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34682 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34683 Remove conditional code.
34684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34685 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34686 Remove conditional code.
34687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34688 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34691 * sysdeps/unix/sysv/linux/sigaction.c
34692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34694 * sysdeps/unix/sysv/linux/sigpending.c
34695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34697 * sysdeps/unix/sysv/linux/sigprocmask.c
34698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34700 * sysdeps/unix/sysv/linux/sigsuspend.c
34701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34704 (__libc_missing_rt_sigs): Remove.
34705 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34706 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34707 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34708 Remove conditional code.
34709 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34710 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34712 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34714 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34717 2012-05-14 Andreas Jaeger <aj@suse.de>
34719 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34720 it's not used in glibc.
34721 (__coshm1): Likewise.
34722 (__acosh1p): Likewise.
34725 * manual/string.texi (Copying and Concatenation): Add missing
34726 variable in concat example.
34727 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34733 __builtin_clzl with __builtin_clzll.
34735 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34738 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34741 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34743 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34744 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34745 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34748 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34750 * NEWS: Update ia64 info.
34752 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34754 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34757 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34759 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34760 * sysdeps/unix/syscalls.list (dup3): Likewise.
34761 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34762 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34764 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34766 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34767 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34769 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34771 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34773 (TLS_IE): Use mov/add instead of movq/addq to load thread
34775 (TLS_GD_PREFIX): New.
34778 2012-05-11 David S. Miller <davem@davemloft.net>
34780 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34781 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34782 (_FPU_SETCW): Likewise.
34784 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34786 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34787 is 32-byte aligned.
34789 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34792 * iconvdata/gb18030.c: Update tables.
34793 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34794 characters specially.
34795 (BODY for TO_LOOP): Add encoding of missing ranges.
34797 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34800 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34801 * sysdeps/mach/hurd/dup3.c: Likewise.
34802 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34803 * sysdeps/powerpc/memmove.c:: Likewise.
34805 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34808 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34810 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34812 * elf/elf.h (R_X86_64_RELATIVE64): New.
34813 (R_X86_64_NUM): Updated.
34814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34815 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34816 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34817 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34818 tst-quad1pie tst-quad2pie
34819 (modules-names): Add tst-quadmod1 tst-quadmod2.
34820 ($(objpfx)tst-quad1): New dependency.
34821 ($(objpfx)tst-quad2): Likewise.
34822 ($(objpfx)tst-quad1pie): Likewise.
34823 ($(objpfx)tst-quad2pie): Likewise.
34824 * sysdeps/x86_64/tst-quad1.c: New file.
34825 * sysdeps/x86_64/tst-quad1pie.c: New file.
34826 * sysdeps/x86_64/tst-quad2.c: Likewise.
34827 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34828 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34829 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34830 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34831 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34835 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34836 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34837 * streams/stropts.h (t_scalar_t): Define type.
34839 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34840 (_PATH_PRESERVE): Set to "/var/lib".
34841 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34843 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34846 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34847 if __dir_mkfile succeeded.
34849 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34850 checking for _hurd_dtablesize. Unlock it right after having
34851 finished _hurd_dtable allocation.
34853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34855 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34856 * sysdeps/mach/hurd/configure: Regenerated.
34857 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34858 special-casing to...
34859 * sysdeps/gnu/configure.in: ... this new file.
34860 * sysdeps/unix/sysv/linux/configure: Regenerated.
34861 * sysdeps/gnu/configure: New generated file.
34863 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34864 for Linux: use nsec instead of usec, as well as:
34865 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34866 members of type struct timespec.
34867 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34869 (struct stat64): Likewise.
34870 (_STATBUF_ST_NSEC): New macro.
34871 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34874 __strtoul_internal rather than strtoul.
34876 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34878 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34883 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34884 which preserves existing values.
34885 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34887 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34889 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34890 TIMEOUT values. Return EINVAL for NFDS values either negative or
34891 greater than FD_SETSIZE.
34893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34895 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34896 allocated, call __vm_protect to finish enabling the existing space, and
34897 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34898 allocate the remainder.
34900 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34902 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34903 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34907 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34908 sysdeps/mach/hurd/readlink.c.
34910 * posix/tst-sysconf.c (posix_options): Only use
34911 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34912 _POSIX_SYNCHRONIZED_IO when they are defined
34913 * sysdeps/mach/hurd/bits/posix_opt.h:
34914 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34915 (_XOPEN_REALTIME): Undefine macro.
34916 (_XOPEN_REALTIME_THREADS): Undefine macro.
34917 (_XOPEN_SHM): Undefine macro.
34918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34922 (_POSIX_ASYNC_IO): Undefine macro.
34923 (_POSIX_PRIORITIZED_IO): Undefine macro.
34924 (_POSIX_SPIN_LOCKS): Define macro to -1.
34926 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34927 SA_NODEFER, SA_RESETHAND.
34928 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34929 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34932 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34934 * elf/Makefile (pldd-modules): Define unconditionally.
34936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34938 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34942 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34943 Return ENOENT when name is empty.
34944 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34948 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34950 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34954 Fix mlock in all cases except non-readable pages.
34955 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34956 instead of VM_PROT_ALL as parameter to __vm_wire function.
34958 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34959 (__mkdir): When path is `/', just fail with EEXIST.
34960 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34964 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34965 <sys/uio.h> (for writev).
34966 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34967 and <sys/param.h> (for MIN).
34969 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34971 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34972 REQUESTED_TIME. Properly set the remaining time and return EINTR
34975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34977 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34978 Depend on against $(link-rpcuserlibs).
34980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34982 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34983 (__libc_stack_end): Do not use attribute_relro.
34984 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34985 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34986 to libthread-provided value.
34987 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34993 * bits/libc-lock.h (__libc_once_get): New macro.
34994 * sysdeps/mach/bits/libc-lock.h: Likewise.
34995 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34997 instead of using implementation details.
34999 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35000 * libio/freopen.c: Likewise.
35001 * libio/freopen64.c: Likewise.
35002 * misc/syslog.c: Likewise.
35003 * nscd/connections.c: Likewise.
35004 * nscd/netgroupcache.c: Likewise.
35005 * sysdeps/posix/getcwd.c: Likewise.
35007 2012-05-10 Roland McGrath <roland@hack.frob.com>
35009 * math/w_ilogbf.c: Add #include <limits.h>.
35011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35013 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35014 path instead of returning without unlocking.
35016 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35017 immediate-write ioctls.
35018 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35020 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35022 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35023 __builtin_frame_address instead of making assumptions about the
35024 location of the return address relative to DATA. Force early load of
35025 the return address.
35026 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35027 __builtin_frame_address.
35030 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35031 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35032 implement dup3 and do some further code clean-ups.
35033 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35034 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35038 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35040 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35041 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35042 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35043 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35044 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35047 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35048 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35049 when handler == SIG_ERR, not when handler != SIG_ERR.
35051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35053 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35054 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35057 accept4 for GNU Hurd.
35058 * include/sys/socket.h (__libc_accept4): New prototype.
35059 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35060 to implement __libc_accept4.
35061 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35063 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35066 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35067 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35068 signal-defines.sym.
35070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35072 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35076 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35077 assertion on O_CLOEXEC flag.
35078 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35079 * hurd/intern-fd.c: Likewise.
35080 * hurd/port2fd.c: Likewise.
35082 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35085 * bits/in.h (IPV6_PKTINFO): Define new macro.
35086 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35088 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35093 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35095 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35098 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35099 * math/libm-test.inc (logb_test) : Additional logb tests.
35101 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35102 Andreas Jaeger <aj@suse.de>
35104 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35105 * configure: Regenerated.
35106 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35107 * config.make.in (link-obsolete-rpc): New substituted variable.
35108 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35109 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35110 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35111 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35112 so that libc.a contains the symbols.
35113 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35114 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35115 * sunrpc/auth_none.c: Likewise.
35116 * sunrpc/auth_unix.c: Likewise.
35117 * sunrpc/authdes_prot.c: Likewise.
35118 * sunrpc/authuxprot.c: Likewise.
35119 * sunrpc/clnt_gen.c: Likewise.
35120 * sunrpc/clnt_perr.c: Likewise.
35121 * sunrpc/clnt_raw.c: Likewise.
35122 * sunrpc/clnt_simp.c: Likewise.
35123 * sunrpc/clnt_tcp.c: Likewise.
35124 * sunrpc/clnt_udp.c: Likewise.
35125 * sunrpc/clnt_unix.c: Likewise.
35126 * sunrpc/des_crypt.c: Likewise.
35127 * sunrpc/des_soft.c: Likewise.
35128 * sunrpc/get_myaddr.c: Likewise.
35129 * sunrpc/key_call.c: Likewise.
35130 * sunrpc/key_prot.c: Likewise.
35131 * sunrpc/netname.c: Likewise.
35132 * sunrpc/pm_getmaps.c: Likewise.
35133 * sunrpc/pm_getport.c: Likewise.
35134 * sunrpc/pmap_clnt.c: Likewise.
35135 * sunrpc/pmap_prot.c: Likewise.
35136 * sunrpc/pmap_prot2.c: Likewise.
35137 * sunrpc/pmap_rmt.c: Likewise.
35138 * sunrpc/publickey.c: Likewise.
35139 * sunrpc/rpc_cmsg.c: Likewise.
35140 * sunrpc/rpc_common.c: Likewise.
35141 * sunrpc/rpc_dtable.c: Likewise.
35142 * sunrpc/rpc_prot.c: Likewise.
35143 * sunrpc/rpc_thread.c: Likewise.
35144 * sunrpc/rtime.c: Likewise.
35145 * sunrpc/svc.c: Likewise.
35146 * sunrpc/svc_auth.c: Likewise.
35147 * sunrpc/svc_raw.c: Likewise.
35148 * sunrpc/svc_run.c: Likewise.
35149 * sunrpc/svc_tcp.c: Likewise.
35150 * sunrpc/svc_udp.c: Likewise.
35151 * sunrpc/svc_unix.c: Likewise.
35152 * sunrpc/svcauth_des.c: Likewise.
35153 * sunrpc/xcrypt.c: Likewise.
35154 * sunrpc/xdr.c: Likewise.
35155 * sunrpc/xdr_array.c: Likewise.
35156 * sunrpc/xdr_float.c: Likewise.
35157 * sunrpc/xdr_intXX_t.c: Likewise.
35158 * sunrpc/xdr_mem.c: Likewise.
35159 * sunrpc/xdr_rec.c: Likewise.
35160 * sunrpc/xdr_ref.c: Likewise.
35161 * sunrpc/xdr_sizeof.c: Likewise.
35162 * sunrpc/xdr_stdio.c: Likewise.
35164 2012-05-10 Roland McGrath <roland@hack.frob.com>
35166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35167 change. Update copyright years.
35169 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35171 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35173 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35174 Joseph Myers <joseph@codesourcery.com>
35175 Paul Pluzhnikov <ppluzhnikov@google.com>
35178 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35180 [cross-compiling] (extra-libs): Likewise.
35181 [cross-compiling] (extra-libs-others): Likewise.
35182 [cross-compiling] (librpcsvc-routines): Likewise.
35183 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35184 [cross-compiling] (omit-deps): Likewise.
35185 (sunrpc-CPPFLAGS): New variable.
35186 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35187 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35188 (cross-rpcgen-objs): New variable.
35189 (extra-objs): Append $(cross-rpcgen-objs).
35190 ($(cross-rpcgen-objs)): New rule.
35191 ($(objpfx)cross-rpcgen): Likewise.
35192 (rpcgen-cmd): Define to use $(built-program-file). Expand
35194 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35195 ($(objpfx)x%.stmp): Likewise.
35196 * sunrpc/proto.h [IS_IN_build] (_): Define.
35197 [IS_IN_build] (_libc_intl_domainname): Likewise.
35199 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35202 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35203 and R_X86_64_TPOFF64.
35205 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35207 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35208 sysdeps/unix/sysv/syscalls.list.
35211 * sysdeps/unix/sysv/syscalls.list: Remove file.
35213 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35216 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35217 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35218 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35219 (__LC_IDENTIFICATION): Make these macros useful in #if
35220 expressions, as required by C99.
35222 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35224 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35225 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35228 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35230 * stdlib/longlong.h: Updated from GCC.
35232 2012-05-09 Andreas Jaeger <aj@suse.de>
35234 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35235 default is first entry.
35236 (run_mode): Set type.
35237 (main): Remove informal message about syslog.
35238 (options): Fix typo.
35241 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35244 (llrintf): Likewise.
35245 (llrint): Likewise.
35248 (nearbyint): Likewise.
35249 (nearbyintf): Likewise.
35251 2012-05-09 Andreas Jaeger <aj@suse.de>
35252 Pedro Alves <palves@redhat.com>
35254 * nscd/nscd.c (run_mode): Use enum.
35255 (main): Cleanup coding style issue.
35257 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35258 Andreas Jaeger <aj@suse.de>
35260 * nscd/nscd.c (go_background): Replaced with...
35261 (run_mode): ... this.
35262 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35263 (options): Add -F --foreground.
35264 (main): Implement it.
35265 (parse_opt): Parse it.
35267 2012-05-09 Andreas Jaeger <aj@suse.de>
35270 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35271 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35272 -Wconversion warning.
35273 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35276 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35278 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35280 (LC_ALL): Use macro-int-constant.
35281 (LC_COLLATE): Likewise.
35282 (LC_CTYPE): Likewise.
35283 (LC_MESSAGES): Likewise.
35284 (LC_MONETARY): Likewise.
35285 (LC_NUMERIC): Likewise.
35286 (LC_TIME): Likewise.
35287 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35288 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35290 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35292 [C99-based standards] (float_t): Expect type.
35293 [C99-based standards] (double_t): Expect type.
35294 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35296 [C99-based standards] (HUGE_VALL): Likewise.
35297 [C99-based standards] (INFINITY): Likewise.
35298 [C99-based standards] (NAN): Likewise.
35299 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35300 [C99-based standards] (FP_NAN): Likewise.
35301 [C99-based standards] (FP_NORMAL): Likewise.
35302 [C99-based standards] (FP_SUBNORMAL): Likewise.
35303 [C99-based standards] (FP_ZERO): Likewise.
35304 [C99-based standards] (FP_FAST_FMA): Use
35305 optional-macro-int-constant. Specify type. Require == 1.
35306 [C99-based standards] (FP_FAST_FMAF): Likewise.
35307 [C99-based standards] (FP_FAST_FMAL): Likewise.
35308 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35309 [C99-based standards] (FP_ILOGBNAN): Likewise.
35310 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35312 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35313 [C99-based standards] (math_errhandling): Specify type.
35314 [ISO99 || ISO11] (signgam): Do not allow.
35315 [non-C99-based standards] (copysignf): Do not allow.
35316 [non-C99-based standards] (exp2f): Likewise.
35317 [non-C99-based standards] (log2f): Likewise.
35318 [non-C99-based standards] (modff): Allow.
35319 [non-C99-based standards] (erff): Do not allow.
35320 [non-C99-based standards] (erfcf): Likewise.
35321 [non-C99-based standards] (gammaf): Likewise.
35322 [non-C99-based standards] (hypotf): Likewise.
35323 [non-C99-based standards] (j0f): Likewise.
35324 [non-C99-based standards] (j1f): Likewise.
35325 [non-C99-based standards] (jnf): Likewise.
35326 [non-C99-based standards] (lgammaf): Likewise.
35327 [non-C99-based standards] (tgammaf): Likewise.
35328 [non-C99-based standards] (y0f): Likewise.
35329 [non-C99-based standards] (y1f): Likewise.
35330 [non-C99-based standards] (ynf): Likewise.
35331 [non-C99-based standards] (isnanf): Likewise.
35332 [non-C99-based standards] (acoshf): Likewise.
35333 [non-C99-based standards] (asinhf): Likewise.
35334 [non-C99-based standards] (atanhf): Likewise.
35335 [non-C99-based standards] (cbrtf): Likewise.
35336 [non-C99-based standards] (expm1f): Likewise.
35337 [non-C99-based standards] (ilogbf): Likewise.
35338 [non-C99-based standards] (log1pf): Likewise.
35339 [non-C99-based standards] (logbf): Likewise.
35340 [non-C99-based standards] (nextafterf): Likewise.
35341 [non-C99-based standards] (remainderf): Likewise.
35342 [non-C99-based standards] (rintf): Likewise.
35343 [non-C99-based standards] (scalbf): Likewise.
35344 [non-C99-based standards] (copysignl): Likewise.
35345 [non-C99-based standards] (exp2l): Likewise.
35346 [non-C99-based standards] (log2l): Likewise.
35347 [non-C99-based standards] (modfl): Allow.
35348 [non-C99-based standards] (erfl): Do not allow.
35349 [non-C99-based standards] (erfcl): Likewise.
35350 [non-C99-based standards] (gammal): Likewise.
35351 [non-C99-based standards] (hypotl): Likewise.
35352 [non-C99-based standards] (j0l): Likewise.
35353 [non-C99-based standards] (j1l): Likewise.
35354 [non-C99-based standards] (jnl): Likewise.
35355 [non-C99-based standards] (lgammal): Likewise.
35356 [non-C99-based standards] (tgammal): Likewise.
35357 [non-C99-based standards] (y0l): Likewise.
35358 [non-C99-based standards] (y1l): Likewise.
35359 [non-C99-based standards] (ynl): Likewise.
35360 [non-C99-based standards] (isnanl): Likewise.
35361 [non-C99-based standards] (acoshl): Likewise.
35362 [non-C99-based standards] (asinhl): Likewise.
35363 [non-C99-based standards] (atanhl): Likewise.
35364 [non-C99-based standards] (cbrtl): Likewise.
35365 [non-C99-based standards] (expm1l): Likewise.
35366 [non-C99-based standards] (ilogbl): Likewise.
35367 [non-C99-based standards] (log1pl): Likewise.
35368 [non-C99-based standards] (logbl): Likewise.
35369 [non-C99-based standards] (nextafterl): Likewise.
35370 [non-C99-based standards] (remainderl): Likewise.
35371 [non-C99-based standards] (rintl): Likewise.
35372 [non-C99-based standards] (scalbl): Likewise.
35373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35374 [non-C99-based standards] (FP_*): Do not allow.
35375 [C99-based standards] (FP_*): Change to
35376 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35377 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35379 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35380 (SIG_ERR): Likewise.
35381 [X/Open-based standards] (SIG_HOLD): Likewise.
35382 (SIG_IGN): Likewise.
35383 (SIGABRT): Use macro-int-constant. Specify type. Require
35385 (SIGFPE): Likewise.
35386 (SIGILL): Likewise.
35387 (SIGINT): Likewise.
35388 (SIGSEGV): Likewise.
35389 (SIGTER): Likewise.
35390 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35391 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35392 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35393 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35394 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35395 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35397 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35398 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35399 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35400 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35401 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35402 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35403 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35404 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35405 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35406 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35408 [X/Open-based standards] (SIGTRAP): Likewise.
35409 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35410 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35411 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35412 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35413 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35416 2012-05-08 Ian Wienand <ianw@vmware.com>
35419 * time/tzset.c (__tzset_parse_tz): Update default rules for
35420 daylight time changes in the Energy Policy Act of 2005.
35422 2012-05-09 Andreas Jaeger <aj@suse.de>
35425 * elf/ldconfig.c (parse_conf): Change string to make clear that
35426 ldconfig only issued a warning if ld.so.conf does not exist.
35428 2012-05-08 David S. Miller <davem@davemloft.net>
35430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35431 movxtod instead of popping the value on the stack.
35433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35435 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35437 * config.h.in: Add HAVE_ARM_PCS_VFP.
35439 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35442 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35443 checking but the checks are disabled for any reason.
35445 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35447 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35448 and ELF64_R_TYPE with ELFW(R_TYPE).
35450 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35452 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35453 (ulimit): Likewise.
35455 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35456 (settimeofday): Likewise.
35458 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35460 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35461 a struct th_u2 inside the union, and move tu_block/tu_code into
35462 a new th_u3 union of tu_block/tu_code inside of that. Move
35463 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35464 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35465 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35466 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35467 (th_stuff): Change to th_u1.tu_stuff.
35469 (th_msg): Change to th_u1.th_u2.tu_data.
35471 2012-05-07 David S. Miller <davem@davemloft.net>
35473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35477 (SETUP_PIC_REG): Use it.
35478 (SETUP_PIC_REG_LEAF): Use it.
35480 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35486 (EXPL_FINITE): Likewise.
35487 (FLDLOG): Likewise.
35488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35489 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35493 (EXPL_FINITE): Likewise.
35494 (FLDLOG): Likewise.
35495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35496 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35498 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35499 test of -max_value argument for long double.
35500 * sysdeps/i386/fpu/libm-test-ulps: Update.
35501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35503 2012-05-06 David S. Miller <davem@davemloft.net>
35505 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35506 quad soft-float symbols whose references which are compiler
35508 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35510 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35516 (EXPL_FINITE): Likewise.
35517 (FLDLOG): Likewise.
35520 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35521 Adjust comments for base varying.
35522 (__expl_finite): Change alias to EXPL_FINITE.
35523 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35525 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35526 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35528 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35531 (EXPL_FINITE): Likewise.
35532 (FLDLOG): Likewise.
35535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35536 Adjust comments for base varying.
35537 (__expl_finite): Change alias to EXPL_FINITE.
35538 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35543 * math/libm-test.inc (check_float_internal): Correct ulp
35544 calculation for subnormal expected results.
35546 2012-05-06 Andreas Jaeger <aj@suse.de>
35548 * Makeconfig (+math-flags): New, set to -frounding-math.
35549 (+cflags): Add +math-flags so that all of glibc gets compiled with
35552 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35554 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35556 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35562 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35563 (__ieee754_expl): Allow for and saturate large arguments.
35564 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35565 (u_threshold): Likewise.
35566 (__exp): Call __ieee754_exp before checking for overflow and
35568 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35569 (u_threshold): Likewise.
35570 (__expf): Call __ieee754_expf before checking for overflow and
35572 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35573 (u_threshold): Likewise.
35574 (__expl): Call __ieee754_expl before checking for overflow and
35576 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35577 (__ieee754_expl): Allow for and saturate large arguments.
35578 * math/libm-test.inc (exp_test): Add another test. Do not allow
35579 missing overflow exception on overflow.
35580 (expm1_test): Do not allow missing overflow exception on overflow.
35582 * sysdeps/i386/fpu/e_expl.c: Move to ...
35583 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35584 rather than using inline asm.
35585 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35586 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35587 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35589 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35592 (signal): Likewise.
35596 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35598 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35599 sysdeps/unix/common/syscalls.list.
35600 (fchmod): Likewise.
35601 (fchown): Likewise.
35602 (ftruncate): Likewise.
35603 (getrusage): Likewise.
35604 (gettimeofday): Likewise.
35605 (setpgid): Likewise.
35606 (setregid): Likewise.
35607 (setreuid): Likewise.
35608 (sigaction): Likewise.
35609 (truncate): Likewise.
35610 (vhangup): Likewise.
35611 * sysdeps/unix/common/syscalls.list: Remove file.
35612 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35613 * sysdeps/unix/sysv/linux/Implies: Likewise.
35615 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35623 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35626 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35629 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35635 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35645 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35649 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35656 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35660 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35662 * sysdeps/unix/common/bits/dirent.h: Remove file.
35663 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35665 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35666 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35667 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35668 * sysdeps/unix/bsd/isatty.c: Likewise.
35669 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35670 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35671 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35673 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35677 long double comparison inaccuracies.
35678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35681 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35683 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35686 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35690 nonzero digits before rounding a hex value.
35691 * stdlib/tst-strtod.c (tests): Add another test.
35693 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35695 * sysdeps/s390/fpu/libm-test-ulps: Update.
35697 2012-05-03 Andreas Jaeger <aj@suse.de>
35699 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35700 does not get optimized out.
35701 (malloc_opt_barrier): New.
35703 2012-05-03 Andreas Jaeger <aj@suse.de>
35704 Roland McGrath <roland@hack.frob.com>
35706 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35707 intermediate file deletion.
35708 (generated): Add .symlist files.
35710 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35713 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35714 Redirect under this condition.
35715 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35716 [__USE_GNU] (__dprintf_chk): Not under this condition.
35717 [__USE_GNU] (__vdprintf_chk): Likewise.
35718 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35719 under this condition.
35720 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35721 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35722 [__USE_XOPEN2K8] (vdprintf): Likewise.
35723 [__USE_GNU] (__dprintf_chk): Not under this condition.
35724 [__USE_GNU] (__vdprintf_chk): Likewise.
35725 [__USE_GNU] (dprintf): Likewise.
35726 [__USE_GNU] (vdprintf): Likewise.
35728 2012-05-03 Roland McGrath <roland@hack.frob.com>
35730 * elf/Makefile (common-generated): Set this instead of generated for
35731 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35732 $(all-built-dso)-derived lists.
35734 2012-05-03 Andreas Jaeger <aj@suse.de>
35736 * sysdeps/i386/fpu/libm-test-ulps: Update.
35739 * FAQ.in: Likewise.
35740 * scripts/gen-FAQ.pl: Likewise.
35741 * manual/install.texi (Installation): Point to online location of
35743 * Makefile (files-for-dist): Remove FAQ.
35746 2012-05-02 Allan McRae <allan@archlinux.org>
35748 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35749 (LDFLAGS-reldepmod5.so): Likewise.
35750 (LDFLAGS-reldep6mod1.so): Likewise.
35751 (LDFLAGS-reldep6mod4.so): Likewise.
35752 (LDFLAGS-reldep8mod3.so): Likewise.
35753 (LDFLAGS-unload4mod1.so): Likewise.
35754 (LDFLAGS-unload4mod2.so): Likewise.
35755 (LDFLAGS-tst-initorder): Likewise.
35756 (LDFLAGS-tst-initordera2.so): Likewise.
35757 (LDFLAGS-tst-initordera3.so): Likewise.
35758 (LDFLAGS-tst-initordera4.so): Likewise.
35759 (LDFLAGS-tst-initorderb2.so): Likewise.
35760 (LDFLAGS-noload): Likewise.
35761 (LDFLAGS-next): Likewise.
35762 (LDFLAGS-order2mod1.so): Likewise.
35763 (LDFLAGS-order2mod2.so): Likewise.
35764 (LDFLAGS-tst-initorder2): Likewise.
35765 (LDFLAGS-tst-initorder2a.so): Likewise.
35766 (LDFLAGS-tst-initorder2b.so): Likewise.
35767 (LDFLAGS-tst-initorder2c.so): Likewise.
35768 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35770 2012-05-02 David S. Miller <davem@davemloft.net>
35772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35774 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35777 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35779 2012-05-02 Andreas Jaeger <aj@suse.de>
35781 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35782 since we manipulate rounding mode.
35783 (CPPFLAGS-test-idouble.c): Likewise.
35784 (CPPFLAGS-test-ifloat.c): Likewise.
35785 (CFLAGS-test-ldouble.c): Likewise.
35786 (CFLAGS-test-double.c): Likewise.
35787 (CFLAGS-test-float.c): Likewise.
35788 (CFLAGS-test-misc.c): Likewise.
35789 (CFLAGS-test-test-fenv.c): Likewise.
35791 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35796 comparisons to determine direction to adjust input.
35798 2012-05-01 Roland McGrath <roland@hack.frob.com>
35800 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35801 output to the target.
35803 * scripts/localplt.awk: New file.
35804 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35805 (check-localplt-CFLAGS): Variable removed.
35806 ($(all-built-dso:=.jmprel)): New static pattern rule.
35807 (generated): Add those targets.
35808 (localplt-built-dso): New variable.
35809 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35811 * elf/check-localplt.c: File removed.
35813 * scripts/check-execstack.awk: New file.
35814 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35815 (check-execstack-CFLAGS): Variable removed.
35816 ($(objpfx)check-execstack.h): Target removed.
35817 ($(objpfx)execstack-default): New target.
35818 (generated): Add that instead of check-execstack.h.
35819 ($(all-built-dso:=.phdr)): New static pattern rule.
35820 (generated): Add those targets.
35821 * elf/check-execstack.c: File removed.
35823 * scripts/check-textrel.awk: New file.
35824 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35825 (check-textrel-CFLAGS): Variable removed.
35826 (all-built-dso): Use := to define.o
35827 ($(all-built-dso:=.dyn)): New static pattern rule.
35828 (generated): Add those targets.
35829 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35830 * config.make.in (READELF): New substituted variable.
35831 * elf/check-textrel.c: File removed.
35833 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35835 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35837 * conform/data/ctype.h-data [C99-based standards] (isblank):
35839 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35840 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35842 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35843 Specify type. Require positive value.
35844 (EILSEQ): Likewise.
35845 (ERANGE): Likewise.
35846 [ISO || POSIX] (EILSEQ): Do not expect.
35847 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35848 Specify type. Require positive value.
35849 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35866 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35871 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35872 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35873 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35874 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35875 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35876 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35877 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35879 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35880 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35881 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35882 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35883 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35884 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35885 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35886 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35887 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35888 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35889 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35890 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35891 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35892 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35893 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35897 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35903 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35904 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35905 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35906 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35907 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35908 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35909 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35910 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35911 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35912 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35913 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35914 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35915 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35916 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35917 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35918 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35919 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35920 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35921 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35922 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35923 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35924 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35925 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35927 (FLT_ROUNDS): Expect as macro, not constant.
35928 (FLT_MANT_DIG): Use macro-int-constant.
35929 (DBL_MANT_DIG): Likewise.
35930 (LDBL_MANT_DIG): Likewise.
35931 (FLT_DIG): Likewise.
35932 (DBL_DIG): Likewise.
35933 (LDBL_DIG): Likewise.
35934 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35935 (DBL_MIN_EXP): Likewise.
35936 (LDBL_MIN_EXP): Likewise.
35937 (FLT_MAX_EXP): Use macro-int-constant.
35938 (DBL_MAX_EXP): Likewise.
35939 (LDBL_MAX_EXP): Likewise.
35940 (FLT_MAX_10_EXP): Likewise.
35941 (DBL_MAX_10_EXP): Likewise.
35942 (LDBL_MAX_10_EXP): Likewise.
35943 (FLT_MAX): Use macro-constant.
35944 (DBL_MAX): Likewise.
35945 (LDBL_MAX): Likewise.
35946 (FLT_EPSILON): Use macro-constant. Give upper bound.
35947 (DBL_EPSILON): Likewise.
35948 (LDBL_EPSILON): Likewise.
35949 (FLT_MIN): Likewise.
35950 (DBL_MIN): Likewise.
35951 (LDBL_MIN): Likewise.
35952 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35953 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35954 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35955 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35956 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35957 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35958 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35959 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35960 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35961 [ISO11] (FLT_TRUE_MIN): Likewise.
35962 [ISO11] (LDBL_TRUE_MIN): Likewise.
35963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35964 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35965 (SCHAR_MIN): Use macro-int-constant. Specify type.
35966 (SCHAR_MAX): Likewise.
35967 (UCHAR_MAX): Likewise.
35968 (CHAR_MIN): Likewise.
35969 (CHAR_MAX): Likewise.
35970 (MB_LEN_MAX): Use macro-int-constant.
35971 (SHRT_MIN): Use macro-int-constant. Specify type.
35972 (SHRT_MAX): Likewise.
35973 (USHRT_MAX): Likewise.
35974 (INT_MAX): Likewise.
35975 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35977 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35979 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35981 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35982 bound negative. Suffix upper bound with "L".
35983 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35985 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35987 [C99-based standards] (LLONG_MAX): Likewise.
35988 [C99-based standards] (ULLONG_MAX): Likewise.
35989 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35991 [ISO11] (max_align_t): Require type.
35992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35994 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35995 from $CFLAGS, without defining away __attribute__ calls.
35996 (checknamespace): Use $CFLAGS_namespace.
35998 * conform/conformtest.pl (@keywords): Only include C99 keywords
35999 for standards based on C99 or C11.
36001 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36003 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36006 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36007 usability of symbols in #if.
36009 * conform/conformtest.pl: If macro or constant types start
36010 "promoted:", expect the symbol to be of the following type
36011 promoted by the integer promotions.
36013 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36014 in one place. Also handle "macro-constant".
36016 * conform/conformtest.pl: Only accept expected macro values with
36017 "==". Parse all "macro" lines in one place.
36018 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36020 * conform/conformtest.pl: Handle braced types on "constant" lines
36021 instead of handling "typed-constant".
36022 * conform/data/signal.h-data: Use "constant" instead of
36025 * conform/conformtest.pl: Handle "optional-" at start of lines in
36026 one place rather than duplicating several cases. Handle each
36027 format of "macro" line with initial "optional-".
36029 * conform/conformtest.pl: Only accept expected constant or
36030 optional-constant values with "==". Parse all "constant" lines in
36031 one place. Parse all "optional-constant" lines in one place.
36032 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36033 * conform/data/fmtmsg.h-data: Likewise.
36034 * conform/data/netinet/in.h-data: Likewise.
36035 * conform/data/tar.h-data: Likewise.
36036 * conform/data/limits.h-data: Use "==" form on "constant" and
36037 "optional-constant" lines.
36039 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36040 Use -std=c99 for XOPEN2K.
36041 (@knownproblems): Remove.
36042 (newtoken): Don't check %isknown.
36044 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36045 Do not expect macro.
36046 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36058 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36059 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36076 [XPG3] (acosh): Likewise.
36077 [XPG3] (asinh): Likewise.
36078 [XPG3] (atanh): Likewise.
36079 [XPG3] (cbrt): Likewise.
36080 [XPG3] (expm1): Likewise.
36081 [XPG3] (ilogb): Likewise.
36082 [XPG3] (log1p): Likewise.
36083 [XPG3] (logb): Likewise.
36084 [XPG3] (nextafter): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36086 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36087 [XPG3] (remainder): Likewise.
36088 [XPG3] (rint): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36095 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36096 [UNIX98 || XOPEN2K] (scalb): Expect.
36097 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36098 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36104 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36105 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36106 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36120 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36121 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36122 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36123 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36124 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36125 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36126 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36127 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36128 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36129 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36130 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36131 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36132 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36133 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36134 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36135 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36136 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36137 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36138 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36139 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36140 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36141 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36142 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36143 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36144 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36145 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36146 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36147 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36148 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36149 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36150 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36151 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36152 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36153 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36154 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36155 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36156 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36157 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36158 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36159 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36160 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36161 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36162 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36163 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36164 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36165 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36166 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36167 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36168 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36169 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36170 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36171 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36172 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36173 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36174 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36175 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36176 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36177 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36178 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36179 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36180 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36181 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36182 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36183 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36184 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36185 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36186 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36187 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36188 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36189 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36190 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36191 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36192 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36193 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36194 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36195 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36196 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36197 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36198 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36199 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36200 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36201 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36202 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36203 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36204 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36205 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36206 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36207 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36208 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36209 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36210 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36211 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36212 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36213 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36214 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36215 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36216 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36217 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36218 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36219 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36220 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36221 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36222 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36223 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36224 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36225 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36226 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36227 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36228 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36229 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36230 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36231 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36232 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36233 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36235 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36236 _XOPEN_SOURCE_EXTENDED for XPG4.
36238 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36240 * Makeconfig (localtime): Remove variable.
36241 (inst_localtime-file): Likewise.
36243 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36264 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36268 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36269 comparisons to determine direction to adjust input.
36270 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36271 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36281 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36283 * math/libm-test.inc (nexttoward_test): Add more tests.
36285 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36289 in version GLIBC_2.1, not GLIBC_2.0.
36290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36293 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36299 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36300 * math/libm-test.inc (acos_test): Add more tests.
36301 (asin_test): Likewise.
36302 * sysdeps/i386/fpu/libm-test-ulps: Update.
36303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36308 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36309 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36310 * math/libm-test.inc (acos_test_tonearest): New function.
36311 (acos_test_towardzero): Likewise.
36312 (acos_test_downward): Likewise.
36313 (acos_test_upward): Likewise.
36314 (asin_test_tonearest): Likewise.
36315 (asin_test_towardzero): Likewise.
36316 (asin_test_downward): Likewise.
36317 (asin_test_upward): Likewise.
36318 (main): Call the new functions.
36319 * sysdeps/i386/fpu/libm-test-ulps: Update.
36320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36324 * math/e_exp10.c: Include <float.h>.
36325 (__ieee754_exp10): Handle underflow here rather than multiplying
36326 large negative argument by M_LN10.
36327 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36329 * math/e_exp10l.c: Include <float.h>.
36330 (__ieee754_exp10l): Handle underflow here rather than multiplying
36331 large negative argument by M_LN10l.
36332 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36333 spurious overflow exception on underflow.
36335 2012-04-29 Marek Polacek <polacek@redhat.com>
36337 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36338 (__fortify_function): New macro.
36339 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36340 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36341 __extern_always_inline.
36342 * libio/bits/stdio2.h: Likewise.
36343 * libio/bits/stdio.h: Likewise.
36344 * string/string.h: Likewise.
36345 * string/bits/string3.h: Likewise.
36346 * include/stdio.h: Likewise.
36347 * stdlib/bits/stdlib.h: Likewise.
36348 * stdlib/stdlib.h: Likewise.
36349 * rt/bits/mqueue2.h: Likewise.
36350 * rt/mqueue.h: Likewise.
36351 * posix/bits/unistd.h: Likewise.
36352 * posix/unistd.h: Likewise.
36353 * io/bits/poll2.h: Likewise.
36354 * io/bits/fcntl2.h: Likewise.
36355 * io/fcntl.h: Likewise.
36356 * io/sys/poll.h: Likewise.
36357 * misc/bits/syslog.h: Likewise.
36358 * misc/bits/syslog-ldbl.h: Likewise.
36359 * misc/sys/syslog.h: Likewise.
36360 * socket/bits/socket2.h: Likewise.
36361 * socket/sys/socket.h: Likewise.
36362 * debug/tst-chk1.c: Likewise.
36363 * wcsmbs/bits/wchar2.h: Likewise.
36364 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36365 * wcsmbs/wchar.h: Likewise.
36367 2012-04-29 Andreas Jaeger <aj@suse.de>
36369 * Makerules (tests): Remove enable-check-abi protection.
36370 (check-abi-warn): Remove.
36371 (check-abi-%): Remove check-abi-warn usage.
36373 * configure.in: Remove check-abi configure option.
36374 * configure: Regenerated.
36375 * config.make.in (enable-check-abi): Remove.
36377 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36380 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36381 double functions to double *_finite functions.
36384 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36385 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36387 * stdio-common/Makefile (tests): Add tst-sprintf3.
36388 * stdio-common/tst-sprintf3.c: New file.
36390 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36391 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36393 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36395 * conform/conformtest.pl: Remove duplicate typed-constant
36398 2012-04-28 David S. Miller <davem@davemloft.net>
36400 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36401 (check-abi-%): Remove AWK script prerequisite and explicit
36403 (check-abi): Rewrite to just diff the symlist with the abilist.
36404 (config-tls, config-abi-config): Delete, no longer used.
36405 (update-abi-%): Remove AWK script and explicit abilist directory.
36406 (update-abi): Rewrite to simply compare and conditionally copy the
36407 symlist and the sysdep abilist file. Remove update-abi-config
36409 * abilist/ld.abilist: Remove.
36410 * abilist/libBrokenLocale.abilist: Remove.
36411 * abilist/libanl.abilist: Remove.
36412 * abilist/libcrypt.abilist: Remove.
36413 * abilist/libdl.abilist: Remove.
36414 * abilist/librt.abilist: Remove.
36415 * abilist/libthread_db.abilist: Remove.
36416 * abilist/libutil.abilist: Remove.
36417 * scripts/extract-abilist.awk: Remove.
36418 * scripts/merge-abilist.awk: Remove.
36419 * sysdeps/generic/libcidn.abilist: New file.
36420 * sysdeps/generic/libnss_compat.abilist: New file.
36421 * sysdeps/generic/libnss_db.abilist: New file.
36422 * sysdeps/generic/libnss_dns.abilist: New file.
36423 * sysdeps/generic/libnss_files.abilist: New file.
36424 * sysdeps/generic/libnss_hesiod.abilist: New file.
36425 * sysdeps/generic/libnss_nis.abilist: New file.
36426 * sysdeps/generic/libnss_nisplus.abilist: New file.
36427 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36428 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36429 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36432 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36433 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36434 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36435 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36437 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36438 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36439 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36441 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36442 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36444 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36449 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36450 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36455 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36457 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36560 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36561 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36562 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36565 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36566 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36567 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36568 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36569 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36570 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36572 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36573 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36625 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36627 * conform/conformtest.pl: Fix typo in handling typed-constant from
36630 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36632 * README: Cut down references to pre-2.6 Linux kernels and
36633 Linuxthreads. Update lists of configurations in libc and ports
36634 and sort alphabetically. Say "or newer" with Linux kernel version
36637 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36639 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36642 * math/libm-test.inc (logb_test_downward): New test to expose
36643 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36646 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36649 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36651 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36652 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36654 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36656 * sysdeps/unix/i386/brk.S: Remove file.
36657 * sysdeps/unix/i386/dl-brk.S: Likewise.
36658 * sysdeps/unix/i386/pipe.S: Likewise.
36659 * sysdeps/unix/i386/sigreturn.S: Likewise.
36660 * sysdeps/unix/i386/syscall.S: Likewise.
36661 * sysdeps/unix/i386/vfork.S: Likewise.
36662 * sysdeps/unix/i386/wait.S: Likewise.
36664 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36665 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36667 * configure.in (arm*-none*): Do not allow without
36668 --enable-hacker-mode.
36669 (netbsd*): Remove case setting base_os.
36670 (386bsd*): Likewise.
36671 (freebsd*): Likewise.
36674 (sunos*): Likewise.
36675 (ultrix*): Likewise.
36676 (newsos*): Likewise.
36677 (dynix*): Likewise.
36683 (minix*): Likewise.
36684 (irix4*): Likewise.
36685 (irix6*): Likewise.
36686 (solaris[2-9]*): Likewise.
36688 * configure: Regenerated.
36690 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36694 overflow or cancellation in calculating denominator.
36695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36697 down expression to avoid unexpected rounding in newer GCCs.
36698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36700 2012-04-26 David S. Miller <davem@davemloft.net>
36702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36703 long-double compat symbols.
36704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36718 2012-04-25 David S. Miller <davem@davemloft.net>
36720 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36721 HWCAP_* values only after the memory barriers have been defined.
36722 (atomic_full_barrier): Define.
36723 (atomic_read_barrier): Define.
36724 (atomic_write_barrier): Define.
36726 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36728 * shlib-versions: Add libgcc_s version information.
36729 * sysdeps/generic/libgcc_s.h: Remove.
36730 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36732 * sysdeps/gnu/unwind-resume.c: Likewise.
36733 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36735 2012-04-25 David S. Miller <davem@davemloft.net>
36737 * sysdeps/unix/sparc/brk.S: Delete.
36738 * sysdeps/unix/sparc/dl-brk.S: Delete.
36739 * sysdeps/unix/sparc/pipe.S: Delete.
36740 * sysdeps/unix/sparc/sysdep.S: Delete.
36741 * sysdeps/unix/sparc/sysdep.h: Delete.
36742 * sysdeps/unix/sparc/vfork.S: Delete.
36743 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36744 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36746 (ret_ERRVAL, r0, r1, MOVE): Define.
36747 (JUMPTARGET): Remove.
36748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36749 sysdeps/unix/sparc/sysdep.h
36750 (ENTRY, END): Remove.
36751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36753 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36755 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36756 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36759 * timezone/README: Update upstream location and email address for
36761 * timezone/zdump.c: Update from tzcode 2012b.
36762 * timezone/zic.c: Likewise.
36764 * configure.in (libc_cv_as_needed): Remove test.
36765 * configure: Regenerated.
36766 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36767 conditional definition.
36768 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36769 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36770 * config.make.in (have-as-needed): Remove variable.
36772 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36773 Paul Pluzhnikov <ppluzhnikov@google.com>
36775 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36778 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36780 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36781 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36782 * sysdeps/sh/strlen.S: Likewise.
36784 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36786 * sysdeps/unix/fork.S: Remove file.
36787 * sysdeps/unix/i386/fork.S: Likewise.
36788 * sysdeps/unix/sparc/fork.S: Likewise.
36790 * sysdeps/unix/system.c: Remove file.
36791 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36793 * sysdeps/unix/getegid.S: Remove file.
36794 * sysdeps/unix/geteuid.S: Likewise.
36796 2012-04-24 Roland McGrath <roland@hack.frob.com>
36798 * scripts/check-localplt.awk: New file.
36799 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36801 * scripts/data/localplt-generic.data: Add a comment.
36803 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36804 NODE when __dir_mkfile failed.
36805 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36806 Reported by Ludovic Courtès <ludo@gnu.org>.
36808 2012-04-24 Andreas Jaeger <aj@suse.de>
36810 * Makerules (common-clean): Also remove gen-as-const-headers
36813 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36815 * Makerules (native-compile): Do not change working directory for
36816 build. Use $(OUTPUT_OPTION) in command.
36817 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36819 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36822 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36823 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36824 * math/libm-test.inc (floor_test): Add more tests.
36825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36827 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36829 * sysdeps/unix/getdents.c: Remove file.
36830 * sysdeps/unix/sysv/getdents.c: Likewise.
36831 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36833 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36834 sysdeps/unix/mman/syscalls.list.
36836 (mprotect): Likewise.
36838 (munmap): Likewise.
36839 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36840 * sysdeps/unix/mman/syscalls.list: Remove.
36841 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36843 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36844 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36845 * configure: Regenerated.
36846 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36847 $(libgcc_s_suffix).
36848 * config.make.in (libgcc_s_suffix): Remove variable.
36850 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36852 * sysdeps/unix/sysv/gethostname.c: Move to ...
36853 * sysdeps/posix/gethostname.c: ... here.
36855 * sysdeps/unix/execve.S: Remove file.
36857 * sysdeps/unix/_exit.S: Remove file.
36859 2012-04-23 Andreas Jaeger <aj@suse.de>
36862 * manual/Makefile: Remove make dist support, there's no
36863 need for a stand-alone documentation tar ball.
36864 (TEXI2DVI): Define always, it's not in Makeconfig.
36867 (edition): Removed.
36868 (glibc-doc-$(edition).tar): Removed
36872 (ETAGS): Remove, it's in Makeconfig.
36873 (move-if-change): Remove, it's in Makeconfig.
36875 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36878 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36879 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36880 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36881 (strtod_l, strtof_l, strtold_l): Remove __wur.
36882 It is not necessarily an error to ignore strtol's return value.
36883 One can reliably look at the stored endptr to decide whether
36884 the number had valid syntax.
36886 2012-04-21 Andreas Jaeger <aj@suse.de>
36889 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36891 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36893 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36894 * sysdeps/unix/sysv/Versions: Remove file.
36896 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36901 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36905 version from __vm86.
36907 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36909 * sysdeps/unix/common/lxstat.c: Remove file.
36910 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36912 * sysdeps/unix/sysv/Makefile: Remove file.
36914 * sysdeps/unix/sysv/direct.h: Remove file.
36916 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36917 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36918 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36919 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36920 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36921 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36922 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36924 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36926 * sysdeps/unix/xmknod.c: Remove file.
36927 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36929 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36931 * sysdeps/unix/sysv/i386/time.S: Remove file.
36933 * sysdeps/unix/fxstat.c: Remove file.
36934 * sysdeps/unix/xstat.c: Likewise.
36935 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36937 * sysdeps/unix/sysv/sigaction.c: Remove file.
36939 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36940 (sysdep_headers): Remove variable.
36941 [termio.h not in sysdep_headers] (generated): Likewise.
36942 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36943 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36944 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36945 * sysdeps/unix/sysv/tcflow.c: Likewise.
36946 * sysdeps/unix/sysv/tcflush.c: Likewise.
36947 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36948 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36949 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36950 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36951 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36953 * sysdeps/unix/siglist.c: Remove file.
36955 * sysdeps/unix/getppid.S: Remove file.
36957 * sysdeps/unix/mkdir.c: Remove file.
36958 * sysdeps/unix/rmdir.c: Likewise.
36960 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36962 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36964 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36965 errlist-compat value.
36967 2012-04-18 David S. Miller <davem@davemloft.net>
36969 * sysdeps/generic/memcopy.h (reg_char): Delete.
36970 * debug/strcat_chk.c: Use char, not reg_char.
36971 * debug/strcpy_chk.c: Likewise.
36972 * debug/strncat_chk.c: Likewise.
36973 * debug/strncpy_chk.c: Likewise.
36974 * string/memchr.c: Likewise.
36975 * string/memrchr.c: Likewise.
36976 * string/rawmemchr.c: Likewise.
36977 * string/strcat.c: Likewise.
36978 * string/strchr.c: Likewise.
36979 * string/strchrnul.c: Likewise.
36980 * string/strcmp.c: Likewise.
36981 * string/strcpy.c: Likewise.
36982 * string/strncat.c: Likewise.
36983 * string/strncmp.c: Likewise.
36984 * string/strncpy.c: Likewise.
36986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36988 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36989 __builtin_memcopy is called when src and dest ranges are known to not
36992 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36995 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36996 fwd_align_merge macro call.
36997 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36998 bwd_align_merge macro call.
36999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37004 bwd_align_merge macros.
37005 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37006 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37009 2012-04-18 David S. Miller <davem@davemloft.net>
37011 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37013 2012-04-18 Andreas Jaeger <aj@suse.de>
37016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37017 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37021 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37024 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37025 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37026 Adjust for changed ldbl-128 files.
37028 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37029 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37032 2012-04-17 David S. Miller <davem@davemloft.net>
37034 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37036 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37038 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37039 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37040 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37041 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37042 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37043 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37045 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37048 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37049 * math/libm-test.inc: Add ilogb errno and exception tests.
37050 * math/w_ilogb.c: New file: ilogb wrapper.
37051 * math/w_ilogbf.c: New file: ilogbf wrapper.
37052 * math/w_ilogbl.c: New file: ilogbl wrapper.
37053 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37054 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37055 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37056 exception being thrown with 0.0 as argument.
37057 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37058 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37059 exception being thrown with 0.0 as argument.
37060 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37061 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37062 exception being thrown with 0.0 as argument.
37063 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37064 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37065 exception being thrown with 0.0 as argument.
37066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37067 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37068 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37069 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37072 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37073 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37074 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37076 2012-04-17 Petr Baudis <pasky@ucw.cz>
37078 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37081 2012-04-16 Marek Polacek <polacek@redhat.com>
37083 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37085 2012-04-16 Marek Polacek <polacek@redhat.com>
37087 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37088 operands of fdivp instruction.
37090 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37092 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37093 * elf/tst-auditmod3b.c: Likewise.
37094 * elf/tst-auditmod4b.c: Likewise.
37095 * elf/tst-auditmod5b.c: Likewise.
37096 * elf/tst-auditmod6b.c: Likewise.
37097 * elf/tst-auditmod6c.c: Likewise.
37098 * elf/tst-auditmod7b.c: Likewise.
37099 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37100 * sysdeps/x86_64/preconfigure.in: Likewise.
37101 * sysdeps/x86_64/preconfigure: Regenerated.
37103 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37108 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37111 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37113 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37116 * locale/iso-639.def: Fix gl language name. Spotted by
37119 2012-04-12 Roland McGrath <roland@hack.frob.com>
37122 * libio/libio.h (__io_write_fn): Update comment.
37124 2012-04-12 Petr Baudis <pasky@ucw.cz>
37127 * stdio.texi (Hook Functions): The user provided writer function
37128 is not allowed to return -1.
37130 2012-04-11 David S. Miller <davem@davemloft.net>
37132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37134 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37136 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37137 Add a leading slash to rtkaio.
37139 2012-04-11 Jim Meyering <meyering@redhat.com>
37142 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37143 It is not necessarily an error to ignore fwrite's return
37144 value. One can reliably use ferror to test for errors after
37147 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37149 * bits/types.h (__snseconds_t): New type.
37150 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37152 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37154 (__SNSECONDS_T_TYPE): Likewise.
37155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37156 (__SNSECONDS_T_TYPE): Likewise.
37157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37158 (__SNSECONDS_T_TYPE): Likewise.
37160 2012-04-10 Andreas Jaeger <aj@suse.de>
37163 * manual/time.texi (Processor Time): Return type of times is
37164 elapsed real time since an arbitrary point in the past.
37165 (CPU Time): Move CLK_TCK from here...
37166 (Processor Time): ...to here. Correct description.
37167 * manual/conf.texi (Constants for Sysconf): Correct description of
37170 2012-04-10 David S. Miller <davem@davemloft.net>
37173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37174 where the is a gap between DT_REL(A) and DT_JMPREL.
37176 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37178 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37182 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37184 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37185 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37186 (dl_main): Handle --inhibit-cache.
37187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37189 * elf/dl-load.c (_dl_map_object): Use it.
37190 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37192 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37195 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37196 (__ieee754_powl): Saturate large exponents rather than testing for
37197 overflow of y*log2(x).
37198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37199 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37203 * math/s_ctan.c: Include <float.h>.
37204 (__ctan): Avoid internal overflow or cancellation in calculating
37206 * math/s_ctanf.c: Likewise.
37207 * math/s_ctanl.c: Likewise.
37208 * math/s_ctanh.c: Likewise.
37209 * math/s_ctanhf.c: Likewise.
37210 * math/s_ctanhl.c: Likewise.
37211 * math/libm-test.inc (ctan_test): Add more tests.
37212 (ctanh_test): Likewise.
37213 * sysdeps/i386/fpu/libm-test-ulps: Update.
37214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37216 2012-04-09 Andreas Jaeger <aj@suse.de>
37219 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37220 is an optional BSD extension.
37223 * manual/stdio.texi (Opening Streams): Document additional fopen
37226 2012-04-09 Roland McGrath <roland@hack.frob.com>
37228 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37229 %eax without telling the compiler.
37231 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37234 * manual/install.texi: Use sourceware.org.
37236 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37239 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37240 (__ieee754_pow): Generate overflow and underflow using huge*huge
37241 and tiny*tiny rather than just returning constant infinity or zero
37242 for large exponents.
37243 * math/libm-test.inc (pow_test): Require overflow exceptions for
37244 applicable cases of large exponents.
37247 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37248 (__ieee754_pow): Use iterative multiplication algorithm only for
37249 integer exponents with absolute value below 1024. Check for odd
37250 integer exponents when using algorithm for real exponents.
37251 * math/libm-test.inc (pow_test): Add more tests.
37252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37254 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37257 * math/libm-test.inc (exp_test): Do not allow overflow exception
37260 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37263 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37264 instead of __kernel_standard_f.
37266 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37268 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37269 * sysdeps/x86_64/memset_chk.S: Likewise.
37271 2012-04-08 Andreas Jaeger <aj@suse.de>
37274 * manual/startup.texi (Environment Access): Describe return value
37275 for putenv and setenv.
37278 * manual/filesys.texi (Directory Entries): Add description for
37282 * manual/filesys.texi (Directory Entries): Clarify that it's file
37283 system not operating system in the description of DT_UNKNOWN.
37286 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37288 2012-04-08 Stephen Compall <s11@member.fsf.org>
37291 * manual/llio.texi (Opening and Closing Files): Add cross
37292 reference to explain mode argument.
37294 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37296 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37297 * sysdeps/x86_64/memset_chk.S: Likewise.
37299 2012-04-07 David S. Miller <davem@davemloft.net>
37301 * elf/elf.h (R_SPARC_WDISP10): Define.
37302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37305 R_SPARC_SIZE64 and R_SPARC_H34.
37307 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37310 conditions and remove no longer applicable assertion.
37312 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37314 * bits/byteswap.h: Include <features.h>.
37315 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37316 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37318 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37320 * bits/byteswap.h (__bswap_16): Removed.
37321 Include <bits/byteswap-16.h> to get __bswap_16.
37322 * sysdeps/i386/bits/byteswap.h: Likewise.
37323 * sysdeps/s390/bits/byteswap.h: Likewise.
37324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37325 * bits/byteswap-16.h: New file.
37326 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37327 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37328 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37329 * string/Makefile (headers): Add bits/byteswap-16.h.
37331 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37334 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37336 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37337 * nss/tst-nss-static.c: New.
37339 2012-04-06 Robert Millan <rmh@gnu.org>
37342 * manual/llio.texi (File Position Primitive): lseek
37343 refers to WHENCE when it really means OFFSET.
37345 2012-04-06 Andreas Jaeger <aj@suse.de>
37347 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37348 strncmp declarations.
37350 * abilist/libc.abilist: Add __poll and __ppoll.
37352 2012-04-05 David S. Miller <davem@davemloft.net>
37354 * scripts/check-local-headers.sh: Accept a host triplet in the
37355 path matched by the exclude regexp.
37357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37359 * sysdeps/powerpc/powerpc32/dl-machine.h
37360 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37361 * sysdeps/s390/s390-32/dl-machine.h
37362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37363 * sysdeps/sparc/sparc32/dl-machine.h
37364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37365 * sysdeps/sparc/sparc64/dl-machine.h
37366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37368 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37370 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37371 undefined symbol errors.
37373 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37376 2012-04-05 Michael Matz <matz@suse.de>
37379 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37381 2012-04-05 Andreas Jaeger <aj@suse.de>
37384 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37390 which ROUND is no valid rounding mode.
37392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37396 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37398 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37401 an exception using FPU order intentionally.
37403 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37406 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37407 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37408 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37410 2012-04-05 Simon Josefsson <simon@josefsson.org>
37413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37414 EINVAL when BUFLEN is too smal.
37416 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37419 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37420 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37422 2012-04-03 Andreas Jaeger <aj@suse.de>
37425 * manual/setjmp.texi (System V contexts): Fix sentence.
37428 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37429 New macro for this case.
37430 [!__GNUC__] (__bswap_64): New inline function for this case.
37431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37432 * bits/byteswap.h: Likewise.
37433 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37434 ull, guard with __GLIBC_HAVE_LONG_LONG.
37436 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37437 __GLIBC_HAVE_LONG_LONG.
37439 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37440 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37442 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37446 inptr and inend, rather than using last_ch.
37448 2012-04-02 David S. Miller <davem@davemloft.net>
37450 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37451 * stdio-common/printf-parse.h (read_int): Change return type to
37452 'int', return -1 on INT_MAX overflow.
37453 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37454 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37455 overflows INT_MAX. Check for overflow of in-format-string precision
37456 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37457 SIZE_MAX not INT_MAX for integer overflow test.
37458 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37459 skip the construct in the format string but do not record anything.
37460 * stdio-common/bug22.c: Adjust to test both width/prevision
37461 INT_MAX overflow as well as total length INT_MAX overflow. Check
37462 explicitly for proper errno values.
37464 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37466 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37468 * string/test-strcmp.c [! WIDE]: Likewise.
37469 * time/tst-mktime2.c: Likewise for INT_MAX.
37470 * string/test-string.h: #include <sys/param.h> for MIN.
37472 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37473 * sysdeps/i386/init-first.c (init): Likewise.
37474 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37475 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37476 * sysdeps/sh/init-first.c (init): Likewise.
37478 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37480 * po/ru.po: Update from translation team.
37481 * po/vi.po: Likewise.
37483 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37485 * resolv/nss_dns/dns-host.c: Merge copyright years.
37487 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37490 Optimize memcpy with prefetch if
37491 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37492 src, dst pointers have unequal 16 byte alignments.
37494 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37497 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37498 from a CNAME entry and return the minimum ttl for the query.
37499 (gaih_getanswer_slice): Likewise.
37501 2012-03-30 Jeff Law <law@redhat.com>
37503 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37505 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37506 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37508 * resolv/nss_dns/dns-host.c: Update copyright year.
37510 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37512 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37513 requests to save a system call. Fix check that all bytes are sent.
37515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37516 comments for sendmmsg.
37518 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37521 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37522 with only 1 character between 0x0041 and 0x01b0.
37523 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37524 * wcsmbs/tst-mbsnrtowcs.c: New file.
37526 2012-03-29 David S. Miller <davem@davemloft.net>
37528 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37529 small copies by hand.
37531 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37534 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37535 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37538 2012-03-28 David S. Miller <davem@davemloft.net>
37540 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37541 that branches into memcpy.
37542 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37545 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37548 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37549 implementation too.
37550 * sysdeps/sparc/mempcpy.S: New file.
37552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37553 the IFUNC routine in the libc case.
37554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37558 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37559 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37560 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37561 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37562 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37563 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37565 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37566 loop to 256 bytes instead of 64 bytes and fix test signedness.
37568 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37569 * sysdeps/sparc/sparc32/Makefile: rather than here...
37570 * sysdeps/sparc/sparc64/Makefile: and here.
37572 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37574 * malloc/mallocbug.c: Avoid warnings about unused variables.
37576 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37579 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37580 in the right place. Discard and retry query if response is
37581 larger than input buffer size.
37583 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37589 x for large integer exponent.
37590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37591 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37592 sign of result as needed afterwards.
37593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37595 result for underflowing pow the same as for overflow.
37596 (__kernel_standard_l): Handle powl overflow and underflow here
37597 rather than calling __kernel_standard.
37598 * math/libm-test.inc (pow_test): Add more tests.
37613 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37614 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37615 (__kernel_standard_l): New function.
37616 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37618 * math/w_acosl.c (__acosl): Likewise.
37619 * math/w_asinl.c (__asinl): Likewise.
37620 * math/w_atan2l.c (__atan2l): Likewise.
37621 * math/w_atanhl.c (__atanhl): Likewise.
37622 * math/w_coshl.c (__coshl): Likewise.
37623 * math/w_exp10l.c (__exp10l): Likewise.
37624 * math/w_exp2l.c (__exp2l): Likewise.
37625 * math/w_fmodl.c (__fmodl): Likewise.
37626 * math/w_hypotl.c (__hypotl): Likewise.
37627 * math/w_j0l.c (__j0l, __y0l): Likewise.
37628 * math/w_j1l.c (__j1l, __y1l): Likewise.
37629 * math/w_jnl.c (__jnl, __ynl): Likewise.
37630 * math/w_lgammal.c (__lgammal): Likewise.
37631 * math/w_log10l.c (__log10l): Likewise.
37632 * math/w_log2l.c (__log2l): Likewise.
37633 * math/w_logl.c (__logl): Likewise.
37634 * math/w_powl.c (__powl): Likewise.
37635 * math/w_remainderl.c (__remainderl): Likewise.
37636 * math/w_scalbl.c (sysv_scalbl): Likewise.
37637 * math/w_sinhl.c (__sinhl): Likewise.
37638 * math/w_sqrtl.c (__sqrtl): Likewise.
37639 * math/w_tgammal.c (__tgammal): Likewise.
37640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37641 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37642 * math/libm-test.inc (acos_test): Add more tests.
37643 (acosh_test): Likewise.
37644 (asin_test): Likewise.
37645 (atanh_test): Likewise.
37646 (exp_test): Likewise.
37647 (exp10_test): Likewise.
37648 (exp2_test): Likewise.
37649 (expm1_test): Likewise.
37650 (lgamma_test): Likewise.
37651 (log_test): Likewise.
37652 (log10_test): Likewise.
37653 (log1p_test): Likewise.
37654 (log2_test): Likewise.
37655 (pow_test): Do not allow some spurious overflow exceptions.
37656 (sqrt_test): Add more tests.
37657 (tgamma_test): Likewise.
37658 (y0_test): Likewise.
37659 (y1_test): Likewise.
37660 (yn_test): Likewise.
37662 2012-03-27 Anton Blanchard <anton@samba.org>
37664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37670 2012-03-27 David S. Miller <davem@davemloft.net>
37672 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37674 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37675 have-as-vis3 check.
37677 2012-03-27 Andreas Jaeger <aj@suse.de>
37679 * sysdeps/x86_64/elf/configure.in: Moved to ...
37680 * sysdeps/x86_64/configure.in: ... here.
37681 * sysdeps/x86_64/elf/start.S: Moved to ...
37682 * sysdeps/x86_64/start.S: ... here.
37683 * sysdeps/x86_64/elf/configure: Delete.
37685 * sysdeps/x86_64/configure.in: Merge contents from
37686 sysdeps/i386/configure.in (without i686 check).
37688 * sysdeps/i386/elf/Versions: Merge into ...
37689 * sysdeps/i386/Versions: ... this.
37690 * sysdeps/i386/elf/Versions: Delete file.
37691 * sysdeps/i386/elf/start.S: Moved to ...
37692 * sysdeps/i386/start.S: ...here.
37693 * sysdeps/i386/elf/configure.in: Merge into...
37694 * sysdeps/i386/configure.in: ...here.
37695 * sysdeps/i386/elf/configure.in: Delete file.
37696 * sysdeps/i386/elf/configure: Delete file.
37698 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37699 * debug/backtracesyms.c: ... here.
37700 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37701 * debug/backtracesymsfd.c: ... here.
37702 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37703 * sysdeps/generic/ifunc-sel.h: ... here.
37705 * sysdeps/unix/i386/start.c: Delete file.
37706 * sysdeps/unix/sparc/start.c: Delete file.
37707 * sysdeps/unix/start.c: Delete file.
37709 * sysdeps/sh/elf/configure.in: Moved to ...
37710 * sysdeps/sh/configure.in: ... here.
37711 * sysdeps/sh/elf/start.S: Moved to ...
37712 * sysdeps/sh/start.S: ... here.
37713 * sysdeps/sh/elf/configure: Delete file.
37715 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37716 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37717 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37718 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37719 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37720 * sysdeps/powerpc/powerpc64/start.S: here.
37721 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37722 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37723 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37724 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37725 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37727 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37728 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37729 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37730 * sysdeps/powerpc/powerpc32/start.S: ... here.
37731 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37732 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37733 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37735 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37736 * sysdeps/powerpc/ifunc-sel.h: ... here.
37737 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37738 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37740 * sysdeps/sparc/elf/configure.in: Moved to ...
37741 * sysdeps/sparc/configure.in: ... here.
37742 * sysdeps/sparc/elf/configure: Delete file.
37743 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37744 * sysdeps/sparc/sparc32/start.S: ... here.
37745 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37746 * sysdeps/sparc/sparc64/start.S: ... here.
37747 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37748 * sysdeps/sparc/sparc32/Makefile: ... this.
37749 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37750 * sysdeps/sparc/sparc64/Makefile: ... this.
37752 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37753 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37754 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37755 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37756 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37757 * sysdeps/s390/s390-32/setjmp.S: ... here.
37758 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37759 * sysdeps/s390/s390-32/configure.in: ... here.
37760 * sysdeps/s390/s390-32/elf/configure: Delete file.
37761 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37762 * sysdeps/s390/s390-32/start.S: ... here.
37764 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37765 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37766 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37767 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37768 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37769 * sysdeps/s390/s390-64/setjmp.S: ... here.
37770 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37771 * sysdeps/s390/s390-64/configure.in: ... here
37772 * sysdeps/s390/s390-64/elf/configure: Delete file.
37773 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37774 * sysdeps/s390/s390-64/start.S: ... here.
37775 * sysdeps/s390/s390-64/elf/configure: Delete.
37777 * configure.in: Remove support for elf directories in sysdeps.
37779 * configure: Regenerated.
37780 * sysdeps/i386/configure: Regenerated.
37781 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37782 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37783 * sysdeps/s390/s390-32/configure: Regenerated.
37784 * sysdeps/s390/s390-64/configure: Regenerated.
37785 * sysdeps/sh/configure: Regenerated.
37786 * sysdeps/sparc/configure: Regenerated.
37787 * sysdeps/x86_64/configure: Regenerated.
37789 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37794 denormal result into account.
37796 2012-03-25 Roland McGrath <roland@hack.frob.com>
37798 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37799 Reported by Allan McRae <allan@archlinux.org>.
37801 2012-03-23 Jeff Law <law@redhat.com>
37803 * nss/getnssent.c (__nss_getent): Fix typo.
37805 2012-03-23 David S. Miller <davem@davemloft.net>
37807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37809 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37811 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37812 to pad to uint64_t for each field.
37813 (dl_tls_index): Replace unsigned long with uint64_t.
37815 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37816 Paul Pluzhnikov <ppluzhnikov@google.com>
37819 * grp/Makefile (otherlibs): Don't set it.
37820 * inet/Makefile (otherlibs): Likewise.
37821 * login/Makefile (otherlibs): Likewise.
37822 * nscd/Makefile (otherlibs): Likewise.
37823 * posix/Makefile (otherlibs): Likewise.
37824 * pwd/Makefile (otherlibs): Likewise.
37825 * rt/Makefile (otherlibs): Likewise.
37826 * sunrpc/Makefile (otherlibs): Likewise.
37827 * nss/Makefile (otherlibs): Likewise.
37828 Add libnss_files to routines and static-only-routines.
37829 ($(objpfx)getent): Remove rule.
37830 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37831 static-only-routines.
37833 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37836 * math/s_cexp.c: Include <float.h>.
37837 (__cexp): Handle exp result overflowing not necessarily
37838 overflowing both real and imaginary parts of result.
37839 * math/s_cexpf.c: Likewise.
37840 * math/s_cexpl.c: Likewise.
37841 * math/libm-test.inc (cexp_test): Add more tests.
37842 * sysdeps/i386/fpu/libm-test-ulps: Update.
37843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37847 * include/link.h (ELFW): New macro.
37848 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37849 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37851 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37853 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37856 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37858 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37860 (struct La_x32_retval): Likewise.
37862 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37864 * sysdeps/x86_64/preconfigure.in: New file.
37865 * sysdeps/x86_64/preconfigure: New generated file.
37867 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37870 * math/e_exp2l.c: Include <float.h>.
37871 (__ieee754_exp2l): Handle overflow and underflow cases
37872 separately. Only pass fractional part of argument to
37874 * math/libm-test.inc (exp2_test): Add more tests.
37876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37877 negating x to take absolute value.
37878 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37884 computing low part if x was negated.
37885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37887 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37889 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37890 la_x32_gnu_pltexit.
37891 (pltexit): Cast int_retval to ptrdiff_t.
37892 * elf/tst-auditmod3b.c: Likewise.
37893 * elf/tst-auditmod4b.c: Likewise.
37894 * elf/tst-auditmod5b.c: Likewise.
37895 * elf/tst-auditmod6b.c: Likewise.
37896 * elf/tst-auditmod6c.c: Likewise.
37897 * elf/tst-auditmod7b.c: Likewise.
37899 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37900 and x32_gnu_pltexit.
37902 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37903 __ELF_NATIVE_CLASS.
37904 (La_x32_regs): New macro.
37905 (La_x32_retval): Likewise.
37906 (la_x32_gnu_pltenter): New function prototype.
37907 (la_x32_gnu_pltexit): Likewise.
37909 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37916 * configure.in (libc_cv_cc_nofma): Check for option to disable
37917 generation of FMA instructions.
37918 * configure: Regenerate.
37919 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37920 * sysdeps/ieee754/dbl-64/Makefile: New file.
37921 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37922 Remove brandred-fma4.
37923 (CFLAGS-brandred-fma4.c): Remove.
37924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37930 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37933 LLONG_MAX != LONG_MAX.
37934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37935 (_fitoa_word): Likewise.
37936 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37937 LLONG_MAX != LONG_MAX.
37938 * stdio-common/_itowa.h: Include <_itoa.h>.
37939 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37940 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37941 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37942 only if not defined.
37943 (_ITOA_WORD_TYPE): Likewise.
37944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37945 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37947 2012-03-21 David S. Miller <davem@davemloft.net>
37949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37951 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37953 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37954 of x86_64 when setting libc_cv_slibdir, libdir and
37956 * sysdeps/unix/sysv/linux/configure: Regenerated.
37958 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37960 * manual/lang.texi (Old Varargs): Remove section.
37961 (How Variadic): Update menu.
37962 (va_start): Do not mention varargs.h.
37964 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37965 Joseph Myers <joseph@codesourcery.com>
37967 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37969 * configure: Regenerated.
37971 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37973 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37974 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37977 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37980 * Makefile (files-for-dist): Remove NOTES.
37981 (NOTES): Remove rule.
37982 * README: Don't refer to NOTES.
37983 * manual/creature.texi: Don't include macros.texi.
37984 * manual/intro.texi (creature.texi): Remove comment referring to
37987 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37988 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37989 * configure: Regenerated.
37990 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37991 LIBC_TRY_CC_OPTION.
37992 (libc_cv_as_i686): Likewise.
37993 (libc_cv_cc_avx): Likewise.
37994 (libc_cv_cc_sse2avx): Likewise.
37995 (libc_cv_cc_fma4): Likewise.
37996 (libc_cv_cc_novzeroupper): Likewise.
37997 * sysdeps/i386/configure: Regenerated.
38000 * sysdeps/i386/fpu/s_cexp.S: Remove.
38001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38003 * math/libm-test.inc (cexp_test): Add more tests.
38004 * sysdeps/i386/fpu/libm-test-ulps: Update.
38005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38007 2012-03-21 Allan McRae <allan@archlinux.org>
38009 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38011 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38014 * math/w_exp2.c: Do not include <float.h>.
38015 (o_threshold, u_threshold): Remove.
38016 (__exp2): Calculate result before checking finiteness and calling
38018 * math/w_exp2f.c: Likewise.
38019 * math/w_exp2l.c: Likewise.
38020 * math/libm-test.inc (exp2_test): Require overflow exception for
38024 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38025 range of signed 64-bit integers before using fistpll. Remove
38026 checks for whether integers fit in mantissa bits.
38027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38028 the range of signed 32-bit integers before using fistpl. Remove
38029 checks for whether integers fit in mantissa bits.
38030 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38031 (__ieee754_powl): Test for y outside the range of signed 64-bit
38032 integers before using fistpll. Reduce 64-bit values to 63-bit
38034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38035 divide-by-zero is raised for zero to large negative powers.
38036 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38037 (__ieee754_powl): Test for y outside the range of signed 64-bit
38038 integers before using fistpll. Reduce 64-bit values to 63-bit
38040 * math/libm-test.inc (pow_test): Add more tests.
38042 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38044 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38045 <stdio-common/_itoa.h>.
38046 * debug/segfault.c: Likewise.
38047 * elf/dl-cache.c: Likewise.
38048 * elf/dl-minimal.c: Likewise.
38049 * elf/dl-misc.c: Likewise.
38050 * elf/dl-sysdep.c: Likewise.
38051 * elf/dl-version.c: Likewise.
38052 * elf/rtld.c: Likewise.
38053 * hurd/hurdsock.c: Likewise.
38054 * hurd/lookup-retry.c: Likewise.
38055 * malloc/malloc.c: Likewise.
38056 * malloc/mtrace.c: Likewise.
38057 * nscd/nscd_getgr_r.c: Likewise.
38058 * nscd/nscd_getpw_r.c: Likewise.
38059 * nscd/nscd_getserv_r.c: Likewise.
38060 * posix/getopt_init.c: Likewise.
38061 * posix/wordexp.c: Likewise.
38062 * stdio-common/_itoa.c: Likewise.
38063 * stdio-common/printf_fphex.c: Likewise.
38064 * stdio-common/vfprintf.c: Likewise.
38065 * string/_strerror.c: Likewise.
38066 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38067 * sysdeps/i386/i686/hp-timing.h: Likewise.
38068 * sysdeps/mach/_strerror.c: Likewise.
38069 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38070 * sysdeps/mach/hurd/sethostid.c: Likewise.
38071 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38072 * sysdeps/mach/xpg-strerror.c: Likewise.
38073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38075 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38076 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38077 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38078 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38080 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38082 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38083 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38084 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38085 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38087 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38088 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38090 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38091 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38092 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38093 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38095 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38097 * stdio-common/_itoa.h: Moved to ...
38098 * sysdeps/generic/_itoa.h: Here.
38100 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38102 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38103 instead of "_itoa.h" and "_itowa.h".
38104 * stdio-common/vfprintf.: Likewise.
38106 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38110 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38111 (__signbit): Likwise.
38112 (llrintf): Likwise.
38115 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38117 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38120 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38122 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38123 OVERFLOW_EXCEPTION_OK.
38124 * math/libm-test.inc ("Philosophy"): Update comment about
38126 (OVERFLOW_EXCEPTION): Define.
38127 (OVERFLOW_EXCEPTION_OK): Likewise.
38128 (INVALID_EXCEPTION_OK): Renumber.
38129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38130 (IGNORE_ZERO_INF_SIGN): Likewise.
38131 (test_exceptions): Handle FE_OVERFLOW.
38132 (exp10_test): Expect overflow exceptions.
38133 (exp2_test): Likewise.
38134 (expm1_test): Likewise.
38135 (nextafter_test): Likewise.
38136 (pow_test): Likewise.
38137 (scalbn_test): Likewise.
38138 (scalbln_test): Likewise.
38140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38142 * sysdeps/x86_64/bits/atomic.h
38143 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38145 (atomic_exchange_acq): Likewise.
38146 (__arch_exchange_and_add_body): Likewise.
38147 (__arch_add_body): Likewise.
38148 (atomic_add_negative): Likewise.
38149 (atomic_add_zero): Likewise.
38151 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38153 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38154 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38158 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38159 Check __x86_64__ instead of __WORDSIZE.
38161 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38163 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38165 2012-03-19 David S. Miller <davem@davemloft.net>
38167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38169 * sysdeps/sparc/fpu/fenv_private.h: New file.
38170 * sysdeps/sparc/fpu/math_private.h: Use it.
38171 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38174 (libc_feholdexcept_setroundl): Remove.
38175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38182 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38183 int64_t instead of long int.
38184 (INSERT_WORDS64): Likwise.
38186 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38188 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38189 _Unwind_GetCFA return to _Unwind_Ptr first.
38191 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38194 * math/s_clog.c: Include <float.h>.
38195 (__clog): Scale large or subnormal inputs.
38196 * math/s_clogf.c: Likewise.
38197 * math/s_clogl.c: Likewise.
38198 * math/s_clog10.c: Include <float.h>.
38199 (M_LOG10_2): Define.
38200 (__clog10): Scale large or subnormal inputs.
38201 * math/s_clog10f.c: Likewise.
38202 * math/s_clog10l.c: Likewise.
38203 * math/libm-test.inc (clog_test): Add more tests.
38204 (clog10_test): Likewise.
38205 * sysdeps/i386/fpu/libm-test-ulps: Update.
38206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38211 * math/libm-test.inc (atan2_test): Add another test.
38213 * Makerules (common-objdir-compile): Remove.
38214 * sysdeps/unix/Makefile (config-generated): Do not add
38215 $(unix-generated) to variable.
38216 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38217 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38219 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38221 [generic bits/local_lim.h] (before-compile): Do not append to
38223 [generic bits/local_lim.h] (common-generated): Likewise.
38224 [generic sys/param.h] (before-compile): Do not append to variable.
38225 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38226 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38230 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38231 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38232 [generic sys/param.h] ($(addprefix
38233 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38234 [generic sys/param.h] (common-generated): Do not append to
38236 [generic sys/param.h] (sysdep_headers): Likewise.
38237 [generic bits/errno.h] (before-compile): Do not append to
38239 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38241 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38242 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38243 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38244 [generic bits/errno.h] (common-generated): Do not append to
38246 [generic bits/ioctls.h] (before-compile): Do not append to
38248 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38250 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38251 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38255 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38256 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38257 [generic bits/ioctls.h] (common-generated): Do not append to
38259 [generic sys/syscall.h] (syscall.h): Remove variable.
38260 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38262 [generic sys/syscall.h] (before-compile): Do not append to
38264 [generic sys/syscall.h] (common-generated): Likewise.
38265 * sysdeps/unix/errnos-tmpl.c: Remove file.
38266 * sysdeps/unix/errnos.awk: Likewise.
38267 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38268 * sysdeps/unix/ioctls.awk: Likewise.
38269 * sysdeps/unix/mk-local_lim.c: Likewise.
38270 * sysdeps/unix/snarf-ioctls: Likewise.
38272 2012-03-19 Richard Henderson <rth@twiddle.net>
38274 * sysdeps/i386/fpu/fenv_private.h: New file.
38275 * sysdeps/i386/fpu/math_private.h: Use it.
38276 (math_opt_barrier, math_force_eval): Remove.
38277 (libc_feholdexcept_setround_53bit): Remove.
38278 (libc_feupdateenv_53bit): Remove.
38279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38280 (math_opt_barrier, math_force_eval): Remove.
38281 (libc_feholdexcept): Remove.
38282 (libc_feholdexcept_setround): Remove.
38283 (libc_fetestexcept, libc_fesetenv): Remove.
38284 (libc_feupdateenv_test): Remove.
38285 (libc_feupdateenv, libc_feholdsetround): Remove.
38286 (libc_feresetround): Remove.
38288 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38289 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38291 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38292 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38293 (libc_feupdateenv_testl): New.
38294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38295 (libc_feupdateenv_testf): New.
38296 (libc_feupdateenv): Use libc_feupdateenv_test.
38297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38300 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38301 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38302 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38303 (libc_feresetround_noex): New.
38304 (libc_feresetround_noexf): New.
38305 (libc_feresetround_noexl): New.
38306 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38307 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38308 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38314 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38315 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38316 SET_RESTORE_ROUND_NOEX.
38317 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38318 SET_RESTORE_ROUND_NOEXF.
38319 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38320 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38321 (libc_feholdsetroundf): New.
38322 (libc_feresetround, libc_feresetroundf): New.
38324 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38325 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38326 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38328 * sysdeps/generic/math_private.h: Include <fenv.h>.
38329 (default_libc_feholdexcept): New.
38330 (default_libc_feholdexcept_setround): New.
38331 (default_libc_fesetenv, default_libc_feupdateenv): New.
38332 (libc_feholdexcept): Only define if undefined.
38333 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38334 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38335 (libc_feholdexcept_setroundl): Likewise.
38336 (libc_feholdexcept_setround_53bit): Likewise.
38337 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38338 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38339 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38340 (libc_feupdateenv_53bit): Likewise.
38341 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38342 (libc_feholdexcept): Convert from macro to inline function.
38343 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38344 (libc_fesetenv, libc_feupdateenv): Likewise.
38346 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38347 not previously defined.
38348 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38349 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38350 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38352 * sysdeps/ieee754/flt-32/math_private.h: New file.
38353 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38354 math_private.h below SET_FLOAT_WORD.
38355 (__isnan, __isinf_ns, __finite): Remove.
38356 (__isnanf, __isinf_nsf, __finitef): Remove.
38358 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38362 2012-03-17 David S. Miller <davem@davemloft.net>
38365 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38368 2012-03-16 David S. Miller <davem@davemloft.net>
38370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38376 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38377 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38378 sysdep_routines when subdir is sysvipc.
38379 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38380 __getshmlba helper.
38382 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38384 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38386 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38393 (__lround): Renamed to ...
38394 (__llround): This. Replace long int with long long int.
38395 Define lround functions as aliases of llround functions.
38396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38400 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38401 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38402 adresses to uintptr_t. Replace "long int" and "unsigned long
38403 int" with "greg_t" on va_arg.
38405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38407 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38408 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38411 Move e_machine check before EI_CLASS check. Handle x32
38412 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38413 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38414 SKIP_EM_IA_64 and include
38415 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38417 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38418 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38419 (add_system_dir): New macro.
38421 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38424 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38435 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38437 * math/w_j0f.c (j0f): Likewise.
38439 * math/w_j0l.c (__j0l): Likewise.
38441 * math/w_j1.c (j1): Likewise.
38443 * math/w_j1f.c (j1f): Likewise.
38445 * math/w_j1l.c (__j1l): Likewise.
38447 * math/w_jn.c (jn): Likewise.
38449 * math/w_jnf.c (jnf): Likewise.
38451 * math/w_jnl.c (__jnl): Likewise.
38453 * math/libm-test.inc (j0_test): Add more tests.
38454 (j1_test): Likewise.
38455 (jn_test): Likewise. Add trailing semicolon to existing test.
38456 (y0_test): Likewise.
38457 (y1_test): Likewise.
38458 * sysdeps/i386/fpu/libm-test-ulps: Update.
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38464 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38465 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38467 (__tanl): Set errno for infinite argument.
38468 * sysdeps/i386/fpu/mptan.c: Remove.
38469 * sysdeps/i386/fpu/s_tan.S: Likewise.
38470 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38471 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38472 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38473 * math/libm-test.inc (tan_test): Add more tests and enable more
38474 tests for double and long double.
38475 * sysdeps/i386/fpu/libm-test-ulps: Update.
38476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38478 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38480 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38481 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38483 2012-03-16 Roland McGrath <roland@hack.frob.com>
38485 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38486 * configure.in: Use it for both main tree and add-ons.
38487 * configure: Regenerated.
38489 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38491 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38493 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38500 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38505 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38507 != 0 for prec == 2.
38508 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38509 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38510 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38511 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38512 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38513 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38514 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38515 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38516 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38517 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38518 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38519 * math/libm-test.inc (cos_test): Add more tests and enable more
38520 tests for long double.
38521 (sin_test): Likewise.
38522 (sincos_test): Likewise.
38523 * sysdeps/i386/fpu/libm-test-ulps: Update.
38524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38526 2012-03-16 David S. Miller <davem@davemloft.net>
38528 * sysdeps/sparc/fpu/math_private.h: New file.
38530 2012-03-15 David S. Miller <davem@davemloft.net>
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38546 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38547 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38549 * sysdeps/sparc/sparc-ifunc.h: New file.
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38595 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38597 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38601 2012-03-15 Andreas Jaeger <aj@suse.de>
38604 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38605 ieee754/flt-32 implementation for sin, cos and sincos.
38606 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38607 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38608 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38609 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38610 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38611 ieee754/flt-32 implementation for tan.
38613 * math/libm-test.inc (cos_test): Enable some large input tests for
38615 (sin_test): Likewise.
38616 (sincos_test): Likewise.
38617 (tan_test): Add tests for large input.
38619 * sysdeps/i386/fpu/libm-test-ulps: Update.
38621 2012-03-15 Andreas Jaeger <aj@suse.de>
38624 * math/libm-test.inc (cos_test): Add more test cases.
38625 (sin_test): Likewise.
38626 (sincos_test): Likewise.
38628 2012-03-15 Andreas Jaeger <aj@suse.de>
38631 * math/libm-test.inc (cos_test): Add a test case for large input
38633 (sin_test): Likewise.
38634 (sincos_test): Likewise.
38636 2012-03-15 Andreas Jaeger <aj@suse.de>
38637 Joseph Myers <joseph@codesourcery.com>
38640 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38641 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38642 * sysdeps/i386/fpu/branred.c: Likewise.
38643 * sysdeps/i386/fpu/dosincos.c: Likewise.
38644 * sysdeps/i386/fpu/mpa.c: Likewise.
38645 * sysdeps/i386/fpu/s_cos.S: Likewise.
38646 * sysdeps/i386/fpu/s_sin.S: Likewise.
38647 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38648 * sysdeps/i386/fpu/sincos32.c: Likewise.
38650 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38652 (libc_feupdateenv_53bit): Define.
38653 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38655 (libc_feupdateenv_53bit): Define.
38657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38658 53 bit (without extend i386 double precision).
38660 * math/libm-test.inc (sincos_test): Add tests for large input.
38664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38666 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38670 2012-03-15 David S. Miller <davem@davemloft.net>
38672 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38673 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38674 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38675 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38700 fmin/fmax sysdep routines.
38701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38703 2012-03-14 David S. Miller <davem@davemloft.net>
38705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38782 * sysdeps/sparc/configure.in: New file.
38783 * sysdeps/sparc/configure: Generate.
38784 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38785 * configure: Regenerate.
38786 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38787 * config.make.in (have-as-vis3): New.
38788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38789 available use -Av9d instead of -Av9a.
38790 * sysdeps/sparc/sparc64/Makefile: Likewise.
38791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38806 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38807 fzeros/fnegs to load 0x80000000 into a float register instead of
38809 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38811 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38815 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38816 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38817 ($(inst_includedir)/bits/syscall.h): Remove rule.
38818 ($(objpfx)bits/syscall.d): Include instead of
38819 $(objpfx)syscall-list.d.
38820 (generated): Change syscall-list.h and syscall-list.d to
38821 bits/syscall.h and bits/syscall.d.
38823 2012-03-14 Roland McGrath <roland@hack.frob.com>
38826 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38828 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38831 * math/s_csqrt.c: Include <float.h>.
38832 (__csqrt): Scale large or subnormal inputs.
38833 * math/s_csqrtf.c: Likewise.
38834 * math/s_csqrtl.c: Likewise.
38835 * math/libm-test.inc (csqrt_test): Add more tests.
38836 * sysdeps/i386/fpu/libm-test-ulps: Update.
38837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38840 * math/libm-test.inc (hypot_test): Add more tests.
38842 2012-03-13 David S. Miller <davem@davemloft.net>
38845 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38846 double-precision for the calculation instead of scaling.
38848 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38851 manipulate bits before adding and subtracting TWO52[sx].
38852 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38857 2012-03-13 David S. Miller <davem@davemloft.net>
38859 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38860 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38862 rtld-global-offsets.h
38863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38865 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38868 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38871 'err' in the ifdef scope in which it is actually used.
38873 * nss/nss_db/db-init.c: Include string.h
38875 2012-03-12 David S. Miller <davem@davemloft.net>
38877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38878 masking out of the most significant byte of random value used.
38879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38880 Fix coding style in previous change.
38882 * sysdeps/unix/sysv/linux/kernel-features.h
38883 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38884 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38886 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38889 2012-03-11 David S. Miller <davem@davemloft.net>
38891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38892 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38894 for 'resultvar' otherwise things get truncated on 64-bit.
38896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38897 Fix masking out of the most significant byte of random value used.
38899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38901 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38905 2012-03-09 David S. Miller <davem@davemloft.net>
38907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38908 variables with appropriate CPP guards.
38909 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38910 from the frame pointer, not the stack pointer. Correct layout
38911 comments. Fix test on resulting framesize and the management of
38912 the outregs buffer for pltexit. Preserve floating point return
38913 values across _dl_call_pltexit call.
38914 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38915 framesize and the management of the outregs buffer for pltexit.
38916 Preserve floating point return values across _dl_call_pltexit
38918 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38919 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38920 (la_sparc64_gnu_pltexit): New functions.
38921 (print_exit): Fix format string for return register value.
38923 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38925 * sunrpc/Makefile (others): Add rpcgen.
38926 ($(objpfx)rpcgen): Remove special build rule and dependency on
38928 * sunrpc/rpcgen.c: New file.
38930 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38933 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38934 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38935 * sysdeps/i386/crti.S: Likewise.
38936 * sysdeps/i386/crtn.S: Likewise.
38937 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38938 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38939 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38940 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38941 * sysdeps/sh/crti.S: Likewise.
38942 * sysdeps/sh/crtn.S: Likewise.
38943 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38946 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38948 * locale/programs/locfile-kw.gperf: Likewise.
38949 * locale/programs/charmap-kw.h: Regenerated.
38950 * locale/programs/locfile-kw.h: Likewise.
38953 * intl/plural.y: Replace FSF snail mail address with URL.
38954 * intl/plural.c: Regenerated.
38956 2012-03-09 Richard Henderson <rth@twiddle.net>
38958 * include/math_private.h: Remove file.
38959 * math/math_private.h: Move file ...
38960 * sysdeps/generic/math_private.h: ... here.
38962 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38963 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38964 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38966 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38967 and <math_private.h>.
38968 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38969 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38970 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38971 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38972 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38973 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38980 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38983 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39011 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39012 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39013 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39014 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39015 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39022 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39023 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39024 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39027 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39028 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39029 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39049 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39056 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39057 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39058 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39059 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39061 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39062 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39063 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39064 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39065 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39067 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39068 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39069 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39070 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39071 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39072 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39073 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39074 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39075 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39076 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39077 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39078 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39079 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39080 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39081 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39084 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39085 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39086 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39087 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39088 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39089 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39090 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39091 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39092 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39095 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39096 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39099 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39101 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39102 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39104 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39105 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39106 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39107 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39108 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39109 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39110 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39111 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39112 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39113 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39114 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39115 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39116 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39117 * sysdeps/ieee754/k_standard.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39127 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39130 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39131 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39132 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39135 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39151 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39152 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39153 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39157 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39158 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39159 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39171 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39172 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39179 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39180 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39181 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39184 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39190 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39195 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39200 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39201 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39202 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39203 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39205 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39206 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39213 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39217 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39222 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39225 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39229 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39233 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39234 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39237 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39238 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39240 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39243 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39245 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39247 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39248 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39250 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39252 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39253 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39266 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39267 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39268 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39278 * sysdeps/ieee754/s_lib_version.c: Likewise.
39279 * sysdeps/ieee754/s_matherr.c: Likewise.
39280 * sysdeps/ieee754/s_signgam.c: Likewise.
39281 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39282 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39283 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39284 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39285 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39286 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39287 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39288 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39289 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39290 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39291 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39292 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39293 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39294 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39295 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39296 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39297 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39298 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39303 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39305 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39306 * sunrpc/rpc_main.c: Likewise.
39307 * sunrpc/rpc_svcout.c: Likewise.
39309 2012-03-09 David S. Miller <davem@davemloft.net>
39311 * include/math_private.h: New file.
39313 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39315 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39316 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39317 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39318 from <bits/socket_type.h>.
39319 (enum __socket_type): Don't define here.
39320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39322 bits/socket_type.h.
39325 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39326 checking __USE_GNU.
39328 * Makerules ($(inst_includedir)/%.h): New rule.
39329 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39330 (install-others): Remove variable setting.
39331 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39333 2012-03-08 Richard Henderson <rth@twiddle.net>
39335 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39336 from macro to inline function; merge with the
39337 !__LIBC_INTERNAL_MATH_INLINES version.
39338 (__ieee754_sqrtf): Likewise.
39340 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39341 to inline function.
39342 (__rintf, __floor, __floorf): Likewise.
39344 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39345 macro to inline function.
39346 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39348 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39349 not <math/math_private.h>.
39351 2012-03-08 David S. Miller <davem@davemloft.net>
39353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39355 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39357 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39359 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39361 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39362 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39364 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39366 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39367 be defined individually, they must be defined as a block. Define
39368 S for printing a string instead of hidint the different by using a
39369 macro for adding the 'l'.
39370 * stdio-common/tst-fphex-wide.c: Adjust.
39372 2012-03-07 Marek Polacek <polacek@redhat.com>
39374 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39376 2012-03-08 Marek Polacek <polacek@redhat.com>
39379 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39380 * stdio-common/tst-fphex.c: Define a few macros to make the
39381 test reusable. Use them.
39382 * stdio-common/tst-fphex-wide.c: New file.
39384 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39387 * manual/macros.texi (gnusystems): New macro.
39388 (nongnusystems): Likewise.
39389 (gnulinuxhurdsystems): Likewise.
39390 (gnuhurdsystems): Likewise..
39391 (gnulinuxsystems): Likewise.
39392 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39393 variants of the GNU system, not "GNU system".
39394 * manual/conf.texi: Likewise.
39395 * manual/errno.texi: Likewise. Update example of errno macro
39397 * manual/filesys.texi: Likewise.
39398 (getumask): Document as specific to GNU/Hurd.
39399 * manual/install.texi: Likewise. Reword some references to
39401 * manual/intro.texi: Likewise.
39402 * manual/io.texi: Likewise.
39403 (File Name Portability): Detail which constraints are inapplicable
39404 to all GNU systems and which are only inapplicable to GNU/Hurd.
39405 * manual/job.texi: Likewise.
39406 * manual/llio.texi: Likewise.
39407 (O_NOCTTY): Document as present on GNU/Linux.
39408 * manual/maint.texi: Likewise.
39409 * manual/memory.texi: Likewise.
39410 * manual/pattern.texi: Likewise.
39411 * manual/pipe.texi: Likewise.
39412 * manual/process.texi: Likewise.
39413 * manual/resource.texi: Likewise.
39414 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39416 * manual/setjmp.texi: Likewise.
39417 * manual/signal.texi: Likewise.
39418 * manual/startup.texi: Likewise.
39419 * manual/stdio.texi: Likewise.
39420 * manual/terminal.texi: Likewise.
39421 (ONLCR): Document as POSIX.
39422 (OXTABS): Document availability on GNU/Linux as XTABS.
39423 (ONOEOT): Document availability separately from other bits.
39424 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39425 * manual/time.texi: Likewise.
39426 * manual/users.texi: Likewise.
39427 * INSTALL: Regenerated.
39428 * sysdeps/gnu/errlist.c: Regenerated.
39430 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39431 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39432 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39434 * configure: Regenerated.
39436 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39438 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39439 default includes instead of AC_HEADER_CHECK.
39440 * sysdeps/i386/configure: Regenerated.
39443 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39444 * math/s_cacoshf.c (__cacoshf): Likewise.
39445 * math/s_cacoshl.c (__cacoshl): Likewise.
39446 * math/s_casinh.c (__casinh): Set signs of result from argument.
39447 * math/s_casinhf.c (__casinhf): Likewise.
39448 * math/s_casinhl.c (__casinhl): Likewise.
39449 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39450 (casinh_test): Add more tests.
39451 * sysdeps/i386/fpu/libm-test-ulps: Update.
39452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39454 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39456 * po/zh_TW.po: Update from translation team.
39458 * login/Makefile (distribute): Remove variable.
39459 * catgets/Makefile: Likewise.
39460 * mach/Makefile: Likewise.
39461 * malloc/Makefile: Likewise.
39462 * misc/Makefile: Likewise.
39463 * iconv/Makefile: Likewise.
39464 * nscd/Makefile: Likewise.
39465 * hurd/Makefile: Likewise.
39466 * manual/Makefile: Likewise.
39467 * locale/Makefile: Likewise.
39468 * intl/Makefile: Likewise.
39469 * conform/Makefile: Likewise.
39470 * nss/Makefile: Likewise.
39471 * time/Makefile: Likewise.
39472 * soft-fp/Makefile: Likewise.
39473 * dirent/Makefile: Likewise.
39474 * gmon/Makefile: Likewise.
39475 * po/Makefile: Likewise.
39476 * rt/Makefile: Likewise.
39477 * socket/Makefile: Likewise.
39478 * math/Makefile: Likewise.
39479 * signal/Makefile: Likewise.
39480 * debug/Makefile: Likewise.
39481 * elf/Makefile: Likewise.
39482 * timezone/Makefile: Likewise.
39483 * stdlib/Makefile: Likewise.
39484 * iconvdata/Makefile: Likewise.
39485 * sunrpc/Makefile: Likewise.
39486 * io/Makefile: Likewise.
39487 * argp/Makefile: Likewise.
39488 * inet/Makefile: Likewise.
39489 * hesiod/Makefile: Likewise.
39490 * grp/Makefile: Likewise.
39491 * csu/Makefile: Likewise.
39492 * wctype/Makefile: Likewise.
39493 * crypt/Makefile: Likewise.
39494 * libio/Makefile: Likewise.
39495 * string/Makefile: Likewise.
39496 * nis/Makefile: Likewise.
39497 * resolv/Makefile: Likewise.
39498 * stdio-common/Makefile: Likewise.
39499 * wcsmbs/Makefile: Likewise.
39500 * dlfcn/Makefile: Likewise.
39501 * posix/Makefile: Likewise.
39504 * timezone/Makefile: Don't install timezone files, just the programs
39507 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39509 * nss/databases.def: Add missing gshadow entry.
39511 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39513 2012-03-06 Marek Polacek <polacek@redhat.com>
39516 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39517 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39518 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39519 * stdio-common/tst-long-dbl-fphex.c: New file.
39521 2012-03-06 David S. Miller <davem@davemloft.net>
39523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39524 (set_obp_int): New function.
39525 (get_obp_int): New function.
39526 (__get_clockfreq_via_dev_openprom): Likewise.
39527 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39528 Avoid unused variable warnings on 'val' and use builtin_expect.
39529 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39531 (INLINE_CLONE_SYSCALL): Likewise.
39533 2012-03-05 David S. Miller <davem@davemloft.net>
39535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39537 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39542 only for |x| >= 40.
39543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39545 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39548 Replace gettimeofday with __vdso_gettimeofday.
39550 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39551 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39552 __vdso_clock_gettime and __vdso_getcpu.
39554 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39555 time with __vdso_time.
39557 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39559 * manual/lang.texi (size_t): Note types to which size_t may be
39560 equivalent with the GNU C Library, but do not describe when
39561 differences between them are significant.
39563 2012-03-05 Andreas Jaeger <aj@suse.de>
39565 * sysdeps/i386/fpu/libm-test-ulps: Update.
39567 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39570 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39571 (__ieee754_pow): Save and restore rounding mode and use
39572 round-to-nearest for main computations.
39573 * math/libm-test.inc (pow_test_tonearest): New function.
39574 (pow_test_towardzero): Likewise.
39575 (pow_test_downward): Likewise.
39576 (pow_test_upward): Likewise.
39577 (main): Call the new functions.
39578 * sysdeps/i386/fpu/libm-test-ulps: Update.
39579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39582 * math/libm-test.inc (cosh_test_tonearest): New function.
39583 (cosh_test_towardzero): Likewise.
39584 (cosh_test_downward): Likewise.
39585 (cosh_test_upward): Likewise.
39586 (sinh_test_tonearest): Likewise.
39587 (sinh_test_towardzero): Likewise.
39588 (sinh_test_downward): Likewise.
39589 (sinh_test_upward): Likewise.
39590 (main): Call the new functions.
39591 * sysdeps/i386/fpu/libm-test-ulps: Update.
39592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39594 2012-03-05 Tom de Vries <tom@codesourcery.com>
39596 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39597 default stack guard is set in last bytes.
39598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39600 2012-03-05 Kees Cook <keescook@chromium.org>
39602 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39605 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39606 possibly allocate from heap instead of stack.
39607 * stdio-common/bug-vfprintf-nargs.c: New file.
39608 * stdio-common/Makefile (tests): Add nargs overflow test.
39610 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39614 2012-03-03 Marek Polacek <polacek@redhat.com>
39616 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39617 * math/math_private.h: Likewise.
39618 * stdlib/tst-strtod.c: Likewise.
39619 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39620 * sysdeps/x86_64/bits/atomic.h: Likewise.
39622 2012-03-02 David S. Miller <davem@davemloft.net>
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39628 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39629 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39630 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39631 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39633 2012-03-02 Roland McGrath <roland@hack.frob.com>
39636 * manual/examples/README: New file, says the example source files
39637 can be used under GPL>=2.
39638 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39639 line containing just "*/".
39640 * manual/examples/add.c: Add copyright header (GPL>=2).
39641 * manual/examples/argp-ex1.c: Likewise.
39642 * manual/examples/argp-ex2.c: Likewise.
39643 * manual/examples/argp-ex3.c: Likewise.
39644 * manual/examples/argp-ex4.c: Likewise.
39645 * manual/examples/atexit.c: Likewise.
39646 * manual/examples/db.c: Likewise.
39647 * manual/examples/dir.c: Likewise.
39648 * manual/examples/dir2.c: Likewise.
39649 * manual/examples/execinfo.c: Likewise.
39650 * manual/examples/filecli.c: Likewise.
39651 * manual/examples/filesrv.c: Likewise.
39652 * manual/examples/fmtmsgexpl.c: Likewise.
39653 * manual/examples/genpass.c: Likewise.
39654 * manual/examples/inetcli.c: Likewise.
39655 * manual/examples/inetsrv.c: Likewise.
39656 * manual/examples/isockad.c: Likewise.
39657 * manual/examples/longopt.c: Likewise.
39658 * manual/examples/memopen.c: Likewise.
39659 * manual/examples/memstrm.c: Likewise.
39660 * manual/examples/mkfsock.c: Likewise.
39661 * manual/examples/mkisock.c: Likewise.
39662 * manual/examples/mygetpass.c: Likewise.
39663 * manual/examples/pipe.c: Likewise.
39664 * manual/examples/popen.c: Likewise.
39665 * manual/examples/rprintf.c: Likewise.
39666 * manual/examples/search.c: Likewise.
39667 * manual/examples/select.c: Likewise.
39668 * manual/examples/setjmp.c: Likewise.
39669 * manual/examples/sigh1.c: Likewise.
39670 * manual/examples/sigusr.c: Likewise.
39671 * manual/examples/stpcpy.c: Likewise.
39672 * manual/examples/strdupa.c: Likewise.
39673 * manual/examples/strftim.c: Likewise.
39674 * manual/examples/strncat.c: Likewise.
39675 * manual/examples/subopt.c: Likewise.
39676 * manual/examples/swapcontext.c: Likewise.
39677 * manual/examples/termios.c: Likewise.
39678 * manual/examples/testopt.c: Likewise.
39679 * manual/examples/testpass.c: Likewise.
39680 * manual/examples/timeval_subtract.c: Likewise.
39683 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39685 * manual/timeval_subtract.c.texi: ... here, new file.
39687 2012-03-02 David S. Miller <davem@davemloft.net>
39689 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39691 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39694 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39695 (__sin): Save and restore rounding mode and use round-to-nearest
39696 for all computations.
39697 (__cos): Save and restore rounding mode and use round-to-nearest
39698 for all computations.
39699 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39701 (tan): Save and restore rounding mode and use round-to-nearest for
39703 * math/libm-test.inc (cos_test_tonearest): New function.
39704 (cos_test_towardzero): Likewise.
39705 (cos_test_downward): Likewise.
39706 (cos_test_upward): Likewise.
39707 (sin_test_tonearest): Likewise.
39708 (sin_test_towardzero): Likewise.
39709 (sin_test_downward): Likewise.
39710 (sin_test_upward): Likewise.
39711 (tan_test_tonearest): Likewise.
39712 (tan_test_towardzero): Likewise.
39713 (tan_test_downward): Likewise.
39714 (tan_test_upward): Likewise.
39715 (main): Call the new functions.
39716 * sysdeps/i386/fpu/libm-test-ulps: Update.
39717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39720 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39721 small n, then large n, before computing and testing k+n.
39722 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39727 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39728 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39729 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39730 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39735 * math/libm-test.inc (scalbn_test): Add more tests.
39736 (scalbln_test): Likewise.
39738 * manual/filesys.texi (mode_t): Describe constraints on size and
39739 signedness, not exact equivalence to a particular type.
39741 (ino64_t): Likewise.
39743 (nlink_t): Likewise.
39744 (blkcnt_t): Likewise.
39745 (blkcnt64_t): Likewise.
39746 * manual/llio.texi (off_t): Likewise.
39749 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39750 (__ieee754_exp): Save and restore rounding mode and use
39751 round-to-nearest for all computations.
39752 * math/libm-test.inc (exp_test_tonearest): New function.
39753 (exp_test_towardzero): Likewise.
39754 (exp_test_downward): Likewise.
39755 (exp_test_upward): Likewise.
39756 (main): Call the new functions.
39757 * sysdeps/i386/fpu/libm-test-ulps: Update.
39758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39760 2012-03-01 Chris Demetriou <cgd@google.com>
39762 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39763 have predictable order.
39765 2012-03-01 David S. Miller <davem@davemloft.net>
39767 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39769 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39770 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39771 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39772 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39774 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39775 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39776 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39778 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39779 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39780 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39781 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39782 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39787 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39788 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39790 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39791 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39792 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39793 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39794 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39797 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39798 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39799 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39800 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39803 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39804 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39806 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39807 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39808 * sysdeps/sparc/elf/configure: Regenerated.
39810 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39812 * configure.in (AS, LD): Require binutils 2.20 or later.
39813 * configure: Regenerated.
39814 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39815 as required minimum version.
39816 * INSTALL: Regenerated.
39820 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39821 before squaring exponent.
39822 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39823 bottom long double and 27 bits of top long double before squaring
39825 * math/libm-test.inc (erfc_test): Add more tests.
39826 * sysdeps/i386/fpu/libm-test-ulps: Update.
39827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39830 2012-03-01 Kai Tietz <ktietz@redhat.com>
39832 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39833 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39834 containing bit-fields.
39835 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39836 * soft-fp/single.h (_FP_UNION_S): Likewise.
39837 * soft-fp/double.h (_FP_UNION_D): Likewise.
39839 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39842 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39843 not include ../strcmp.S.
39844 [USE_AS_STRNCASECMP_L]: Likewise.
39845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39846 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39847 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39848 (__strncasecmp_l_ia32): Define as alias to
39849 __strncasecmp_l_nonascii.
39852 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39853 * sysdeps/i386/fpu/libm-test-ulps: Update.
39854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39856 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39859 2012-02-29 Jeff Law <law@redhat.com>
39861 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39862 out of bounds read.
39864 2012-02-29 Marek Polacek <polacek@redhat.com>
39867 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39868 * elf/Makefile: Add rules to run tst-unused-dep.out.
39870 2012-02-28 David S. Miller <davem@davemloft.net>
39872 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39873 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39876 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39877 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39879 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39881 * math/libm-test.inc (llround_test): Move one test from
39882 lround_test. Use TEST_f_L in moved test.
39883 (lround_test): Move misplaced test to llround_test. Add testcase
39886 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39888 * sysdeps/x86_64/fpu/e_expf.S: New file.
39889 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39891 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39894 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39895 of remain_len that may cause incomplete multi-byte character and
39897 * posix/bug-regex33.c: New file.
39898 * posix/Makefile (tests): Add bug-regex33.
39900 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39902 * manual/macros.texi: New file.
39903 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39904 * manual/libc.texinfo: Include macros.texi.
39905 * manual/creatute.texi: Likewise.
39906 * manual/install.texi: Likewise.
39907 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39908 @glibcadj{} in references to the GNU C Library.
39909 * manual/charset.texi: Likewise.
39910 * manual/conf.texi: Likewise.
39911 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39912 when not using those macros.
39913 * manual/creature.texi: Likewise.
39914 * manual/crypt.texi: Likewise.
39915 * manual/errno.texi: Likewise.
39916 * manual/filesys.texi: Likewise.
39917 * manual/header.texi: Likewise.
39918 * manual/install.texi: Likewise.
39919 * manual/intro.texi: Likewise.
39920 * manual/io.texi: Likewise.
39921 * manual/job.texi: Likewise.
39922 * manual/lang.texi: Likewise.
39923 * manual/libc.texiinfo: Likewise.
39924 * manual/llio.texi: Likewise.
39925 * manual/locale.texi: Likewise.
39926 * manual/maint.texi: Likewise.
39927 * manual/math.texi: Likewise.
39928 * manual/memory.texi: Likewise.
39929 * manual/message.texi: Likewise.
39930 * manual/nss.texi: Likewise.
39931 * manual/pattern.texi: Likewise.
39932 * manual/process.texi: Likewise.
39933 * manual/resource.texi: Likewise.
39934 * manual/search.texi: Likewise.
39935 * manual/setjmp.texi: Likewise.
39936 * manual/signal.texi: Likewise.
39937 * manual/socket.texi: Likewise.
39938 * manual/startup.texi: Likewise.
39939 * manual/stdio.texi: Likewise.
39940 * manual/string.texi: Likewise.
39941 * manual/sysinfo.texi: Likewise.
39942 * manual/syslog.texi: Likewise.
39943 * manual/terminal.texi: Likewise.
39944 * manual/time.texi: Likewise.
39945 * manual/users.texi: Likewise.
39946 * INSTALL: Regenerated.
39947 * NOTES: Regenerated.
39948 * sysdeps/gnu/errlist.c: Regenerated.
39950 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39952 * include/dirent.h: Include <dirstream.h> before
39955 2012-02-28 David S. Miller <davem@davemloft.net>
39957 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39958 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39959 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39960 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39962 2012-02-27 David S. Miller <davem@davemloft.net>
39964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39966 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39967 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39970 frame pointer instead of stack pointer relative arg slot.
39971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39972 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39973 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39975 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39978 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39980 2012-02-27 David S. Miller <davem@davemloft.net>
39982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39988 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39991 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39993 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39994 later. Allow versions 5-9.
39995 * configure: Regenerated.
39996 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39997 required minimum version and 4.6 as recommended version. Do not
39998 mention bugs in GCC 2.7 and 2.8.
39999 * INSTALL: Regenerated.
40001 2012-02-27 David S. Miller <davem@davemloft.net>
40003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40009 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40010 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40013 manipulate bits before adding and subtracting TWO112[sx].
40014 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40016 2012-02-27 Roland McGrath <roland@hack.frob.com>
40019 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40020 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40021 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40022 being in POSIX, because they are in 1003.1-2008.
40024 * rt/tst-aio.c: Include <fcntl.h>.
40025 * rt/tst-aio7.c: Likewise.
40026 * rt/tst-aio64.c: Likewise.
40028 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40030 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40032 * manual/install.texi (--with-headers): Describe headers as
40033 interface headers, not private headers.
40034 (Specific advice for GNU/Linux systems): Describe use of headers
40035 from "make headers_install", not private headers from older
40037 * INSTALL: Regenerated.
40038 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40040 * sysdeps/unix/sysv/linux/configure: Regenerated.
40042 * manual/llio.texi (fclean): Remove documentation.
40044 * manual/Makefile (libc-texi-generated): New variable. Include
40046 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40047 $(libc-texi-generated), not duplicated list of files.
40048 (version.texi, stamp-version): New rules.
40049 (realclean): Remove $(libc-texi-generated), not individual files
40050 from that list. Do not remove dir-add.texinfo.
40051 * manual/libc.texinfo: Comment out uses of edition numbers and
40052 references to printed manual. Remove last-updated dates.
40053 (EDITION): Comment out.
40055 (VERSION, UPDATED): Remove.
40056 (version.texi): Include.
40058 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40060 * sysdeps/posix/spawni.c: Include <signal.h>.
40061 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40062 * sysdeps/pthread/aio_fsync.c: Likewise.
40064 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40066 * conform/Makefile (tests): Run only when not cross-compiling and
40067 when fast-check is not defined.
40069 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40070 * conform/data/limits.h-data: Fixes for POSIX2008.
40071 * conform/run-conformtest.sh: Run all tests.
40072 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40074 * include/bits/dlfcn.h: Likewise.
40075 * include/langinfo.h: Likewise.
40076 * include/monetary.h: Likewise.
40077 * include/sys/poll.h: Likewise.
40079 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40081 * posix/spawn.h: Define __need_sigset_t.
40082 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40083 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40084 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40085 to get sigevent_t only.
40086 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40087 only for __USE_GNU.
40088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40089 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40090 process_vm_writev only for __USE_GNU.
40091 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40093 * conform/Makefile: For now ignore errors from run-conformtest.
40094 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40095 POSIX to avoid namespace pollution. Don't prepend headers.
40096 * conform/data/aio.h-data: Fixes for POSIX testing.
40097 * conform/data/fcntl.h-data: Likewise.
40098 * conform/data/glob.h-data: Likewise.
40099 * conform/data/grp.h-data: Likewise.
40100 * conform/data/pthread.h-data: Likewise.
40101 * conform/data/pwd.h-data: Likewise.
40102 * conform/data/signal.h-data: Likewise.
40103 * conform/data/spawn.h-data: Likewise.
40104 * conform/data/stdio.h-data: Likewise.
40105 * conform/data/stdlib.h-data: Likewise.
40106 * conform/data/stropts.h-data: Likewise.
40107 * conform/data/sys/mman.h-data: Likewise.
40108 * conform/data/sys/stat.h-data: Likewise.
40109 * conform/data/sys/types.h-data: Likewise.
40110 * conform/data/sys/wait.h-data: Likewise.
40111 * conform/data/time.h-data: Likewise.
40112 * conform/data/unistd.h-data: Likewise.
40113 * conform/data/utime.h-data: Likewise.
40115 * io/sys/stat.h: fchmod was always in POSIX.
40116 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40117 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40118 * rt/aio.h: Define __need_timespec before including <time.h>.
40119 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40120 struct. Add forward declaration of pthread_attr_t and use it in
40122 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40123 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40124 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40125 always remove CLK_TCK definition.
40127 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40129 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40131 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40133 * conform/run-conformtest.sh: New file.
40134 * conform/Makefile: Run run-conformtest for tests.
40135 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40138 * conform/data/uchar.h-data: New file.
40139 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40140 * conform/data/arpa/inet.h-data: Likewise.
40141 * conform/data/assert.h-data: Likewise.
40142 * conform/data/complex.h-data: Likewise.
40143 * conform/data/cpio.h-data: Likewise.
40144 * conform/data/ctype.h-data: Likewise.
40145 * conform/data/dirent.h-data: Likewise.
40146 * conform/data/dlfcn.h-data: Likewise.
40147 * conform/data/errno.h-data: Likewise.
40148 * conform/data/fcntl.h-data: Likewise.
40149 * conform/data/float.h-data: Likewise.
40150 * conform/data/fmtmsg.h-data: Likewise.
40151 * conform/data/fnmatch.h-data: Likewise.
40152 * conform/data/ftw.h-data: Likewise.
40153 * conform/data/glob.h-data: Likewise.
40154 * conform/data/grp.h-data: Likewise.
40155 * conform/data/iconv.h-data: Likewise.
40156 * conform/data/inttypes.h-data: Likewise.
40157 * conform/data/langinfo.h-data: Likewise.
40158 * conform/data/libgen.h-data: Likewise.
40159 * conform/data/limits.h-data: Likewise.
40160 * conform/data/locale.h-data: Likewise.
40161 * conform/data/math.h-data: Likewise.
40162 * conform/data/monetary.h-data: Likewise.
40163 * conform/data/mqueue.h-data: Likewise.
40164 * conform/data/ndbm.h-data: Likewise.
40165 * conform/data/net/if.h-data: Likewise.
40166 * conform/data/netdb.h-data: Likewise.
40167 * conform/data/netinet/in.h-data: Likewise.
40168 * conform/data/nl_types.h-data: Likewise.
40169 * conform/data/poll.h-data: Likewise.
40170 * conform/data/pthread.h-data: Likewise.
40171 * conform/data/pwd.h-data: Likewise.
40172 * conform/data/regex.h-data: Likewise.
40173 * conform/data/sched.h-data: Likewise.
40174 * conform/data/search.h-data: Likewise.
40175 * conform/data/semaphore.h-data: Likewise.
40176 * conform/data/setjmp.h-data: Likewise.
40177 * conform/data/signal.h-data: Likewise.
40178 * conform/data/spawn.h-data: Likewise.
40179 * conform/data/stdarg.h-data: Likewise.
40180 * conform/data/stdio.h-data: Likewise.
40181 * conform/data/stdlib.h-data: Likewise.
40182 * conform/data/string.h-data: Likewise.
40183 * conform/data/strings.h-data: Likewise.
40184 * conform/data/stropts.h-data: Likewise.
40185 * conform/data/sys/ipc.h-data: Likewise.
40186 * conform/data/sys/mman.h-data: Likewise.
40187 * conform/data/sys/msg.h-data: Likewise.
40188 * conform/data/sys/resource.h-data: Likewise.
40189 * conform/data/sys/select.h-data: Likewise.
40190 * conform/data/sys/sem.h-data: Likewise.
40191 * conform/data/sys/shm.h-data: Likewise.
40192 * conform/data/sys/socket.h-data: Likewise.
40193 * conform/data/sys/stat.h-data: Likewise.
40194 * conform/data/sys/statvfs.h-data: Likewise.
40195 * conform/data/sys/time.h-data: Likewise.
40196 * conform/data/sys/timeb.h-data: Likewise.
40197 * conform/data/sys/times.h-data: Likewise.
40198 * conform/data/sys/types.h-data: Likewise.
40199 * conform/data/sys/uio.h-data: Likewise.
40200 * conform/data/sys/un.h-data: Likewise.
40201 * conform/data/sys/utsname.h-data: Likewise.
40202 * conform/data/sys/wait.h-data: Likewise.
40203 * conform/data/syslog.h-data: Likewise.
40204 * conform/data/tar.h-data: Likewise.
40205 * conform/data/termios.h-data: Likewise.
40206 * conform/data/utime.h-data: Likewise.
40207 * conform/data/utmpx.h-data: Likewise.
40208 * conform/data/varargs.h-data: Likewise.
40209 * conform/data/wchar.h-data: Likewise.
40210 * conform/data/wctype.h-data: Likewise.
40211 * conform/data/wordexp.h-data: Likewise.
40213 * include/stropts.h: New file.
40214 * include/uchar.h: New file.
40215 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40216 * include/assert.h: Likewise.
40217 * include/ctype.h: Likewise.
40218 * include/dirent.h: Likewise.
40219 * include/dlfcn.h: Likewise.
40220 * include/fcntl.h: Likewise.
40221 * include/fnmatch.h: Likewise.
40222 * include/glob.h: Likewise.
40223 * include/grp.h: Likewise.
40224 * include/libio.h: Likewise.
40225 * include/locale.h: Likewise.
40226 * include/math.h: Likewise.
40227 * include/net/if.h: Likewise.
40228 * include/netdb.h: Likewise.
40229 * include/netinet/in.h: Likewise.
40230 * include/pthread.h: Likewise.
40231 * include/pwd.h: Likewise.
40232 * include/regex.h: Likewise.
40233 * include/sched.h: Likewise.
40234 * include/search.h: Likewise.
40235 * include/setjmp.h: Likewise.
40236 * include/signal.h: Likewise.
40237 * include/stdio.h: Likewise.
40238 * include/stdlib.h: Likewise.
40239 * include/string.h: Likewise.
40240 * include/sys/cdefs.h: Likewise.
40241 * include/sys/mman.h: Likewise.
40242 * include/sys/msg.h: Likewise.
40243 * include/sys/resource.h: Likewise.
40244 * include/sys/select.h: Likewise.
40245 * include/sys/socket.h: Likewise.
40246 * include/sys/stat.h: Likewise.
40247 * include/sys/statvfs.h: Likewise.
40248 * include/sys/time.h: Likewise.
40249 * include/sys/times.h: Likewise.
40250 * include/sys/uio.h: Likewise.
40251 * include/sys/utsname.h: Likewise.
40252 * include/sys/wait.h: Likewise.
40253 * include/termios.h: Likewise.
40254 * include/time.h: Likewise.
40255 * include/ulimit.h: Likewise.
40256 * include/unistd.h: Likewise.
40257 * include/utime.h: Likewise.
40258 * include/wchar.h: Likewise.
40259 * include/wctype.h: Likewise.
40260 * include/wordexp.h: Likewise.
40262 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40264 * time/time.h: TIME_UTC must be a macro.
40265 Make timespec_get available for ISO C11 only as well.
40267 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40269 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40270 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40272 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40274 * configure.in: Use -o not -a in test for unsupported multi-arch.
40276 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40278 * manual/texinfo.tex: Update to version 2012-01-19.16.
40280 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40282 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40284 2012-02-24 Roland McGrath <roland@hack.frob.com>
40287 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40288 * manual/fdl-1.3.texi: New file.
40289 * manual/fdl-1.1.texi: File removed.
40292 * manual/libc.texinfo (FDL_VERSION): New @set.
40293 Use it for mention of FDL in cover text.
40294 (Documentation License): Use it in @include file name.
40296 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40297 Roland McGrath <roland@hack.frob.com>
40300 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40301 (not LONG_LONG_MAX and LONG_LONG_MIN.
40302 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40303 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40305 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40307 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40311 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40312 manipulate bits before adding and subtracting TWO23[sx].
40313 * math/libm-test.inc (nearbyint_test): Add more tests.
40315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40318 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40319 bits before adding and subtracting TWO23[sx].
40320 * math/libm-test.inc (rint_test): Add more tests.
40321 (rint_test_tonearest): Likewise.
40322 (rint_test_towardzero): Likewise.
40323 (rint_test_downward): Likewise.
40324 (rint_test_upward: Likewise.
40326 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40329 * include/stdc-predef.h: New file. Extracted from features.h.
40330 * include/features.h: Include stdc-predef.h.
40331 * Makefile (headers): Add stdc-predef.h.
40332 * CONFORMANCE (Compiler limitations): Update.
40334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40336 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40338 2012-02-21 David S. Miller <davem@davemloft.net>
40340 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40341 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40343 2012-02-20 David S. Miller <davem@davemloft.net>
40345 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40346 using a normal save/restore sequence, rather than allocating a
40347 dummy stack frame just to store a frame pointer and restore.
40348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40352 * manual/install.texi: Fix stray word in line-wrapped comment.
40354 2012-02-20 David S. Miller <davem@davemloft.net>
40356 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40357 both binutils and gcc support GOTDATA.
40359 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40360 "rd %pc" in the PIC register setup sequences.
40362 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40363 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40364 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40365 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40366 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40371 (SYSCALL_ERROR_HANDLER): Likewise.
40372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40375 (SYSCALL_ERROR_HANDLER): Likewise.
40377 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40378 (HAVE_GCC_GOTDATA): New.
40379 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40380 relocation support in both binutils and gcc.
40381 * sysdeps/sparc/elf/configure: Regenerate.
40383 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40384 * sysdeps/sparc/sparc32/elf/configure: Delete.
40385 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40386 * sysdeps/sparc/sparc64/elf/configure: Delete.
40387 * sysdeps/sparc/elf/configure.in: New file.
40388 * sysdeps/sparc/elf/configure: Generate.
40390 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40391 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40392 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40393 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40394 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40396 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40398 * manual/install.texi: Do not mention specific glibc version
40400 * manual/libc.texinfo (VERSION, UPDATED): Update.
40401 (@copying): Use @copyright{} and range of years.
40403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40406 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40407 [crti.S not in sysdirs] (generated): Do not append.
40408 [crti.S not in sysdirs] (omit-deps): Likewise.
40409 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40410 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40411 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40412 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40413 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40415 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40416 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40417 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40418 * csu/defs.awk: Remove file.
40419 * sysdeps/generic/initfini.c: Likewise.
40420 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40422 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40425 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40427 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40428 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40429 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40432 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40434 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40435 (__EPOLL_PACKED): Define to empty if not defined by
40437 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40441 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40443 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40444 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40445 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40446 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40448 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40452 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40454 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40457 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40458 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40461 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40463 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40464 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40466 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40468 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40469 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40471 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40473 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40476 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40478 * math/w_acos.c: Use non-signaling floating-point comparisons.
40479 * math/w_acosf.c: Likewise.
40480 * math/w_acosh.c: Likewise.
40481 * math/w_acoshf.c: Likewise.
40482 * math/w_acoshl.c: Likewise.
40483 * math/w_acosl.c: Likewise.
40484 * math/w_asin.c: Likewise.
40485 * math/w_asinf.c: Likewise.
40486 * math/w_asinl.c: Likewise.
40487 * math/w_atanh.c: Likewise.
40488 * math/w_atanhf.c: Likewise.
40489 * math/w_atanhl.c: Likewise.
40490 * math/w_exp2.c: Likewise.
40491 * math/w_exp2f.c: Likewise.
40492 * math/w_exp2l.c: Likewise.
40493 * math/w_j0.c: Likewise.
40494 * math/w_j0f.c: Likewise.
40495 * math/w_j0l.c: Likewise.
40496 * math/w_j1.c: Likewise.
40497 * math/w_j1f.c: Likewise.
40498 * math/w_j1l.c: Likewise.
40499 * math/w_jn.c: Likewise.
40500 * math/w_jnf.c: Likewise.
40501 * math/w_log.c: Likewise.
40502 * math/w_log10.c: Likewise.
40503 * math/w_log10f.c: Likewise.
40504 * math/w_log10l.c: Likewise.
40505 * math/w_log2.c: Likewise.
40506 * math/w_log2f.c: Likewise.
40507 * math/w_log2l.c: Likewise.
40508 * math/w_logf.c: Likewise.
40509 * math/w_logl.c: Likewise.
40510 * math/w_sqrt.c: Likewise.
40511 * math/w_sqrtf.c: Likewise.
40512 * math/w_sqrtl.c: Likewise.
40513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40514 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40515 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40516 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40517 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40519 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40522 * manual/string.texi (strnlen): Use correct parameter name in
40523 equivalent expression.
40525 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40528 * manual/users.texi (seteuid): Consistently use neweuid for
40531 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40534 * manual/nss.texi (Services in the NSS configuration): Correct
40535 list of services in example configuration file.
40537 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40540 * manual/arith.texi: Remove statements about negative zero
40541 behaving identically to zero.
40543 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40546 * manual/install.texi: Do not document upgrading from libc5.
40548 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40551 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40553 2012-02-18 David S. Miller <davem@davemloft.net>
40555 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40556 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40557 %o7 across the call.
40558 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40560 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40561 SETUP_PIC_REG_LEAF.
40562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40563 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40564 * sysdeps/sparc/crtn.S: Likewise.
40566 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40568 * aout/Makefile: Remove.
40570 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40573 * manual/examples/argp-ex1.c (main): Format definition in GNU
40575 * manual/examples/argp-ex2.c (main): Likewise.
40576 * manual/examples/argp-ex3.c (main): Likewise.
40577 * manual/examples/argp-ex4.c (main): Likewise.
40578 * manual/examples/longopt.c (main): Use new-style prototype
40580 * manual/examples/strncat.c (main): Specify return type and use
40581 (void) for arguments.
40582 * manual/examples/subopt.c (main): Use char **argv argument.
40584 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40587 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40590 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40593 * manual/string.texi (strchr): Change when strchrnul is
40596 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40599 * manual/locale.texi (setlocale): Document LOCPATH.
40601 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40604 * manual/process.texi (execle): Move @dots{} before last argument.
40606 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40609 * manual/charset.texi (Generic Charset Conversion): Fix typo
40610 (LC_TYPE -> LC_CTYPE).
40612 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40615 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40616 (scalbnf): Likewise.
40617 (scalbnl): Likewise.
40618 (scalbln): Likewise.
40619 (scalblnf): Likewise.
40620 (scalblnl): Likewise.
40621 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40622 (vwarnx): Likewise.
40625 * manual/filesys.texi (telldir): Use braces around return type.
40626 * manual/llio.texi (mmap): Add space after comma.
40627 (mmap64): Likewise.
40628 * manual/math.texi (jn): Use @var{} on parameter names.
40634 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40636 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40638 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40639 (sched_get_priority_max): Likewise.
40640 * manual/signal.texi (sigvec): Add space after comma.
40641 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40643 (if_indextoname): Likewise.
40644 (if_freenameindex): Likewise.
40645 (sendto): Use ',' instead of '.' in prototype.
40646 * manual/startup.texi (syscall): Use @dots{} instead of literal
40648 * manual/stdio.texi (__fpending): Separate initial words of
40649 paragraph from @deftypefun line.
40650 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40652 (vsyslog): Use @var{} on parameter names.
40653 * manual/terminal.texi (stty): Use @var{} on parameter names.
40654 * manual/users.texi (getutmp): Use @var{} on parameter names.
40655 (getutmpx): Likewise.
40657 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40660 * manual/stdio.texi (fopen): Fix typos in description of
40663 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40666 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40667 get clock_id definition.
40669 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40672 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40673 (madvise): Cast every argument to void on its own.
40675 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40678 * manual/startup.texi (Exit Status): Fix typo.
40680 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40683 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40684 * manual/examples/argp-ex2.c: Likewise.
40685 * manual/examples/argp-ex3.c: Likewise.
40687 2012-02-16 Richard Henderson <rth@redhat.com>
40689 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40690 * sysdeps/s390/s390-32/initfini.c: Remove.
40691 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40692 * sysdeps/s390/s390-64/initfini.c: Remove.
40694 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40696 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40697 compiler output for sysdeps/generic/initfini.c.
40698 * sysdeps/sh/elf/initfini.c: Remove file.
40700 2012-02-16 David S. Miller <davem@davemloft.net>
40703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40705 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40706 * sysdeps/sparc/crti.S: New file.
40707 * sysdeps/sparc/crtn.S: New file.
40708 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40709 * sysdeps/sparc/sparc64/Makefile: Likewise.
40711 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40714 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40716 2012-02-15 Roland McGrath <roland@hack.frob.com>
40719 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40721 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40722 (write, read, close): Likewise.
40723 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40725 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40727 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40728 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40729 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40730 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40732 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40736 2012-02-14 Marek Polacek <polacek@redhat.com>
40738 * sysdeps/x86_64/crti.S: New file.
40739 * sysdeps/x86_64/crtn.S: New file.
40740 * sysdeps/x86_64/elf/initfini.c: Remove file.
40742 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40744 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40745 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40746 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40747 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40749 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40753 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40755 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40756 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40757 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40758 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40760 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40764 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40766 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40767 __feraiseexcept instead of feraiseexcept.
40769 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40770 nanosleep invocations.
40771 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40772 strings, and add error checking for a nanosleep invocations.
40774 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40776 Replace FSF snail mail address with URLs, as per GNU coding standards.
40777 Most of the snail mail addresses were wrong anyway, and omitting
40778 them makes the source code easier to maintain. Almost all of the
40779 changes are to license notices and to locale LC_IDENTIFICATION
40780 addresses, except for this one:
40781 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40782 not its snail mail address.
40784 2012-02-09 Richard Henderson <rth@twiddle.net>
40786 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40787 of kernel-features.h.
40789 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40791 2012-02-08 Marek Polacek <polacek@redhat.com>
40793 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40794 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40795 * sysdeps/gnu/_G_config.h: Likewise.
40796 * sysdeps/generic/_G_config.h: Likewise.
40798 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40800 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40804 * sysdeps/powerpc/powerpc32/crti.S: New file.
40805 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40806 * sysdeps/powerpc/powerpc64/crti.S: New file.
40807 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40809 * Makeconfig (have-initfini): Don't set.
40810 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40811 * configure.in (nopic_initfini): Don't substitute.
40812 * config.h.in (HAVE_INITFINI): Don't #undef.
40813 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40814 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40816 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40818 Support crti.S and crtn.S provided directly by architectures.
40819 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40820 [crti.S in sysdirs] (omit-deps): Likewise.
40821 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40822 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40823 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40824 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40825 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40826 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40827 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40828 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40829 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40830 compiler output for sysdeps/generic/initfini.c.
40831 * sysdeps/i386/elf/Makefile: Remove file.
40832 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40834 2012-02-07 Marek Polacek <polacek@redhat.com>
40836 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40837 * sysdeps/gnu/_G_config.h: Likewise.
40838 * sysdeps/mach/hurd/_G_config.h: Likewise.
40840 2012-02-07 Marek Polacek <polacek@redhat.com>
40842 * math/Makefile (tests): Add tst-CMPLX2.
40843 * math/tst-CMPLX2.c: New file.
40845 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40847 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40849 * math/libm-test.inc (jn_test): Add missing L suffix.
40851 2012-02-06 Marek Polacek <polacek@redhat.com>
40853 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40854 * sysdeps/i386/fpu/e_powf.S: Likewise.
40855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40856 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40857 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40858 * sysdeps/i386/fpu/e_pow.S: Likewise.
40859 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40860 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40861 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40862 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40863 * sysdeps/i386/fpu/e_log2.S: Likewise.
40864 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40865 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40866 * sysdeps/i386/fpu/e_powl.S: Likewise.
40867 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40868 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40869 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40870 * sysdeps/i386/fpu/e_logl.S: Likewise.
40871 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40872 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40873 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40874 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40877 * sysdeps/i386/fpu/e_log.S: Likewise.
40878 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40880 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40881 * sysdeps/i386/fpu/e_logf.S: Likewise.
40882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40883 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40884 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40885 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40886 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40887 * sysdeps/i386/fpu/e_log10.S: Likewise.
40888 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40889 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40890 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40891 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40892 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40893 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40894 * sysdeps/i386/asm-syntax.h: Likewise.
40895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40898 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40899 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40901 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40902 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40903 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40904 * sysdeps/powerpc/sysdep.h: Likewise.
40905 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40906 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40908 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40911 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40913 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40915 * sysdeps/i386/sysdep.h: Include <features.h>.
40916 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40919 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40921 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40923 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40926 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40928 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40929 (SETUP_PIC_REG): Use GET_PC_THUNK.
40930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40935 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40936 for non-PIC compilation.
40937 (SETUP_PIC_REG): Add .p2align directive.
40938 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40939 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40940 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40941 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40943 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40944 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40945 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40946 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40947 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40948 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40951 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40952 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40953 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40954 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40955 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40956 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40957 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40958 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40960 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40961 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40962 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40964 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40965 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40966 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40967 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40968 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40970 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40971 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40972 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40973 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40974 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40975 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40976 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40977 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40978 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40980 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40982 * math/tst-CMPLX.c: Include <stdio.h>.
40984 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40986 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40988 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40989 * sysdeps/sparc/bits/mathdef.h: Likewise.
40991 2012-01-31 Marek Polacek <polacek@redhat.com>
40993 * libio/libio.h: Don't define _PARAMS.
40994 * locale/programs/config.h: Don't define PARAMS.
40995 * stdlib/strtol_l.c: Likewise.
40996 (__strtol_l): Remove PARAMS from the prototype.
40998 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41000 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41001 names. Just use the correct names. Remove unnecessary wrapper
41003 * malloc/arena.c: Likewise.
41004 * malloc/hooks.c: Likewise.
41006 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41007 ARENA_TEST says not to. Simplify test for creation of a new arena.
41008 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41010 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41012 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41014 (update_get_addr): New function.
41015 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41016 GET_ADDR_MODULE parameter.
41018 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41020 * crypt/cert.c: Remove __STDC__ conditionals.
41021 * crypt/crypt-entry.c: Likewise.
41022 * crypt/crypt_util.c: Likewise.
41023 * libio/filedoalloc.c: Likewise.
41024 * libio/fileops.c: Likewise.
41025 * libio/genops.c: Likewise.
41026 * libio/iofclose.c: Likewise.
41027 * libio/iofdopen.c: Likewise.
41028 * libio/iofopen.c: Likewise.
41029 * libio/iofopen64.c: Likewise.
41030 * libio/iogetdelim.c: Likewise.
41031 * libio/iopopen.c: Likewise.
41032 * libio/obprintf.c: Likewise.
41033 * libio/oldfileops.c: Likewise.
41034 * libio/oldiofclose.c: Likewise.
41035 * libio/oldiofdopen.c: Likewise.
41036 * libio/oldiofopen.c: Likewise.
41037 * libio/oldiopopen.c: Likewise.
41038 * libio/wfiledoalloc.c: Likewise.
41039 * libio/wgenops.c: Likewise.
41040 * locale/programs/xmalloc.c: Likewise.
41041 * misc/syslog.c: Likewise.
41042 * stdio-common/xbug.c: Likewise.
41043 * string/memchr.c: Likewise.
41044 * string/memcmp.c: Likewise.
41045 * string/memrchr.c: Likewise.
41046 * string/rawmemchr.c: Likewise.
41047 * sysdeps/posix/getcwd.c: Likewise.
41048 * time/strftime_l.c: Likewise.
41050 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41052 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41053 * config.make.in (config-cflags-sse2avx): Define.
41054 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41057 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41059 * scripts/config.guess: Update from upstream config git repository.
41060 * scripts/config.sub: Likewise.
41062 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41064 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41066 (R_TILEPRO_*, R_TILEGX_*): New macros.
41068 * scripts/firstversions.awk: Fix bug in version range handling.
41070 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41072 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41074 * include/sys/epoll.h: New file.
41075 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41078 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41080 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41081 Avoid unnecessary __WORDSIZE == 64 test.
41082 (fmaxf): Use VEX format if possible.
41087 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41088 * math/math_private.h: Remove libc_fegetround* and
41090 * sysdeps/i386/configure.in: Check for -msse2avx.
41091 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41092 also if SSE2AVX is defined.
41093 Remove libc_fegetround* and libc_fesetround*.
41094 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41095 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41098 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41099 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41101 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41102 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41104 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41106 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41108 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41112 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41115 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41117 * Makeconfig (libm): Define.
41118 * elf/Makefile: Add rules to build and run tst-relsort1.
41119 * elf/tst-relsort1.c: New file.
41120 * elf/tst-relsort1mod1.c: New file.
41121 * elf/tst-relsort1mod2.c: New file.
41123 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41125 * math/s_ldexp.c: Remove __STDC__ conditionals.
41126 * math/s_ldexpf.c: Likewise.
41127 * math/s_ldexpl.c: Likewise.
41128 * math/s_nextafter.c: Likewise.
41129 * math/s_nexttowardf.c: Likewise.
41130 * math/s_significand.c: Likewise.
41131 * math/s_significandf.c: Likewise.
41132 * math/s_significandl.c: Likewise.
41133 * math/w_jnl.c: Likewise.
41134 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41135 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41136 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41137 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41138 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41153 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41154 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41156 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41158 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41159 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41160 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41161 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41162 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41163 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41164 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41165 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41166 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41167 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41169 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41170 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41171 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41172 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41173 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41174 * sysdeps/ieee754/k_standard.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41228 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41229 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41236 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41239 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41240 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41241 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41245 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41246 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41247 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41248 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41249 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41250 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41251 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41252 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41253 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41254 * sysdeps/ieee754/s_matherr.c: Likewise.
41255 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41256 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41260 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41262 * crypt/md5.h: Remove __STDC__ conditionals.
41263 * libio/libioP.h: Likewise.
41264 * locale/programs/config.h: Likewise.
41265 * sysdeps/generic/sysdep.h: Likewise.
41266 * sysdeps/i386/asm-syntax.h: Likewise.
41267 * sysdeps/s390/asm-syntax.h: Likewise.
41268 * sysdeps/unix/sysdep.h: Likewise.
41269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41272 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41274 * libio/libio.h: Remove __STDC__ conditionals.
41275 * malloc/obstack.h: Likewise.
41276 * math/complex.h: Likewise.
41277 * math/math.h: Likewise.
41278 * sysdeps/generic/_G_config.h: Likewise.
41279 * sysdeps/gnu/_G_config.h: Likewise.
41280 * sysdeps/mach/hurd/_G_config.h: Likewise.
41281 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41282 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41283 * sysdeps/sparc/bits/mathdef.h: Likewise.
41285 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41288 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41289 Clean up HAS_* macros.
41290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41291 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41301 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41303 * elf/tst-unique3.cc (gets): Remove declaration.
41304 * elf/tst-unique3lib.cc (gets): Likewise.
41305 * elf/tst-unique3lib2.cc (gets): Likewise.
41306 * elf/tst-unique4.cc (gets): Likewise.
41308 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41310 * include/stdio.h: Add C++ protection. Add gets declarations and
41312 * debug/tst-chk1.c: Don't declare gets here.
41313 * stdio-common/tst-gets.c: Likewise.
41315 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41317 * posix/glob: Remove directory.
41319 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41321 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41323 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41325 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41326 of the non-standard EPFNOSUPPORT.
41328 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41330 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41331 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41332 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41334 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41336 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41338 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41340 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41342 * nscd/grpcache.c (cache_addgr): Likewise.
41343 * nscd/hstcache.c (cache_addhst): Likewise.
41344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41345 * nscd/pwdcache.c (cache_addpw): Likewise.
41346 * nscd/servicescache.c (cache_addserv): Likewise.
41348 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41350 * malloc/malloc.c: Various cleanups.
41351 * malloc/hooks.c: Likewise.
41353 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41354 * stdlib/bug-fmtmsg1.c: New file.
41356 * stdlib/fmtmsg.c (init): Add missing unlock.
41357 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41359 2012-01-12 Marek Polacek <polacek@redhat.com>
41361 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41364 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41366 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41367 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41368 macro to ensure uniqueness of label name.
41369 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41370 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41372 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41374 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41376 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41377 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41381 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41383 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41385 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41386 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41387 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41389 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41391 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41392 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41393 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41396 * math/bits/math-finite.h: Add ldexp support.
41398 2012-01-10 Marek Polacek <polacek@redhat.com>
41400 * locale/programs/localedef.h (show_archive_content): Add noreturn
41403 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41405 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41407 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41409 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41411 * io/Makefile (headers): Add bits/poll2.h.
41413 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41416 typo #include statement.
41418 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41420 * include/sys/cdefs.h: Define __attribute_alloc_size.
41421 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41422 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41423 * elf/pldd.c: Likewise.
41424 * iconv/iconv_charmap.c: Likewise.
41425 * iconv/iconvconfig.c: Likewise.
41426 * iconv/strtab.c: Likewise.
41427 * locale/programs/locale.c: Likewise.
41428 * locale/programs/localedef.h: Likewise.
41429 * locale/programs/simple-hash.c: Likewise.
41430 * nscd/nscd.h: Likewise.
41431 * nss/makedb.c: Likewise.
41432 * sysdeps/generic/ldconfig.h: Likewise.
41433 * locale/programs/localedef.c: Remove xmalloc prototype.
41434 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41436 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41438 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41441 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41443 * math/Makefile (tests): Add tst-CMPLX.
41444 * math/tst-CMPLX.c: New file.
41446 * math/complex.h (CMPLXL): Fix typo.
41448 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41449 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41451 * debug/tst-chk1.c: Add poll and ppoll tests.
41452 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41453 * include/sys/poll.h: Add hidden proto for ppoll.
41454 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41455 * sysdeps/mach/hurd/ppoll.c: Likewise.
41456 * io/ppoll.c: Likewise.
41457 * debug/poll_chk.c: New file.
41458 * debug/ppoll_chk.c: New file.
41459 * include/bits/poll2.h: New file.
41460 * io/bits/poll2.h: New file.
41463 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41465 * configure.in: static is always set to yes. Remove.
41466 * config.make.in: Don't set build-static.
41467 * Makeconfig: Remove use of build-static.
41468 * dlfcn/Makefile: Likewise.
41469 * elf/Makefile: Likewise.
41470 * math/Makefile: Likewise.
41471 * misc/Makefile: Likewise.
41472 * nptl/Makefile: Likewise.
41473 * sysdeps/mach/hurd/Makefile: Likewise.
41475 * configure.in: PWD_P is not used anymore.
41476 * config.make.in: Remove PWD_P entry.
41478 * configure.in: Remove last remnants of RANLIB.
41479 No need to check for signed size_t anymore.
41480 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41482 Remove __builtin_expect test because we require at least gcc 3.4.
41483 * aclocal.m4: Likewise.
41485 * wcsmbs/mbrtoc16.c: Implement using towc function.
41486 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41487 * wcsmbs/wcsmbsload.c: Likewise.
41488 * iconv/gconv_simple.c: Likewise.
41489 * iconv/gconv_int.h: Likewise.
41490 * iconv/gconv_builtin.h: Likewise.
41491 * iconv/iconv_prog.c: Remove CHAR16 handling.
41493 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41495 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41497 * configure.in: Remove --with-elf and --enable-bounded options.
41498 Dont set base_machine for ia64. More non-ELF conditions removed.
41499 Remove testing and setting of leading underscore information.
41500 * config.make.in (build-bounded): Set to no.
41501 * config.h.in: Remove NO_UNDERSCORES entry.
41502 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41504 * csu/start.c: Remove !NO_UNDERSCORE code.
41505 * locale/localeinfo.h: Likewise.
41506 * sysdeps/generic/machine-gmon.h: Likewise.
41507 * sysdeps/generic/sysdep.h: Likewise.
41508 * sysdeps/i386/sysdep.h: Likewise.
41509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41510 * sysdeps/mach/sysdep.h: Likewise.
41511 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41513 * sysdeps/sh/sysdep.h: Likewise.
41514 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41515 * sysdeps/unix/i386/sysdep.S: Likewise.
41516 * sysdeps/unix/sparc/start.c: Likewise.
41517 * sysdeps/unix/sparc/sysdep.S: Likewise.
41518 * sysdeps/unix/sparc/sysdep.h: Likewise.
41519 * sysdeps/unix/start.c: Likewise.
41520 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41521 * sysdeps/x86_64/sysdep.h: Likewise.
41523 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41526 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41528 * argp/argp-fmtstream.h: Use const instead __const.
41529 * argp/argp.h: Likewise.
41530 * assert/assert.h: Likewise.
41531 * bits/fenv.h: Likewise.
41532 * bits/sched.h: Likewise.
41533 * bits/sigset.h: Likewise.
41534 * bits/sigthread.h: Likewise.
41535 * catgets/nl_types.h: Likewise.
41536 * conform/data/pthread.h-data: Likewise.
41537 * crypt/crypt-private.h: Likewise.
41538 * crypt/crypt.h: Likewise.
41539 * crypt/crypt_util.c: Likewise.
41540 * ctype/ctype.h: Likewise.
41541 * debug/execinfo.h: Likewise.
41542 * debug/mbsnrtowcs_chk.c: Likewise.
41543 * debug/mbsrtowcs_chk.c: Likewise.
41544 * debug/wcsnrtombs_chk.c: Likewise.
41545 * debug/wcsrtombs_chk.c: Likewise.
41546 * debug/wcstombs_chk.c: Likewise.
41547 * dirent/dirent.h: Likewise.
41548 * dlfcn/dlfcn.h: Likewise.
41549 * elf/neededtest4.c: Likewise.
41550 * grp/grp.h: Likewise.
41551 * gshadow/gshadow.h: Likewise.
41552 * iconv/gconv.h: Likewise.
41553 * iconv/gconv_int.h: Likewise.
41554 * iconv/gconv_simple.c: Likewise.
41555 * iconv/iconv.h: Likewise.
41556 * iconv/loop.c: Likewise.
41557 * iconv/skeleton.c: Likewise.
41558 * include/aio.h: Likewise.
41559 * include/aliases.h: Likewise.
41560 * include/argz.h: Likewise.
41561 * include/arpa/inet.h: Likewise.
41562 * include/assert.h: Likewise.
41563 * include/dirent.h: Likewise.
41564 * include/dlfcn.h: Likewise.
41565 * include/execinfo.h: Likewise.
41566 * include/fcntl.h: Likewise.
41567 * include/fenv.h: Likewise.
41568 * include/glob.h: Likewise.
41569 * include/grp.h: Likewise.
41570 * include/libintl.h: Likewise.
41571 * include/mntent.h: Likewise.
41572 * include/netdb.h: Likewise.
41573 * include/pwd.h: Likewise.
41574 * include/rpc/netdb.h: Likewise.
41575 * include/sched.h: Likewise.
41576 * include/search.h: Likewise.
41577 * include/shadow.h: Likewise.
41578 * include/signal.h: Likewise.
41579 * include/stdio.h: Likewise.
41580 * include/stdlib.h: Likewise.
41581 * include/string.h: Likewise.
41582 * include/sys/socket.h: Likewise.
41583 * include/sys/stat.h: Likewise.
41584 * include/sys/statfs.h: Likewise.
41585 * include/sys/statvfs.h: Likewise.
41586 * include/sys/syslog.h: Likewise.
41587 * include/sys/time.h: Likewise.
41588 * include/sys/uio.h: Likewise.
41589 * include/time.h: Likewise.
41590 * include/unistd.h: Likewise.
41591 * include/utmp.h: Likewise.
41592 * include/wchar.h: Likewise.
41593 * include/wctype.h: Likewise.
41594 * inet/aliases.h: Likewise.
41595 * inet/arpa/inet.h: Likewise.
41596 * inet/netinet/ether.h: Likewise.
41597 * inet/netinet/in.h: Likewise.
41598 * intl/libintl.h: Likewise.
41599 * io/bits/fcntl2.h: Likewise.
41600 * io/fcntl.h: Likewise.
41601 * io/ftw.h: Likewise.
41602 * io/sys/poll.h: Likewise.
41603 * io/sys/stat.h: Likewise.
41604 * io/sys/statfs.h: Likewise.
41605 * io/sys/statvfs.h: Likewise.
41606 * io/utime.h: Likewise.
41607 * libio/bits/stdio.h: Likewise.
41608 * libio/bits/stdio2.h: Likewise.
41609 * libio/libio.h: Likewise.
41610 * libio/libioP.h: Likewise.
41611 * libio/stdio.h: Likewise.
41612 * locale/lc-ctype.c: Likewise.
41613 * locale/locale.h: Likewise.
41614 * login/utmp.h: Likewise.
41615 * malloc/arena.c: Likewise.
41616 * malloc/malloc.c: Likewise.
41617 * malloc/malloc.h: Likewise.
41618 * malloc/mcheck.c: Likewise.
41619 * malloc/mtrace.c: Likewise.
41620 * math/bits/mathcalls.h: Likewise.
41621 * math/fenv.h: Likewise.
41622 * math/math_private.h: Likewise.
41623 * misc/bits/error.h: Likewise.
41624 * misc/bits/syslog.h: Likewise.
41625 * misc/err.h: Likewise.
41626 * misc/error.h: Likewise.
41627 * misc/fstab.h: Likewise.
41628 * misc/mntent.h: Likewise.
41629 * misc/regexp.h: Likewise.
41630 * misc/search.h: Likewise.
41631 * misc/sgtty.h: Likewise.
41632 * misc/sys/mman.h: Likewise.
41633 * misc/sys/syslog.h: Likewise.
41634 * misc/sys/uio.h: Likewise.
41635 * misc/sys/xattr.h: Likewise.
41636 * misc/ttyent.h: Likewise.
41637 * nis/rpcsvc/ypclnt.h: Likewise.
41638 * nss/nss.h: Likewise.
41639 * posix/bits/unistd.h: Likewise.
41640 * posix/fnmatch.h: Likewise.
41641 * posix/glob.h: Likewise.
41642 * posix/sched.h: Likewise.
41643 * posix/spawn.h: Likewise.
41644 * posix/sys/wait.h: Likewise.
41645 * posix/unistd.h: Likewise.
41646 * posix/wordexp.h: Likewise.
41647 * pwd/pwd.h: Likewise.
41648 * resolv/netdb.h: Likewise.
41649 * resource/sys/resource.h: Likewise.
41650 * rt/aio.h: Likewise.
41651 * rt/bits/mqueue2.h: Likewise.
41652 * rt/mqueue.h: Likewise.
41653 * shadow/shadow.h: Likewise.
41654 * signal/signal.h: Likewise.
41655 * socket/send.c: Likewise.
41656 * socket/sendto.c: Likewise.
41657 * socket/sys/socket.h: Likewise.
41658 * stdio-common/printf.h: Likewise.
41659 * stdlib/bits/stdlib.h: Likewise.
41660 * stdlib/fmtmsg.h: Likewise.
41661 * stdlib/monetary.h: Likewise.
41662 * stdlib/stdlib.h: Likewise.
41663 * stdlib/ucontext.h: Likewise.
41664 * streams/stropts.h: Likewise.
41665 * string/argz.h: Likewise.
41666 * string/bits/string2.h: Likewise.
41667 * string/string.h: Likewise.
41668 * string/strings.h: Likewise.
41669 * sunrpc/rpc/auth.h: Likewise.
41670 * sunrpc/rpc/auth_des.h: Likewise.
41671 * sunrpc/rpc/clnt.h: Likewise.
41672 * sunrpc/rpc/netdb.h: Likewise.
41673 * sunrpc/rpc/pmap_clnt.h: Likewise.
41674 * sunrpc/rpc/xdr.h: Likewise.
41675 * sysdeps/generic/inttypes.h: Likewise.
41676 * sysdeps/generic/net/if.h: Likewise.
41677 * sysdeps/generic/sys/swap.h: Likewise.
41678 * sysdeps/gnu/net/if.h: Likewise.
41679 * sysdeps/gnu/utmpx.h: Likewise.
41680 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41681 * sysdeps/i386/i486/bits/string.h: Likewise.
41682 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41683 * sysdeps/s390/bits/string.h: Likewise.
41684 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41685 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41686 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41687 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41688 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41689 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41690 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41691 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41692 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41693 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41694 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41695 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41696 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41697 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41698 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41699 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41700 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41705 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41706 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41707 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41708 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41709 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41710 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41712 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41714 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41715 * sysvipc/sys/ipc.h: Likewise.
41716 * sysvipc/sys/msg.h: Likewise.
41717 * sysvipc/sys/sem.h: Likewise.
41718 * sysvipc/sys/shm.h: Likewise.
41719 * termios/termios.h: Likewise.
41720 * time/sys/time.h: Likewise.
41721 * time/time.h: Likewise.
41722 * wcsmbs/bits/wchar2.h: Likewise.
41723 * wcsmbs/uchar.h: Likewise.
41724 * wcsmbs/wchar.h: Likewise.
41725 * wctype/wctype.h: Likewise.
41728 * Makeconfig: Remove all but ELF support including AIX support.
41729 * Makerules: Likewise.
41730 * config.h.in: Likewise.
41731 * config.make.in: Likewise.
41732 * configure: Likewise.
41733 * configure.in: Likewise.
41734 * csu/Makefile: Likewise.
41735 * csu/version.c: Likewise.
41736 * debug/Makefile: Likewise.
41737 * dlfcn/Makefile: Likewise.
41738 * elf/Makefile: Likewise.
41739 * extra-lib.mk: Likewise.
41740 * iconv/Makefile: Likewise.
41741 * include/libc-symbols.h: Likewise.
41742 * include/shlib-compat.h: Likewise.
41743 * resolv/Makefile: Likewise.
41744 * resolv/res_libc.c: Likewise.
41745 * rt/Makefile: Likewise.
41746 * sysdeps/i386/asm-syntax.h: Likewise.
41747 * sysdeps/i386/sysdep.h: Likewise.
41748 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41749 * sysdeps/mach/sysdep.h: Likewise.
41750 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41751 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41752 * sysdeps/s390/asm-syntax.h: Likewise.
41753 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41754 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41755 * sysdeps/sh/sysdep.h: Likewise.
41756 * sysdeps/unix/sparc/sysdep.h: Likewise.
41757 * sysdeps/wordsize-32/divdi3.c: Likewise.
41758 * sysdeps/x86_64/sysdep.h: Likewise.
41760 * argp/Versions: Remove _argp_unlock_xxx.
41763 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41764 * abilist/libBrokenLocale.abilist: Likewise.
41765 * abilist/libanl.abilist: Likewise.
41766 * abilist/libc.abilist: Likewise.
41767 * abilist/libcrypt.abilist: Likewise.
41768 * abilist/libdl.abilist: Likewise.
41769 * abilist/libm.abilist: Likewise.
41770 * abilist/libnsl.abilist: Likewise.
41771 * abilist/libpthread.abilist: Likewise.
41772 * abilist/libresolv.abilist: Likewise.
41773 * abilist/librt.abilist: Likewise.
41774 * abilist/libthread_db.abilist: Likewise.
41775 * abilist/libutil.abilist: Likewise.
41776 * abilist/libnss_db.abilist: New file.
41778 * scripts/abilist.awk: Add support for indirect functions.
41780 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41782 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41784 * shlib-versions: Remove entries for ports architectures.
41786 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41788 * elf/stackguard-macros.h: Remove support for IA-64.
41789 * elf/tst-auditmod1.c: Likewise.
41790 * sysdeps/generic/ldsodefs.h: Likewise.
41792 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41793 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41797 * configure.in: Remove --enable-omitfp support.
41799 * config.make.in: Likewise.
41800 * Makeconfig: Likewise.
41801 * manual/install.texi: Likewise.
41803 In case anyone cares, the IA-64 architecture could move to ports.
41804 * sysdeps/ia64/*: Removed.
41805 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41806 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41809 * configure.in: Remove entries for unsupported architectures.
41812 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41813 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41815 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41816 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41817 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41818 fall back to using wcrtomb.
41819 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41820 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41822 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41823 * wcsmbs/tst-c16c32-1.c: New file.
41825 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41828 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41830 * elf/tst-unique3.cc: Add explicit declaration of gets.
41831 * elf/tst-unique3lib.cc: Likewise.
41832 * elf/tst-unique3lib2.cc: Likewise.
41833 * elf/tst-unique4.cc: Likewise.
41835 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41837 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41840 * assert/assert.h (static_assert): Don't define for C++.
41841 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41842 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41844 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41846 * iconv/loop.c (single loop): Fix assertion in storing of
41849 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41851 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41853 * posix/getconf.c: Update copyright year.
41854 * nss/getent.c: Likewise.
41855 * nss/makedb.c: Likewise.
41856 * iconv/iconvconfig.c: Likewise.
41857 * iconv/iconv_prog.c: Likewise.
41858 * elf/ldconfig.c: Likewise.
41859 * elf/pldd.c: Likewise.
41860 * elf/sotruss.ksh: Likewise.
41861 * catgets/gencat.c: Likewise.
41862 * csu/version.c: Likewise.
41863 * elf/ldd.bash.in: Likewise.
41864 * elf/sprof.c (print_version): Likewise.
41865 * locale/programs/locale.c: Likewise.
41866 * locale/programs/localedef.c: Likewise.
41867 * login/programs/pt_chown.c: Likewise.
41868 * nscd/nscd.c (print_version): Likewise.
41869 * debug/xtrace.sh: Likewise.
41870 * malloc/memusage.sh: Likewise.
41871 * malloc/mtrace.pl: Likewise.
41872 * debug/catchsegv.sh: Likewise.
41874 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41876 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41879 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41882 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41883 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41885 * iconv/gconv_int.h: Likewise.
41886 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41887 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41888 from libc for GLIBC_2.16.
41889 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41890 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41891 * wcsmbs/uchar.h: Really define mbstate_t.
41892 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41893 * wcsmbs/c16rtomb.c: New file.
41894 * wcsmbs/mbrtoc16.c: New file.
41895 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41896 for C/POSIX locale.
41897 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41898 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41900 * wcsmbs/wchar.h: Add missing __restrict.
41902 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41905 * time/Makefile (routines): Add timespec_get.
41906 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41907 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41908 timespec for ISO C11.
41909 * time/timespec_get.c: New file.
41910 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41911 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41914 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41915 * stdlib/stdlib.h: Declare aligned_alloc.
41916 * Versions.def: Add GLIBC_2.16 for libc.
41917 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41920 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41923 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41927 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41930 * assert/assert.h (static_assert): Define.
41932 * version.h: Update for 2.16 development version.
41935 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41938 * version.h (RELEASE): Bump for 2.15 release.
41939 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41941 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41942 Patch by Marek Polacek <mpolacek@redhat.com>.
41944 * bits/byteswap.h: Protect long long constants with __extension__.
41945 * sysdeps/i386/bits/byteswap.h: Likewise.
41946 * sysdeps/ia64/bits/byteswap.h: Likewise.
41947 * sysdeps/s390/bits/byteswap.h: Likewise.
41948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41950 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41954 destination buffer.
41955 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41957 2011-12-23 Marek Polacek <polacek@redhat.com>
41959 * elf/dl-addr.c (determine_info): Add inline keyword.
41960 * elf/tst-auditmod4b.c (check_avx): Likewise.
41961 * elf/tst-auditmod6b.c (check_avx): Likewise.
41962 * elf/tst-auditmod6c.c (check_avx): Likewise.
41963 * elf/tst-auditmod7b.c (check_avx): Likewise.
41965 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41967 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41970 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41973 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41974 processing for last bytes.
41976 2011-08-06 Bruno Haible <bruno@clisp.org>
41979 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41980 U+0385, not to U+1FEE.
41983 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41984 entry for U+00A5 U+0301.
41986 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41989 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41990 buffer for the output is too small.
41992 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41996 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41997 SSE flags if possible.
41999 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42002 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42003 processing for last bytes.
42005 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42007 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42008 (syscall-list-default-options, syscall-list-default-condition)
42009 (syscall-list-includes): Define.
42010 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42011 list of ABIs and options and #if conditions for each ABI. Do not
42012 handle common syscalls between ABIs specially.
42013 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42015 (syscall-list-variants, syscall-list-32bit-options)
42016 (syscall-list-32bit-condition, syscall-list-64bit-options)
42017 (syscall-list-64bit-condition): Define.
42018 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42019 (syscall-list-variants, syscall-list-32bit-options)
42020 (syscall-list-32bit-condition, syscall-list-64bit-options)
42021 (syscall-list-64bit-condition): Define.
42022 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42024 (syscall-list-variants, syscall-list-32bit-options)
42025 (syscall-list-32bit-condition, syscall-list-64bit-options)
42026 (syscall-list-64bit-condition): Define.
42027 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42029 (syscall-list-variants, syscall-list-32bit-options)
42030 (syscall-list-32bit-condition, syscall-list-64bit-options)
42031 (syscall-list-64bit-condition): Define.
42033 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42035 * locale/iso-639.def: Add brx entry.
42038 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42039 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42041 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42042 __feraiseexcept_renamed.
42044 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42047 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42048 EPOLLET with unsigned values.
42049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42050 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42052 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42053 to large cancellation.
42054 * math/s_cacoshf.c: Likewise.
42055 * math/s_cacoshl.c: Likewise.
42057 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42061 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42062 * math/s_cacoshf.c: Likewise.
42063 * math/s_cacoshl.c: Likewise.
42065 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42068 * iconv/gconv.h: Define __GCONV_SWAP.
42069 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42070 * iconvdata/utf-16.c: Likewise.
42071 * iconvdata/utf-32.c: Likewise.
42073 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42077 numerator after shifting it by one limb.
42079 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42081 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42082 under [__USE_EXTERN_INLINES].
42084 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42087 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42089 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42091 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42092 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42094 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42095 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42096 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42097 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42098 for strncasecmp/strncasecmp_l compilation.
42099 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42100 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42102 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42105 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42108 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42111 * time/tzfile.c (__tzfile_read): Check values from file header.
42113 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42115 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42116 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42117 * powerpc/powerpc32/dl-start.S: Likewise.
42118 * powerpc/powerpc32/elf/start.S: Likewise.
42119 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42120 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42121 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42122 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42123 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42124 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42125 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42126 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42127 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42128 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42129 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42130 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42131 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42132 * powerpc/powerpc32/memset.S: Likewise.
42133 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42134 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42135 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42136 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42137 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42138 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42139 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42140 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42141 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42142 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42143 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42144 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42145 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42147 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42149 * math/libm-test.inc: Added more nearbyint tests.
42150 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42151 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42155 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42157 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42160 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42162 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42163 Add wcscpy-ssse3 wcscpy-c.
42164 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42165 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42166 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42167 * sysdeps/x86_64/wcschr.S: New file.
42168 * sysdeps/x86_64/wcsrchr.S: New file.
42169 * string/test-strcmp.c: Remove checking of wcscmp function for
42171 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42172 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42173 wcsrchr-sse2 wcsrchr-c.
42174 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42175 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42176 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42177 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42178 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42179 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42180 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42181 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42182 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42183 * wcsmbc/wcschr.c (WCSCHR): New macro.
42185 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42187 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42188 * wcsmbs/test-wcsrchr.c: New file.
42189 * string/test-strrchr.c: Add wcsrchr support.
42191 * wcsmbs/test-wcscpy.c: New file.
42192 * string/test-strcpy.c: Add wcscpy support.
42195 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42197 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42200 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42203 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42205 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42208 Minor optimizations.
42210 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42211 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42212 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42214 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42216 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42217 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42218 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42219 for gcc to avoid warnings.
42220 * inet/Makefile (tests): Add tst-checks.
42221 * inet/tst-checks.c: New file.
42223 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42226 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42229 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42230 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42232 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42234 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42236 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42239 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42241 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42243 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42244 conditional on GCC version.
42245 (__arch_compare_and_exchange_val_8_acq)
42246 (__arch_compare_and_exchange_val_16_acq)
42247 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42248 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42249 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42251 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42253 * sysdeps/sh/backtrace.c: New file.
42255 2011-12-02 Andreas Schwab <schwab@redhat.com>
42257 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42260 2011-12-01 Andreas Schwab <schwab@redhat.com>
42262 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42263 falling back to utime.
42265 2011-11-30 Andreas Schwab <schwab@redhat.com>
42267 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42268 expectations for float.
42270 2011-11-29 Andreas Schwab <schwab@redhat.com>
42272 * locale/weight.h (findidx): Add parameter len.
42273 * locale/weightwc.h (findidx): Likewise.
42274 * posix/fnmatch_loop.c (FCT): Adjust caller.
42275 * posix/regcomp.c (build_equiv_class): Likewise.
42276 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42277 * posix/regexec.c (check_node_accept_bytes): Likewise.
42278 * string/strcoll_l.c (STRCOLL): Likewise.
42279 * string/strxfrm_l.c (STRXFRM): Likewise.
42281 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42283 * Makefile.in: Remove CVSOPT handling.
42284 * configure.in: Remove use of AC_REVISION.
42285 * iconvdata/Makefile (distribute): No need to filter out CVS.
42286 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42289 2011-11-16 Andreas Schwab <schwab@redhat.com>
42291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42292 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42293 [USE_AS_STRNCASECMP_L]: Likewise.
42294 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42295 NO_TLS_DIRECT_SEG_REFS.
42296 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42297 Fix argument offsets for non-PIC.
42298 [USE_AS_STRNCASECMP_L]: Likewise.
42299 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42300 NO_TLS_DIRECT_SEG_REFS.
42302 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42304 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42306 * locale/loadlocale.c (_nl_load_locale): Likewise.
42308 2011-11-15 Andreas Schwab <schwab@redhat.com>
42310 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42311 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42312 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42313 (SYSCALL_GETTIME): Set errno on error.
42315 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42316 count references to noai6ai_cached.
42318 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42320 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42322 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42323 FD_CLOEXEC for /proc/self/maps.
42325 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42326 FD_CLOEXEC for /proc/meminfo.
42328 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42331 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42332 FD_CLOEXEC for given file.
42334 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42336 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42337 FD_CLOEXEC for /etc/hosts.
42338 (_gethtent): Likewise.
42340 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42342 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42343 cancellation and set FD_CLOEXEC for /etc/netgroup.
42345 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42346 reading /etc/publickey.
42348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42349 allow cancellation when reading /etc/group.
42351 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42353 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42355 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42356 when using data file.
42358 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42360 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42361 (write_nis_obj): Use "c" and "e" in fopen.
42363 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42365 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42367 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42369 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42371 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42374 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42376 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42378 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42380 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42381 file parsing and set FD_CLOEXEC.
42383 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42385 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42387 2011-11-14 Andreas Schwab <schwab@redhat.com>
42389 * malloc/arena.c (arena_get2): Don't call reused_arena when
42390 _int_new_arena failed.
42392 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42394 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42395 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42397 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42398 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42399 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42400 to compile strcasecmp and strncasecmp.
42401 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42402 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42406 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42408 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42409 locale-defines.sym to gen-as-const-headers.
42410 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42411 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42413 to compile strcasecmp and strncasecmp.
42414 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42415 strcasecmp_l and strncasecmp_l.
42416 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42417 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42418 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42419 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42420 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42421 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42422 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42423 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42424 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42425 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42426 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42428 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42430 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42431 result of SYSDEP_GETTIME_CPU to retval.
42432 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42433 parameter list to macro. Remove trailing semicolon. Adjust users.
42435 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42438 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42440 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42442 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42443 from unused variable.
42445 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42447 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42450 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42453 * sunrpc/rpc_prot.c (rejected): Fix case value.
42455 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42456 unsigned long long int to avoid warnings in shift.
42458 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42460 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42463 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42464 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42465 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42467 * nis/nis_table.c (nis_list): Use variable of correct type for
42468 result of __follow_path call.
42470 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42472 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42473 of math functions ceil, trunc, floor, round, and sqrt, when
42474 avaliable on the platform.
42475 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42477 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42478 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42479 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42481 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42483 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42486 2011-11-11 Roland McGrath <roland@hack.frob.com>
42488 * include/unistd.h: Fix __readlink return type.
42489 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42491 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42493 * stdlib/ucontext.h: Undo last change for makecontext.
42495 2011-11-11 Andreas Schwab <schwab@redhat.com>
42497 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42499 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42500 * setjmp/setjmp.h: Mark functions as non-leaf.
42501 * setjmp/bits/setjmp2.h: Likewise.
42502 * stdlib/ucontext.h: Likewise.
42504 2011-11-10 Andreas Schwab <schwab@redhat.com>
42506 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42507 (reused_arena): Don't check arena limit.
42508 (arena_get2): Atomically check arena limit.
42510 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42512 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42513 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42518 2011-11-07 Andreas Schwab <schwab@redhat.com>
42520 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42521 handler when locking.
42523 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42524 Fix size of allocated buffer.
42526 2011-11-04 Andreas Schwab <schwab@redhat.com>
42529 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42530 declarations for long double functions.
42531 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42533 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42535 2011-11-03 Andreas Schwab <schwab@redhat.com>
42537 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42540 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42543 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42545 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42547 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42549 * include/alloca.h (stackinfo_alloca_round): Define.
42550 (extend_alloca): Use it.
42551 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42552 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42555 * scripts/check-local-headers.sh: Ignore libaudit.h.
42557 * nscd/Makefile (extra-objs): Make recursively expanded.
42559 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42561 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42562 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42564 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42565 * posix/tst-rfc3484-2.c: Likewise.
42566 * posix/tst-rfc3484-3.c: Likewise.
42568 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42570 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42572 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42573 process_vm_writev from libc using GLIBC_2.15 version.
42575 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42577 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42579 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42582 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42585 * nss/getent.c (initgroups_keys): Show error message in case no group
42588 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42589 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42590 __bump_nl_timestamp.
42591 * nscd/connections (nscd_init): When host database is served open
42592 netlink socket and request notification about configuration changes.
42593 (main_loop_poll): Track netlink file descriptor and bump timestamp
42594 in case data becomes available.
42595 (main_loop_epoll): Likewise.
42596 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42597 (database_pers_head): Add extra_data fileds.
42598 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42599 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42600 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42603 in6ai data, call __free_in6ai.
42604 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42605 Add -DHAVE_NETLINK.
42606 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42607 interface information. Reuse previous data if netlink timestamp
42609 (__bump_nl_timestamp): New function.
42610 (__free_in6ai): New function.
42612 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42614 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42615 close_not_cancel_no_status here.
42616 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42618 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42621 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42624 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42625 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42626 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42628 2011-07-03 Andreas Jaeger <aj@suse.de>
42631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42632 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42633 * math/libm-test.inc (sin_test): Add test case.
42635 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42638 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42639 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42641 * elf/chroot_canon.c (chroot_canon): Cleanups.
42643 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42646 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42647 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42649 * string/test-strchr.c: Make usable for strchrnul testing.
42650 * string/test-strchrnul.c: New file.
42651 * string/Makefile (strop-tests): Add strchrnul.
42653 * po/it.po: Update from translation team.
42654 * po/es.po: Likewise.
42656 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42658 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42659 the three constants needed as parameters. Drop the others.
42660 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42661 __m128i_strloadu_tolower.
42662 Create and initialize variable zero and use it in all the places
42663 where _mm_setzero_si128 was used.
42665 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42666 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42667 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42668 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42670 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42671 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42672 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42673 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42674 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42675 __mpranred, __mptan.
42676 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42677 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42678 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42679 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42680 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42681 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42684 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42686 2011-10-28 Andreas Schwab <schwab@redhat.com>
42688 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42689 redefine if SHARED.
42690 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42693 wide char related routines to wcsmbs subdir.
42695 2011-10-27 Andreas Schwab <schwab@redhat.com>
42698 * misc/sys/cdefs.h (__THROWNL): Define.
42699 * posix/unistd.h: Use __THREADNL instead of __THREAD
42700 for memory synchronization functions.
42702 2011-10-26 Roland McGrath <roland@hack.frob.com>
42705 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42707 * manual/stdio.texi (Obstack Streams): Node removed.
42709 2011-10-26 Andreas Schwab <schwab@redhat.com>
42711 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42713 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42715 * math/math_private.h (math_force_eval): Allow non-addressable
42717 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42719 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42721 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42722 file is not needed.
42724 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42726 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42727 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42729 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42731 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42733 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42734 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42735 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42736 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42737 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42738 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42739 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42740 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42741 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42742 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42743 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42744 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42746 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42747 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42748 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42749 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42750 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42751 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42753 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42754 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42757 place. Use VEX encoding when compiling for AVX.
42759 2011-10-25 Andreas Schwab <schwab@redhat.com>
42761 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42762 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42764 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42766 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42768 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42769 useless if() expression.
42770 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42771 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42772 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42777 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42779 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42780 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42781 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42782 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42783 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42784 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42785 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42786 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42788 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42790 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42792 2011-10-25 Andreas Schwab <schwab@redhat.com>
42794 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42796 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42798 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42800 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42801 .text section. Avoid duplicate constants.
42802 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42804 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42812 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42813 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42814 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42815 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42819 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42822 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42823 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42824 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42825 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42826 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42827 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42828 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42829 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42830 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42831 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42832 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42833 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42834 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42835 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42836 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42837 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42838 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42839 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42840 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42841 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42842 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42844 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42845 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42846 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42848 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42850 * sysdeps/x86_64/dla.h: Move to ...
42851 * sysdeps/x86_64/fpu/dla.h: ...here.
42852 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42853 situations. Use __builtin_fma only for gcc 4.6 and up.
42855 * config.make.in: Add have-mfma4 entry.
42856 * configure.in: Substitute libc_cv_cc_fma4.
42857 * math/Makefile (dbl-only-routines): Add sincostab.
42858 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42859 Use __sincostab not sincos.
42860 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42862 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42867 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42868 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42869 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42870 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42872 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42873 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42875 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42876 define aliases when function name is a macro.
42877 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42878 sysdeps/ieee754/dbl-64/sincos.tbl.
42879 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42880 fma4-enabled routines.
42881 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42882 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42883 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42884 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42885 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42886 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42888 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42890 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42891 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42893 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42894 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42895 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42896 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42897 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42898 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42899 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42900 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42901 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42902 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42903 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42907 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42908 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42909 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42910 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42912 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42923 2011-10-24 Andreas Schwab <schwab@redhat.com>
42925 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42927 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42931 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42933 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42935 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42936 Remove unused variable magic_bits.
42937 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42939 * string/strnlen.c: Define and use STRNLEN macro.
42940 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42941 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42943 * wcsmbs/wcslen.c: Define and use WCSLEN.
42944 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42945 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42946 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42947 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42948 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42949 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42950 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42952 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42955 strnlen-sse2-no-bsf.
42956 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42958 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42959 Add strnlen support.
42960 (USE_AS_STRNLEN): New macro.
42961 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42962 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42963 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42964 * sysdeps/x86_64/wcslen.S: New file.
42966 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42969 XMM-moves are used for copying on small sizes.
42971 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42973 * wcsmbs/Makefile (strop-tests): Add wcschr.
42974 * wcsmbs/test-wcschr.c: New file.
42975 * string/test-strchr.c: Update.
42976 Add wcschr support.
42979 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42981 * wcsmbs/Makefile (strop-tests): Add wcslen.
42982 * wcsmbs/test-wcslen.c: New file.
42983 * string/test-strlen.c: Update.
42984 Add wcslen support.
42987 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42989 * po/it.po: Update from translation team.
42991 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42993 * sysdeps/x86_64/wcscmp.S: Update.
42994 Fix wrong comparison semantics.
42995 wcscmp shall use signed comparison not unsigned.
42996 Don't use substraction to avoid overflow bug.
42997 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42998 * wcsmbc/wcscmp.c: Likewise.
42999 * string/test-strcmp.c: Likewise.
43000 Add new tests to check cases with negative values.
43002 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43004 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43005 * sysdeps/x86_64/dla.h: ...here. New file.
43006 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43016 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43019 __ynl_finite aliases.
43021 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43025 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43027 [DLA_FMA] (EMULV): Use DLA_FMA.
43028 [DLA_FMA] (MUL12): Use EMULV.
43029 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43030 that are not needed.
43031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43039 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43041 * math/s_nan.c: Undef __nan.
43042 * math/s_nanf.c: Undef __nanf.
43043 * math/s_nanl.c: Undef __nanl.
43044 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43047 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43049 * math/s_catan.c: Add branch predictions.
43050 * math/s_catanf.c: Likewise.
43051 * math/s_catanh.c: Likewise.
43052 * math/s_catanhf.c: Likewise.
43053 * math/s_catanhl.c: Likewise.
43054 * math/s_catanl.c: Likewise.
43055 * math/s_cexp.c: Likewise.
43056 * math/s_cexpf.c: Likewise.
43057 * math/s_cexpl.c: Likewise.
43058 * math/s_clog.c: Likewise.
43059 * math/s_clog10.c: Likewise.
43060 * math/s_clog10f.c: Likewise.
43061 * math/s_clog10l.c: Likewise.
43062 * math/s_clogf.c: Likewise.
43063 * math/s_clogl.c: Likewise.
43064 * math/s_csqrt.c: Likewise.
43065 * math/s_csqrtf.c: Likewise.
43066 * math/s_csqrtl.c: Likewise.
43067 * math/s_ctanf.c: Likewise.
43068 * math/s_ctanh.c: Likewise.
43069 * math/s_ctanhf.c: Likewise.
43070 * math/s_ctanhl.c: Likewise.
43071 * math/s_ctanl.c: Likewise.
43073 * math/math_private.h: Define __nan, __nanf, __nanl.
43074 * math/s_cacosh.c: Include <math_private.h>.
43075 * math/s_cacoshl.c: Likewise.
43076 * math/s_casinh.c: Likewise.
43077 * math/s_casinhf.c: Likewise.
43078 * math/s_casinhl.c: Likewise.
43079 * math/s_ccos.c: Rely entire on ccosh.
43080 * math/s_ccosf.c: Rely entire on ccoshf.
43081 * math/s_ccosl.c: Rely entirely on ccoshl.
43082 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43083 Remove tests for FE_INVALID.
43084 * math/s_ccoshf.c: Likewise.
43085 * math/s_ccoshl.c: Likewise.
43086 * math/s_csin.c: Likewise.
43087 * math/s_csinf.c: Likewise.
43088 * math/s_csinh.c Likewise.
43089 * math/s_csinhf.c: Likewise.
43090 * math/s_csinhl.c: Likewise.
43091 * math/s_csinl.c: Likewise.
43092 * math/s_ctan.c: Likewise.
43093 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43094 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43095 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43097 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43100 compilation problems.
43102 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43105 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43107 * sysdeps/i386/configure.in: Test for -mfma4 option.
43108 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43109 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43110 COMMON_CPUID_INDEX_80000001.
43111 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43112 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43113 use it if FMA3 is not supported.
43114 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43116 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43117 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43119 2011-10-20 Andreas Schwab <schwab@redhat.com>
43122 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43123 it would create a cycle with a link time dependency.
43125 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43127 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43129 * string/Makefile (strop-tests): Add rawmemchr.
43130 * string/test-rawmemchr.c: New file.
43132 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43134 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43135 when compiling str{,n}casecmp and when AVX is available. Hook up
43136 new optimized code in initializers.
43138 2011-10-19 Andreas Schwab <schwab@redhat.com>
43140 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43141 __feraiseexcept instead of feraiseexcept.
43143 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43145 * math/math_private.h: Define defaults for libc_fetestexcept and
43147 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43148 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43149 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43150 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43152 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43153 libc_fetestexcept and libc_feupdateenv.
43155 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43156 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43157 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43158 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43159 libc_feholdexcept_setround.
43161 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43162 Add s_nearbyint-c and s_nearbyintf-c.
43163 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43164 nearbyintf inlines.
43165 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43166 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43167 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43168 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43170 * math/math_private.h: Define defaults for libc_fegetround,
43171 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43172 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43173 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43174 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43175 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43176 standard functions.
43177 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43178 Remove comments and hacks for old compiler versions.
43179 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43180 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43181 libc_feholdexceptl.
43183 2011-10-18 Andreas Schwab <schwab@redhat.com>
43185 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43186 (__feraiseexcept_renamed): Add __NTH.
43187 (feraiseexcept): Add __NTH. Rename local variables to fix
43188 namespace violations.
43190 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43192 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43194 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43196 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43197 recently added interfaces.
43198 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43200 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43201 about macro parameter expansion.
43203 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43204 __NO_MATH_INLINES is defined. Cleanups.
43206 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43207 and __floorf is target has SSE4.1.
43208 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43209 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43210 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43211 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43213 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43215 (floorf): Likewise.
43217 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43219 2011-10-17 Andreas Schwab <schwab@redhat.com>
43221 * misc/sys/cdefs.h: Fix last change.
43223 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43226 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43228 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43230 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43236 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43239 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43240 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43241 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43242 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43243 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43244 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43245 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43246 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43247 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43248 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43249 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43250 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43251 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43253 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43254 ceil, ceilf, floor, floorf.
43256 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43257 Perform IRELATIVE relocations last.
43259 * elf/do-rel.h: Add another parameter nrelative, replacing the
43260 local variable with the same name. Change name of the function
43261 to end in Rel or Rela (uppercase).
43262 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43263 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43264 elf_dynamic_do_##reloc function.
43266 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43268 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43269 is sufficient, at least on modern CPUs.
43271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43273 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43276 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43278 * math/bits/math-finite.h: Add entries for exp.
43279 * math/e_expl.c: Add __*_finite alias.
43280 * sysdeps/i386/fpu/e_exp.S: Likewise.
43281 * sysdeps/i386/fpu/e_expf.S: Likewise.
43282 * sysdeps/i386/fpu/e_expl.c: Likewise.
43283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43284 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43287 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43288 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43289 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43291 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43292 is sufficient, at least on modern CPUs.
43294 * ctype/ctype-info.c (__ctype_init): Define.
43295 * include/ctype.h (__ctype_init): Declare.
43296 (__ctype_b_loc): The variable is always initialized.
43297 (__ctype_toupper_loc): Likewise.
43298 (__ctype_tolower_loc): Likewise.
43299 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43300 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43302 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43304 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43306 * configure.in: Also look in $cxxmachine/include for C++ system
43309 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43311 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43312 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43313 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43314 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43315 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43316 (USE_AS_WMEMCMP): New macro.
43318 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43319 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43320 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43321 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43323 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43324 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43325 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43326 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43327 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43328 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43329 (USE_AS_WMEMCMP): New macro.
43330 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43331 * sysdeps/string/test-memcmp.c: Update.
43332 Fix simple_wmemcmp.
43334 * wcsmbs/wmemcmp.c: Update.
43335 (WMEMCMP): New macro.
43338 2011-10-12 Andreas Jaeger <aj@suse.de>
43341 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43343 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43345 * libio/iofwide.c (do_length): Avoid warning.
43347 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43349 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43351 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43353 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43354 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43355 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43356 * sysdeps/i386/i686/fpu/e_log.S: New file.
43357 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43358 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43360 * ctype/ctype.h: Add support for inlined isXXX functions when
43361 compiling C++ code.
43363 2011-10-14 Andreas Schwab <schwab@redhat.com>
43365 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43367 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43369 2011-10-13 Roland McGrath <roland@hack.frob.com>
43372 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43374 2011-10-13 Andreas Schwab <schwab@redhat.com>
43376 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43377 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43380 * sysdeps/x86_64/memrchr.S: Check for zero size.
43382 * string/stratcliff.c: Add memrchr tests.
43384 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43387 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43388 rawmemchr-sse2 rawmemchr-sse2-bsf.
43389 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43390 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43391 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43392 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43393 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43394 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43395 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43396 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43397 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43398 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43399 * string/memrchr.c (MEMRCHR): New macro.
43401 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43403 Add integration with gcc's -ffinite-math-only and optimize wrapper
43405 * Versions.def: Define GLIBC_2.15 version for libm.
43406 * math/Makefile (headers): Add bits/math-finite.h.
43407 * math/bits/math-finite.h: New file.
43408 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43409 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43410 * math/e_acoshl.c: Add __*_finite alias.
43411 * math/e_acosl.c: Likewise.
43412 * math/e_asinl.c: Likewise.
43413 * math/e_atan2l.c: Likewise.
43414 * math/e_atanhl.c: Likewise.
43415 * math/e_coshl.c: Likewise.
43416 * math/e_exp10.c: Likewise.
43417 * math/e_exp10f.c: Likewise.
43418 * math/e_exp10l.c: Likewise.
43419 * math/e_exp2l.c: Likewise.
43420 * math/e_fmodl.c: Likewise.
43421 * math/e_gammal_r.c: Likewise.
43422 * math/e_hypotl.c: Likewise.
43423 * math/e_j0l.c: Likewise.
43424 * math/e_j1l.c: Likewise.
43425 * math/e_jnl.c: Likewise.
43426 * math/e_lgammal_r.c: Likewise.
43427 * math/e_log10l.c: Likewise.
43428 * math/e_log2l.c: Likewise.
43429 * math/e_logl.c: Likewise.
43430 * math/e_powl.c: Likewise.
43431 * math/e_sinhl.c: Likewise.
43432 * math/e_sqrtl.c: Likewise.
43433 * math/e_scalb.c: Completely rewritten and optimized.
43434 * math/e_scalbf.c: Likewise.
43435 * math/e_scalbl.c: Likewise.
43436 * math/w_acos.c: Likewise.
43437 * math/w_acosf.c: Likewise.
43438 * math/w_acosl.c: Likewise.
43439 * math/w_acosh.c: Likewise.
43440 * math/w_acoshf.c: Likewise.
43441 * math/w_acoshl.c: Likewise.
43442 * math/w_asin.c: Likewise.
43443 * math/w_asinf.c: Likewise.
43444 * math/w_asinl.c: Likewise.
43445 * math/w_atan2.c: Likewise.
43446 * math/w_atan2f.c: Likewise.
43447 * math/w_atan2l.c: Likewise.
43448 * math/w_atanh.c: Likewise.
43449 * math/w_atanhf.c: Likewise.
43450 * math/w_atanhl.c: Likewise.
43451 * math/w_exp10.c: Likewise.
43452 * math/w_exp10f.c: Likewise.
43453 * math/w_exp10l.c: Likewise.
43454 * math/w_fmod.c: Likewise.
43455 * math/w_fmodf.c: Likewise.
43456 * math/w_fmodl.c: Likewise.
43457 * math/w_j0.c: Likewise.
43458 * math/w_j0f.c: Likewise.
43459 * math/w_j0l.c: Likewise.
43460 * math/w_j1.c: Likewise.
43461 * math/w_j1f.c: Likewise.
43462 * math/w_j1l.c: Likewise.
43463 * math/w_jn.c: Likewise.
43464 * math/w_jnf.c: Likewise.
43465 * math/w_log.c: Likewise.
43466 * math/w_logf.c: Likewise.
43467 * math/w_logl.c: Likewise.
43468 * math/w_log10.c: Likewise.
43469 * math/w_log10f.c: Likewise.
43470 * math/w_log10l.c: Likewise.
43471 * math/w_log2.c: Likewise.
43472 * math/w_log2f.c: Likewise.
43473 * math/w_log2l.c: Likewise.
43474 * math/w_pow.c: Likewise.
43475 * math/w_powf.c: Likewise.
43476 * math/w_powl.c: Likewise.
43477 * math/w_remainder.c: Likewise.
43478 * math/w_remainderf.c: Likewise.
43479 * math/w_remainderl.c: Likewise.
43480 * math/w_scalb.c: Likewise.
43481 * math/w_scalbf.c: Likewise.
43482 * math/w_scalbl.c: Likewise.
43483 * math/w_sqrt.c: Likewise.
43484 * math/w_sqrtf.c: Likewise.
43485 * math/w_sqrtl.c: Likewise.
43486 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43487 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43489 * math/math_private.h: Declare __kernel_standard_f.
43490 * math/w_cosh.c: Remove cruft and optimize a bit.
43491 * math/w_coshf.c: Likewise.
43492 * math/w_coshl.c: Likewise.
43493 * math/w_exp2.c: Likewise.
43494 * math/w_exp2f.c: Likewise.
43495 * math/w_exp2l.c: Likewise.
43496 * math/w_hypot.c: Likewise.
43497 * math/w_hypotf.c: Likewise.
43498 * math/w_hypotl.c: Likewise.
43499 * math/w_lgamma.c: Likewise.
43500 * math/w_lgamma_r.c: Likewise.
43501 * math/w_lgammaf.c: Likewise.
43502 * math/w_lgammaf_r.c: Likewise.
43503 * math/w_lgammal.c: Likewise.
43504 * math/w_lgammal_r.c: Likewise.
43505 * math/w_sinh.c: Likewise.
43506 * math/w_sinhf.c: Likewise.
43507 * math/w_sinhl.c: Likewise.
43508 * math/w_tgamma.c: Likewise.
43509 * math/w_tgammaf.c: Likewise.
43510 * math/w_tgammal.c: Likewise.
43511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43513 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43514 Minor optimizations. Pretty printing. Remove cruft.
43515 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43516 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43517 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43518 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43519 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43520 * sysdeps/i386/fpu/e_asin.S: Likewise.
43521 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43522 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43523 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43524 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43525 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43526 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43527 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43528 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43529 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43530 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43531 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43532 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43533 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43534 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43535 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43536 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43537 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43538 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43539 * sysdeps/i386/fpu/e_log.S: Likewise.
43540 * sysdeps/i386/fpu/e_log10.S: Likewise.
43541 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43543 * sysdeps/i386/fpu/e_log2.S: Likewise.
43544 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43545 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43546 * sysdeps/i386/fpu/e_logf.S: Likewise.
43547 * sysdeps/i386/fpu/e_logl.S: Likewise.
43548 * sysdeps/i386/fpu/e_pow.S: Likewise.
43549 * sysdeps/i386/fpu/e_powf.S: Likewise.
43550 * sysdeps/i386/fpu/e_powl.S: Likewise.
43551 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43552 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43553 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43554 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43557 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43558 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43559 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43560 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43563 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43570 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43571 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43573 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43574 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43580 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43581 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43582 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43583 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43584 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43585 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43586 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43587 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43588 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43598 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43599 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43600 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43601 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43602 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43603 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43604 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43605 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43607 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43608 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43609 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43610 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43611 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43612 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43615 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43616 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43617 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43619 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43620 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43621 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43624 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43625 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43631 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43636 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43637 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43638 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43639 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43640 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43641 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43642 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43643 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43645 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43647 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43648 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43649 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43650 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43651 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43652 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43653 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43654 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43655 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43656 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43657 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43658 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43659 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43660 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43661 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43662 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43663 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43664 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43665 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43666 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43667 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43668 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43670 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43671 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43672 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43673 (__isnanf): Likewise.
43674 (__isinf_ns): Likewise.
43675 (__isinf_nsf): Likewise.
43676 (__finite): Likewise.
43677 (__finitef): Likewise.
43678 (__ieee754_sqrt): Define as macro.
43679 (__ieee754_sqrtf): Define as macro.
43680 (__ieee754_sqrtl): Define as macro.
43681 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43683 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43684 __FINITE_MATH_ONLY__ consistent.
43685 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43687 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43689 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43692 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43694 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43696 * po/ja.po: Update from translation team.
43698 2011-10-08 Roland McGrath <roland@hack.frob.com>
43700 * locale/programs/locarchive.c (prepare_address_space): New function.
43701 (create_archive, enlarge_archive, open_archive): Use it.
43703 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43704 inside [SHARED], where it is used.
43706 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43708 * nss/getent.c (netgroup_keys): Remove unused variable.
43709 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43711 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43713 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43714 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43717 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43718 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43719 * math/Makefile (libm-calls): Add s_isinf_ns.
43720 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43721 * math/multc3.c: Likewise.
43722 * math/s_casin.c: Likewise.
43723 * math/s_casinf.c: Likewise.
43724 * math/s_casinl.c: Likewise.
43725 * math/s_ccos.c: Likewise.
43726 * math/s_ccosf.c: Likewise.
43727 * math/s_ccosl.c: Likewise.
43728 * math/s_ctan.c: Likewise.
43729 * math/s_ctanf.c: Likewise.
43730 * math/s_ctanh.c: Likewise.
43731 * math/s_ctanhf.c: Likewise.
43732 * math/s_ctanhl.c: Likewise.
43733 * math/s_ctanl.c: Likewise.
43734 * math/w_fmod.c: Likewise.
43735 * math/w_fmodf.c: Likewise.
43736 * math/w_fmodl.c: Likewise.
43737 * math/w_remainder.c: Likewise.
43738 * math/w_remainderf.c: Likewise.
43739 * math/w_remainderl.c: Likewise.
43740 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43741 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43742 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43744 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43745 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43746 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43747 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43749 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43751 * stdio-common/printf_fphex.c: Likewise.
43752 * stdio-common/printf_size.c: Likewise.
43754 * math/e_exp10.c: Include math_private.h using <...> not "...".
43755 * math/e_exp10f.c: Likewise.
43756 * math/e_exp10l.c: Likewise.
43757 * math/e_exp2l.c: Likewise.
43758 * math/e_j0l.c: Likewise.
43759 * math/e_j1l.c: Likewise.
43760 * math/e_jnl.c: Likewise.
43761 * math/e_lgammal_r.c: Likewise.
43762 * math/e_rem_pio2l.c: Likewise.
43763 * math/e_scalb.c: Likewise.
43764 * math/e_scalbf.c: Likewise.
43765 * math/e_scalbl.c: Likewise.
43766 * math/k_cosl.c: Likewise.
43767 * math/k_sinl.c: Likewise.
43768 * math/k_tanl.c: Likewise.
43769 * math/s_cacoshf.c: Likewise.
43770 * math/s_catan.c: Likewise.
43771 * math/s_catanf.c: Likewise.
43772 * math/s_catanh.c: Likewise.
43773 * math/s_catanhf.c: Likewise.
43774 * math/s_catanhl.c: Likewise.
43775 * math/s_catanl.c: Likewise.
43776 * math/s_ccosh.c: Likewise.
43777 * math/s_ccoshf.c: Likewise.
43778 * math/s_ccoshl.c: Likewise.
43779 * math/s_cexp.c: Likewise.
43780 * math/s_cexpf.c: Likewise.
43781 * math/s_cexpl.c: Likewise.
43782 * math/s_clog.c: Likewise.
43783 * math/s_clog10.c: Likewise.
43784 * math/s_clog10f.c: Likewise.
43785 * math/s_clog10l.c: Likewise.
43786 * math/s_clogf.c: Likewise.
43787 * math/s_clogl.c: Likewise.
43788 * math/s_csin.c: Likewise.
43789 * math/s_csinf.c: Likewise.
43790 * math/s_csinh.c: Likewise.
43791 * math/s_csinhf.c: Likewise.
43792 * math/s_csinhl.c: Likewise.
43793 * math/s_csinl.c: Likewise.
43794 * math/s_csqrt.c: Likewise.
43795 * math/s_csqrtf.c: Likewise.
43796 * math/s_csqrtl.c: Likewise.
43797 * math/s_ctan.c: Likewise.
43798 * math/s_ctanf.c: Likewise.
43799 * math/s_ctanh.c: Likewise.
43800 * math/s_ctanhf.c: Likewise.
43801 * math/s_ctanhl.c: Likewise.
43802 * math/s_ctanl.c: Likewise.
43803 * math/s_ldexp.c: Likewise.
43804 * math/s_ldexpf.c: Likewise.
43805 * math/s_ldexpl.c: Likewise.
43806 * math/s_significand.c: Likewise.
43807 * math/s_significandf.c: Likewise.
43808 * math/s_significandl.c: Likewise.
43809 * math/w_acos.c: Likewise.
43810 * math/w_acosf.c: Likewise.
43811 * math/w_acosh.c: Likewise.
43812 * math/w_acoshf.c: Likewise.
43813 * math/w_acoshl.c: Likewise.
43814 * math/w_acosl.c: Likewise.
43815 * math/w_asin.c: Likewise.
43816 * math/w_asinf.c: Likewise.
43817 * math/w_asinl.c: Likewise.
43818 * math/w_atan2.c: Likewise.
43819 * math/w_atan2f.c: Likewise.
43820 * math/w_atan2l.c: Likewise.
43821 * math/w_atanh.c: Likewise.
43822 * math/w_atanhf.c: Likewise.
43823 * math/w_atanhl.c: Likewise.
43824 * math/w_cosh.c: Likewise.
43825 * math/w_coshf.c: Likewise.
43826 * math/w_coshl.c: Likewise.
43827 * math/w_dremf.c: Likewise.
43828 * math/w_exp10.c: Likewise.
43829 * math/w_exp10f.c: Likewise.
43830 * math/w_exp10l.c: Likewise.
43831 * math/w_exp2.c: Likewise.
43832 * math/w_exp2f.c: Likewise.
43833 * math/w_fmod.c: Likewise.
43834 * math/w_fmodf.c: Likewise.
43835 * math/w_fmodl.c: Likewise.
43836 * math/w_hypot.c: Likewise.
43837 * math/w_hypotf.c: Likewise.
43838 * math/w_hypotl.c: Likewise.
43839 * math/w_j0.c: Likewise.
43840 * math/w_j0f.c: Likewise.
43841 * math/w_j0l.c: Likewise.
43842 * math/w_j1.c: Likewise.
43843 * math/w_j1f.c: Likewise.
43844 * math/w_j1l.c: Likewise.
43845 * math/w_jn.c: Likewise.
43846 * math/w_jnf.c: Likewise.
43847 * math/w_jnl.c: Likewise.
43848 * math/w_lgamma.c: Likewise.
43849 * math/w_lgamma_r.c: Likewise.
43850 * math/w_lgammaf.c: Likewise.
43851 * math/w_lgammaf_r.c: Likewise.
43852 * math/w_lgammal.c: Likewise.
43853 * math/w_lgammal_r.c: Likewise.
43854 * math/w_log.c: Likewise.
43855 * math/w_log10.c: Likewise.
43856 * math/w_log10f.c: Likewise.
43857 * math/w_log10l.c: Likewise.
43858 * math/w_log2.c: Likewise.
43859 * math/w_log2f.c: Likewise.
43860 * math/w_log2l.c: Likewise.
43861 * math/w_logf.c: Likewise.
43862 * math/w_logl.c: Likewise.
43863 * math/w_pow.c: Likewise.
43864 * math/w_powf.c: Likewise.
43865 * math/w_powl.c: Likewise.
43866 * math/w_remainder.c: Likewise.
43867 * math/w_remainderf.c: Likewise.
43868 * math/w_remainderl.c: Likewise.
43869 * math/w_scalb.c: Likewise.
43870 * math/w_scalbf.c: Likewise.
43871 * math/w_scalbl.c: Likewise.
43872 * math/w_sinh.c: Likewise.
43873 * math/w_sinhf.c: Likewise.
43874 * math/w_sinhl.c: Likewise.
43875 * math/w_sqrt.c: Likewise.
43876 * math/w_sqrtf.c: Likewise.
43877 * math/w_sqrtl.c: Likewise.
43878 * math/w_tgamma.c: Likewise.
43879 * math/w_tgammaf.c: Likewise.
43880 * math/w_tgammal.c: Likewise.
43882 * po/ja.po: Update from translation team.
43884 2011-09-29 Andreas Jaeger <aj@suse.de>
43887 * sunrpc/netname.c (netname2host): Fix logic.
43891 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43893 * math/w_remainder.c (__remainder): Likewise.
43894 * math/w_remainderf.c (__remainderf): Likewise.
43895 * math/libm-test.inc (remainder_test): Add test cases.
43897 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43899 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43902 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43904 * string/test-memcmp.c: Avoid unncessary #defines.
43905 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43907 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43909 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43910 Use new sse2 version for core i3 - i7 as it's faster
43911 than sse42 version.
43912 (bit_Prefer_PMINUB_for_stringop): New.
43913 * sysdeps/x86_64/rawmemchr.S: Update.
43914 Replace with faster SSE2 version.
43915 * sysdeps/x86_64/memrchr.S: New file.
43916 * sysdeps/x86_64/memchr.S: Update.
43917 Replace with faster SSE2 version.
43919 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43921 * elf/dl-load.c (lose): Add cast to avoid warning.
43923 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43925 * po/ca.po: Update from translation team.
43927 * inet/getnetgrent_r.c: Hook up nscd.
43928 * nscd/Makefile (routines): Add nscd_netgroup.
43929 (nscd-modules): Add netgroupcache.
43930 (CFLAGS-netgroupcache.c): Define.
43931 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43932 (cache_search): Add const to second parameter.
43933 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43935 (dbs): Add netgrdb entry.
43936 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43937 (verify_persistent_db): Handle netgrdb.
43938 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43939 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43941 (netgroup_response_header): Define.
43942 (innetgroup_response_header): Define.
43943 (datahead): Add netgroup_response_header and innetgroup_response_header
43945 * nscd/nscd.conf: Add entries for netgroup cache.
43946 * nscd/nscd.h (dbtype): Add netgrdb.
43947 (_PATH_NSCD_NETGROUP_DB): Define.
43948 (netgroup_iov_disabled): Declare.
43949 (xmalloc, xcalloc, xrealloc): Move declarations here.
43950 (cache_search): Adjust prototype.
43951 Add netgroup-related prototypes.
43952 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43953 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43954 (__nscd_innetgr): Declare.
43955 * nscd/selinux.c (perms): Use access_vector_t as element type and
43956 add netgroup-related initializers.
43957 * nscd/netgroupcache.c: New file.
43958 * nscd/nscd_netgroup.c: New file.
43959 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43960 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43961 For four parameters use innetgr.
43962 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43963 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43964 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43965 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43967 * nscd/connections.c (register_traced_file): Don't register file
43968 for disabled databases.
43970 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43972 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43974 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43975 from tree and freeing node.
43977 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43979 * nss/nsswitch.c (__nss_database_lookup): Handle
43980 nss_parse_service_list out of memory case.
43982 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43984 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43985 out of memory case.
43987 2011-10-04 Andreas Schwab <schwab@redhat.com>
43989 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43990 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43992 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43993 elf_machine_rela, elf_machine_lazy_rel.
43994 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43995 (ELF_DYNAMIC_DO_REL): Likewise.
43996 (ELF_DYNAMIC_DO_RELA): Likewise.
43997 (ELF_DYNAMIC_RELOCATE): Likewise.
43998 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43999 to ELF_DYNAMIC_DO_REL.
44000 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44001 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44002 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44005 skip_ifunc, don't call ifunc function if non-zero.
44006 (elf_machine_rela): Likewise.
44007 (elf_machine_lazy_rel): Likewise.
44008 (elf_machine_lazy_rela): Likewise.
44009 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44010 (elf_machine_lazy_rel): Likewise.
44011 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44013 (elf_machine_lazy_rel): Likewise.
44014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44016 (elf_machine_lazy_rel): Likewise.
44017 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44018 (elf_machine_lazy_rel): Likewise.
44019 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44020 (elf_machine_lazy_rel): Likewise.
44021 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44022 (elf_machine_lazy_rel): Likewise.
44023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44024 (elf_machine_lazy_rel): Likewise.
44025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44026 (elf_machine_lazy_rel): Likewise.
44027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44028 (elf_machine_lazy_rel): Likewise.
44030 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44032 * nss/nss_files/files-init.c (_nss_files_init): Use static
44033 initialization for all the *_traced_file variables.
44035 2011-09-28 Andreas Schwab <schwab@redhat.com>
44037 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44039 2011-09-27 Roland McGrath <roland@hack.frob.com>
44042 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44044 2011-09-27 Andreas Schwab <schwab@redhat.com>
44046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44047 Reread the line before reparsing it.
44049 2011-09-26 Andreas Schwab <schwab@redhat.com>
44051 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44053 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44054 Maxim Kuvyrkov <maxim@codesourcery.com>
44055 Joseph Myers <joseph@codesourcery.com>
44057 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44058 if needed for __stack_chk_guard.
44060 2011-09-19 Roland McGrath <roland@hack.frob.com>
44062 * sysdeps/posix/spawni.c (script_execute): Always define it.
44063 It will be optimized away if unused.
44064 (maybe_script_execute): New function.
44065 (__spawni): Call it.
44067 * Makerules: Don't include tls.make.
44068 (config-tls): Always set to thread.
44069 * tls.make.c: File removed.
44071 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44073 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44074 * config.make.in (CPPFLAGS-config): New substituted variable.
44076 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44078 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44081 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44082 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44084 2011-09-15 Roland McGrath <roland@hack.frob.com>
44086 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44087 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44089 (CALL_FAIL): Likewise.
44090 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44091 (CALL_FAIL): Macro removed.
44092 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44094 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44096 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44097 for __FINITE_MATH_ONLY__ == 1.
44099 2011-09-15 Andreas Schwab <schwab@redhat.com>
44101 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44102 __ieee754_sqrt instead of sqrt.
44103 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44104 __ieee754_sqrtf instead of sqrtf.
44105 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44106 __floorf instead of floorf.
44107 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44108 __floorf, __truncf instead of floorf, truncf.
44110 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44112 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44114 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44115 __extern_always_inline.
44116 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44119 2011-09-14 Andreas Schwab <schwab@redhat.com>
44121 * elf/rtld.c (dl_main): Also relocate in dependency order when
44122 doing symbol dependency testing.
44124 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44127 Always define `refsym'.
44129 2011-09-13 Andreas Schwab <schwab@redhat.com>
44131 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44132 (__FD_ELT): Renamed from __FDELT.
44133 * misc/bits/select2.h (__FD_ELT): Likewise.
44134 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44135 __FD_MASK instead of __FDELT, __FDMASK.
44136 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44138 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44141 * elf/Makefile (gen-ldd): Fix pattern.
44143 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44144 (init_tls): Likewise.
44146 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44150 2011-09-12 Andreas Schwab <schwab@redhat.com>
44152 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44153 `struct cmsghdr *' instead of `void *'.
44154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44157 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44159 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44161 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44162 ldd_rewrite_script.
44164 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44166 * configure.in: Remove --with-tls option.
44167 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44168 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44169 out in case it is missing.
44170 * sysdeps/ia64/elf/configure.in: Likewise.
44171 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44172 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44173 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44174 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44175 * sysdeps/sh/elf/configure.in: Likewise.
44176 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44177 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44178 * sysdeps/x86_64/elf/configure.in: Likewise.
44179 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44180 * sysdeps/mach/hurd/tls.h: Likewise.
44183 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44186 * configure.in: Fix use of AC_INIT.
44188 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44190 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44192 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44194 * malloc/hooks.c: Likewise.
44197 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44198 variables statically.
44199 (narenas): Initialize.
44200 (list_lock): Initialize.
44201 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44202 initializtion of main_arena and list_lock. Small cleanups.
44203 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44204 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44205 Add initializers to main_arena and mp_.
44206 (malloc_state): Remove pagesize member. Change all users to use
44209 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44210 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44211 is always initialized.
44213 * malloc/malloc.c: Removed unused configurations and dead code.
44214 * malloc/arena.c: Likewise.
44215 * malloc/hooks.c: Likewise.
44216 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44218 * include/tls.h: Removed. USE___THREAD must always be defined.
44219 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44220 * elf/dl-libc.c: Likewise.
44221 * elf/dl-tsd.c: Likewise.
44222 * include/errno.h: Likewise.
44223 * include/netdb.h: Likewise.
44224 * include/resolv.h: Likewise.
44225 * inet/herrno-loc.c: Likewise.
44226 * inet/herrno.c: Likewise.
44227 * malloc/arena.c: Likewise.
44228 * malloc/hooks.c: Likewise.
44229 * malloc/malloc.c: Likewise.
44230 * resolv/res-state.c: Likewise.
44231 * resolv/res_libc.c: Likewise.
44232 * sysdeps/i386/dl-machine.h: Likewise.
44233 * sysdeps/ia64/dl-machine.h: Likewise.
44234 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44235 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44236 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44237 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44238 * sysdeps/sh/dl-machine.h: Likewise.
44239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44240 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44241 * sysdeps/unix/i386/sysdep.S: Likewise.
44242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44243 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44245 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44246 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44248 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44252 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44253 * sysdeps/x86_64/dl-machine.h: Likewise.
44254 * tls.make.c: Likewise.
44256 * configure.in: Remove --with-__thread option. Make tests for
44257 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44258 tls_model attribute fail if no support is available. Remove
44260 * Makeconfig: Adjust for dropped configure option. All features are
44262 * Makerules: Likewise.
44263 * Versions.def: Likewise.
44264 * argp/argp-fmtstream.c: Likewise.
44265 * argp/argp-fmtstream.h: Likewise.
44266 * argp/argp-help.c: Likewise.
44267 * assert/assert.c: Likewise.
44268 * config.h.in: Likewise.
44269 * config.make.in: Likewise.
44270 * configure: Likewise.
44271 * configure.in: Likewise.
44272 * csu/Versions: Likewise.
44273 * csu/init.c: Likewise.
44274 * elf/tst-audit2.c: Likewise.
44275 * elf/tst-tls10.c: Likewise.
44276 * elf/tst-tls10.h: Likewise.
44277 * elf/tst-tls11.c: Likewise.
44278 * elf/tst-tls12.c: Likewise.
44279 * elf/tst-tls14.c: Likewise.
44280 * elf/tst-tlsmod11.c: Likewise.
44281 * elf/tst-tlsmod12.c: Likewise.
44282 * elf/tst-tlsmod13.c: Likewise.
44283 * elf/tst-tlsmod13a.c: Likewise.
44284 * elf/tst-tlsmod14a.c: Likewise.
44285 * elf/tst-tlsmod15b.c: Likewise.
44286 * elf/tst-tlsmod16a.c: Likewise.
44287 * elf/tst-tlsmod16b.c: Likewise.
44288 * elf/tst-tlsmod7.c: Likewise.
44289 * elf/tst-tlsmod8.c: Likewise.
44290 * elf/tst-tlsmod9.c: Likewise.
44291 * gmon/gmon.c: Likewise.
44292 * grp/fgetgrent_r.c: Likewise.
44293 * grp/putgrent.c: Likewise.
44294 * hurd/fopenport.c: Likewise.
44295 * include/libc-symbols.h: Likewise.
44296 * include/tls.h: Likewise.
44297 * intl/gettextP.h: Likewise.
44298 * intl/loadinfo.h: Likewise.
44299 * locale/global-locale.c: Likewise.
44300 * locale/localeinfo.h: Likewise.
44301 * mach/devstream.c: Likewise.
44302 * malloc/arena.c: Likewise.
44303 * malloc/set-freeres.c: Likewise.
44304 * misc/err.c: Likewise.
44305 * misc/getttyent.c: Likewise.
44306 * misc/mntent_r.c: Likewise.
44307 * posix/getopt.c: Likewise.
44308 * posix/wordexp.c: Likewise.
44309 * pwd/fgetpwent_r.c: Likewise.
44310 * resolv/Versions: Likewise.
44311 * resolv/res_hconf.c: Likewise.
44312 * shadow/fgetspent_r.c: Likewise.
44313 * shadow/putspent.c: Likewise.
44314 * stdio-common/printf_fphex.c: Likewise.
44315 * stdio-common/tmpfile.c: Likewise.
44316 * stdlib/abort.c: Likewise.
44317 * stdlib/fmtmsg.c: Likewise.
44318 * sunrpc/auth_unix.c: Likewise.
44319 * sunrpc/clnt_perr.c: Likewise.
44320 * sunrpc/clnt_tcp.c: Likewise.
44321 * sunrpc/clnt_udp.c: Likewise.
44322 * sunrpc/clnt_unix.c: Likewise.
44323 * sunrpc/openchild.c: Likewise.
44324 * sunrpc/svc_simple.c: Likewise.
44325 * sunrpc/svc_tcp.c: Likewise.
44326 * sunrpc/svc_udp.c: Likewise.
44327 * sunrpc/svc_unix.c: Likewise.
44328 * sunrpc/xdr.c: Likewise.
44329 * sunrpc/xdr_array.c: Likewise.
44330 * sunrpc/xdr_rec.c: Likewise.
44331 * sunrpc/xdr_ref.c: Likewise.
44332 * sunrpc/xdr_stdio.c: Likewise.
44334 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44336 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44338 2011-07-03 Andreas Jaeger <aj@suse.de>
44340 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44341 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44342 regenerate with gen-libm-tests.pl.
44344 2010-05-12 Petr Baudis <pasky@suse.cz>
44347 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44348 around j0() zero points by switching to j1().
44349 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44354 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44358 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44361 Patch in part by Pavel Roskin <proski@gnu.org>.
44364 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44366 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44367 Free memory block if necessary.
44370 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44371 be NULL. Don't lock in this case.
44373 2011-09-09 Roland McGrath <roland@hack.frob.com>
44375 * elf/elf.h (ELFOSABI_GNU): New macro.
44376 (ELFOSABI_LINUX): Define to that.
44378 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44380 * string/strncat.c (strncat): Undef the symbol in case it has been
44381 defined in bits/string.h.
44383 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44385 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44387 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44390 2011-08-17 Andreas Jaeger <aj@suse.de>
44392 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44394 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44395 Ian Lance Taylor <iant@google.com>
44397 * math/libm-test.inc (lround_test): New testcase.
44398 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44400 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44402 * Makefile: Remove support for automatic cvs check-ins.
44403 * Makerules: Likewise.
44404 * config.make.in: Likewise.
44405 * configure.in: Likewise.
44406 * intl/Makefile: Likewise.
44407 * locale/Makefile: Likewise.
44408 * po/Makefile: Likewise.
44409 * posix/Makefile: Likewise.
44410 * sysdeps/gnu/Makefile: Likewise.
44411 * sysdeps/mach/hurd/Makefile: Likewise.
44412 * sysdeps/sparc/sparc32/Makefile: Likewise.
44415 * posix/Makefile (bug-regex32-ENV): Define.
44416 Patch by John Stanley <jpsinthemix@verizon.net>.
44418 * misc/Makefile (headers): Add bits/select2.h.
44419 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44420 * misc/bits/select2.h: New file.
44421 * include/bits/select2.h: New file.
44422 * debug/Makefile (routines): Add fdelt_chk.
44423 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44424 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44426 * debug/fdelt_chk.c: New file.
44428 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44429 * wcsmbs/test-wmemcmp.c: Likewise.
44430 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44431 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44433 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44435 * string/Makefile (strop-tests): Add memcmp.
44436 * string/test-wmemcmp.c: New file.
44437 * string/test-memcmp.c: Add wmemcmp support.
44439 2011-09-08 Roland McGrath <roland@hack.frob.com>
44442 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44445 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44446 garbage value in a __mach_port_mod_refs call in the cases of the
44447 task-self and thread-self ports.
44449 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44451 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44453 2011-09-08 Andreas Schwab <schwab@redhat.com>
44455 * elf/dl-load.c (lose): Check for non-null L.
44457 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44459 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44461 * elf/dl-libc.c (dlerror_run): Pass back error code from
44465 * elf/dl-load.c (lose): Free l_origin if it is valid.
44467 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44469 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44472 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44473 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44474 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44476 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44478 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44479 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44480 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44481 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44482 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44483 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44484 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44485 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44486 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44487 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44489 2011-08-15 Alan Modra <amodra@gmail.com>
44492 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44493 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44494 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44495 ppc_mcount to static-only-routines.
44496 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44498 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44499 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44501 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44503 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44504 for finite and infinity parameters.
44506 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44508 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44509 and add nop instructions for throughput optimization.
44510 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44512 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44514 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44515 aligned copy for power7 with vector-scalar instructions.
44516 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44518 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44523 2011-09-07 Andreas Schwab <schwab@redhat.com>
44526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44529 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44531 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44532 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44533 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44534 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44537 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44539 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44540 Forgot to demangle the pointer.
44542 * sysdeps/i386/sysdep.h: Define atom_text_section.
44543 * sysdeps/x86_64/sysdep.h: Likewise.
44544 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44545 section with atom_text_section.
44546 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44547 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44550 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44552 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44554 already be defined. Change to take two parameters and don't assign
44555 result to variable. Adjust all users.
44556 Define INTERNAL_GETTIME if not already defined.
44557 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44560 HAVE_CLOCK_GETTIME_VSYSCALL.
44561 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44564 gettimeofday vsyscall, just use time.
44566 2011-09-06 Andreas Schwab <schwab@redhat.com>
44568 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44571 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44573 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44577 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44579 syscall if possible.
44581 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44583 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44584 e_ident. Don't pass to find_mapsXX.
44585 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44587 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44590 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44591 * sysdeps/x86_64/multiarch/strchr.S: Update.
44592 Check bit_slow_BSF bit.
44593 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44594 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44595 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44597 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44600 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44602 (tryshell): Define.
44603 (__spawni): Change last parameter to be flag. Test
44604 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44605 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44606 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44607 * posix/spawni.c: Likewise.
44608 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44609 * posix/spawnp.c: Likewise. Change normal version to use
44610 SPAWN_XFLAGS_USE_PATH.
44611 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44612 SPAWN_XFLAGS_TRY_SHELL.
44615 * posix/glob.h: Remove gcc 1.x support.
44618 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44620 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44623 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44625 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44626 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44627 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44628 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44629 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44630 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44632 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44634 * sysdeps/x86_64/wcscmp.S: New file.
44636 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44637 wcscmp-c wcscmp-sse2
44638 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44639 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44640 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44641 * wcsmbs/wcscmp.c: Allow renaming.
44643 2011-09-05 David S. Miller <davem@davemloft.net>
44645 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44646 stack slot, rather than the struct return pointer slot.
44647 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44648 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44650 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44652 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44654 * po/ja.po: Update from translation team.
44657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44658 kernel in 64-bit binaries.
44660 2011-09-01 David S. Miller <davem@davemloft.net>
44662 * elf/elf.h (HWCAP_SPARC_*): Move to..
44663 * sysdeps/sparc/sysdep.h: this new file and add new values.
44664 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44665 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44666 _DL_HWCAP_COUNT to 24.
44667 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44669 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44670 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44671 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44673 instead of magic constants.
44674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44676 2011-08-31 David S. Miller <davem@davemloft.net>
44678 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44680 Reimplement to do errno handling inline.
44681 (SYSCALL_ERROR_HANDLER): New macro.
44682 (__SYSCALL_STRING): Do not do errno handling in asm.
44683 (__CLONE_SYSCALL_STRING): Delete.
44684 (__INTERNAL_SYSCALL_STRING): Delete.
44685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44686 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44687 (PSEUDO): Reimplement to do errno handling inline.
44688 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
44694 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44696 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44697 (inline_syscall*): Add 'err' argument.
44698 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44699 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44700 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44701 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44703 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44704 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44706 2011-08-30 Andreas Schwab <schwab@redhat.com>
44708 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44710 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44712 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44715 2011-08-24 David S. Miller <davem@davemloft.net>
44717 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44719 2011-08-24 Andreas Schwab <schwab@redhat.com>
44721 * elf/Makefile: Add rules to build and run unload8 test.
44722 * elf/unload8.c: New file.
44723 * elf/unload8mod1.c: New file.
44724 * elf/unload8mod1x.c: New file.
44725 * elf/unload8mod2.c: New file.
44726 * elf/unload8mod3.c: New file.
44728 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44731 2011-08-23 David S. Miller <davem@davemloft.net>
44733 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44734 subtract stack bias.
44735 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44736 %sp not %fp in calculations.
44737 (_JMPBUF_UNWINDS_ADJ): Likewise.
44739 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44740 (aio_suspend): Call it to force an exception region around the
44741 AIO_MISC_WAIT() invocation.
44743 2011-08-23 Andreas Schwab <schwab@redhat.com>
44745 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44748 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44750 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44752 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44753 and <dl-machine.h>.
44754 (Elf64_FuncDesc): Remove.
44756 2011-08-22 David S. Miller <davem@davemloft.net>
44758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44759 sigaltstack check, add missing cfi directives.
44760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44761 missing cfi directives, and sigaltstack handling.
44763 2011-08-16 Andreas Schwab <schwab@redhat.com>
44766 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44767 object is seen twice.
44768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44770 * elf/Makefile (distribute): Add tst-initorder2.c.
44771 (tests): Add tst-initorder2.
44772 (modules-names): Add tst-initorder2a tst-initorder2b
44773 tst-initorder2c tst-initorder2d. Add rules to build them.
44774 ($(objpfx)tst-initorder2.out): New rule.
44775 * elf/tst-initorder2.c: New file.
44776 * elf/tst-initorder2.exp: New file.
44778 2011-08-22 Andreas Schwab <schwab@redhat.com>
44780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44782 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44783 dependencies back to end of function.
44785 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44786 $(elfobjdir)/ld.so.
44788 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44791 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44793 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44794 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44795 of __vdso_gettimeofday.
44796 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44797 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44799 (_libc_vdso_platform_setup): Remove initialization of
44800 __vdso_gettimeofday and __vdso_time.
44802 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44804 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44805 and fgetc_unlocked.
44806 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44809 * elf/dl-open.c (add_to_global): Report additions to the global scope
44810 for LD_DEBUG=scopes.
44811 (dl_open_worker): Also print scope of newly loaded dependencies.
44812 (_dl_show_scope): Indicate if there is no scope.
44815 * stdio-common/Makefile (tests): Add bug24.
44816 * stdio-common/bug24.c: New file.
44818 2011-08-19 Andreas Jaeger <aj@suse.de>
44821 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44822 non-existant file when using close-on-exec mode.
44824 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44827 the very first instruction.
44829 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44830 the CFI state in the end.
44831 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44832 inclusion of dl-trampoline.h.
44833 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44835 2011-08-19 Andreas Schwab <schwab@redhat.com>
44837 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44838 expectations for long double.
44840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44841 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44843 2011-08-14 David S. Miller <davem@davemloft.net>
44845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44846 artificual limit depends upon the system page size.
44848 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44850 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44851 * resolv/Makefile: Define CFLAGS-libresolv.
44853 2011-08-17 Andreas Schwab <schwab@redhat.com>
44855 * nss/makedb.c (compute_tables): Make variables used in nested
44858 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44860 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44861 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44862 if buffer was too small.
44864 * elf/pldd.c (main): Attach to all threads in the process.
44865 Rewrite /proc handling to use *at functions.
44867 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44869 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44870 specifies first scope to show.
44871 (dl_open_worker): Update callers. Move printing scope of new
44872 object to before the relocation.
44873 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44874 * sysdeps/generic/ldsodefs.h: Update declaration.
44876 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44877 string for the scope number.
44879 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44881 * nscd/servicescache.c (cache_addserv): Make sure written is always
44884 2011-08-14 Roland McGrath <roland@hack.frob.com>
44886 * sysdeps/i386/i486/bits/atomic.h
44887 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44888 statement expression, so as to suppress "set but not used" warning.
44889 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44891 * string/strncat.c (STRNCAT): Use prototype definition.
44893 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44894 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44896 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44897 (localedef-modules): Add localedef.
44898 (locale-modules): Add locale.
44900 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44901 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44902 to avoid a warning.
44904 2011-08-14 David S. Miller <davem@davemloft.net>
44906 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44907 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44909 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44911 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44912 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44913 * elf/rtld.c (dl_main): Set l_name of vDSO.
44914 Call _dl_show_scope when DL_DEBUG_SCOPES.
44915 (process_dl_debug): Recognize scopes flag and also set it for all.
44916 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44917 Declare _dl_show_scope.
44919 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44920 (do_dlopen): Pass caller_dlopen to dl_open.
44921 (__libc_dlopen_mode): Initialize caller_dlopen.
44923 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44924 of libc. Make tolower call locale-independent. Optimize a bit by
44925 using isdigit instead of isalnum.
44926 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44928 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44930 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44931 was a dependency or dynamically loaded.
44933 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44935 * intl/l10nflist.c: Allow architecture-specific pop function.
44936 * sysdeps/x86_64/l10nflist.c: New file.
44938 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44941 2011-08-10 Andreas Schwab <schwab@redhat.com>
44943 * include/dirent.h: Add libc_hidden_proto for scandirat and
44944 scandirat64. Don't declare __scandirat64.
44945 * dirent/scandirat.c: Add libc_hidden_def.
44946 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44947 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44949 2011-08-10 David S. Miller <davem@davemloft.net>
44951 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44953 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44957 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44959 * Versions.def [libc]: Add GLIBC_2.15.
44960 * dirent/Makefile (routines): Add scandirat and scandirat64.
44961 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44963 * dirent/dirent.h: Declare scandirat and scandirat64.
44964 * dirent/scandirat.c: New file.
44965 * dirent/scandirat64.c: New file.
44966 * sysdeps/wordsize-64/scandirat.c: New file.
44967 * sysdeps/wordsize-64/scandirat64.c: New file.
44968 * dirent/opendir.c: Define opendirat.
44969 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44971 * dirent/scandir64.c: Adjust for scandir.c change.
44972 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44973 __scandirat64, and __scandir_cancel_handler.
44974 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44975 additional parameter and use openat instead of open (outside of ld.so).
44976 Add new __opendir as wrapper around __opendirat.
44977 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44978 here without requiring old scandirat implementation.
44980 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44982 * dirent/scandir.c (cancel_handler): Renamed to
44983 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44984 defined. Adjust users.
44985 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44986 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44988 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44990 * string/test-string.h (IMPL): Use __STRING to expand name and then
44993 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44996 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44998 * string/Makefile: Update.
44999 (strop-tests): Append strncat.
45000 * string/test-wcscmp.c: New file.
45001 New comprehensive test for wcscmp.
45002 * string/test-strcmp.c: Update.
45003 (WIDE): New define.
45005 2011-07-22 Andreas Schwab <schwab@redhat.com>
45007 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45010 2011-07-26 Andreas Schwab <schwab@redhat.com>
45012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45013 encoding to ACE if AI_IDN.
45015 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45017 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45018 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45020 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45023 Fix overflow bug in strncat.
45024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45026 * string/test-strncat.c: Update.
45027 Add new tests for checking overflow bugs.
45029 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45032 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45033 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45034 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45035 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45036 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45037 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45038 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45039 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45042 (USE_AS_STRCAT): Define.
45043 Add strcat and strncat support.
45044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45046 2011-07-25 Andreas Schwab <schwab@redhat.com>
45048 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45049 __n bigger than INT_MAX+1.
45050 (__strncmp_g): Likewise.
45052 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45054 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45055 * libio/stido.h: Likewise.
45057 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45062 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45063 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45064 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45065 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45069 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45074 (_dl_x86_64_save_sse): Likewise.
45076 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45080 (_dl_x86_64_save_sse): Likewise.
45082 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45084 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45086 2011-07-21 Andreas Schwab <schwab@redhat.com>
45088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45090 (_dl_x86_64_save_sse): Use correct AVX check.
45092 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45095 bug in strncpy/strncat.
45096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45098 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45100 * string/tester.c (test_strcat): Add tests for different alignments
45101 of source and destination.
45102 (test_strncat): Likewise.
45104 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45107 * posix/glob.c (glob): Check passed in values before using them in
45108 expressions to avoid some overflows.
45109 (glob_in_dir): Likewise.
45112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45113 check for AVX enablement so that we don't crash with old kernels and
45115 * elf/tst-audit4.c: Add same checks here.
45116 * elf/tst-audit6.c: Likewise.
45118 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45120 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45122 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45124 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45126 * po/cs.po: Update from translation team.
45127 * po/bg.po: Likewise.
45129 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45131 * misc/sys/cdefs.h: Add support for const attribute.
45132 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45133 to gnu_dev_{major,minor,makedev} functions.
45135 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45137 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45139 2011-07-20 Andreas Schwab <schwab@redhat.com>
45141 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45144 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45146 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45147 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45148 register in order to avoid conflicts with the soft frame pointer
45149 being held in r11 when necessary.
45150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45151 (INTERNAL_VSYSCALL_NCS): Likewise.
45153 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45155 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45156 * elf/dl-fini.c (_dl_fini): Adjust caller.
45157 * elf/dl-close.c (_dl_close_worker): Likewise.
45158 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45160 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45162 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45163 "aux_cache->nlibs < 0".
45165 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45166 in the reload-count case.
45168 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45171 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45172 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45173 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45174 * sysdeps/x86_64/multiarch/strcat.S: New file.
45175 * sysdeps/x86_64/multiarch/strncat.S: New file.
45176 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45178 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45179 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45181 (USE_AS_STRCAT): Define.
45182 Add strcat and strncat support.
45183 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45185 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45186 * string/strncat.c: Update.
45187 (USE_AS_STRNCAT): Define.
45188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45189 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45191 * sysdeps/x86_64/multiarch/init-arch.h
45192 (bit_Prefer_PMINUB_for_stringop): New.
45193 (index_Prefer_PMINUB_for_stringop): Likewise.
45194 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45195 bit_Prefer_PMINUB_for_stringop.
45197 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45199 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45201 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45202 of casting of buffer.
45203 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45204 buffer32 and buffer64.
45205 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45206 writes instead of casting of buffer.
45207 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45209 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45212 2011-07-19 Andreas Schwab <schwab@redhat.com>
45214 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45216 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45218 * nscd/nscd.c (termination_handler): Don't do anything for a database
45219 if it has not yet been initialized.
45221 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45223 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45225 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45227 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45229 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45231 * po/nl.po: Update from translation team.
45232 * po/sv.po: Likewise.
45234 2011-07-16 Roland McGrath <roland@hack.frob.com>
45236 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45237 now disallowed by GCC.
45239 * configure.in (use-default-link): Default to yes if a test -shared
45240 link meets our qualifications.
45241 * configure: Regenerated.
45243 * config.make.in (output-format): New variable.
45244 * configure.in: Check for ld --print-output-format support.
45245 * configure: Regenerated.
45246 * Makerules ($(common-objpfx)format.lds)
45247 [$(output-format) != unknown]: Just use $(output-format),
45248 instead of the linker-script munging.
45250 2011-07-14 Roland McGrath <roland@hack.frob.com>
45252 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45253 of $(common-objpfx)shlib.lds.
45254 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45256 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45257 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45259 * configure.in (-z relro check): Adjust test code to add a large
45260 writable data section after it.
45261 * configure: Regenerated.
45263 2011-07-11 Roland McGrath <roland@hack.frob.com>
45265 * configure.in (-z relro check): Fix test code to make the variable
45267 * configure: Regenerated.
45269 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45271 * nscd/nscd.h (struct traced_file): Define.
45272 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45273 elements. Add traced_files.
45274 (inotify_fd): Declare.
45275 (register_traced_file): Declare.
45276 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45277 (inotify_fd): Export.
45278 (resolv_conf_descr): Remove.
45279 (nscd_init): Move inotify descriptor creation to main.
45280 Don't register files for notification here.
45281 (register_traced_file): New function.
45282 (invalidate_cache): Don't use reset_res to determine whether to call
45283 res_init, go through the list of registered files.
45284 (main_loop_poll): The inotify descriptors are now stored in the
45285 structures for the traced files.
45286 (main_loop_epoll): Likewise
45287 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45288 to __nss_disable_nscd.
45289 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45290 for a database anymore. Check the records for all the registered
45292 * nss/Makefile (libnss_files-routines): Add files-init.
45293 (libnss_db-routines): Add db-init.
45294 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45295 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45296 * nss/nss_db/db-init.c: New file.
45297 * nss/nss_files/files-init.c: New file.
45298 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45299 __nss_lookup_function.
45300 (__nss_lookup_function): Call nss_load_library.
45301 (nss_load_all_libraries): New function.
45302 (__nss_disable_nscd): Take parameter with callback function for files
45303 to register. Set is_nscd. Load all the DSOs for the NSS modules
45304 used for the cached services.
45305 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45306 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45307 options for features to all the files in nscd.
45309 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45311 2011-07-10 Roland McGrath <roland@hack.frob.com>
45313 * csu/elf-init.c (__libc_csu_init): Comment typo.
45315 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45317 * po/pl.po: Update from translation team.
45318 * po/ja.po: Likewise.
45319 * po/ru.po: Likewise.
45320 * po/ko.po: Likewise.
45321 * po/fr.po: Likewise.
45323 2011-07-09 Roland McGrath <roland@hack.frob.com>
45325 * configure.in (.ctors/.dtors header and trailer check):
45326 Use an empirical test on a built program.
45327 * configure: Regenerated.
45329 * configure.in (-z relro check): Use an empirical test on a built DSO.
45330 Detect, but do not require, on ia64.
45331 * configure: Regenerated.
45333 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45334 Update tests that use readelf to use $READELF instead.
45335 * configure: Regenerated.
45337 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45339 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45340 if the result is not used.
45342 2011-07-05 Andreas Jaeger <aj@suse.de>
45345 * stdlib/tst-strtod.c: Add testcase.
45347 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45349 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45350 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45351 The latter has a higher limit. Take additional parameter to pass to
45353 (__pathconf): Pass file to __statfs_link_max.
45354 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45356 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45360 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45361 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45363 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45364 (__statfs_filesize_max): Likewise.
45365 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45367 2011-07-05 Andreas Jaeger <aj@suse.de>
45369 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45371 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45373 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45375 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45378 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45380 * Makefile (strop-tests): Add strncat.
45381 * string/test-strncat.c: New file.
45383 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45385 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45387 2011-06-21 Andreas Jaeger <aj@suse.de>
45389 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45390 Copy rule from iconvdata/Makefile.
45392 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45395 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45396 but no long options are defined, just return 'W'.
45398 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45401 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45403 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45405 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45407 (innetgr): Likewise.
45409 2011-07-05 Roland McGrath <roland@hack.frob.com>
45411 * config.make.in (install_root): Default to $(DESTDIR).
45413 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45415 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45417 2011-07-02 Roland McGrath <roland@hack.frob.com>
45419 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45421 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45422 containing directory rather than embedding absolute directory names.
45424 * scripts/check-local-headers.sh: Rewritten using awk.
45425 Match by word, not by line. Print error messages for matches.
45426 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45428 * Makerules [shlib-lds-flags empty]:
45429 ($(common-objpfx)libc_pic.opts): New target.
45430 ($(common-objpfx)libc_pic.os.clean): New target.
45431 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45433 * config.make.in (OBJCOPY): New variable.
45434 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45435 * configure: Regenerated.
45437 * config.make.in (use-default-link): New variable.
45438 * configure.in (use_default_link): Grok --with-default-link to set it.
45439 * configure: Regenerated.
45440 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45441 (shlib-lds, shlib-lds-flags): Define to empty.
45443 * Makerules (shlib-lds): New variable.
45444 (shlib-lds-flags): New variable.
45445 (build-shlib, build-moduile, build-module-asneeded): Use it.
45446 ($(common-objpfx)libc.so): Use $(shlib-lds).
45447 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45448 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45450 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45451 DT_FLAGS/DT_FLAGS_1 with zero flags.
45453 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45454 linker script munging.
45456 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45458 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45460 * crypt/sha512.c (sha512_process_block): Perform total addition using
45461 128-bit if possible.
45462 (__sha512_finish_ctx): Likewise.
45463 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45465 * crypt/sha256.c (SWAP64): Define.
45466 (sha256_process_block): Perform total addition using 64-bit if
45468 (__sha256_finish_ctx): Likewise.
45470 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45472 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45473 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45474 * nscd/hstcache.c (cache_addhst): Likewise.
45475 * nscd/grpcache.c (cache_addgr): Likewise.
45476 * nscd/aicache.c (addhstaiX): Likewise
45477 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45479 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45481 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45483 * nscd/hstcache.c (cache_addhst): Likewise.
45484 * nscd/grpcache.c (cache_addgr): Likewise.
45485 * nscd/aicache.c (addhstaiX): Likewise
45487 2011-07-01 Andreas Schwab <schwab@redhat.com>
45489 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45490 domain only when needed.
45492 2011-06-30 Andreas Schwab <schwab@redhat.com>
45494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45495 is always restored.
45497 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45499 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45500 are re-adding the entry.
45501 * nscd/servicescache.c (cache_addserv): Likewise.
45503 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45505 * sysdeps/generic/dl-irel.h: fix protection against multiple
45507 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45509 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45512 * malloc/memusage.sh: Fix quoting in message.
45513 * debug/xtrace.sh: Likewise.
45515 * configure.in: Remove support for --experimental-malloc option, make
45517 * config.make.in: Likewise.
45518 * malloc/Makefile: Likewise.
45520 2011-06-27 Andreas Schwab <schwab@redhat.com>
45522 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45523 two-byte characters.
45525 2011-06-27 Roland McGrath <roland@hack.frob.com>
45527 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45528 AC_CACHE_CHECK invocation.
45529 * configure: Regenerated.
45531 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45533 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45536 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45537 bit from old_res_options.
45539 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45541 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45542 value type for setfct.
45544 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45547 __gettimeofday instead of gettimeofday.
45549 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45551 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45553 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45555 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45557 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45560 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45563 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45564 strcpy-sse2-unaligned strncpy-sse2-unaligned
45565 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45566 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45567 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45568 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45569 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45570 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45571 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45572 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45573 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45574 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45575 (STRCPY): Support SSE2 and SSSE3 versions.
45577 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45581 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45582 kernels which artificially limit size of requests.
45584 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45587 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45588 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45589 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45590 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45591 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45592 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45593 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45594 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45596 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45597 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45598 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45599 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45600 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45602 Enable unaligned load optimization for Intel Core i3, i5 and i7
45604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45606 (index_Fast_Unaligned_Load): Define.
45607 (HAS_FAST_UNALIGNED_LOAD): Define.
45609 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45611 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45613 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45616 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45617 until it is clear that the information is realy needed.
45618 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45620 2011-06-22 Andreas Schwab <schwab@redhat.com>
45622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45624 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45627 /sys/devices/system/cpu/online if it is usable.
45629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45630 reading the information from the /proc filesystem to once a second.
45632 2011-06-21 Andreas Jaeger <aj@suse.de>
45634 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45635 NULL after inclusion of kernel headers.
45637 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45639 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45640 calls to internal_setent.
45643 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45644 addresses using gethostbyname4_r ignore IPv4 addresses.
45646 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45647 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45649 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45651 2011-06-20 David S. Miller <davem@davemloft.net>
45653 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45655 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45657 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45658 (elf_irel): Use it.
45659 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45660 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45661 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45662 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45663 * sysdeps/x86_64/dl-irel.h: Likewise.
45665 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45666 * elf/dl-sym.c: Likewise.
45668 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45670 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45671 need to dereference resplen2.
45673 2011-06-14 Andreas Schwab <schwab@redhat.com>
45675 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45677 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45679 * Makeconfig: Define vardbdir and inst_vardbdir.
45680 * nss/Makefile: Add rules to install db-Makefile.
45682 * nss/nss_db/db-XXX.c: Cleanup.
45684 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45685 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45687 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45688 * nss/makedb.c: Implement -g option to specify that value strings
45689 are generated and should not be added to table iterated over for
45691 * nss/nss_db/db-initgroups.c: New file.
45693 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45696 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45697 (internal_getgrouplist): Adjust to name change.
45698 Update use_initgroups_entry if this is not the first call.
45699 * nss/databases.def: Add initgroups entry.
45701 * nss/makedb.c (compute_tables): Check result of multiple hash table
45702 sizes to minimize maximum chain length.
45704 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45706 * Versions.def: Add entry for libnss_db.
45707 * shlib-versions: Likewise.
45708 * nss/Makefile: Add rules to build libnss_db.
45709 * nss/Versions: Add libnss_db information. Organize libnss_files
45711 * nss/db-Makefile: Add gshadow support. Change rules for the new
45712 makedb progra. Some minor improvements to generate smaller files.
45713 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45715 * nss/makedb.c: ...here.
45716 Improve database format to be smaller and require less memory at
45718 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45720 * nss/nss_db/db-netgrp.c: Likewise.
45721 * nss/nss_db/db-open.c: Likewise.
45722 * nss/nss_files/flies-XXX.x: Adjust comments.
45723 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45724 * nss/nss_files/files-grp.c: Likewise.
45725 * nss/nss_files/files-hosts.c: Likewise.
45726 * nss/nss_files/files-network.c: Likewise.
45727 * nss/nss_files/files-proto.c: Likewise.
45728 * nss/nss_files/files-pwd.c: Likewise.
45729 * nss/nss_files/files-rpc.c: Likewise.
45730 * nss/nss_files/files-service.c: Likewise.
45731 * nss/nss_files/files-sgrp.c: Likewise.
45732 * nss/nss_files/files-spwd.c: Likewise.
45733 * nss/nss_db/db-alias.c: Removed.
45734 * nss/nss_db/dummy-db.h: Removed.
45736 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45738 * nss/makedb.c: Rewritten to not use database library.
45739 * nss/Makefile: Update to build new makedb program.
45741 2011-06-14 Andreas Jaeger <aj@suse.de>
45743 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45744 memset declaration.
45746 2011-06-10 Andreas Schwab <schwab@redhat.com>
45748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45751 2011-06-10 Roland McGrath <roland@hack.frob.com>
45753 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45754 * elf/Makefile ($(objpfx)ld.so): Likewise.
45756 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45757 Don't list ld.so twice in dependencies.
45759 * posix/bug-regex31.c: Include <stdlib.h>.
45761 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45763 * nis/nss_compat/compat-spwd.c
45764 (getspent_next_nss_netgr): Remove unused variable.
45765 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45767 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45768 nonmembers" output to use the right array.
45770 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45772 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45774 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45775 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45776 * catgets/gencat.c (read_input_file): Likewise.
45777 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45779 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45780 variable definition inside #if's controlling its use.
45782 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45784 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45786 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45788 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45791 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45793 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45794 * configure: Regenerated.
45796 * Makerules: Revert last change.
45797 * elf/Makefile: Likewise.
45799 2011-06-09 Roland McGrath <roland@hack.frob.com>
45801 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45802 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45803 (reloc-link): Likewise.
45805 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45807 * elf/Makefile: Add rules to build pldd.
45808 * elf/pldd.c: New file.
45809 * elf/pldd-xx.c: New file.
45811 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45813 * version.h: Update for 2.15 development version.
45815 2011-06-07 David S. Miller <davem@davemloft.net>
45817 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45820 elf_machine_lazy_rel): Likewise.
45821 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45823 elf_machine_lazy_rel): Likewise.
45824 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45825 dl_hwcap via passed in argument.
45826 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45829 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45831 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45833 2011-06-06 Roland McGrath <roland@hack.frob.com>
45836 * manual/fdl-1.1.texi: New file, verbatim from:
45837 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45838 * manual/lgpl-2.1.texi: New file, verbatim from:
45839 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45840 * manual/Makefile (licenses): New variable, list those new file names.
45842 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45844 * manual/fdl.texi: File removed.
45845 * manual/lesser.texi: File removed.
45846 * manual/libc.texinfo (Copying, Documentation License):
45847 Use new @include file names, put @appendix directive before @include.
45849 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45852 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45853 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45854 (mq_open): Add __NTH.
45856 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45859 Assume Intel Core i3/i5/i7 processor if AVX is available.
45861 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45866 2011-05-31 Andreas Schwab <schwab@redhat.com>
45868 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45869 memory. Use alloca_account. Fix memory leak when retrying.
45871 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45873 * version.h (RELEASE): Bump for 2.14 release.
45874 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45876 * config.make.in (RANLIB): Remove entry.
45878 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45880 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45881 (libc.pot): Work around missing support for .ksh extension in xgettext.
45884 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45885 if both request failed.
45886 (send_dg): In case of server errors clear resplen or *resplen2.
45889 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45890 when there are multiple maps.
45891 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45892 (_dl_fini): Remove test here.
45894 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45896 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45899 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45900 bit from old_res_options.
45901 (gaih_inet): Likewise.
45904 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45907 * resolv/res_init.c (res_setoptions): Make the code more compact.
45910 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45914 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45916 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45919 * malloc/malloc.h: Declare malloc hook variables as volatile.
45921 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45925 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45926 raise in the comment.
45927 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45929 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45931 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45934 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45935 grow the buffers more if it already has to be sufficient.
45936 (build_wcs_upper_buffer): Likewise.
45937 * posix/regexec.c (check_matching): Likewise.
45938 (clean_state_log_if_needed): Likewise.
45939 (extend_buffers): Don't enlarge buffers beyond size of the input
45941 Patches mostly by Emil Wojak <emil@wojak.eu>.
45942 * posix/bug-regex32.c: New file.
45943 * posix/Makefile (tests): Add bug-regex32.
45945 * locale/findlocale.c (_nl_find_locale): Return right away if
45946 _nl_explode_name failed.
45947 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45949 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45951 * debug/xtrace.sh: Unify messages.
45952 * malloc/memusage.sh: Likewise.
45955 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45956 time symbol from vDSO. Substitute with vsyscall if not available.
45957 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45961 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45962 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45963 Add sendmmsg and internal_sendmmsg.
45964 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45965 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45966 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45968 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45969 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45972 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45975 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45976 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45982 * iconvdata/Makefile (tests): Add bug-iconv9.
45983 * iconvdata/bug-iconv9.c: New file.
45985 2011-05-27 Andreas Schwab <schwab@redhat.com>
45988 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45990 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45992 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45993 (struct user_regs_struct): Change intcs field back to cs.
45995 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45997 * po/ja.po: Update from translation team.
45999 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46002 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46003 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46005 2011-05-20 Andreas Schwab <schwab@redhat.com>
46007 * stdlib/longlong.h: Update from GCC.
46009 2011-05-23 Andreas Schwab <schwab@redhat.com>
46011 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46013 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46014 Add parameter name.
46015 (__sysconf): Pass it down.
46017 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46020 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46022 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46023 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46024 add in in __libc_use_alloca calls. Adjust callers.
46025 (glob): Use malloc in some situations.
46027 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46028 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46031 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46033 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46034 and CLOCK_BOOTTIME_ALARM.
46037 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46040 * string/_strerror.c (__strerror_r): Print negative errors as signed
46044 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46045 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46046 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46048 * configure.in: Fix typo in redirection and correct removal of test
46049 files in two cases.
46052 * locale/setlocale.c (new_composite_name): Fix test to check for
46053 identical name of all categories.
46056 * libio/filedoalloc.c (local_isatty): New function.
46057 (_IO_file_doallocate): Use local_isatty.
46058 * stdio-common/perror.c (perror): In case a new stream is used
46059 forward the stream error.
46060 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46063 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46068 * include/alloca.h (extend_alloca_account): Define.
46071 * posix/regex.h: Fix comments with documentation of user-accessible
46072 fields after compilation and describe correct free'ing of pattern
46073 after re_compile_pattern.
46074 Patch by Reuben Thomas <rrt@sc3d.org>.
46076 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46078 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46079 and -mno-altivec to prevent the compiler from using Altivec and/or
46080 VSX instructions when the corresponding registers are not available.
46082 2011-05-19 Andreas Schwab <schwab@redhat.com>
46084 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46086 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46088 * libio/freopen.c (freopen): Use __dup2, not dup2.
46089 * libio/freopen64.c (freopen64): Likewise.
46091 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46094 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46095 * math/Makefile (tests): Add test-powl.
46096 (CFLAGS-test-powl.c): Define.
46097 * math/test-powl.c: New file.
46099 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46101 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46103 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46106 * iconvdata/gb18030.c: Update to GB18020-2005.
46108 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46110 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46111 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46112 Patch by Aharon Robbins <arnold@skeeve.com>.
46115 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46119 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46120 through underflows.
46123 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46124 point to strings before performing equality test for error_one_per_line
46128 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46132 (struct user_fpregs_struct): Avoid __uint*_t types.
46135 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46136 symbol info. Use it instead of calling _dl_addr locally.
46137 (lock_and_info): New function.
46138 (tr_freehook): Call lock_and_info and pass symbol info as additional
46139 parameter to tr_where.
46140 (tr_mallochook): Likewise.
46141 (tr_reallochook): Likewise.
46142 (tr_memalignhook): Likewise.
46144 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46145 used and couldn't be at all thread-safe.
46147 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46149 * libio/freopen.c (freopen): Don't close old file descriptor
46150 before the new one is opened. Instead dup the new file descriptor
46151 to the old one after the new stream is created.
46152 * libio/freopen64.c (freopen64): Likewise.
46153 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46154 * libio/fileops.c (_IO_new_file_close_it): Handle new
46155 _IO_FLAGS2_NOCLOSE flag.
46156 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46157 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46158 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46159 _IO_FLAGS2_NOCLOSE flag.
46160 * include/unistd.h: Add hidden_proto for dup3.
46161 Define __have_dup3.
46162 * io/dup3.c: Define hidden symbol.
46163 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46166 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46167 when an incomplete long option is used.
46168 * posix/tst-getopt_long1.c: New file.
46169 * posix/Makefile (tests): Add tst-getopt_long1.
46172 * scripts/config.guess: Update from autoconf-2.68.
46173 * scripts/config.sub: Likewise.
46176 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46178 (has_cpuclock): ...this. New function.
46179 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46180 macro here based on has_cpuclock code.
46183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46184 First byte (not low byte) is now always NUL.
46185 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46188 Use non-cancelable interfaces.
46191 * locale/iso-639.def: Add entry for Sorani.
46194 * include/stdlib.h: Move include protection to the right place.
46195 Define abort_msg_s. Declare __abort_msg with it.
46196 * stdlib/abort.c (__abort_msg): Adjust type.
46197 * assert/assert.c (__assert_fail_base): New function. Majority
46198 of code from __assert_fail. Allocate memory for __abort_msg with
46200 (__assert_fail): Now call __assert_fail_base.
46201 * assert/assert-perr.c: Remove bulk of implementation. Use
46202 __assert_fail_base.
46203 * include/assert.hL Declare __assert_fail_base.
46204 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46206 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46208 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46212 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46213 until all modules are registered in the DTV.
46214 * elf/Makefile: Add rules to build and run tst-tls19.
46215 * elf/tst-tls19.c: New file.
46216 * elf/tst-tls19mod1.c: New file.
46217 * elf/tst-tls19mod2.c: New file.
46218 * elf/tst-tls19mod3.c: New file.
46219 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46222 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46226 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46227 two-byte sequence errors.
46228 * iconvdata/Makefile (tests): Add bug-iconv8.
46229 * iconvdata/bug-iconv8.c: New file.
46232 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46235 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46238 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46239 (dummy_getcfa): New function.
46240 (init): Get _Unwind_GetCFA address, use dummy if not found.
46241 (backtrace_helper): In recursion check, also check whether CFA changes.
46242 (__backtrace): Completely initialize arg.
46244 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46245 storing incomplete byte sequence in state object. Avoid testing for
46246 guaranteed too small input if we know there is enough data available.
46248 2011-05-11 Andreas Schwab <schwab@redhat.com>
46250 * Makeconfig (+link-pie): Indent.
46251 * Rules (binaries-pie): Define if $(have-fpie) and
46253 (binaries-shared): Also filter out $(binaries-pie).
46254 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46255 * nscd/Makefile (others-pie): Add nscd.
46256 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46257 ($(objpfx)nscd): Remove command override.
46258 * login/Makefile (others-pie): Add pt_chown.
46259 ($(objpfx)pt_chown): Remove command override.
46260 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46261 remove command overrides.
46263 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46265 * libio/tst_putwc.c: Fix error messages.
46268 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46269 currently writing and seek to current position when not.
46270 * libio/Makefile (tests): Add bug-fclose1.
46271 * libio/bug-fclose1.c: New file.
46273 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46276 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46277 don't set DF_1_NODELETE here.
46278 (do_lookup_x): When entering new entry test for copy relocation
46279 and if necessary set DF_1_NODELETE flag.
46280 * elf/tst-unique4.cc: New file.
46281 * elf/tst-unique4.h: New file.
46282 * elf/tst-unique4lib.cc: New file.
46283 * elf/Makefile: Add rules to build and run tst-unique4.
46284 Patch by Piotr Bury <pbury@goahead.com>.
46286 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46289 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46292 * misc/mntent_r.c (addmntent): Flush the stream after the output
46295 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46296 (is_trusted_path_normalize): Skip initial colon. Append slash
46297 to empty buffer. Duplicate is_trusted_path code but allow
46298 constructed patch to be prefix.
46299 (is_dst): Allow $ORIGIN followed by /.
46300 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46301 Correct testing of result of is_trusted_path_normalize
46302 (decompose_rpath): Fix warning.
46304 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46307 * grp/initgroups.c (internal_getgrouplist): When we found the service
46308 list through the initgroups entry in nsswitch.conf do not always
46309 continue on a successful lookup. Don't always use the
46310 __nss_group_database value if it is set.
46311 * nss/nsswitch.conf (initgroups): Change action for successful db
46312 lookup to continue for compatibility.
46314 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46317 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46319 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46321 * iconvdata/tst-tables.sh: Likewise.
46322 * iconvdata/cp770.c: New file.
46323 * iconvdata/cp771.c: New file.
46324 * iconvdata/cp772.c: New file.
46325 * iconvdata/cp773.c: New file.
46326 * iconvdata/cp774.c: New file.
46327 * iconvdata/testdata/CP770: New file.
46328 * iconvdata/testdata/CP770..UTF8: New file.
46329 * iconvdata/testdata/CP771: New file.
46330 * iconvdata/testdata/CP771..UTF8: New file.
46331 * iconvdata/testdata/CP772: New file.
46332 * iconvdata/testdata/CP772..UTF8: New file.
46333 * iconvdata/testdata/CP773: New file.
46334 * iconvdata/testdata/CP773..UTF8: New file.
46335 * iconvdata/testdata/CP774: New file.
46336 * iconvdata/testdata/CP774..UTF8: New file.
46338 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46340 * iconvdata/gen-8bit-gap.sh: Likewise.
46341 * iconvdata/gen-8bit.sh: Likewise.
46343 * locale/iso-639.def: Add ary entry.
46346 * locale/C-translit.h.in: Add U20A1 transliteration.
46349 * locale/iso-639.def: Add wae entry.
46350 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46353 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46357 * locale/C-translit.h.in: Add entry for U20B9.
46358 Patch by pravin.d.s@gmail.com.
46360 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46363 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46364 ENAMETOOLONG use generic getcwd.
46365 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46366 in rtld. Use *stat64.
46367 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46368 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46369 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46370 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46371 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46372 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46373 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46374 __fstatat64 macros.
46375 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46376 * dirent/rewinddir.c: Add libc_hidden_def.
46377 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46378 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46380 * include/dirent.h (__alloc_dir): Add flags parameter.
46381 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46382 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46384 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46385 from fdopendir if O_CLOEXEC is already set.
46387 2011-03-15 Alan Modra <amodra@gmail.com>
46389 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46390 l_tls_firstbyte_offset non-zero. Save padding offset in
46391 l_tls_firstbyte_offset for later use.
46392 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46393 freeing static tls block.
46395 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46397 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46398 where #ifdef was intended. The intent is to prevent ARG_MAX from
46399 being defined by the kernel headers.
46401 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46404 * resolv/resolv.h: Define RES_NOTLDQUERY.
46405 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46406 no-tld-query and set RES_NOTLDQUERY.
46407 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46408 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46409 modern BIND to search name as TLD unless forbidden.
46411 2011-05-07 Petr Baudis <pasky@suse.cz>
46412 Ulrich Drepper <drepper@gmail.com>
46415 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46416 (is_trusted_path): ...to here.
46417 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46418 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46419 using is_trusted_path_normalize() in setuid scripts.
46421 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46423 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46424 __BEGIN/__END_DECLS.
46426 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46429 NSS_STATUS_NOTFOUND if no record was found.
46431 2011-05-05 Andreas Schwab <schwab@redhat.com>
46433 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46434 (headers-not-in-tirpc): Remove rpc/netdb.h
46435 * resolv/netdb.h: Revert last change.
46437 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46439 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46440 circular dependency between libgcc.a and libc.a.
46442 2011-05-05 Andreas Schwab <schwab@redhat.com>
46444 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46445 * nis/Makefile: Don't install rpcsvc/*.
46446 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46447 instead of <rpc/types.h>.
46448 (MAXHOSTNAMELEN): Define.
46450 2011-05-03 Andreas Schwab <schwab@redhat.com>
46452 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46454 2011-04-28 Maciej Babinski <mbabinski@google.com>
46457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46458 gethostbyname4_r when IPv6 results are possible.
46460 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46463 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46464 _PC_PIPE_BUF handling.
46466 2011-04-30 Bruno Haible <bruno@clisp.org>
46469 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46470 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46472 * inet/getnameinfo.c (getnameinfo): Likewise.
46474 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46476 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46477 to groups setting in database lookup.
46478 * nss/nsswitch.conf: Add initgroups entry.
46480 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46483 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46485 Patch by Eric Blake <eblake@redhat.com>.
46487 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46489 * sunrpc/Makefile (need-export-routines): Add svc_run.
46490 (routines): Remove svc_run.
46491 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46492 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46493 * sunrpc/svc_run.c (svc_run): Likewise.
46494 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46496 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46498 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46499 problem in reallocation in last patch.
46501 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46503 * sunrpc/Makefile: Move inclusion of Rules.
46505 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46507 * nss/nss_files/files-initgroups.c: New file.
46508 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46509 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46510 _nss_files_initgroups_dyn.
46512 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46514 * elf/elf.h (R_ARM_IRELATIVE): Define.
46516 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46518 * po/ru.po: Update from translation team.
46520 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46522 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46525 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46528 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46529 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46532 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46534 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46536 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46538 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46542 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46545 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46547 * stdlib/bug-getcontext.c: New file.
46548 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46550 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46552 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46553 instructions into .machine "z9-109".
46554 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46555 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46557 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46559 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46560 between environment variables and auxiliary vector.
46562 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46564 * Makefile: Add rules to build linkobj/libc.so.
46565 * include/libc-symbols.h: Define libc_hidden_nolink.
46566 * include/rpc/auth.h: Mark functions which are to be hidden.
46567 * include/rpc/auth_des.h: Likewise.
46568 * include/rpc/auth_unix.h: Likewise.
46569 * include/rpc/clnt.h: Likewise.
46570 * include/rpc/des_crypt.h: Likewise.
46571 * include/rpc/key_prot.h: Likewise.
46572 * include/rpc/pmap_clnt.h: Likewise.
46573 * include/rpc/pmap_prot.h: Likewise.
46574 * include/rpc/pmap_rmt.h: Likewise.
46575 * include/rpc/rpc_msg.h: Likewise.
46576 * include/rpc/svc.h: Likewise.
46577 * include/rpc/svc_auth.h: Likewise.
46578 * include/rpc/xdr.h: Likewise.
46579 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46580 * nss/Makefile: Likewise.
46581 * sunrpc/Makefile: Don't install headers. Build library with normal
46582 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46583 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46584 for the compat linking library. Remove use of INTDEF/INTUSE.
46585 * sunrpc/auth_none.c: Likewise.
46586 * sunrpc/auth_unix.c: Likewise.
46587 * sunrpc/authdes_prot.c: Likewise.
46588 * sunrpc/authuxprot.c: Likewise.
46589 * sunrpc/clnt_gen.c: Likewise.
46590 * sunrpc/clnt_perr.c: Likewise.
46591 * sunrpc/clnt_raw.c: Likewise.
46592 * sunrpc/clnt_simp.c: Likewise.
46593 * sunrpc/clnt_tcp.c: Likewise.
46594 * sunrpc/clnt_udp.c: Likewise.
46595 * sunrpc/clnt_unix.c: Likewise.
46596 * sunrpc/des_crypt.c: Likewise.
46597 * sunrpc/des_soft.c: Likewise.
46598 * sunrpc/get_myaddr.c: Likewise.
46599 * sunrpc/key_call.c: Likewise.
46600 * sunrpc/key_prot.c: Likewise.
46601 * sunrpc/netname.c: Likewise.
46602 * sunrpc/pm_getmaps.c: Likewise.
46603 * sunrpc/pm_getport.c: Likewise.
46604 * sunrpc/pmap_clnt.c: Likewise.
46605 * sunrpc/pmap_prot.c: Likewise.
46606 * sunrpc/pmap_prot2.c: Likewise.
46607 * sunrpc/pmap_rmt.c: Likewise.
46608 * sunrpc/publickey.c: Likewise.
46609 * sunrpc/rpc_cmsg.c: Likewise.
46610 * sunrpc/rpc_common.c: Likewise.
46611 * sunrpc/rpc_dtable.c: Likewise.
46612 * sunrpc/rpc_prot.c: Likewise.
46613 * sunrpc/rpc_thread.c: Likewise.
46614 * sunrpc/rtime.c: Likewise.
46615 * sunrpc/svc.c: Likewise.
46616 * sunrpc/svc_auth.c: Likewise.
46617 * sunrpc/svc_authux.c: Likewise.
46618 * sunrpc/svc_raw.c: Likewise.
46619 * sunrpc/svc_run.c: Likewise.
46620 * sunrpc/svc_simple.c: Likewise.
46621 * sunrpc/svc_tcp.c: Likewise.
46622 * sunrpc/svc_udp.c: Likewise.
46623 * sunrpc/svc_unix.c: Likewise.
46624 * sunrpc/svcauth_des.c: Likewise.
46625 * sunrpc/xcrypt.c: Likewise.
46626 * sunrpc/xdr.c: Likewise.
46627 * sunrpc/xdr_array.c: Likewise.
46628 * sunrpc/xdr_float.c: Likewise.
46629 * sunrpc/xdr_intXX_t.c: Likewise.
46630 * sunrpc/xdr_mem.c: Likewise.
46631 * sunrpc/xdr_rec.c: Likewise.
46632 * sunrpc/xdr_ref.c: Likewise.
46633 * sunrpc/xdr_sizeof.c: Likewise.
46634 * sunrpc/xdr_stdio.c: Likewise.
46636 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46639 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46640 * sysdeps/ia64/dl-tls.h: Likewise.
46641 * sysdeps/powerpc/dl-tls.h: Likewise.
46642 * sysdeps/s390/dl-tls.h: Likewise.
46643 * sysdeps/sh/dl-tls.h: Likewise.
46644 * sysdeps/sparc/dl-tls.h: Likewise.
46645 * sysdeps/x86_64/dl-tls.h: Likewise.
46646 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46648 2011-03-14 Andreas Schwab <schwab@redhat.com>
46650 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46651 rpath element also skip the following colon.
46652 (expand_dynamic_string_token): Add is_path parameter and pass
46653 down to DL_DST_REQUIRED and _dl_dst_substitute.
46654 (decompose_rpath): Call expand_dynamic_string_token with
46655 non-zero is_path. Ignore empty rpaths.
46656 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46659 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46664 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46667 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46668 Patch by Filipe David Manana <fdmanana@apache.org>.
46670 2011-04-07 Andreas Schwab <schwab@redhat.com>
46672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46673 Maintain aligned stack.
46674 (CHECK_RSP): Remove unused macro.
46676 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46678 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46679 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46681 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46683 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46685 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46687 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46690 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46691 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46692 * sysdeps/x86_64/memmove.c: New file.
46693 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46694 (memcpy): Renamed to ...
46695 (__new_memcpy): This.
46696 (memcpy): Provide GLIBC_2_14 memcpy.
46697 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46698 (memcpy): Provide GLIBC_2_2_5 memcpy.
46700 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46703 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46705 2011-03-30 Andreas Schwab <schwab@redhat.com>
46707 * misc/syncfs.c: New file.
46708 * misc/Makefile (routines): Add syncfs.
46709 * posix/unistd.h: Declare syncfs.
46710 * sysdeps/unix/syscalls.list: Add syncfs.
46712 2011-04-01 Andreas Schwab <schwab@redhat.com>
46714 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46716 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46721 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46724 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46726 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46728 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46734 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46735 sync_file_range.c with -fexceptions.
46736 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46737 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46738 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46739 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46740 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46741 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46743 sync_file_range as cancellation point
46744 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46745 now a wrapper around __call_sync_file_range with cancellation handling.
46746 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46747 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46748 function name to __call_sync_file_range.
46749 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46750 Add call_sync_file_range.
46752 2011-04-01 Andreas Schwab <schwab@redhat.com>
46754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46757 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46759 * iconv/iconv.h: Fix typo in comment.
46760 * io/fcntl.h: Likewise.
46761 * libio/stdio.h: Likewise.
46762 * posix/spawn.h: Likewise.
46763 * posix/unistd.h: Likewise.
46764 * stdlib/stdlib.h: Likewise.
46765 * time/time.h: Likewise.
46766 * wcsmbs/wchar.h: Likewise.
46768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46769 open_by_handle): Add.
46770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46771 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46772 Augment a few comments.
46773 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46777 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46778 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46781 * io/fcntl.h (AT_EMPTY_PATH): Define.
46783 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46785 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46786 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46787 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46789 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46790 * Versions.def: Add GLIBC_2.14.
46791 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46794 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46798 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46800 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46803 * string/test-strncmp.c (do_page_test): New function.
46804 (check2): Likewise.
46805 (test_main): Call check2.
46806 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46808 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46812 Handle cache information in CPU leaf 4.
46813 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46815 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46818 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46819 character representation.
46820 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46822 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46824 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46825 END(__isnan) to END(__isnanf) to match function entry point/label
46826 EALIGN(__isnanf,...).
46828 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46830 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46832 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46835 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46836 copy from the symbol referenced in the relocation to initialize the
46838 Patch by Piotr Bury <pbury@goahead.com>.
46839 * elf/Makefile: Add rules to build and tst-unique3.
46840 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46841 * elf/tst-unique3.cc: New file.
46842 * elf/tst-unique3.h: New file.
46843 * elf/tst-unique3lib.cc: New file.
46844 * elf/tst-unique3lib2.cc: New file.
46846 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46848 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46850 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46851 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46854 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46856 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46857 to-be-loaded object along a path to loader is ld.so.
46859 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46860 Ulrich Drepper <drepper@gmail.com>
46862 * sysdeps/x86_64/memset.S: After aligning destination, code
46863 branches to different locations depending on the value of
46864 misalignment, when multiarch is enabled. Fix this.
46866 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46868 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46869 Set _x86_64_preferred_memory_instruction for AMD processsors.
46870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46871 Set bit_Prefer_SSE_for_memop for AMD processors.
46873 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46875 * libio/fmemopen.c (fmemopen): Optimize a bit.
46877 2011-03-03 Andreas Schwab <schwab@redhat.com>
46879 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46881 2011-03-03 Roland McGrath <roland@redhat.com>
46883 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46885 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46887 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46888 __bzero_ultra1 instead of __memset_ultra1.
46890 2011-02-23 Andreas Schwab <schwab@redhat.com>
46891 Ulrich Drepper <drepper@gmail.com>
46894 * include/link.h (struct link_map): Add l_orig_initfini.
46895 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46896 returning unsuccessfully.
46897 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46898 close of a file loaded at startup, restore the original l_initfini
46900 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46901 list, store the pointer.
46902 * elf/Makefile ($(objpfx)noload-mem): New rule.
46903 (noload-ENV): Define.
46904 (tests): Add $(objpfx)noload-mem.
46905 * elf/noload.c: Include <memcheck.h>.
46906 (main): Call mtrace. Close all opened handles.
46908 2011-02-17 Andreas Schwab <schwab@redhat.com>
46911 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46912 dependencies are missing.
46914 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46916 Fix __if_freereq crash: Unlike the generic version which uses free,
46918 * sysdeps/mach/hurd/ifreq.h: New file.
46920 2011-01-27 Petr Baudis <pasky@suse.cz>
46921 Ulrich Drepper <drepper@gmail.com>
46924 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46925 to extend_alloca().
46926 * stdio-common/bug23.c: New file.
46927 * stdio-common/Makefile (tests): Add bug23.
46929 2010-09-28 Andreas Schwab <schwab@redhat.com>
46930 Ulrich Drepper <drepper@gmail.com>
46933 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46934 before performing relro protection. At old place add assertion
46935 to make sure nothing changed.
46937 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46938 Glauber de Oliveira Costa <glommer@gmail.com>
46940 * elf/elf.h: Add new ARM TLS relocs.
46942 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46945 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46947 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46949 * sysdeps/wordsize-64/tst-writev.c: New file.
46951 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46953 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46954 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46955 insns in _dl_start to prevent a TOC reference before relocs are
46958 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46961 * Makeconfig: Remove RANLIB definition.
46962 * Makerules: Don't use RANLIB.
46963 * aclocal.m4: Remove ranlib test.
46964 * configure.in: No need to check for ranlib.
46965 * elf/rtld-Rules: Don't use RANLIB.
46967 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46969 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46971 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46972 inclusion protection macro.
46974 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46975 SIGRTMIN and SIGRTMAX and print information in that case only when
46976 SIGRTMIN is defined.
46978 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46980 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46981 arginfo fn returning -1.
46983 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46984 and thousands string is zero terminated.
46986 2011-02-03 Andreas Schwab <schwab@redhat.com>
46988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46989 sysdeps/unix/sysv/linux/bits/socket.h.
46991 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46993 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46994 (__CPU_COUNT): Remove old macros.
46995 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46996 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46997 (__CPU_ALLOC, __CPU_FREE): Add macros.
46998 (__sched_cpualloc, __sched_cpufree): Add declarations.
47000 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47002 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47003 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47004 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47005 (readdhstai): Return value of addhstaiX call.
47006 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47007 (addgrbyX): Return value returned by cache_addgr.
47008 (readdgrbyname): Return value returned by addgrbyX.
47009 (readdgrbygid): Likewise.
47010 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47011 (addpwbyX): Return value returned by cache_addpw.
47012 (readdpwbyname): Return value returned by addhstbyX.
47013 (readdpwbyuid): Likewise.
47014 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47015 (addservbyX): Return value returned by cache_addserv.
47016 (readdservbyname): Return value returned by addservbyX:
47017 (readdservbyport): Likewise.
47018 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47019 (addhstbyX): Return value returned by cache_addhst.
47020 (readdhstbyname): Return value returned by addhstbyX.
47021 (readdhstbyaddr): Likewise.
47022 (readdhstbynamev6): Likewise.
47023 (readdhstbyaddrv6): Likewise.
47024 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47025 (readdinitgroups): Return value returned by addinitgroupsX.
47026 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47027 (prune_cache): Keep track of timeout value of re-added entries.
47028 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47029 * nscd/nscd.h: Adjust prototypes of readd* functions.
47031 2011-02-04 Roland McGrath <roland@redhat.com>
47033 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47034 (nis_stats): Likewise.
47035 * nis/nis_modify.c (nis_modify): Likewise.
47036 * nis/nis_remove.c (nis_remove): Likewise.
47037 * nis/nis_add.c (nis_add): Likewise.
47039 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47041 * posix/fnmatch_loop.c: Add some consts.
47043 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47045 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47048 * config.make.in (config-cflags-novzeroupper): Define.
47049 * configure.in: Substitute libc_cv_cc_novzeroupper.
47050 * elf/Makefile (AVX-CFLAGS): Define.
47051 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47052 (CFLAGS-tst-auditmod4a.c): Likewise.
47053 (CFLAGS-tst-auditmod4b.c): Likewise.
47054 (CFLAGS-tst-auditmod6b.c): Likewise.
47055 (CFLAGS-tst-auditmod6c.c): Likewise.
47056 (CFLAGS-tst-auditmod7b.c): Likewise.
47057 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47059 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47061 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47062 function to the callback.
47063 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47065 2011-02-02 Andreas Schwab <schwab@redhat.com>
47067 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47070 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47073 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47075 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47077 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47080 * elf/Makefile: Add rules to build and run new test.
47081 * elf/tst-initorder.c: New file.
47082 * elf/tst-initorder.exp: New file.
47083 * elf/tst-initordera1.c: New file.
47084 * elf/tst-initordera2.c: New file.
47085 * elf/tst-initordera3.c: New file.
47086 * elf/tst-initordera4.c: New file.
47087 * elf/tst-initorderb1.c: New file.
47088 * elf/tst-initorderb2.c: New file.
47089 * elf/tst-order-a1.c: New file.
47090 * elf/tst-order-a2.c: New file.
47091 * elf/tst-order-a3.c: New file.
47092 * elf/tst-order-a4.c: New file.
47093 * elf/tst-order-b1.c: New file.
47094 * elf/tst-order-b2.c: New file.
47095 * elf/tst-order-main.c: New file.
47096 New test case by George Gensure <werkt0@gmail.com>.
47098 2010-10-01 Andreas Schwab <schwab@redhat.com>
47100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47101 decoding ACE if AI_CANONIDN.
47103 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47105 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47107 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47109 * version.h (RELEASE): Bump for 2.13 release.
47110 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47112 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47114 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47116 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47117 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47118 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47119 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47121 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47123 * posix/getconf.c: Update copyright year.
47124 * catgets/gencat.c: Likewise.
47125 * csu/version.c: Likewise.
47126 * debug/catchsegv.sh: Likewise.
47127 * debug/xtrace.sh: Likewise.
47128 * elf/ldconfig.c: Likewise.
47129 * elf/ldd.bash.in: Likewise.
47130 * elf/sprof.c (print_version): Likewise.
47131 * iconv/iconv_prog.c: Likewise.
47132 * iconv/iconvconfig.c: Likewise.
47133 * locale/programs/locale.c: Likewise.
47134 * locale/programs/localedef.c: Likewise.
47135 * malloc/memusage.sh: Likewise.
47136 * malloc/mtrace.pl: Likewise.
47137 * nscd/nscd.c (print_version): Likewise.
47138 * nss/getent.c: Likewise.
47140 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47141 PF_CAIF, and PF_ALG.
47142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47144 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47146 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47147 (modules-names): Use them.
47148 (ifunc-test-modules, ifunc-pie-tests): Define.
47149 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47150 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47151 (test-extras): Likewise.
47152 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47153 $(compile-command.c).
47154 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47155 (all-built-dso): Define.
47156 (check-textrel.out, check-execstack.out): Depend on it.
47158 * configure.in: Don't override --enable-multi-arch.
47160 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47163 * nscd/hstcache.c (tryagain): Define.
47164 (cache_addhst): Return tryagain not notfound for temporary errors.
47165 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47168 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47171 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47172 to make the syscall.
47173 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47176 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47177 and fall back to matching as normal character if the string ends before
47178 the matching ']' is found. This is what POSIX requires.
47179 * posix/testfnm.c: Adjust test result.
47180 * posix/globtest.sh: Adjust test result. Add new test.
47181 * posix/tst-fnmatch.input: Likewise.
47182 * posix/tst-fnmatch2.c: Add new test.
47184 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47186 * elf/Makefile (check-execstack): Revert last change. Depend on
47188 (check-execstack.h): New target.
47189 (generated): Add check-execstack.h.
47190 * elf/check-execstack.c: Include "check-execstack.h".
47191 (main): Revert last change.
47192 (handle_file): Return zero if GNU_STACK is absent and
47193 DEFAULT_STACK_PERMS doesn't include PF_X.
47195 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47197 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47198 in child fails because the descriptor is already closed.
47199 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47200 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47201 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47204 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47208 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47209 temporary buffer used to handle multi lookups locally.
47210 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47212 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47214 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47217 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47219 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47220 alignment for SSE2.
47222 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47225 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47226 characters. When rounding increased number of integer digits recompute
47228 * stdio-common/tst-grouping.c: New file.
47229 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47231 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47233 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47234 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47236 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47238 * bits/select.h: Likewise.
47240 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47242 * po/ja.po: Update from translation team.
47244 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47247 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47248 implementation just like for lxstat, fxstatat, et al.
47250 2010-12-27 Jim Meyering <meyering@redhat.com>
47253 * posix/regexec.c (build_trtable): Return failure indication upon
47254 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47256 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47259 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47260 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47261 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47262 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47265 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47268 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47269 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47271 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47273 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47274 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47275 script has SORT_BY_INIT_PRIORITY.
47276 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47277 NO_CTORS_DTORS_SECTIONS is defined.
47278 * elf/soinit.c: Likewise.
47279 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47280 NO_CTORS_DTORS_SECTIONS is defined.
47281 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47282 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47283 * sysdeps/sh/init-first.c: Likewise.
47284 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47286 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47288 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47289 always use the slow path.
47291 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47293 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47294 similar rule which adds the sysdep directories to the header search in
47295 order to pick up the correct platform stackinfo.h.
47296 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47297 perform test if it is, otherwise return successfully without testing.
47298 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47299 DEFAULT_STACK_PERMS define in stackinfo.h.
47300 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47301 defined in stackinfo.h.
47302 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47303 DEFAULT_STACK_PERMS defined in stackinfo.h.
47304 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47305 * sysdeps/ia64/stackinfo.h: Likewise.
47306 * sysdeps/s390/stackinfo.h: Likewise.
47307 * sysdeps/sh/stackinfo.h: Likewise.
47308 * sysdeps/sparc/stackinfo.h: Likewise.
47309 * sysdeps/x86_64/stackinfo.h: Likewise.
47310 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47311 PF_X for powerpc64. Retain PF_X for powerpc32.
47313 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47315 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47317 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47318 GETDENTS_64BIT_ALIGNED.
47320 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47322 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47324 2010-12-10 Andreas Schwab <schwab@redhat.com>
47326 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47329 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47330 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47332 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47333 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47335 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47338 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47341 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47343 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47345 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47347 * po/it.po: Update from translation team.
47349 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47354 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47356 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47358 2010-11-24 Andreas Schwab <schwab@redhat.com>
47360 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47362 (gaih_getanswer_slice): Likewise.
47364 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47368 2010-05-31 Petr Baudis <pasky@suse.cz>
47371 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47372 silently even in the chroot mode.
47374 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47376 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47377 last patch a bit. Pretty printing
47379 2010-05-31 Petr Baudis <pasky@suse.cz>
47382 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47383 initialization of skip_initgroups_dyn.
47385 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47387 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47388 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47390 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47392 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47394 2010-11-11 Andreas Schwab <schwab@redhat.com>
47396 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47397 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47398 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47399 ($(objpfx)tst-fnmatch-mem): New rule.
47400 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47401 * posix/tst-fnmatch.c (main): Call mtrace.
47403 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47406 Support Intel processor model 6 and model 0x2c.
47408 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47410 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47413 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47416 * string/test-strncasecmp.c (check_result): New function.
47417 (do_one_test): Use it.
47418 (check1): New function.
47419 (test_main): Use it.
47420 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47421 Support strcasecmp and strncasecmp.
47423 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47426 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47429 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47431 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47435 * sysdeps/x86_64/multiarch/bzero.S: New file.
47436 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47437 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47438 * sysdeps/x86_64/multiarch/memset.S: New file.
47439 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47441 Set bit_Prefer_SSE_for_memop for Intel processors.
47442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47444 (index_Prefer_SSE_for_memop): Define.
47445 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47447 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47449 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47450 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47452 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47455 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47456 (__x86_64_raw_data_cache_size_half): Likewise.
47457 (__x86_64_raw_shared_cache_size): Likewise.
47458 (__x86_64_raw_shared_cache_size_half): Likewise.
47460 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47461 (__x86_64_raw_data_cache_size_half): Likewise.
47462 (__x86_64_raw_shared_cache_size): Likewise.
47463 (__x86_64_raw_shared_cache_size_half): Likewise.
47464 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47465 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47466 and __x86_64_raw_shared_cache_size_half. Round
47467 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47468 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47469 to multiple of 256 bytes.
47471 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47474 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47475 of inacessible symlinks. Verify result of symlink before returning it.
47476 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47477 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47479 2010-10-28 Erich Ritz <erichritz@gmail.com>
47481 * math/math.h (isinf): Fix typo in comment.
47483 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47485 * po/da.po: Update from translation team.
47487 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47489 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47490 is added to the list.
47492 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47493 Ulrich Drepper <drepper@gmail.com>
47495 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47496 the global list here. Move code to...
47497 (_dl_add_to_namespace_list): ...here. New function.
47498 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47499 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47500 * elf/dl-load.c (lose): Don't remove the element from the list.
47501 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47502 (_dl_map_object): Likewise.
47504 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47507 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47508 into all bytes of SSE register.
47509 Patch by Richard Li <richardpku@gmail.com>.
47511 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47514 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47517 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47519 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47520 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47521 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47522 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47527 2010-10-22 Andreas Schwab <schwab@redhat.com>
47529 * include/dlfcn.h (__RTLD_SECURE): Define.
47530 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47531 mode & __RTLD_SECURE instead.
47532 (open_path): Rename preloaded parameter to secure.
47533 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47534 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47535 * elf/dl-deps.c (openaux): Likewise.
47536 * elf/rtld.c (struct map_args): Remove is_preloaded.
47537 (map_doit): Don't use it.
47538 (dl_main): Likewise.
47539 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47540 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47542 2010-09-09 Andreas Schwab <schwab@redhat.com>
47544 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47545 (sysd-rules-targets): Remove duplicates.
47546 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47547 rtld-%.$o dependency.
47549 2010-10-18 Andreas Schwab <schwab@redhat.com>
47551 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47552 _dl_map_object do it.
47554 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47556 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47557 fast fma builtins, define the macros in the C99 standard.
47558 (FP_FAST_FMAF): Likewise.
47559 (FP_FAST_FMAL): Likewise.
47560 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47562 * bits/mathdef.h: Update copyright year.
47563 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47565 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47567 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47568 builtins, define the macros in the C99 standard.
47569 (FP_FAST_FMAF): Likewise.
47570 (FP_FAST_FMAL): Likewise.
47571 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47573 (FP_FAST_FMAF): Likewise.
47575 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47578 * math/libm-test.inc (fma_test): Some new testcases.
47579 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47581 y and infinite z. Do multiplication by C already in long double.
47582 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47584 y and infinite z. Do bitwise or of inexact bit into u.d.
47585 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47586 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47587 * sysdeps/i386/fpu/s_fma.S: Removed.
47588 * sysdeps/i386/fpu/s_fmal.S: Removed.
47590 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47593 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47595 computation is not scheduled after fetestexcept. Fix value
47596 of minimum denormal long double.
47598 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47601 * math/libm-test.inc (fma_test): Add some more tests.
47602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47605 2010-10-15 Andreas Schwab <schwab@redhat.com>
47607 * scripts/data/localplt-s390-linux-gnu.data: New file.
47608 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47610 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47613 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47614 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47616 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47618 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47620 if one of x and y is very large and the other is subnormal.
47621 * sysdeps/s390/fpu/s_fmaf.c: New file.
47622 * sysdeps/s390/fpu/s_fma.c: New file.
47623 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47624 * sysdeps/powerpc/fpu/s_fma.S: New file.
47625 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47626 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47627 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47629 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47632 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47634 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47635 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47636 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47637 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47638 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47639 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47642 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47645 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47646 * posix/bug-regex31.input: Add test case.
47648 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47650 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47651 * posix/bug-regex31.input: New file.
47654 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47655 (parse_sub_exp): Fix last change, use postorder.
47657 * posix/bug-regex31.c: New file.
47658 * posix/Makefile: Add rules to build and run bug-regex31.
47660 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47663 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47666 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47667 to have entries in sys_siglist.
47670 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47673 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47676 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47677 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47678 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47679 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47680 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47681 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47682 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47683 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47684 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47685 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47686 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47687 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47688 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47689 * math/ftestexcept.c (fetestexcept): Likewise.
47690 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47691 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47692 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47693 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47694 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47695 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47696 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47698 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47701 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47704 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47706 * string/bug-strstr1.c: New file.
47707 * string/Makefile: Add rules to build and run bug-strstr1.
47709 2010-10-05 Eric Blake <eblake@redhat.com>
47712 * string/str-two-way.h (two_way_long_needle): Always clear memory
47713 when skipping input due to the shift table.
47715 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47718 * malloc/mcheck.c: Handle large requests.
47721 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47722 for strncmp and strncasecmp.
47723 * string/stratcliff.c: Add tests for strcmp and strncmp.
47724 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47726 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47728 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47731 2010-09-30 Andreas Jaeger <aj@suse.de>
47733 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47734 (CGROUP_SUPER_MAGIC): Define.
47735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47736 Handle btrfs and cgroup file systems.
47737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47740 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47742 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47743 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47745 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47748 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47749 trying to locate the ELF header.
47751 2010-09-27 Andreas Schwab <schwab@redhat.com>
47754 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47755 Mask out sign-bit copies when constructing f_fsid.
47757 2010-09-24 Petr Baudis <pasky@suse.cz>
47759 * debug/stack_chk_fail_local.c: Add missing licence exception.
47760 * debug/warning-nop.c: Likewise.
47762 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47764 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47765 implementing getdents64 using getdents syscall, set d_type if
47766 __ASSUME_GETDENTS32_D_TYPE.
47768 2010-09-16 Andreas Schwab <schwab@redhat.com>
47770 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47771 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47773 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47776 * posix/unistd.h: Undo change of feature selection for ftruncate from
47779 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47781 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47784 2010-09-20 Andreas Schwab <schwab@redhat.com>
47786 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47788 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47790 2010-09-14 Andreas Schwab <schwab@redhat.com>
47792 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47793 variables after CHECK_SP call.
47794 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47796 2010-09-13 Andreas Schwab <schwab@redhat.com>
47797 Ulrich Drepper <drepper@redhat.com>
47799 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47800 re-relocationg ld.so.
47801 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47802 _dl_init_paths call.
47803 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47806 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47808 * resolv/res_init.c (__res_vinit): Count the default server we added.
47810 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47811 Ulrich Drepper <drepper@redhat.com>
47814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47815 (____longjmp_chk): Use %ebx for saving value across system call.
47818 2010-09-06 Andreas Schwab <schwab@redhat.com>
47820 * manual/Makefile: Don't mix pattern rules with normal rules.
47822 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47824 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47826 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47827 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47828 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47829 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47833 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47836 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47837 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47839 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47841 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47842 * sysdeps/x86_64/addmul_1.S: Likewise.
47843 * sysdeps/x86_64/lshift.S: Likewise.
47844 * sysdeps/x86_64/mul_1.S: Likewise.
47845 * sysdeps/x86_64/rshift.S: Likewise.
47846 * sysdeps/x86_64/sub_n.S: Likewise.
47847 * sysdeps/x86_64/submul_1.S: Likewise.
47849 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47851 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47852 Define __sched_param instead of SCHED_* and sched_param when
47853 <bits/sched.h> is included with __need_schedparam defined.
47854 * bits/sched.h [__need_schedparam]
47855 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47856 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47857 (__defined_schedparam): Define to 1.
47858 (__sched_param): New structure, identical to sched_param.
47859 (__need_schedparam): Undefine.
47861 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47863 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47864 (epoll_create1): Declare.
47866 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47868 2010-08-31 Andreas Schwab <schwab@redhat.com>
47871 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47872 shifting retval into place.
47874 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47876 * nis/rpcsvc/nis.h: Update copyright notice.
47877 * nis/rpcsvc/nis.x: Likewise.
47878 * nis/rpcsvc/nis_callback.h: Likewise.
47879 * nis/rpcsvc/nis_callback.x: Likewise.
47880 * nis/rpcsvc/nis_object.x: Likewise.
47881 * nis/rpcsvc/nis_tags.h: Likewise.
47882 * nis/rpcsvc/yp.h: Likewise.
47883 * nis/rpcsvc/yp.x: Likewise.
47884 * nis/rpcsvc/ypupd.h: Likewise.
47885 * nis/yp_xdr.c: Likewise.
47886 * nis/ypupdate_xdr.c: Likewise.
47888 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47889 mainly the body of pmap_getport. Add parameters to specify timeouts.
47890 (pmap_getport): Use __libc_rpc_getport.
47891 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47892 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47893 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47895 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47900 2010-08-27 Roland McGrath <roland@redhat.com>
47902 * sysdeps/i386/i686/multiarch/Makefile
47903 (CFLAGS-varshift.c): New variable.
47905 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47907 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47908 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47912 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47914 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47916 * sysdeps/x86_64/strlen.S: Unroll the loop.
47917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47918 strlen-sse2 strlen-sse2-bsf.
47919 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47920 __strlen_no_bsf if bit_Slow_BSF is set.
47921 (__strlen_sse42): Removed.
47922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47923 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47925 2010-08-25 Roland McGrath <roland@redhat.com>
47927 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47928 * sysdeps/x86_64/multiarch/varshift.c: New file.
47929 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47930 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47931 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47932 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47934 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47937 strlen-sse2 strlen-sse2-bsf.
47938 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47939 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47940 (__strlen_sse2): Removed.
47941 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47944 bit_Slow_BSF for Atom.
47945 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47946 (index_Slow_BSF): Define.
47947 (HAS_SLOW_BSF): Define.
47949 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47952 * resolv/res_init.c (__res_vinit): When no server address at all
47953 is given default to loopback.
47955 2010-08-24 Roland McGrath <roland@redhat.com>
47957 * configure.in: Remove config-name.h generation.
47958 * configure: Regenerated.
47959 * config-name.in: File removed.
47960 * scripts/config-uname.sh: New file.
47961 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47962 ($(objdir)config-name.h): New target.
47964 * sunrpc/rpc_parse.h: Avoid nested comment.
47966 2010-08-24 Richard Henderson <rth@redhat.com>
47967 Ulrich Drepper <drepper@redhat.com>
47968 H.J. Lu <hongjiu.lu@intel.com>
47970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47972 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47973 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47974 _mm_alignr_epi8 with _mm_loadu_si128.
47975 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47976 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47977 (__m128i_shift_right): Removed.
47978 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47979 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47980 * sysdeps/x86_64/multiarch/varshift.h: New file.
47981 * sysdeps/x86_64/multiarch/varshift.S: New file.
47983 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47985 * configure.in: Move assembler checks to before sysdep dir checking.
47987 2010-08-20 Petr Baudis <pasky@suse.cz>
47989 * LICENSES: Sync the sunrpc license.
47991 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47993 * sunrpc/auth_des.c: Update copyright notice once again.
47994 * sunrpc/auth_none.c: Likewise.
47995 * sunrpc/auth_unix.c: Likewise.
47996 * sunrpc/authdes_prot.c: Likewise.
47997 * sunrpc/authuxprot.c: Likewise.
47998 * sunrpc/bindrsvprt.c: Likewise.
47999 * sunrpc/clnt_gen.c: Likewise.
48000 * sunrpc/clnt_perr.c: Likewise.
48001 * sunrpc/clnt_raw.c: Likewise.
48002 * sunrpc/clnt_simp.c: Likewise.
48003 * sunrpc/clnt_tcp.c: Likewise.
48004 * sunrpc/clnt_udp.c: Likewise.
48005 * sunrpc/clnt_unix.c: Likewise.
48006 * sunrpc/des_crypt.c: Likewise.
48007 * sunrpc/des_soft.c: Likewise.
48008 * sunrpc/get_myaddr.c: Likewise.
48009 * sunrpc/getrpcport.c: Likewise.
48010 * sunrpc/key_call.c: Likewise.
48011 * sunrpc/key_prot.c: Likewise.
48012 * sunrpc/openchild.c: Likewise.
48013 * sunrpc/pm_getmaps.c: Likewise.
48014 * sunrpc/pm_getport.c: Likewise.
48015 * sunrpc/pmap_clnt.c: Likewise.
48016 * sunrpc/pmap_prot.c: Likewise.
48017 * sunrpc/pmap_prot2.c: Likewise.
48018 * sunrpc/pmap_rmt.c: Likewise.
48019 * sunrpc/rpc/auth.h: Likewise.
48020 * sunrpc/rpc/auth_unix.h: Likewise.
48021 * sunrpc/rpc/clnt.h: Likewise.
48022 * sunrpc/rpc/des_crypt.h: Likewise.
48023 * sunrpc/rpc/key_prot.h: Likewise.
48024 * sunrpc/rpc/netdb.h: Likewise.
48025 * sunrpc/rpc/pmap_clnt.h: Likewise.
48026 * sunrpc/rpc/pmap_prot.h: Likewise.
48027 * sunrpc/rpc/pmap_rmt.h: Likewise.
48028 * sunrpc/rpc/rpc.h: Likewise.
48029 * sunrpc/rpc/rpc_des.h: Likewise.
48030 * sunrpc/rpc/rpc_msg.h: Likewise.
48031 * sunrpc/rpc/svc.h: Likewise.
48032 * sunrpc/rpc/svc_auth.h: Likewise.
48033 * sunrpc/rpc/types.h: Likewise.
48034 * sunrpc/rpc/xdr.h: Likewise.
48035 * sunrpc/rpc_clntout.c: Likewise.
48036 * sunrpc/rpc_cmsg.c: Likewise.
48037 * sunrpc/rpc_common.c: Likewise.
48038 * sunrpc/rpc_cout.c: Likewise.
48039 * sunrpc/rpc_dtable.c: Likewise.
48040 * sunrpc/rpc_hout.c: Likewise.
48041 * sunrpc/rpc_main.c: Likewise.
48042 * sunrpc/rpc_parse.c: Likewise.
48043 * sunrpc/rpc_parse.h: Likewise.
48044 * sunrpc/rpc_prot.c: Likewise.
48045 * sunrpc/rpc_sample.c: Likewise.
48046 * sunrpc/rpc_scan.c: Likewise.
48047 * sunrpc/rpc_scan.h: Likewise.
48048 * sunrpc/rpc_svcout.c: Likewise.
48049 * sunrpc/rpc_tblout.c: Likewise.
48050 * sunrpc/rpc_util.c: Likewise.
48051 * sunrpc/rpc_util.h: Likewise.
48052 * sunrpc/rpcinfo.c: Likewise.
48053 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48054 * sunrpc/rpcsvc/key_prot.x: Likewise.
48055 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48056 * sunrpc/rpcsvc/mount.x: Likewise.
48057 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48058 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48059 * sunrpc/rpcsvc/rex.x: Likewise.
48060 * sunrpc/rpcsvc/rstat.x: Likewise.
48061 * sunrpc/rpcsvc/rusers.x: Likewise.
48062 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48063 * sunrpc/rpcsvc/spray.x: Likewise.
48064 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48065 * sunrpc/rtime.c: Likewise.
48066 * sunrpc/svc.c: Likewise.
48067 * sunrpc/svc_auth.c: Likewise.
48068 * sunrpc/svc_authux.c: Likewise.
48069 * sunrpc/svc_raw.c: Likewise.
48070 * sunrpc/svc_run.c: Likewise.
48071 * sunrpc/svc_simple.c: Likewise.
48072 * sunrpc/svc_tcp.c: Likewise.
48073 * sunrpc/svc_udp.c: Likewise.
48074 * sunrpc/svc_unix.c: Likewise.
48075 * sunrpc/svcauth_des.c: Likewise.
48076 * sunrpc/xcrypt.c: Likewise.
48077 * sunrpc/xdr.c: Likewise.
48078 * sunrpc/xdr_array.c: Likewise.
48079 * sunrpc/xdr_float.c: Likewise.
48080 * sunrpc/xdr_mem.c: Likewise.
48081 * sunrpc/xdr_rec.c: Likewise.
48082 * sunrpc/xdr_ref.c: Likewise.
48083 * sunrpc/xdr_sizeof.c: Likewise.
48084 * sunrpc/xdr_stdio.c: Likewise.
48086 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48089 2010-08-19 Andreas Schwab <schwab@redhat.com>
48091 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48093 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48095 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48096 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48097 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48098 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48099 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48100 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48101 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48102 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48103 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48104 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48105 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48106 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48107 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48108 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48110 2010-07-26 Anton Blanchard <anton@samba.org>
48112 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48113 * malloc/arena.c (heap_trim): Likewise.
48115 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48117 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48120 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48122 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48124 * sysdeps/i386/elf/Makefile: New file.
48126 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48128 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48129 from fanotify_init.
48130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48133 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48135 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48137 * sysdeps/multiarch/strcmp.S: Likewise.
48139 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48141 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48142 strncase_l-nonascii.
48143 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48144 Add strncase_l-ssse3.
48145 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48146 * sysdeps/x86_64/strcmp.S: Likewise.
48147 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48148 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48149 * sysdeps/x86_64/strncase.S: New file.
48150 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48151 * sysdeps/x86_64/strncase_l.S: New file.
48152 * string/Makefile (strop-tests): Add strncasecmp.
48153 * string/test-strncasecmp.c: New file.
48155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48158 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48159 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48161 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48163 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48165 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48167 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48169 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48171 2010-05-01 Alan Modra <amodra@gmail.com>
48173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48174 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48175 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48176 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48177 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48178 tidying. Don't tail-call __sigjmp_save for static lib.
48179 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48181 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48182 (CALL_MCOUNT): Add eh info, and nop after bl.
48183 (TAIL_CALL_SYSCALL_ERROR): New macro.
48184 (PSEUDO_RET): Use it.
48185 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48186 Correct save location of integer regs and cr.
48187 (_dl_profile_resolve): Correct cr save location. Delete nops
48188 after bl when SHARED. Reduce cfi size a little by better
48189 placement of cfi directives.
48190 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48191 make a stack frame. Instead use parm save area as a temp.
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48193 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48195 Don't make a stack frame for parent, use parm save area.
48196 Increase child stack frame to 112 bytes. Don't save unused reg,
48197 and adjust reg usage. Set up cfi on error recovery and
48198 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48200 (__makecontext): Add dummy nop after jump to exit.
48201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48202 Use correct parm save area and cr save, reduce stack frame.
48203 Correct cfi for possible PSEUDO_RET frame setup.
48204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48205 Branch to local label emitted by PSEUDO_RET rather than
48208 2010-08-12 Andreas Schwab <schwab@redhat.com>
48211 * locale/programs/locale.c (print_assignment): New function.
48212 (show_locale_vars): Use it.
48214 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48216 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48218 (struct statfs64): Likewise.
48219 (_STATFS_F_FLAGS): Define.
48220 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48222 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48223 (ST_VALID): Define locally.
48224 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48225 __statvfs_getflags, use the provided value.
48226 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48227 __ASSUME_STATFS_F_FLAGS.
48229 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48231 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48232 Add sys/fanotify.h.
48233 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48234 fanotify_mask for GLIBC_2.13.
48235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48236 fanotify_init and fanotify_mark.
48237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48238 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48240 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48242 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48243 prlimit64 for GLIBC_2.13.
48244 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48246 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48249 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48250 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48251 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48254 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48257 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48258 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48260 * nss/Makefile: Add rules to build and run tst-nss-test1.
48261 * shlib-versions: Add entry for libnss_test1.
48262 * nss/nss_test1.c: New file.
48263 * nss/tst-nss-test1.c: New file.
48265 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48266 (__nss_configure_lookup): Set appropriate entry in
48267 __nss_configure_lookup to true.
48268 * nss/nsswitch.h: Define enum with indeces of databases in
48269 databases and __nss_database_custom arrays. Declare
48270 __nss_database_custom.
48271 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48272 to avoid using nscd when custom rules are installed.
48273 * nss/getXXbyYY_r.c: Likewise.
48274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48276 * nss/nss_files/files-parse.c: Whitespace fixes.
48278 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48281 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48282 * posix/fnmatch_loop.c: Likewise.
48284 2010-07-17 Andi Kleen <ak@linux.intel.com>
48286 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48287 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48288 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48289 * Versions.def [GLIBC_2.13]: Add.
48291 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48293 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48294 Also fail if tpwd after pwuid call is NULL.
48296 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48298 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48299 when converting to ms.
48301 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48303 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48304 EOPNOTSUPP errors with ENOTTY.
48305 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48306 EOPNOTSUPP errors with ENOTTY.
48308 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48310 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48311 Add strcasecmp_l-ssse3.
48312 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48314 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48315 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48316 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48318 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48320 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48322 * string/Makefile (strop-tests): Add strcasecmp.
48323 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48324 strcasecmp_l-nonascii.
48325 (gen-as-const-headers): Add locale-defines.sym.
48326 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48327 * sysdeps/x86_64/strcasecmp.S: New file.
48328 * sysdeps/x86_64/strcasecmp_l.S: New file.
48329 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48330 * sysdeps/x86_64/locale-defines.sym: New file.
48331 * string/test-strcasecmp.c: New file.
48333 * string/test-strcasestr.c: Test both ends of the range of characters.
48334 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48336 2010-07-29 Roland McGrath <roland@redhat.com>
48339 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48341 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48343 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48346 2010-07-27 Andreas Schwab <schwab@redhat.com>
48348 * manual/memory.texi (Malloc Tunable Parameters): Document
48351 2010-07-26 Roland McGrath <roland@redhat.com>
48354 * configure.in (-fgnu89-inline check): Set and substitute
48355 gnu89_inline, not libc_cv_gnu89_inline.
48356 * configure: Regenerated.
48357 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48359 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48361 * string/test-strnlen.c: New file.
48362 * string/Makefile (strop-tests): Add strnlen.
48363 * string/tester.c (test_strnlen): Add a few more test cases.
48364 * string/tst-strlen.c: Better error reporting.
48366 * sysdeps/x86_64/strnlen.S: New file.
48368 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48371 lower-latency instructions.
48373 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48375 * string/test-strcasestr.c: New file.
48376 * string/test-strstr.c: New file.
48377 * string/Makefile (strop-tests): Add strstr and strcasestr.
48378 * string/str-two-way.h: Don't undefine MAX.
48379 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48381 2010-07-21 Andreas Schwab <schwab@redhat.com>
48383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48384 strcasestr-nonascii.
48385 (CFLAGS-strcasestr-nonascii.c): Define.
48386 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48387 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48388 Remove unused attribute.
48390 2010-07-20 Roland McGrath <roland@redhat.com>
48392 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48393 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48394 ld.so.cache was broken. With it, there is no way to disable dsocaps
48395 like LD_HWCAP_MASK can disable hwcaps.
48397 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48399 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48401 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48403 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48404 call in strcasestr.
48405 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48406 __strcasestr_sse42_nonascii.
48407 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48408 strcasestr-nonascii.c.
48409 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48411 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48413 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48414 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48415 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48416 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48418 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48423 2010-07-06 Andreas Schwab <schwab@redhat.com>
48426 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48429 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48431 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48432 _PC_PIPE_BUF using F_GETPIPE_SZ.
48434 2010-07-05 Roland McGrath <roland@redhat.com>
48436 * manual/arith.texi (Rounding Functions): Fix rint description
48437 implicit in round description.
48439 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48441 * elf/Makefile: Fix linking for a few tests to make recent linker
48444 2010-06-30 Andreas Schwab <schwab@redhat.com>
48446 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48447 $(common-objpfx)libc_nonshared.a.
48449 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48451 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48452 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48453 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48454 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48455 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48456 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48457 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48458 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48473 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48474 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48475 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48476 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48477 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48478 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48479 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48480 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48481 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48482 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48483 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48484 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48500 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48502 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48503 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48504 * string/memmove.c (memmove): Renamed to ...
48505 (MEMMOVE): ...this. Default to memmove.
48506 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48507 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48510 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48511 mempcpy-ssse3-back memmove-ssse3-back.
48512 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48514 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48515 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48516 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48517 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48518 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48519 * sysdeps/x86_64/multiarch/memmove.c: New file.
48520 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48521 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48522 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48523 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48524 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48527 (index_Fast_Copy_Backward): Define.
48528 (HAS_ARCH_FEATURE): Define.
48529 (HAS_FAST_REP_STRING): Define.
48530 (HAS_FAST_COPY_BACKWARD): Define.
48532 2010-06-21 Andreas Schwab <schwab@redhat.com>
48534 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48535 Restore proper fallback handling.
48537 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48540 * posix/group_member.c (__group_member): Correct checking loop.
48542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48543 OOM in getpwuid_r correctly. Return error number when the caller
48544 should return, otherwise -1.
48545 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48546 call returning > 0 value.
48547 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48549 2010-06-07 Andreas Schwab <schwab@redhat.com>
48551 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48552 libc_nonshared.a from targets in modules-names.
48554 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48556 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48559 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48561 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48562 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48563 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48564 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48566 2010-06-02 Andreas Schwab <schwab@redhat.com>
48568 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48570 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48572 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48579 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48581 2010-06-14 Roland McGrath <roland@redhat.com>
48583 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48585 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48587 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48588 __REDIRECT followed by __THROW.
48589 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48590 * posix/getopt.h (getopt): Likewise.
48592 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48594 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48595 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48596 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48598 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48599 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48601 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48603 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48605 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48609 Properly check family and model.
48611 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48613 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48615 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48617 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48619 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48621 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48624 2010-05-19 Andreas Schwab <schwab@redhat.com>
48626 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48629 2010-05-21 Andreas Schwab <schwab@redhat.com>
48631 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48632 and internal_recvmmsg.
48633 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48634 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48635 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48636 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48638 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48639 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48640 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48642 2010-05-20 Andreas Schwab <schwab@redhat.com>
48644 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48646 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48648 POWER7 optimizations.
48649 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48650 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48652 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48654 * version.h: Update for 2.13 development version.
48656 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48659 exceptions. Return 0.
48661 2010-05-07 Roland McGrath <roland@redhat.com>
48663 * elf/ldconfig.c (main): Add a const.
48665 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48667 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48668 (args_options): Add no-idn option.
48669 (ahosts_keys_int): Add idn_flags to ai_flags.
48670 (parse_option): Handle 'i' option to clear idn_flags.
48672 * malloc/malloc.c (_int_free): Possible race in the most recently
48673 added check. Only act on the data if no current modification
48676 See ChangeLog.17 for earlier changes.